Difference between revisions of "BeagleBoard with Arduino"

From eLinux.org
Jump to: navigation, search
m (moved Arduino to BeagleBoard with Arduino Uno: content specific to beagleboard)
(FTDI driver function checked and documented)
 
(3 intermediate revisions by 3 users not shown)
Line 6: Line 6:
 
'''
 
'''
  
Your Arduino should then appear in /dev under the name ttyACM0 (not that the name is not the same as in OSX where it shows as tty.usbmodemXXXX)
+
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 :
 
For older Arduinos based on the FTDI chip, this is the driver to install :
  
'''opkg install kernel-module-ftdi-sio
+
'''opkg install kernel-module-ftdi-sio'''
'''
 
  
I have not tested this so I am not sure under what name it will show up...
+
Your Arduino should then appear in /dev under the name ttyUSB0.
  
Thanks for prpplague for helping me sorting this out !
+
A simple way to receive values from Arduino: cat /dev/ttyACM0 respectively cat /dev/ttyUSB0.
 +
 
 +
 
 +
[[Category:BeagleBoard]]
 +
[[Category:Arduino]]

Latest revision as of 06:59, 8 January 2012

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.