Difference between revisions of "Beaglebone Black"

From ZoneMinder Wiki
Jump to navigationJump to search
Line 2: Line 2:




Beaglebone Black Industrial
* Beaglebone Black Industrial
 
* Logitech C545 webcam
Logitech C545 webcam




'''Steps:'''
'''Steps:'''


Installed Debian Jessie via a netinstall from [http://elinux.org/BeagleBoardDebian Elinux.org BeagleBoardDebian]. Used serial port. Migrated to Devuan. Installed Zoneminder using jessie-backports according to [http://zoneminder.readthedocs.io/en/stable/installationguide/index.html official install guide].
Installed Debian Jessie via a netinstall from [http://elinux.org/BeagleBoardDebian Elinux.org BeagleBoardDebian]. Used serial port. Migrated to Devuan. Installed Zoneminder using jessie-backports according to [http://zoneminder.readthedocs.io/en/stable/installationguide/index.html official install guide].
Line 15: Line 13:
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.
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.
 
 
 


Logitech camera works under the following settings
Logitech camera works under the following settings


'''Zoneminder settings:'''
'''Zoneminder settings:'''
Line 37: Line 30:


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 happily told me that the 'correct' resolution available was 960x720, so I used that, and all worked.
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 happily told me that the 'correct' resolution available was 960x720, so I used that, and all worked.


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.
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.




'''Notes:'''
'''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.
* 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.

Revision as of 14:25, 25 December 2016

Materials:


  • Beaglebone Black Industrial
  • Logitech C545 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. 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.

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 .7 load on the server, in monitor mode. Making this a potential 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 happily told me that the 'correct' resolution available was 960x720, so I used that, and all worked.

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.


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.