Skip to content

Instantly share code, notes, and snippets.

@kamilion
Created December 16, 2017 13:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kamilion/3c8524c8f912b776bd8ced3de77cf868 to your computer and use it in GitHub Desktop.
Save kamilion/3c8524c8f912b776bd8ced3de77cf868 to your computer and use it in GitHub Desktop.
Kamilion's Smartcam project, Dec 2014
Kamilion's SmartCam project:
Cost per unit Quantity 1: $100.77 + S&H
Most component modules can be obtained at a discount for quantity 3 or quantity 10+.
I estimate a purchase of 12 units would end up to be around $1200 with discounts and adding S&H.
Revised 12/22/14 from China quotes:
$728.77 Quantity 12 quoted from UCtronics for the above equipment
Of this, $107.70 is for connectors suited for other internal projects.
UCTronics Subtotal: $621.07
Subtotal: $515.87 from Newegg (Quantity 12)
$621.07 + $515.87 = $1136.94
$1136.94 + 145.47 = $1282.41
$1282.41 + 199.18 = $1481.59
Cost per unit (Quantity 12): $123.46
$1481.59 + 107.70 = $1589.29
Cost per unit (Quantity 12): $132.44
SmartCam Capabilities:
sealed Waterproof enclosure, 3 sizes available including heater/forced air cooling.
Enclosure unlatches and opens from rear, exposing all components for easy access.
Only a single cat5e cable goes into weatherproof grommet. Wide voltage input allows sharing big remote power supplies.
Can be upgraded to 802.3AF/AT Power over Ethernet for $10 per unit. Upgrade fits inside existing casing.
Can operate internal DC or external AC/DC IR illuminators up to 1,250 Watts for each of 16 channels, expandable to 48 per camera. (not included)
Standard CS-Mount security camera lens. Easily replacable with Fisheye or motorized zoom lens.
Longer lenses require deeper mounting of camera PCB in chassis, possibly moving from 11" to 14" chassis.
Turn camera module upside down inside the casing and the unit is celing mountable.
Omnivision 5647 sensor with infrared cut-out filter removed allowing IR illumination of environment.
1920x1080P @ 30FPS 2.1 megapixel video recording and live streaming to up to 8 simultanious clients.
Sample pictures at http://www.arducam.com/camera-modules/5mp-ov5642/
2592 x 1944 5 megapixel still pictures at 12 FPS. Can be used for autofocus calibration with a suitable lens attached.
High res 2592 x 1944 sample: http://www.arducam.com/wp-content/uploads/2012/11/OV5642_2592x19441.jpg
700Mhz/1Ghz Raspberry Pi application processor with 3D GPU and HDMI & audio output connectors.
100Mbit ethernet to USB2.0 chip included on "$30" Raspberry Pi B/B+ module.
Less expensive "$20" A/A+ module, would support a single 1000Mbit "ASIX-chip" USB3.0 adapter for $13 in volume.
Can drive an external display via HDMI, USB or SPI serial bus.
Linux operating system, choice of 6 off the shelf software stacks or roll-your-own.
8GB local storage capacity allows package manager based installation and innovative adaption to environment.
Local GPU used for motion analysis of video frames, passed on to server for selective compression.
ESCam's "Privacy Mark" feature could easily be implimented with the above features.
Android and iOS direct streaming of individual cameras or live grids of up to 128+ cameras.
Optional future time-wasters:
Installable applications such as 2-way video chat with voice-dial. Scriptable alarms.
Face detection and identification. Employee path tracking and history.
SmartCAM bill of materials:
Casing:
Monoprice 11" Outdoor Back Open Camera Housing (ML-605S) $10.87 EA
http://www.monoprice.com/Product?p_id=6687
10" Wall Mount Bracket for Camera Housing (ML-205N) $4.70 EA
http://www.monoprice.com/Product?p_id=6697
Camera can be mounted upside down in casing so Wallmount doubles as celing mount.
Subtotal for Quantity 12 W/norco shipping: $199.18
Camera Processor:
Broadcom Raspberry Pi compute board $35.99 EA
http://www.newegg.com/Product/Product.aspx?Item=N82E16813142003
Or with 8GB memory card for $39.99 EA
http://www.newegg.com/Product/Product.aspx?Item=N82E16813300001
Camera PCB + CS Mount Lens $34.99 EA
http://www.uctronics.com/raspberry-pi-noir-camera-board-cs-mount-lens-fully-compatible-with-official-module-p-1902.html
Camera Power:
DC 7~42V to USB DC 5V Car Voltage Step Down DC Converter Module - Black + Red $5 EA
USA: http://www.dxsoul.com/product/usb-powered-dc-6-24v-to-dc-5v-car-voltage-step-down-dc-converter-module-black-red-901220701
China: http://www.dx.com/p/usb-powered-dc-6-24v-to-dc-5v-car-voltage-step-down-dc-converter-module-black-red-220701
3 AMP 5V supply, weatherproof & potted
100Mbit Power injection over Cat5 adapter (NOT PoE COMPLIANT, uses wires 7 & 8, unused by 100mbit ethernet): $2.60
http://www.dxlisting.com/computers-tablets-networking-399/networking-314/cables-and-adapters-339/5v-rj45-male-to-rj45-female-dc-female-power-over-ethernet-poe-cable-adapter-black-20cm-215681-1018560
Cost per unit Quantity 1: $100.77 + S&H
Most component modules can be obtained at a discount for quantity 3 or quantity 10+.
Physical Upgrades:
Internal IR low-power illuminator: $7.92 EA
http://www.dxsoul.com/product/infrared-36-led-illuminator-board-plate-for-12mm-16mm-lens-cctv-security-camera-901031597
Internal IR high-power illuminator: $6.67 EA
http://www.dxsoul.com/product/cjwy-012-diy-12v-4w-60-4-epistar-array-ir-light-board-for-cctv-camera-black-901325945
External IR illuminator: $11.69 EA
http://www.dxsoul.com/product/f5-48-ir-led-infrared-illuminator-white-901261197
Motorized Zoom 2.8~12mm lens (CS-Mount): $22.63 EA
http://www.dxsoul.com/product/replacement-auto-iris-zoom-ir-infrared-lens-for-cctv-camera-2-8-12mm-901054102
Motorized Extreme Zoom 5~100mm lens (CS-Mount): $49.15
http://www.dxsoul.com/product/replacement-auto-iris-zoom-ir-infrared-lens-for-cctv-camera-5-100mm-901054103
802.3AT Gigabit Phantom Power-over-Ethernet Upgrade: $10.33 EA
http://www.dxsoul.com/product/cp120-12v-1a-2a-poe-power-splitter-black-901334565
Raspberry Pi A+ Gigabit upgrade: $13.50 Qty 3+
http://www.dx.com/p/usb-3-0-gigabit-lan-ethernet-adapter-black-213357
Competition:
Vs FosCAM/Escam 1080P $155 EA
http://www.dx.com/p/escam-q1039-waterproof-1080p-cmos-3-12mm-lens-ip-network-camera-w-2-ir-led-white-us-plug-323193
Pros:
- Built in IR illumination.
- Zoom lens.
-"Privacy Mark" feature.
Cons:
- Requires $17 addon for 802.3AF 100Mbit Power-over-Ethernet (PoE) support. This operates with 100mbit PoE Switches.
- Does not include RJ-45 100Mbit ethernet power injector over CAT5 cables.
- Requires 25 watts of regulated 12V 2Amp power. Local AC brick is included, but will not reach extended distances.
- Forum posts indicate camera's actual resolution is 1440x900 pixels and scaled up to 1080p causing image blurring.
Vs FosCAM/Escam 1080P Dome $185 EA
http://www.dx.com/p/escam-hd3500-onvif-1-3-cmos-1080p-dome-ip-camera-w-30-led-night-vision-poe-white-317108
Pros:
- Built in IR illumination.
- Includes built-in 802.3AF 100Mbit power-over-ethernet support, requiring 6 watts.
Cons:
- Despite appearances, this is not a pan/tilt or zoom camera.
- Despite including 802.3AF support, 802.3AT gigabit PoE ("Phantom microphone power") is not supported.
- Forum posts indicate camera's actual resolution is 1440x900 pixels and scaled up to 1080p causing image blurring.
Other Resources:
Codeproject article covering Scavix's feb 2013 setup:
http://www.codeproject.com/Articles/665518/Raspberry-Pi-as-low-cost-HD-surveillance-camera
Instructables version of Scavix's feb 2013 setup:
http://www.instructables.com/id/Raspberry-Pi-as-low-cost-HD-surveillance-camera/?ALLSTEPS
Lifehacker coverage of Scavix's feb 2013 setup:
http://lifehacker.com/turn-a-raspberry-pi-into-a-cheap-home-surveillance-syst-1474943080
Tobias Wolf's nginx solution on Arch Linux in Aug 2013:
http://ftp.tuebingen.mpg.de/pub/kyb/towolf/raspberry-camera-streaming/
Scroll down to the bottom and there is a downloadable 600MB image.
Works on iDevices, Android, Anything else that supports either Flash Player, HTML5 video, or RTMP streaming.
Motion uses RTMP streaming for motion detection of up to hundreds of IP cameras.
EBAY Shopping List (Initial Run via UCTronics's ebay persona, electronics_lee):
http://www.ebay.com/itm/Raspberry-Pi-NoIR-Camera-Board-w-CS-mount-Lens-Compatible-official-module-/281345669953
http://www.ebay.com/itm/Night-vision-infrared-IR-LED-Board-for-NoIR-rapsberry-pi-camera-module-/281371852089
http://www.ebay.com/itm/ABS-Shell-Case-Box-suitable-for-Raspberry-Pi-Model-B-Board-White/281489914740
http://www.ebay.com/itm/360-degree-adjustable-Z-frame-metal-plating-U-shape-Clip-Raspberry-Pi-Camera-/271462970489
http://www.ebay.com/itm/100pcs-Type-Male-USB-4-Pin-Plug-Socket-Connector-Plastic-Cover-/271249806408
http://www.ebay.com/itm/100pcs-10-Pin-2x5-Female-2-54-Socket-Connector-FS-/271085890906
http://www.ebay.com/itm/100pcs-2-5-2-54-IDC-Socket-Box-header-connector-straight-/271085823837
http://www.ebay.com/itm/100pcs-IDC-FC-10-Connector-10-PIN-Female-Header-2-54-mm-/271085876564
http://www.ebay.com/itm/100pcs-IDC-FC-16-Connector-16-PIN-Female-Header-2-54-mm-/271085918441
http://www.ebay.com/itm/10pcs-16-push-buttons-4x4-Matrix-Keyboard-Arduino-AVR-ARM-STM32-/271085950930
http://www.ebay.com/itm/10pcs-DS1302-Real-Time-Clock-Module-/281016584080
http://www.ebay.com/itm/50cm-Micro-USB-Male-Power-Supply-PVC-blue-Cable/281512061352
$728.77 Quantity 12 quoted from UCtronics for the above equipment
Of this, $107.70 is for connectors suited for other internal projects.
UCTronics Subtotal: $621.07
Subtotal: $515.87 from Newegg (Quantity 12)
$621.07 + $515.87 = $1136.94
$1136.94 + 145.47 = $1282.41
$1282.41 + 107.70 = $1390.11
Cost per unit (Quantity 12): $115.84
http://www.ebay.com/itm/3-3V-240x320-2-4-SPI-TFT-LCD-Touch-Panel-Serial-Port-Module-with-PBC-ILI9341-/311058563993
http://www.ebay.com/itm/3-2-TFT-LCD-Module-Touch-Screen-Monitor-Display-for-Raspberry-Pi-B-B-dll-/261653219529
Power systems:
http://www.dx.com/p/5v-rj45-male-to-rj45-female-dc-female-power-over-ethernet-poe-cable-adapter-black-20cm-215681
DX BULKRATE US$ 145.47 for 15 units + 15 power step down modules + 1 24V/15A power feeder
http://www.dxsoul.com/product/usb-powered-dc-6-24v-to-dc-5v-car-voltage-step-down-dc-converter-module-black-red-901220701
http://www.dx.com/p/usb-powered-dc-6-24v-to-dc-5v-car-voltage-step-down-dc-converter-module-black-red-220701
DXSoul Subtotal: $ 75 for Quantity 15, free shipping.
http://www.dxsoul.com/product/jk-350-24-high-efficiency-aluminum-alloy-24v-15a-305w-switch-power-supply-silver-901318160
http://www.dx.com/p/jk-350-24-high-efficiency-aluminum-alloy-24v-15a-305w-switch-power-supply-silver-318160
DXSoul Subtotal: $109.12 with 15 power modules. (+$34.12)
http://www.cableorganizer.com/arlington-industries/non-metallic-boxes/#features
Subtotal: >$20 for one 11x11x3.5" or one 12x12x4"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment