In this blog I will show how to install Arduino IDE and work with Arduino UNO on raspberry pi.Here you will find cheapest solution for running an Arduino IDE in the SBC (Raspberry Pi).
Note: You have to use powered USB HUB connected to raspberry pi, because the power supply from the raspberry pi is not sufficient to power up the Arduino Board.
If you are facing an error on the following steps
cp /usr/bin/avrdude /home/pi/arduino
cp /etc/avrdude.conf /home/pi/arduino
Kindly replace those two commands with the following steps
cp /usr/bin/avrdude /home/pi/usr/share/arduino
cp /etc/avrdude.conf /home/pi/usr/share/arduino
*For placing an order: