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 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
Si vous avez l'erreur "acces denied", il faut ajouter la commande suivante :
chmod 660 /dev/ttyAMA0
Source : https://diyprojects.io/install-arduino-ide-linux-arm-raspberry-pi-orange-pi-odroid/#.XFGe9lVKiUk