Modifications

Sauter à la navigation Sauter à la recherche
7 octets ajoutés ,  22 février 2013 à 12:15
Ligne 29 : Ligne 29 :  
The first line has the CRC, if its "NO" then the data is corrupted. If you get a good CRC check, the second line has t=temperature in 1/1000 of a degree Centigrade. For example, below, the temperature is 24.5°C
 
The first line has the CRC, if its "NO" then the data is corrupted. If you get a good CRC check, the second line has t=temperature in 1/1000 of a degree Centigrade. For example, below, the temperature is 24.5°C
   −
Since 1-wire is bitbanged, its flakier than SPI or I2C. ***LINK*** We have a short tutorial on using a DS18B20 sensor (http://learn.adafruit.com/adafruits-raspberry-pi-lesson-11-ds18b20-temperature-sensing)
+
Puisque le protocole 1-wire purement binaire et moins courant (habituel) que le SPI ou I2C. Le tutoriel sur [[Rasp-Hack-DS18B20|le senseur de température DS18B20 OneWire]] est un exemple de mise en oeuvre OneWire
    
[[Fichier:Occidentals-1wire.jpg]]
 
[[Fichier:Occidentals-1wire.jpg]]
29 837

modifications

Menu de navigation