Résolution du capteur DS18B20 sur arduino

Catégorie du document
  • Tutoriel
Date du jour 27.11.2020
Catégorie
  • Arduino
Date du document 06.09.2015
A retenir Setup function is pretty simple as well. sensors.begin() initializes the sensor. With sensors.setResolution(address, resolution) we can change the resolution of a sensor. The sensor can output values in 9, 10, 11 or 12 bits. Lower resolution means faster measurements:

9 bits: increments of 0.5C, 93.75ms to measure temperature;
10 bits: increments of 0.25C, 187.5ms to measure temperature;
11 bits: increments of 0.125C, 375ms to measure temperature;
12 bits: increments of 0.0625C, 750ms to measure temperature.
Mots clés pour mieux retrouver cette ressource arduino bit capteur ds18B20 resolution température