Arduino on Pi

by nerd7473 in Circuits > Raspberry Pi

73233 Views, 122 Favorites, 0 Comments

Arduino on Pi

0.10399054023531074IMAG0023.jpg
0.2262891892291149IMAG0013.jpg
0.3867602437983374IMAG0024.jpg
this is an instructable on how to make the raspberry pi have arduino IDE on the desktop. note you will need an internet connection.

Boot Up and Log In

0.5005517081601748IMAG0011.jpg
0.8063632704909056IMAG0007.jpg
boot up the pi with your username and password

Go to LX Terminal

0.5004817820398868IMAG0019.jpg
go to the LX terminal and type in the code in the next step.

Type in Code

0.2517282527958652IMG_20131105_163720.jpg
0.5355995933952288IMAG0016.jpg
type in the following code:

sudo apt-get install arduino

press enter and wait a good while until it is downloaded

Move IDE to Desktop

0.036204357111362495IMAG0021.jpg
0.1092294870541658IMAG0022.jpg
go to the LX menu in the bottom of the screen it is sort of like the start menu on Windows but its Linux. Adding the icon to the desktop isn't hard just go into the menu and you should see a "Electronics button" right click it and choose add to desktop.

Opening IDE and a Sketch

0.7253267506897532IMAG0023.jpg
0.60008910644439IMAG0018.jpg
0.6252015979793096IMAG0026.jpg
0.9930597657432364IMAG0025.jpg
0.19499847140294846IMAG0024.jpg
open a sketch in the arduino program and upload it to your arduino it should have the same bars as Windows but different i.e. file, edit, and so on. look for example in the file tab and you will find some menus. Look for basics and click fade or blink. choose the arrow pointing right to upload you must have your arduino plugged into the pi via the usb.

Enjoy

0.7549647434086847IMAG0017.jpg
enjoy and have fun I hope I have inspired you to do your own projects with a raspberry pi and arduino.