Difference between revisions of "Beaglebone Black"
Line 10: | Line 10: | ||
Industrial BBB was chosen, in the hopes of using it as a dashcam under winter conditions. | Industrial BBB was chosen, in the hopes of using it as a dashcam under winter conditions. | ||
Camera works plugged into USB. No external power needed. The camera was obtained by looking at the [https://h-node.org/ H-node] hardware compatibility list for webcams. There is no guarantee that all webcams will support the framebuffer grab that ZM requires, but in this case, it did. The webcam is 960x720p and cost about $12. See [[Logitech Webcam Pro 9000]] or other webcam setup docs for hints on setup. | Camera works plugged into USB. No external power needed. The camera was obtained by looking at the [https://h-node.org/ H-node] hardware compatibility list for webcams. Another good resource is [http://elinux.org/RPi_USB_Webcams Elinux RPi USB Webcams] There is no guarantee that all webcams will support the framebuffer grab that ZM requires, but in this case, it did. The webcam is 960x720p and cost about $12. See [[Logitech Webcam Pro 9000]] or other webcam setup docs for hints on setup. | ||
Logitech camera works under the following settings | Logitech camera works under the following settings |
Revision as of 14:48, 25 December 2016
Materials:
- Beaglebone Black Industrial
- Logitech C525 webcam
Steps:
Installed Debian Jessie via a netinstall from Elinux.org BeagleBoardDebian. Used serial port. Migrated to Devuan. Installed Zoneminder using jessie-backports according to official install guide.
Industrial BBB was chosen, in the hopes of using it as a dashcam under winter conditions.
Camera works plugged into USB. No external power needed. The camera was obtained by looking at the H-node hardware compatibility list for webcams. Another good resource is Elinux RPi USB Webcams There is no guarantee that all webcams will support the framebuffer grab that ZM requires, but in this case, it did. The webcam is 960x720p and cost about $12. See Logitech Webcam Pro 9000 or other webcam setup docs for hints on setup.
Logitech camera works under the following settings
Zoneminder settings:
- Source: Local
- Maximum FPS: 3
- Device Path: /dev/video0
- Capture Method: Video for Linux 2
- Device Format: PAL
- Capture Palette: *MJPEG
- Capture Width (pixels): 960
- Capture Height (pixels): 720
Total load with camera, gets about 960x720 3FPS, with roughly .3 load on the server in record mode. I can see using this as an external ZM server
YUYV works with resolution of 320x240, but no higher. MJPG is able to get 320x240, 640x480, and 960x720. I put the wrong resolution in during MJPEG mode, but the ZM logs told me that the 'correct' resolution available was 960x720, so I used that.
This being an SBC, there is a additional interfaces, expansions (I2C, GPIO) to use in addition to the camera itself. Sensors can be added easily. Possibilities are many. No longer just a camera, an SBC with a cam is a swiss army camera.
Notes:
- I ran into problems using this BBB with a long (>25 ft) ethernet cable. Network functions were slow, or failing. This could be a problem if you were to use these as substitutes for cameras. It may have been my particular model (BBB Element14 industrial). A shorter cable resolved all issues.