Projet

Général

Profil

Wiki » Historique » Version 69

Sylvain Bentz, 28/12/2015 10:11

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 1 Sylvain Bentz
12 67 Sylvain Bentz
_Pour de la communication *entre Arduinos* ! C'est génial !_
13 67 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".
14 67 Sylvain Bentz
15 67 Sylvain Bentz
_Communication seriel, avec parsers, delimiters et encore plus_
16 67 Sylvain Bentz
http://robotsbigdata.com/docs-arduino-serial-manager.html
17 67 Sylvain Bentz
18 69 Sylvain Bentz
_Software I2C library_ Guère plus grande que _Wire_
19 67 Sylvain Bentz
http://playground.arduino.cc/Main/SoftwareI2CLibrary
20 68 Sylvain Bentz
21 68 Sylvain Bentz
_Wireless sensor node (WSN) network protocol for arduino_(Pour des futures bornes de géolocalisation ?)
22 68 Sylvain Bentz
https://code.google.com/p/arduinode/
23 68 Sylvain Bentz
24 68 Sylvain Bentz
25 58 Sylvain Bentz
  
26 58 Sylvain Bentz
27 63 Sylvain Bentz
28 58 Sylvain Bentz
h2. Applis/Biblio pour la Raspberry Pi (Java, C, Python...tout ce qu'on veut)
29 29 Sylvain Bentz
30 36 Sylvain Bentz
_Interfacing with software_
31 1 Sylvain Bentz
http://playground.arduino.cc/Main/InterfacingWithSoftware
32 1 Sylvain Bentz
33 51 Sylvain Bentz
> http://ardulink.org/ : Programme en Java (marche avec port USB. Et avec I2C ? sais pas :( )
34 39 Sylvain Bentz
>> How to install Ardulink on your Raspberry PI
35 39 Sylvain Bentz
>> http://www.ardulink.org/how-to-install-arduino-pc-link-on-raspberry-pi/
36 38 Sylvain Bentz
37 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."
38 35 Sylvain Bentz
39 53 Sylvain Bentz
> http://sglez.org/2008/08/05/interfacing-arduino-with-c-and-libserial/ : C++
40 1 Sylvain Bentz
41 1 Sylvain Bentz
42 63 Sylvain Bentz
43 64 Sylvain Bentz
h2. Raspberry - Arduino w/ I2C
44 63 Sylvain Bentz
45 1 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)
46 66 Sylvain Bentz
47 66 Sylvain Bentz
tip. Des solutions simples existent avec quelques résistances http://playground.arduino.cc/Main/I2CBi-directionalLevelShifter
48 66 Sylvain Bentz
49 63 Sylvain Bentz
50 49 Sylvain Bentz
h3. Tutos
51 1 Sylvain Bentz
52 36 Sylvain Bentz
_Tuto de Julien Enselme ! : La communication série avec arduino (et Python)_
53 35 Sylvain Bentz
http://www.jujens.eu/posts/2014/May/05/Communication-serie/
54 35 Sylvain Bentz
55 36 Sylvain Bentz
_Raspberry Pi – Arduino – Lier les deux via le bus I2C_
56 8 Tarek Benhnini
Logiciels utilisés :
57 1 Sylvain Bentz
Arduino -> Biblio Wire
58 21 Sylvain Bentz
Raspi -> Python
59 21 Sylvain Bentz
http://www.pihomeserver.fr/2013/08/13/raspberry-pi-home-server-arduino-lier-les-deux-via-bus-i2c/
60 1 Sylvain Bentz
61 62 Tarek Benhnini
_Raspberry-Pi - Arduino par l'intermédiaire d'un bus I2C_  +++++++++++++++++++++++++
62 1 Sylvain Bentz
http://mchobby.be/wiki/index.php?title=ArduPi-I2C
63 68 Sylvain Bentz
64 68 Sylvain Bentz
_Arduino Serial communication_
65 68 Sylvain Bentz
http://www.oxgadgets.com/2011/07/arduino-serial-communication.html
66 63 Sylvain Bentz
67 1 Sylvain Bentz
68 34 Sylvain Bentz
h3. Doc
69 34 Sylvain Bentz
70 36 Sylvain Bentz
_Wire Library (I2C)_
71 19 Sylvain Bentz
https://www.arduino.cc/en/Reference/Wire
72 56 Sylvain Bentz
73 57 Sylvain Bentz
notice. Arduino lit octet par octet, cf fonction read()
74 13 Sylvain Bentz
75 65 Sylvain Bentz
notice. Arduino peut interpréter l'octet comme nombre (type int) ou string (type char)
76 65 Sylvain Bentz
77 37 Sylvain Bentz
_Connecteurs I2C de l'Arduino Nano : A4 (SDA) et A5 (SCL)_
78 34 Sylvain Bentz
https://www.arduino.cc/en/Main/ArduinoBoardNano
79 17 Sylvain Bentz
80 48 Sylvain Bentz
_Wikipedia I2C_
81 48 Sylvain Bentz
[[wikipedia>I²C]]