Install Arduino IDE for Linux ARM (Raspberry Pi, Orange Pi, Odroid …)

The development cards Raspberry Pi, Orange Pi (and all others based on SoC ARM) lend themselves very well to the development of Arduino projects. We will see how to install and configure the Arduino IDE on an Orange Pi Plus 2e running under the Armbian Linux distribution (Ubuntu 16.04 LTS). This tutorial is valid for all ARM-based cards as well as all Linux distributions.

Download Arduino IDE (1.8 or higher)

The Arduino IDE is now delivered as a single compressed archive. The installation consists simply of unpacking the archive and starting a small script that will add a link in the menu in the development section.

Go to the site on the download page that is located here and click on the ARM processor archive link.

arduino ide telechargement version arm

Installing the Arduino IDE on Linux

It is also possible to decompress the archive from the file manager if a decompression utility installed on your distribution supports the tar type. Since the tutorial must work for everyone, open a Terminal and place it in the Download directory

cd ~/Download

The best is to move the compressed file to the root of your account or the Documents folder, then uncompress the archive with the command tar xvf

tar xvf arduino-1.8.0-linuxarm.tar.xz

Finally, run the installation script

cd arduino-1.8.0

A new shortcut was simply added to the Arduino IDE on the Development menu

install ide arduino 1.8 linux armbian raspbian orange pi raspberry pi

Testing with ESP8266

Now let’s see if everything works. I propose you to test with an ESP8266 (Wemos D1 Mini). After installing the libraries for the ESP8266 card and restarting the IDE (to reload the examples), connect the card to a USB port. Go to the card manager and select Wemos D1 Mini. Change the upload speed to 115200 baud, otherwise you may have upload problems. Go to the examples and open the AdvancedWebServer example (or any other). Change the SSID and password that corresponds to your configuration. Finally launch the upload. Everything happens as on any other environment (Windows, MacOS, Linux x86).

ide arduino televerser esp8266 wemos d1 mini linux arm armbian orange pi raspberry

Open the serial monitor and choose a speed of 115200 baud. Make a Reset on the Wemos. Everything works fine.

ide arduino moniteur serie

Here, you can now use your Raspberry Pi to develop your Arduino or ESP8266 programs.

Subscribe to the weekly newsletter

No spam and no other use will be made of your email. You can unsubscribe anytime.

DIY Projects