Linking Arduino Uno to the Raspberry Pi

冷暖自知 提交于 2019-12-05 18:53:08

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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!