Arduino Boards and Raspberry Pi’s are a match made in heaven. The Arduino adds a bunch of sensory devices/libraries/well supported community and the Raspberry Pi add’s high end power processing to process/transform and distribute the data. Combined the possibilities are endless… 🙂
So lets start at the beginning. In this session I will cover the basics of installing the Arduino IDE on the Raspberry Pi so we can program the Arduino Board and get the two boards to talk.
- Raspberry Pi Model B with 512mb.
- Raspberry OS : 2013-02-09-wheezy-raspbian.img
- The Arduino board will be plugged into one of the USB ports. (This is the simplest way to get things going)
Lets Start :
On the Raspberry Pi open up a terminal/shell window and log in if necessary . (Log in in as the default Pi user is fine)
Run the following commands. The first command ensures that your system is up to date and the second one actually installs the Arduino IDE. (The insall might ask you if you want to go ahead with the install, just say [Y]es.
sudo apt-get update sudo apt-get install arduino
After the the IDE has been installed there should be a shortcut to the Arduino IDE from the main start menu (under Programming).
Click on the shortcut and it should open as below…
This concludes my little session on how to install the Arduino IDE on a Raspberry Pi.
If you have any question please a few comments to this post and I will try and help you where I can.