Installing & Using Arduino IDE on a Raspberry Pi 3

by renierdelport in Circuits > Electronics

40711 Views, 20 Favorites, 0 Comments

Installing & Using Arduino IDE on a Raspberry Pi 3

arduino-ide-raspberry-pi-pinterest.jpg

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.

Installing the Required Packages

rpi2.jpg

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

Connect the Arduino

2017-06-30-200858_800x600_scrot.png

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.

Uploading a Sketch

arduino-blink-image.jpg

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.

Conslusion

Conclusion.jpg

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 =)-~