Projet

Général

Profil

Wiki » Historique » Version 64

Sylvain Bentz, 14/12/2015 18:16

1 25 Sylvain Bentz
[[Arduino - Raspberry Pi w/ USB]]
2 25 Sylvain Bentz
3 25 Sylvain Bentz
[[ArduinoLampone]]
4 25 Sylvain Bentz
5 58 Sylvain Bentz
6 63 Sylvain Bentz
7 58 Sylvain Bentz
h2. Bibliothèques pour l'Arduino
8 58 Sylvain Bentz
9 59 Sylvain Bentz
_Libraries for Arduino #Communications_
10 59 Sylvain Bentz
http://playground.arduino.cc/Main/LibraryList#Comm
11 61 Sylvain Bentz
>Pour de la communication entre Arduinos ! C'est génial !
12 60 Sylvain Bentz
>https://github.com/gioblu/PJON : Among many features : "you have the complete access to the microntroller ready to be used, as usual, untouched".
13 61 Sylvain Bentz
14 61 Sylvain Bentz
>http://robotsbigdata.com/docs-arduino-serial-manager.html
15 58 Sylvain Bentz
  
16 58 Sylvain Bentz
17 63 Sylvain Bentz
18 58 Sylvain Bentz
h2. Applis/Biblio pour la Raspberry Pi (Java, C, Python...tout ce qu'on veut)
19 29 Sylvain Bentz
20 36 Sylvain Bentz
_Interfacing with software_
21 1 Sylvain Bentz
http://playground.arduino.cc/Main/InterfacingWithSoftware
22 1 Sylvain Bentz
23 51 Sylvain Bentz
> http://ardulink.org/ : Programme en Java (marche avec port USB. Et avec I2C ? sais pas :( )
24 39 Sylvain Bentz
>> How to install Ardulink on your Raspberry PI
25 39 Sylvain Bentz
>> http://www.ardulink.org/how-to-install-arduino-pc-link-on-raspberry-pi/
26 38 Sylvain Bentz
27 52 Sylvain Bentz
> 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."
28 35 Sylvain Bentz
29 53 Sylvain Bentz
> http://sglez.org/2008/08/05/interfacing-arduino-with-c-and-libserial/ : C++
30 63 Sylvain Bentz
31 63 Sylvain Bentz
32 63 Sylvain Bentz
33 1 Sylvain Bentz
h2. Raspberry - Arduino w/ I2C
34 1 Sylvain Bentz
35 63 Sylvain Bentz
warning. Possible problème de tension entre la RasPi (3.3V) et l'arduino qui PEUT être à 5V (Uno, Nano et Mega = 5V)
36 64 Sylvain Bentz
37 63 Sylvain Bentz
tip. Des solutions simples existent avec quelques résistances http://playground.arduino.cc/Main/I2CBi-directionalLevelShifter
38 1 Sylvain Bentz
39 63 Sylvain Bentz
40 49 Sylvain Bentz
h3. Tutos
41 1 Sylvain Bentz
42 36 Sylvain Bentz
_Tuto de Julien Enselme ! : La communication série avec arduino (et Python)_
43 35 Sylvain Bentz
http://www.jujens.eu/posts/2014/May/05/Communication-serie/
44 35 Sylvain Bentz
45 36 Sylvain Bentz
_Raspberry Pi – Arduino – Lier les deux via le bus I2C_
46 8 Tarek Benhnini
Logiciels utilisés :
47 1 Sylvain Bentz
Arduino -> Biblio Wire
48 21 Sylvain Bentz
Raspi -> Python
49 21 Sylvain Bentz
http://www.pihomeserver.fr/2013/08/13/raspberry-pi-home-server-arduino-lier-les-deux-via-bus-i2c/
50 1 Sylvain Bentz
51 62 Tarek Benhnini
_Raspberry-Pi - Arduino par l'intermédiaire d'un bus I2C_  +++++++++++++++++++++++++
52 1 Sylvain Bentz
http://mchobby.be/wiki/index.php?title=ArduPi-I2C
53 63 Sylvain Bentz
54 1 Sylvain Bentz
55 34 Sylvain Bentz
h3. Doc
56 34 Sylvain Bentz
57 36 Sylvain Bentz
_Wire Library (I2C)_
58 19 Sylvain Bentz
https://www.arduino.cc/en/Reference/Wire
59 56 Sylvain Bentz
60 57 Sylvain Bentz
notice. Arduino lit octet par octet, cf fonction read()
61 13 Sylvain Bentz
62 37 Sylvain Bentz
_Connecteurs I2C de l'Arduino Nano : A4 (SDA) et A5 (SCL)_
63 34 Sylvain Bentz
https://www.arduino.cc/en/Main/ArduinoBoardNano
64 17 Sylvain Bentz
65 48 Sylvain Bentz
_Wikipedia I2C_
66 48 Sylvain Bentz
[[wikipedia>I²C]]