10 days



The DS18B20 Digital Thermometer provides 9 to 12–bit centigrade temperature measurements and has an alarm function with nonvolatile user-programmable upper and lower trigger points. The DS18B20 communicates over a 1-Wire bus that by definition requires only one data line (and ground) for communication with a central microprocessor. It has an operating temperature range of –55°C to +125°C and is accurate to ±0.5°C over the range of –10°C to +85°C. In addition, the DS18B20 can derive power directly from the data line ("parasite power"), eliminating the need for an external power supply.

Each DS18B20 has a unique 64-bit serial code, which allows multiple DS18B20s to function on the same 1–wire bus; thus, it is simple to use one microprocessor to control many DS18B20s distributed over a large area. Applications that can benefit from this feature include HVAC environmental controls, temperature monitoring systems inside buildings, equipment or machinery, and process monitoring and control systems.

It can be used as a replacement for the obsolete DS1820. It can also be used as a replacement for the DS18S20. The DS18S20 has only got 9-bit centigrade temperature measurements, where the DS18B20 supports 9-bit and 12-bit measurements!

There are many resources on the internet describing how to use it with Arduino, AVR, PIC and other embedded platforms.



  • 3.0V to 5.5V Operating Voltage
  • Measures temperatures from –55°C to +125°C (–67°F to +257°F)
  • 0.5C accuracy from –10°C to +85°C
  • Thermometer resolution is user-selectable from 9 to 12 bits
  • Converts temperature to 12-bit digital word in 750ms (max.)
  • Compact TO-92 package
  • Requires no external components

Using this sensor with a Controller board

We stock a wide range of embedded Single Board Computers (Arduino, PIC Microchip SBC...) that can be used together with this sensor. Seeing that this sensors works with a wide operating voltage, it is compatible with any of our 3.3V and 5V boards. See the Boards section of our menu at the top of this page (or use search box) for our full range of SBC Boards. Following are some lists (created by search terms) of compatible accessories.

Documentation, Sample Code and Resources

What is included

  • 1 x DS18B20 Temperature Sensor in TO92 package