Outils pour utilisateurs

Outils du site


communication_protocole_i2c

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentesRévision précédente
Prochaine révision
Révision précédente
communication_protocole_i2c [2022/09/07 09:13] – [Installation sur Arduino] sergecommunication_protocole_i2c [2022/09/07 09:33] (Version actuelle) – [Communication avec le protocole I2C] serge
Ligne 1: Ligne 1:
 ====== Communication avec le protocole I2C ====== ====== Communication avec le protocole I2C ======
 +{{ :media_16:2_codeurs_ok.png?600 |}}
  
 =====Ressources===== =====Ressources=====
Ligne 45: Ligne 45:
   * https://radiostud.io/howto-i2c-communication-rpi/   * https://radiostud.io/howto-i2c-communication-rpi/
   * [[https://www.arduino.cc/reference/en/language/functions/communication/wire/|la doc arduino pour la lib Wire]]   * [[https://www.arduino.cc/reference/en/language/functions/communication/wire/|la doc arduino pour la lib Wire]]
- 
-=====Lib Arduino Wire.h===== 
-  * https://www.arduino.cc/reference/en/language/functions/communication/wire/ 
- 
-=====Nick Gammon: maître du SPi et du I2C et d'autres===== 
- 
-  * [[http://www.gammon.com.au/i2c|]] 
-  * https://www-gammon-com-au.translate.goog/i2c?_x_tr_sch=http&_x_tr_sl=en&_x_tr_tl=fr&_x_tr_hl=fr&_x_tr_pto=wapp 
- 
-====Request/response==== 
-  * http://www.gammon.com.au/forum/?id=10896&reply=4#reply4 
- 
-====Send and receive any data type==== 
-http://www.gammon.com.au/forum/?id=10896&reply=8#reply8 
  
 =====smbus2===== =====smbus2=====
 La lib I2C python La lib I2C python
   * https://github.com/kplindegaard/smbus2   * https://github.com/kplindegaard/smbus2
- 
-=====i2c-ioerro===== 
-  * https://raspberrypi.stackexchange.com/questions/97995/rpi-python-i2c-ioerror-errno-121-remote-i-o-error-problem-how-to-fix-it 
  
  
 =====Exemple à revérifier===== =====Exemple à revérifier=====
   * https://github.com/sergeLabo/furuta/tree/main/doc/NickGammon_I2C l'exemple de Nick simplifié   * https://github.com/sergeLabo/furuta/tree/main/doc/NickGammon_I2C l'exemple de Nick simplifié
- 
  
 =====Exemple entre Raspberry Pi et Arduino Leonardo===== =====Exemple entre Raspberry Pi et Arduino Leonardo=====
Ligne 173: Ligne 155:
 </code> </code>
 =====Pull-up Resistors===== =====Pull-up Resistors=====
-https://learn.sparkfun.com/tutorials/pull-up-resistors +  * https://learn.sparkfun.com/tutorials/pull-up-resistors 
 +  * **[[https://www.gammon.com.au/forum/?id=10896&reply=5#reply5|Nick explique tout]]**
  
-{{:media_16:pull_up_resistor.png?400|}}+On tire le signal vers le **+** avec une résistance sur SDA et SDL: 
 +{{ :media_16:pull_up_resistor.png?200 |}}
  
  
communication_protocole_i2c.1662542032.txt.gz · Dernière modification : 2022/09/07 09:13 de serge