Projet

Général

Profil

Wiki » Historique » Version 56

« Précédent - Version 56/89 (diff) - Suivant » - Version actuelle
Sylvain Bentz, 05/12/2015 02:45


Arduino - Raspberry Pi w/ USB

ArduinoLampone

h2. Arduino - Appli de la Raspberry Pi (Java, C, Python...tout ce qu'on veut)

Interfacing with software
http://playground.arduino.cc/Main/InterfacingWithSoftware

http://ardulink.org/ : Programme en Java (marche avec port USB. Et avec I2C ? sais pas :( )

How to install Ardulink on your Raspberry PI
http://www.ardulink.org/how-to-install-arduino-pc-link-on-raspberry-pi/

http://playground.arduino.cc/Interfacing/Delphi : libère l'USB "For instance, the switch could be replaced with a temperature sensor and the LED with a relay to turn a home's heating on."

http://sglez.org/2008/08/05/interfacing-arduino-with-c-and-libserial/ : C++
h2. Raspberry - Arduino w/ I2C

warning. Possible problème de tension entre la RasPi (3.3V) et l'arduino qui PEUT être à 5V (Uno, Nano et Mega = 5V) /!\ {TODO} vérifier http://forum.arduino.cc/index.php?topic=238256.msg1713514#msg1713514

h3. Tutos

Tuto de Julien Enselme ! : La communication série avec arduino (et Python)
http://www.jujens.eu/posts/2014/May/05/Communication-serie/

Raspberry Pi – Arduino – Lier les deux via le bus I2C
Logiciels utilisés :
Arduino -> Biblio Wire
Raspi -> Python
http://www.pihomeserver.fr/2013/08/13/raspberry-pi-home-server-arduino-lier-les-deux-via-bus-i2c/

Raspberry-Pi - Arduino par l'intermédiaire d'un bus I2C
http://mchobby.be/wiki/index.php?title=ArduPi-I2C

h3. Doc

Wire Library (I2C)
https://www.arduino.cc/en/Reference/Wire

notice. Arduino lit byte par byte, cf fonction read()

Connecteurs I2C de l'Arduino Nano : A4 (SDA) et A5 (SCL)
https://www.arduino.cc/en/Main/ArduinoBoardNano

Wikipedia I2C
wikipedia>I²C