DS18B20 Raw Value Converter

DS18B20 Raw Value Converter

animation
sensors
temperature
Try Keep the decimal raw reading (signed 16-bit) at 464 and change Resolution (bits) from 12 to 9.
Observe The opening value is 0x01D0, or 29.0000°C, with a 0.0625°C step and 750 ms conversion time. Lowering Resolution (bits) changes the step and time, not the decoded temperature.
Explain The raw reading is always divided by 16; Resolution (bits) determines the undefined low bits and the listed conversion time.

Technical boundaries. The converter assumes the entered integer is already signed and restricts it to -2048 through 2047 despite the 16-bit label. Lower-resolution undefined bits are reported but not masked, and warnings use fixed raw-value thresholds.

Interactive: DS18B20 Raw Value Converter

Convert a raw DS18B20 value and compare the result with the sensor resolution.

Tip

Use this calculator to convert DS18B20 raw register values to temperature, or enter a temperature to see its raw encoding.

Back to the chapter