Introduction: Installing & Using Arduino IDE on a Raspberry Pi 3

Picture of Installing & Using Arduino IDE on a Raspberry Pi 3

This Instructable will go through the easy steps in installing the latest version of the Adruino IDE on a Raspberry Pi.

The Arduino IDE is available for all the major operating systems, but will show how to install it on a Raspberry Pi 3 model B running Raspbian Jessie in the GUI. An active connection to the internet will be required and to get the full experience the Raspberry Pi also needs to be connected to a screen, keyboard and mouse.

Step 1: Installing the Required Packages

Picture of Installing the Required Packages

The easiest way to install packages is from the terminal.

To make sure Raspbian Jessie is up to date use:

sudo apt-get update
sudo apt-get upgrade

Install Arduino IDE with:

sudo apt-get install arduino

Step 2: Connect the Arduino

Picture of Connect the Arduino

After connecting a Arduino board to the Raspberry Pi using the appropriate cable, pull down the Raspbian main Menu and select Arduino IDE under Electronics. It will open with a blank screen.

To choose the type of Arduino board go to Tools > Board > and select the appropriate one.\

To select the port the Arduino is connected to, look under Serial Port under the Tools menu.

Step 3: Uploading a Sketch

Picture of Uploading a Sketch

Example sketches can be chosen from Examples under the File menu. To test if everything is working choose Examples > 01.Basics > Blink. This will open the default blink sketch on a new screen. You can now close the old one.

After pressing the Upload button (->) the Arduino’s on-board LED should start to blink on and off at one second intervals.

Step 4: Conslusion

Picture of Conslusion

That's it! If the board's build-in LED is blinking the setup is complete!

For more information & tips about the Arduino IDE, see my Blog.

Enjoy =)-~

Comments

DIY Hacks and How Tos (author)2017-07-02

Cool idea. I never thought about combining raspberry pi and Arduino in the same system.

About This Instructable

1,211views

13favorites

License:

Bio: I also find myself busy with creative web design, my websites, motorcycling, photo shopping, micro electronics, non-commercialised music, superhero movies, bad ass series and many ... More »
More by renierdelport:Bluetooth Audio Device on OpenELECInstalling & Using Arduino IDE on a Raspberry Pi 3Raspberry Pi Big Ben Clock
Add instructable to: