Difference between revisions of "BeagleBone"

From Robert-Depot
Jump to: navigation, search
(=python-opencv)
(Setup)
Line 2: Line 2:
  
 
=Setup=
 
=Setup=
==What Kernel am I running==
+
=Copy OS to Micro SD card=
 +
*Download OS (.img.xz)
 +
*unzip
 +
*figure out what your card is. check df before and after inserting the card
 +
**<code>df -h</code>
 +
*unmount the drive
 +
**<code>diskutil unmountDisk /dev/disk2s1</code>
 +
*copy image to drive:
 +
**<code>dd if=Angstrom-Cloud9-IDE-GNOME-eglibc-ipk-v2012.12-beaglebone-2013.06.20.img of=/dev/rdisk2 bs=1m</code>
 +
==What Kernel am I running==[[File:Example.jpg]]
 
*<code>uname -a</code>
 
*<code>uname -a</code>
  

Revision as of 07:01, 27 November 2013

<<< back to Wiki Home

Setup

Copy OS to Micro SD card

  • Download OS (.img.xz)
  • unzip
  • figure out what your card is. check df before and after inserting the card
    • df -h
  • unmount the drive
    • diskutil unmountDisk /dev/disk2s1
  • copy image to drive:
    • dd if=Angstrom-Cloud9-IDE-GNOME-eglibc-ipk-v2012.12-beaglebone-2013.06.20.img of=/dev/rdisk2 bs=1m

==What Kernel am I running==Example.jpg

  • uname -a

other

Debugging

TTL Cable

954bbb_MED.jpg

(RED IS NOT CONNECTED)

ssh not working

want to allow processes to keep running?

OpenCV

python-opencv

  • install python opencv bindings
    • opkg install python-opencv

potrace

GPIO

PyBBIO

other

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

Hardware

C920

capture

streaming

dash cam

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