Intro: 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
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
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
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
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.