From PROBOTIX :: wiki
Jump to: navigation, search
BeagleBone Black

Getting Started

BeagleBone Black Info

Bone 101


Working with Git

Working with Device Trees


Programmable Realtime Unit (PRU)

C++ Programming


Character LCDs (HD44780)


Machine Kit

Machine Vision

sudo apt-get install v4l-utils

v4l2-ctl --list-devices

v4l2-ctl --all

v4l2-ctl --list-ctrls

v4l2-ctl --set-ctrl=brightness=200

v4l2-ctl --list-formats

v4l2-ctl --set-fmt-video=width=1920,height=1080,pixelformat=H264

cd /home/linuxcnc

git clone git://

cd boneCV/

sudo apt-get install libv4l-dev

sudo apt-get install libopencv-dev



 # P9.31 GPIO3_14
 setp [PRUCONF](DRIVER).stepgen.00.steppin         0x8E

 The value above is given meaning by the PRU code, which uses the
 kernel numbering scheme, but offset by one so that 0x00 (the default
 value for all HAL signals) means don't do anything.  The details are:

 GPIO Pin Value:
 value = 32 * ( <GPIO_bank> + 1 ) + bit

 PRU Direct Output Bits:
 value = 32 * (4 + 1 ) + bit = 160 + bit = 0xA0 + bit

 So 0x8E = 142 = (32 * 4) + 14 = GPIO bank 3, bit 14

BeagleBone Black Dimensions

sudo -A su -c "echo BB-BLACK-LCNC-PBX-BB > /sys/devices/bone_capemgr.*/slots"

cat /sys/devices/bone_capemgr*/slots

sudo vim /boot/uboot/uEnv.txt

echo BB-BLACK-LCNC-PBX-BB >/sys/devices/bone_capemgr*/slots

watch --differences dmesg | tail

tail -f /var/log/messages