Hello guys,
I’m going to show on how to install the Arduino IDE in raspberry pi. Most of us, will ttry to install by using command line like below:
sudo apt-get install arduino
However, you will get a very outdated version of Arduino IDE which lack of features like serial monitor, plotter and advanced board.
So, in this page, I’m going to show on how to install the Arduino IDE through Arduino website. Please let a look.
Step 1: Power up your Raspberry Pi
Be ready your raspberry pi by connect to a power source and a monitor. Logged in and click on browser.
Step 2: Download the IDE
Click this link:
https://www.arduino.cc/en/Main/Software
Scroll down and choose “Linux ARM 32 Bits” on the right.
Click “Just Download” and save.
Step 3: Extract and Install
Follow these steps to install and begin using the latest version of Arduino IDE:
1. Go to folder download. Normally at : /home/pi/Downloads.
2. Right click “arduino-1.8.12-linuxarm.tar.tar” and choose Extract here.
3. Wait for the extraction to be complete, the move to the terminal. Type this:
cd Downloads
ls
cd arduino-1.8.12
sudo ./install.sh
Once that’s done, you can restart and you can start using the IDE!
Step 4: Using the Arduino IDE
Go to raspberry pi menu –> programming – -> Arduino.
Connect your Arduino into your Raspberry Pi, open the Arduino IDE.
Select the correct port, which should be /dev/tty/USB0.
You can test whether it works by uploading the classic Blink program attached to this post into the Arduino IDE.
Voila !!!