Unlike what most of the documentation on the arduino site refers to, the Mega ADK board makes use of
/dev/ttyACM0 and not
/dev/ttyUSBn. And in order to use it, you need the latest 1.0 version of the arduino dev kit, which has an updated RXTX library to support it, so don’t go updating it, like all the ubuntu install instructions eventually get around to telling you to do. You may also get into a rats nest of uninstalling tty and ftdi drivers.
- Get a JDK6 or 7 JDK (32 or 64 bit available)
- Download the arduino dev kit (32/686 or 64 bit available)
- Install all the avr stuff :
'sudo apt-get install avr-libc avrdude binutils-avr gcc-avr'
- Install the downloaded jdk then
'sudo update-alternatives --config java'to set the default JVM.
- Untar the arduino download to a dir of your choice (your home dir perhaps, as you dont want to be doing this as root)
- Plug in the arduino board to a free USB port, and then run
./arduinofrom the install dir
- Set the ADK board from
- Set the serial port from
Tools->Serial Port– it should already be done. If its not, or it is disabled, something is wrong with your installation. Check previous steps. Cry. Try again.
- Click the right arrow icon to upload to your board. Check pin 13 amber LED is blinking.
http://www.arduino.cc/playground/Learning/Linux – see last para of “Included Dependencies”