Difference between revisions of "BeagleBone"

From Robert-Depot
Jump to: navigation, search
(ssh not working)
Line 81: Line 81:
 
*install python-curses:
 
*install python-curses:
 
**<code>opkg install python-curses</code>
 
**<code>opkg install python-curses</code>
 +
=Run a Script on Login (Start a Service)=
 +
http://www.nunoalves.com/open_source/?p=308
 +
http://kezhong.wordpress.com/2011/11/19/creating-my-own-systemd-service-files-on-fedora-16x86_64/
 
=Other=
 
=Other=
 
*video on C++ programming with Beaglebone - http://www.youtube.com/watch?feature=endscreen&NR=1&v=vFv_-ykLppo
 
*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
 
*Contest. Win 2 free beagleboards - http://elinux.org/BeagleBoard/contest

Revision as of 14:00, 21 July 2013

Setup

Debugging

TTL Cable

954bbb_MED.jpg

(RED IS NOT CONNECTED)

ssh not working

want to allow processes to keep running?

Hardware

PyBBIO

GPIO

gpio - http://beaglebone.cameon.net/home/using-the-gpios

Servo

Serial Communication

Ubuntu

Angstrom

  • update opkg:
    • opkg update
  • install pyserial:
    • opkg install python-pyserial

Pockesphinx

Audio

  • purchase usb sound card.
  • connect stereo microphone.
  • record audio with arecord:
    • arecord -D sysdefault -t wav -c 2 -r 44100 -f S16_LE -v binaural2.wav
  • play audio:
    • aplay binaural2.wav
  • use the ALSA mixer to set recording levels, output levels, etc.:
    • alsamixer

Debian

Installing Ubuntu

Curses

  • install python-curses:
    • opkg install python-curses

Run a Script on Login (Start a Service)

http://www.nunoalves.com/open_source/?p=308 http://kezhong.wordpress.com/2011/11/19/creating-my-own-systemd-service-files-on-fedora-16x86_64/

Other