loading

If you would like to install the Arduino IDE on your Raspberry Pi, one might think that you need to do some hacking to get there, but in reality, it is incredibly simple to code C++ from your Raspberry Pi to your Arduino. I assume that you have a very basic knowledge of the Raspberry Pi, and also, I assume that you have some experience with the Linux command prompt. The following instructions have been tested on a Raspberry Pi 2 model B, controlling an Arduino Uno R2. (This generally applies to any Arduino, and the Uno R3 would probably work as well.

Materials:

Raspberry Pi 2 B with Raspbian

Peripherals for Raspberry Pi

Mouse

Keyboard

Powered USB hub (Important for powering the Arduino-the Pi's USB ports don't stand up to the current drawn by the Arduino)

Arduino R2 or R3

USB A-B cable of any length

1. Before installing the Arduino IDE, we need to do a spot of updating. Boot up your Pi, and type or copy the following code into the LX-Terminal:

sudo apt-get update && sudo apt-get upgrade

2. Now, we do the very hard task of installing the Arduino IDE:

sudo apt-get install arduino

3. See how hard that was? Now, in your menu bar, there should be an Electronics section. There you can access the Arduino IDE. Just remember: Plug in your Arduino into your powered USB hub. If you don't, you wouldn't be able to power any servos, LEDs, or any other parts to your Arduino.

Cool! You're right... it looks like a VERY DIFFICULT process lol. In all seriousness thanks as I actually didn't know it was so easy.

About This Instructable

3,106views

14favorites

License:

Bio: My favorite pastime is 3D printing, and I have a homebuilt Rep-Rap Kossel.
More by raspberrypi33:Make a 608 Bearing MUCH Faster 3D Printing on Unconventional Items Make a TV Antenna out of a Banana Peel (FREE TV) 
Add instructable to: