The development boards 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 boards 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 Arduino.cc site on the download page that is located here and click on the ARM processor archive link.
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
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 ./install.sh
A new shortcut was simply added to the Arduino IDE on the Development menu
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 board and restarting the IDE (to reload the examples), connect the board to a USB port. Go to the board 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).
Open the serial monitor and choose a speed of 115200 baud. Make a Reset on the Wemos. Everything works fine.
Here, you can now use your Raspberry Pi to develop your Arduino or ESP8266 programs.
- Install Java 8 on Armbian (Orange Pi Lite or higher)
- Blynk: installing a private local server on Orange Pi under Armbian (Ubuntu 16.04LTS)
- Cayenne: Install the librairie on an Orange Pi under Armbian Jessie
- Install Jeedom on an Orange Pi Lite (or Orange Pi+ 2e) running under Armbian Jessie
- Armbian: How to update the Kernel and test the versions Nightly
- How to build Armbian SD Card image for Orange Pi, Banana Pi, cubieboard …