Toggle Nav

3 Steps to Install Arduino IDE on Raspberry Pi



Table of Contents


To write a code and upload it to your Arduino board, you need a PC or laptop. However, there are cheaper ways.

In this tutorial, you will learn to install ARDUINO IDE on Raspberry Pi, write code with it and then upload it to your Arduino.

What You Will Learn

  • How to install Arduino IDE on Raspberry Pi

Required Materials

Hardware Components

Raspberry Pi 3 B or B+ × 1
Arduino UNO R3 × 1

Software Apps

Arduino IDE

Install Arduino IDE on Raspberry Pi

Follow these steps to install Arduino IDE:

First Step: Download the software from the Arduino website

Connect your Raspberry Pi to the internet and enter this URL in the browser:

Download the Arduino software for Linux operating systems based on ARM processors.

Second Step: Unzip the file

Right-click on the file and select Extract Here.

Third Step: Install the software

Double click on file and select Execute or Execute in Terminal.

And Done!
Now you can easily write codes for your Arduino and upload to the board with no need for a PC or Laptop.

Initial Testing of Arduino IDE

After installing software, you can access it on the desktop or in the Programming menu.


After installing software, you can access it on the desktop or in the Programming menu.

To start you can use the prepared Arduino examples in File>Examples. Here, we are using the Blinking LED example.

  Turns on an LED on for one second, then off for one second, repeatedly.

  Most Arduinos have an on-board LED you can control. On the UNO, MEGA and ZERO 
  it is attached to digital pin 13, on MKR1000 on pin 6. LED_BUILTIN takes care  of using the correct LED pin whatever is the board used.
  If you want to know what pin the on-board LED is connected to on your Arduino model, check
  the Technical Specs of your board  at
  This example code is in the public domain.

  modified 8 May 2014
  by Scott Fitzgerald
  modified 2 Sep 2016
  by Arturo Guadalupi
// the setup function runs once when you press reset or power the board
void setup() {
  // initialize digital pin LED_BUILTIN as an output.

// the loop function runs over and over again forever
void loop() {
  digitalWrite(LED_BUILTIN, HIGH);   // turn the LED on (HIGH is the voltage level)
  delay(1000);                       // wait for a second
  digitalWrite(LED_BUILTIN, LOW);    // turn the LED off by making the voltage LOW
  delay(1000);                       // wait for a second
To upload your codes to Arduino, go to Tools menu and select the type of the board and the port that the Arduino connects to it.

Then, just click upload.

Liked What you see?

Get updates and learn from the best

More To Explore

Comments (2)

  • tudor Reply

    I don’t have a desktop interface.
    How can we do these operations only through ssh.

    January 24, 2020 at 8:46 pm
  • Gunter Reply

    this procedure was not working for me as I had to run the script with root privileges.

    July 25, 2020 at 4:54 pm

Leave a Reply

Your email address will not be published. Required fields are marked *