Maxim Integrated 1-Wire DS18B20 Digital Temperature Sensor

View Maxim Integrated DS18B20 Temperature Sensor Details
View Waterproof DS18B20 Temperature Sensor Details
Note: Images shown on this page are not to scale.


The DS18B20 digital thermometer provides 9-bit to 12-bit Celsius temperature measurements.

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.

The DS18B20 communicates over a 1-Wire® bus that by definition requires only one data line (and ground) for communication with a central microprocessor.

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.


  • Unique 1-Wire® Interface Requires Only One Port Pin for Communication
  • Measures Temperatures from -55°C to +125°C (-67°F to +257°F)
  • ±0.5°C Accuracy from -10°C to +85°C
  • Programmable Resolution from 9 Bits to 12 Bits
  • Power supply range is 3.0V to 5.5V
  • Parasitic Power Mode Requires Only 2 Pins for Operation (DQ and GND)
  • Each Device Has a Unique 64-Bit Serial Code Stored in On-Board ROM

Power Supply Range is 3.0V to 5.5V. The sensor can be Powered from Data Line

The typical application circuit includes a pull-up resistor 4k7 on the data wire.

View DS18B20 Pinouts

Circuit with external power supply. Refer to Data Sheet for circuit with data pin power.

View DS18B20 Pinouts View Arduino-Ethernet DS18B20 Hookup