Set up the Arduino IDE
Many packages required for Arduino development were recently removed from Debian’s testing repositories. At the time of writing, they are being held in sid, waiting on a some issues before being migrated.
In the mean-time, you can download pre-built binaries from the arduino.cc download page is pretty simple. I downloaded version 0022 for 64-bit Linux. You just unpack this in to a directory and run the
arduino script. You’ll need to have Java installed.
Next, you have to get the Arduino device to be detected. This works ok on Wheezy. Plug it in and look in your
kern.log. It should show up as a serial device (my Ardino Uno shows up as
So far so good.
Get the AVR C++ compiler working
You need to get the AVR C++ compiler and C-library. Unfortunately, the newer versions of the required packages in sid don’t work (which is why they’ve not been migrated). Fortunately, the ones in squeeze work fine. Download the following packages from squeeze
And install them
This way, when they are finally migrated to wheezy, they should just get upgraded normally.
Test the set-up
Open up the Arduino IDE.
Go to Tools -> Serial Port and select the serial port your Arduino is appearing as.
If you can’t see it, there is a problem with the device being detected. If you opened the IDE before the device was plugged in, try closing it and re-opening it.
Go to File -> Examples -> Basics -> Blink. Then go to Sketch -> Verify / Compile.
If there are compiler errors, you have a problem with the set-up of the AVR C++ compiler or the C-library.
Finally, go to File -> Upload to I/O Board. You should see the board’s serial TX/RX LEDs flicker, and then you should see the LED next to pin 13 blinking on and off. Congratulations.