Difference between revisions of "BeagleBone"
From Robert-Depot
(→TTL Cable) |
(→GPIO) |
||
Line 12: | Line 12: | ||
=GPIO= | =GPIO= | ||
gpio - http://beaglebone.cameon.net/home/using-the-gpios | gpio - http://beaglebone.cameon.net/home/using-the-gpios | ||
+ | =Serial Communication= | ||
+ | *use wget to fetch setup tools | ||
+ | **<code>wget https://pypi.python.org/packages/2.7/s/setuptools/setuptools-0.6c11-py2.7.egg#md5=fe1f997bc722265116870bc7919059ea</code> | ||
+ | *install setuptools | ||
+ | **<code>sudo sh setuptools-0.6c11-py2.7.egg</code> | ||
+ | *install pyserial | ||
+ | **<code>sudo easy_install pyserial</code> | ||
+ | |||
=Pockesphinx= | =Pockesphinx= | ||
*https://groups.google.com/forum/?fromgroups=#!topic/beagleboard/aBznzq_bNuU | *https://groups.google.com/forum/?fromgroups=#!topic/beagleboard/aBznzq_bNuU |
Revision as of 15:39, 13 May 2013
TTL Cable
- Install USB drivers
- for os x - http://sourceforge.net/projects/osx-pl2303/
- Connect pins like so:
(RED IS NOT CONNECTED)
- From Terminal, start session:
screen /dev/cu.usbserial 115200
- http://learn.adafruit.com/adafruits-raspberry-pi-lesson-5-using-a-console-cable/test-and-configure
GPIO
gpio - http://beaglebone.cameon.net/home/using-the-gpios
Serial Communication
- use wget to fetch setup tools
- install setuptools
sudo sh setuptools-0.6c11-py2.7.egg
- install pyserial
sudo easy_install pyserial
Pockesphinx
- https://groups.google.com/forum/?fromgroups=#!topic/beagleboard/aBznzq_bNuU
- Install libasound2, alsa-dev, and alsa-lib-dev. (libasound and alsa-lib-dev were already installed on my beaglebone black)
opkg install alsa-dev
- Get sphinxbase and pocketsphinx, preferrably putting them in a code directory.
- Unzip
tar -xzf sphinxbase-0.8.tar.gz
tar -xzf pocketsphinx-0.8.tar.gz
- Generate configureation files. Config without python.
autogen.sh --without-python
Audio
http://www.tigal.com/product/2924
Debian
Ubuntu
- list disks
diskutil list
- install from a ubuntu live USB. I used a Ubuntu 13 live USB from osx 10.8
- follow instructions here from the live usb: http://elinux.org/BeagleBoardUbuntu#Method_1:_Download_a_Complete_Pre-Configured_Image
- you will probably be missing packages
- you may need to add universe to package repository to get those missing packages
sudo add-apt-repository "deb http://archive.ubuntu.com/ubuntu $(lsb_release -sc) main universe restricted multiverse"
Other
- video on C++ programming with Beaglebone - http://www.youtube.com/watch?feature=endscreen&NR=1&v=vFv_-ykLppo
- Contest. Win 2 free beagleboards - http://elinux.org/BeagleBoard/contest