Arduino Boards and Raspberry Pi’s are a match made in heaven. The Arduino adds a bunch of sensory devices/libraries/well supported community and the Raspberry Pi add’s high end power processing to process/transform and distribute the data. Combined the possibilities are endless…
So lets start at the beginning. In this session I will cover the basics of installing the Arduino IDE on the Raspberry Pi so we can program the Arduino Board and get the two boards to talk.
My setup:
- Raspberry Pi Model B with 512mb.
- Raspberry OS : 2013-02-09-wheezy-raspbian.img
- The Arduino board will be plugged into one of the USB ports. (This is the simplest way to get things going)
Lets Start :
On the Raspberry Pi open up a terminal/shell window and log in if necessary . (Log in in as the default Pi user is fine)
Run the following commands. The first command ensures that your system is up to date and the second one actually installs the Arduino IDE. (The insall might ask you if you want to go ahead with the install, just say [Y]es.
sudo apt-get update sudo apt-get install arduino
After the the IDE has been installed there should be a shortcut to the Arduino IDE from the main start menu (under Programming).
Click on the shortcut and it should open as below…
This concludes my little session on how to install the Arduino IDE on a Raspberry Pi.
If you have any question please a few comments to this post and I will try and help you where I can.
would i be able to use serial monitor coz i want to make this project but using raspberry pi plspls help me
the project link is below
http://learn.adafruit.com/arduino-lesson-17-email-sending-movement-detector/overview
REGARDS
PYT
Hi there,
Have a look at the following links.
http://www.raspberrypi-spy.co.uk/2013/01/cheap-pir-sensors-and-the-raspberry-pi-part-1/
http://www.adafruit.com/blog/2012/11/02/using-raspberry-pi-with-pir-motion-sensor-piday-raspberrypi-raspberry_pi/
I have also created a Arduino 2 Raspberry Pi Bridge shield that lets the two devices communicate through Serial.
http://blog.protoneer.co.nz/arduino-to-raspberry-pi-bridge-shield-pcbs-finally-arrived/
Hope this helps.
Regards,
Bertus,