I am interested in the DS18B20 temperature sensor from Maxim Integrated. The datasheet is here:
https://datasheets.maximintegrated.com/en/ds/DS18B20.pdf
The datasheet mentions:
- "Measures Temperatures from -55°C to +125°C"
- "The resolution of the temperature sensor is user-configurable to 9, 10, 11, or 12 bits, corresponding to increments of 0.5°C, 0.25°C, 0.125°C, and 0.0625°C, respectively."
But when I compute this by hand, I get that, at 12 bits resolution, between -55 and +125 degrees, the resolution in degrees celcius "should" be:
(125+55) / (2**12) = 0.044
(using 2 significant digits).
How to understand the mismatch? Does that mean that only "part of" the 12 bits resolution is really used? Then I guess it is not strictly speaking "12 bits resolution", right?