BeagleBoard with Arduino

From eLinux.org
Revision as of 06:59, 8 January 2012 by Mysli (talk | contribs) (FTDI driver function checked and documented)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Getting the Arduino working on the BeagleBoard or BeagleBoard xM (Probably applies to the PandaBoard and similar platforms)

For recent Arduinos based on the Atmel USB chip (like the Arduino Uno) you will need to install the cdc-acm driver. You can do this in Angstrom using the following command:

opkg install kernel-module-cdc-acm

Your Arduino should then appear in /dev under the name ttyACM0 (note that the name is not the same as in OSX where it shows as tty.usbmodemXXXX)

For older Arduinos based on the FTDI chip, this is the driver to install :

opkg install kernel-module-ftdi-sio

Your Arduino should then appear in /dev under the name ttyUSB0.

A simple way to receive values from Arduino: cat /dev/ttyACM0 respectively cat /dev/ttyUSB0.