DS18B20 Digital Temperature Sensor + Extras

1-Wire digital temperature sensor with ±0.5°C accuracy and up to 12-bit resolution, usable at 3.0–5.0 V. Multiple sensors can share one data pin via unique 64-bit IDs. Includes a required 4.7 kΩ pull-up resistor; needs a 1-Wire library.

Pinout

Logical pinout · physical placement not verified
DS18B20 DIGITAL TEMPERGNDVDDDQDATA
  • GNDTO-92 pin 1, left lead when viewing flat face with leads downward

    Ground lead, DS18B20 TO-92 pin 1. Product page identifies the sold item as DS18B20; package pin order is from the DS18B20 datasheet, source: https://cdn-shop.adafruit.com/datasheets/DS18B20.pdf

    Type · GroundVoltage · 0V
  • DQDATATO-92 pin 2, centre lead when viewing flat face with leads downward

    1-Wire data lead, DS18B20 TO-92 pin 2. Adafruit product page states the sensor uses one digital pin and needs a 4.7k pullup from DATA to VCC; package pin order source: https://cdn-shop.adafruit.com/datasheets/DS18B20.pdf; usage source: https://www.adafruit.com/product/374

    Type · SignalVoltage · 3.0V to 5.5V power/data range per Adafruit product page
  • VDDTO-92 pin 3, right lead when viewing flat face with leads downward

    Supply lead, DS18B20 TO-92 pin 3. Adafruit product page states usable with 3.0V to 5.5V power/data; package pin order source: https://cdn-shop.adafruit.com/datasheets/DS18B20.pdf

    Type · PowerVoltage · 3.0V to 5.5V

Start wiring

I2C · SPI · Single data line · 3.3 – 5 V · Breakout

Verify supply voltage and logic levels before powering up.

Module pins: VDD, GND. Schematik maps them to your board in the app.

Temp & humidity

165 other options

DHT/AHT sensors, SHT-series humidity chips, BMP and LPS barometers, BME combined sensors, DS18B20 probes, thermocouple amplifiers and non-contact MLX IR sensors — about 165 listings, very different accuracy classes.

View all 165

Related groups

4 groups