Specify the temperature you need to measure
A digital temperature IC measures the temperature at its die. It can track a surface or the surrounding air only as well as the mounting arrangement couples the die to that target. Decide what the sensor should track, where the reference thermometer will sit and how much error is acceptable at the coldest and hottest operating points.
Datasheet accuracy is specified over a temperature interval. Resolution is the size of a reported increment. A small increment can reveal a change without establishing that the reading is close to the reference temperature.
Compare accuracy and voltage at the same operating point
| Orderable part | Digital interface | Published accuracy example |
|---|---|---|
| Analog Devices DS18B20+ | 1-Wire | ±0.5 °C from −10 to +85 °C |
| Texas Instruments TMP117AIYBGR | I²C or SMBus | ±0.1 °C maximum from −20 to +50 °C |
| STMicroelectronics STTS22HTR | I²C or SMBus | ±0.5 °C maximum from −10 to +60 °C |
At +80 °C, apply the limit that covers +80 °C. The TI data sheet specifies ±0.2 °C maximum through +100 °C in its −40 to +100 °C band. Check the relevant band in the ST data sheet or Analog Devices data sheet when evaluating those devices. At a fixed 1.8 V rail, the ST and TI devices are within their specified supply ranges at +80 °C. The externally powered DS18B20+ requires at least 3.0 V.
If your controller requires 1-Wire and the sensor must operate from 5 V, apply both directory filters. Verify the bus pull-up and the power mode with the manufacturer's documentation before committing to a wiring scheme.
Separate conversion time from installed thermal response
The DS18B20 data sheet specifies a maximum digital conversion time of 93.75 ms in 9-bit mode and 750 ms in 12-bit mode. A controller needs to allow for conversion, reading the bus and any processing delay. Those timings describe acquisition. Heat still needs time to reach the sensor die.
For surface measurement, evaluate the contact and the thermal path to the target. For air temperature, avoid heating from nearby electronics and test the effect of airflow and the enclosure. The TI layout application note discusses both cases. In a prototype, apply a reproducible temperature step, log the sensor and reference together and state the time to a specified fraction of the final change. Keep those thermal test conditions with the result.
Browse digital temperature sensor ICs
Cover photo: DS18B20 series TO-92 package by SparkFun Electronics, CC BY 2.0, unmodified. The coin provides scale.
