Difference between revisions of "BeagleBone"

From Robert-Depot
Jump to: navigation, search
(C920)
(Setup)
Line 2: Line 2:
  
 
=Setup=
 
=Setup=
 +
==What Kernel am I running==
 +
*<code>uname -a</code>
 +
 +
==other==
 
*a lot of good setup stuff here: http://www.gigamegablog.com/2012/01/29/beaglebone-linux-101-configuring-angstrom-linux/
 
*a lot of good setup stuff here: http://www.gigamegablog.com/2012/01/29/beaglebone-linux-101-configuring-angstrom-linux/
  

Revision as of 07:48, 17 November 2013

<<< back to Wiki Home

Setup

What Kernel am I running

  • uname -a

other

Debugging

TTL Cable

954bbb_MED.jpg

(RED IS NOT CONNECTED)

ssh not working

want to allow processes to keep running?

Hardware

C920

=capture

streaming

dash cam

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