Linking Arduino Uno to the Raspberry Pi

1. sudo apt-get install arduino ( It will install openjdk-6-jre, librxtx-java, avr-libc, avrdude etc )

2. sudo apt-get install python-pip

3. pip install ino

4. mkdir blink; cd blink

5. ino init -t blink

6. ino build 

7. ino upload (port: default /dev/ttyACM0 for Uno)

8. ino serial

Reference:
http://www.recantha.co.uk/blog/?p=1103
http://inotool.org/quickstart
http://netduinoplusfun.wordpress.com/2012/06/13/arduino-ide/
http://elinux.org/RPi_Serial_Connection
http://www.suppertime.co.uk/blogmywiki/2012/09/pi-shall-tweet-unto-arduino/
http://www.satsignal.eu/ntp/Raspberry-Pi-NTP.html
http://blog.oscarliang.net/raspberry-pi-and-arduino-connected-serial-gpio/
http://baldwisdom.com/category/raspberry-pi/
The linux document Project http://www.tldp.org/HOWTO/Text-Terminal-HOWTO-10.html

你可能感兴趣的:(Linking Arduino Uno to the Raspberry Pi)