BoothStache is a version of BeagleStache by jkridner optimized for an expo hall booth at a conference (like The specified item was not found.). Instead of a LCD cape, BoothStache uses the BeagleBone Black's HDMI port to display the webcam feed on an HDTV. An added twist is a big red USB button that the user presses to send a tweet of their stache photo (thanks to Python helper that bonnie555 wrote called BeagleButan). Here's the setup:
And here's a video:
The twitter account it's using: http://twitter.com/boothstache/
I used the following equipment:
USB Camera (Amazon)
USB "Stress" Button (eBay)
USB 2.0 Powered Hub
microHDMI cable
32" HDTV
To install the BoothStache version of BeagleStache, use this github repo:
https://github.com/misterbonnie/stache
For example, to download and install, run these commands:
cd $HOME
git clone git://github.com/misterbonnie/stache
cd stache
make && make install
NOTE: You will need add the specific key values for your Twitter account in the config file (https://github.com/misterbonnie/stache/blob/master/config).
To get the USB button working, use this github repo:
https://github.com/misterbonnie/beaglebutan
These are the install instructions from the readme file:
cd $HOME
opkg update
opkg install python-setuptools
okpg install python-ctypes
git clone http://github.com/walac/pyusb.git
cd pyusb
python setup.py install
You should then be able to run beaglebutan to test pressing the button:
root@beaglebone:~/beaglebutan# lsusb
Bus 001 Device 002: ID 1a40:0201 Terminus Technology Inc. FE 2.1 7-port Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 006: ID 04f3:04a0 Elan Microelectronics Corp.
Bus 001 Device 005: ID 046d:082d Logitech, Inc.
root@beaglebone:~/beaglebutan# python button.py
PRESS BUTAN
tempfile doesn't exist
PRESS BUTAN
tempfile doesn't exist
PRESS BUTAN
tempfile doesn't exist
PRESS BUTAN
tempfile doesn't exist
PRESS BUTAN
tempfile doesn't exist
You should then start up the beaglestache program by running:
root@beaglebone:~/stache# node ./tweetstache.js
Refer to this gist for an example of the the output on the terminal: https://gist.github.com/pdp7/5527178
Please leave a comment if you have any questions.
TGIF!
Drew
Top Comments