In this article we will discover the temperature  OneWire DS18B20 temperature sensor, available also in a waterproof version.

The DS18B20 is a so called 1-wire digital temperature sensor. “1-wire” make this sensor really cool and you can connect multiple devices together, utilizing only one pin on your ESP8266 or Arduino.

The waterproof version can be used for outside temperature or for the fridge temperature, where the medium is not so friendly with the electronic circuits.

To get the ESP8266/Arduino and the sensor to work we need the one wire library.


DS18B20 Technical specs:

  • Usable temperature range: -55 to 125°C
  • 9 to 12 bit selectable resolution
  • Unique 64 bit ID burned into chip
  • Multiple sensors can share one pin
  • ±0.5°C Accuracy from -10°C to +85°C
  • Query time is less than 750ms
  • Usable with 3.0V to 5.5V power/data

Datasheet is available here or DS18B20.



OneWire library

Get one or many from here

Mine is from here


OneWire DS18B20 temperature sensor
Tagged on:                             

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.