DS18B20 Digital Temperature Sensor
Precision Microcontroller Ready Temperature Sensor
The DS18B20 is a precision 1-wire digital temperature sensor (±0.5°C over much of the range). It works with any microcontroller and requires only one data pin.
Each sensor has a unique 64-bit ID factory embedded, allowing multiple units to reside on a single data pin and read using software to differentiate each.
Reading the data from the sensor does require coding of the 1-Wire protocol and can be complex. There are several libraries for Arduino and Raspberry Pi available, depending on your requirements. See our dedicated page on using the DS18B20 with an Arduino, complete with connection information along with coding examples.
Each DS18B20 sensor does require an external 4.7k resistor between the data (DQ) and Vdd leads. We have resistors available separately.
DS18B20 Pinout

Each DS18B20 consists of three leads
- One pin for Power (Vdd)
- Another for Ground (GND)
- Final center pin for Data (DQ)
Technical Specifications:
- Usable temperature range: -55 to 125°C (-67°F to +257°F)
- 9 to 12-bit selectable resolution
- Uses 1-Wire interface- requires only one digital pin for communication
- Unique 64 bit ID burned into chip
- Multiple sensors can share one pin
- ±0.5°C Accuracy from -10°C to +85°C
- Temperature-limit alarm system
- Query time is less than 750ms
- Usable with 3.0V to 5.5V power/data
- DS18B20 Datasheet (PDF Document)
Premade 1m and 2m Waterproof Extension Cables
We also have available premade 1m (39-inch) and 2m (78-inch) sensor cables. Each cable has a DS18B20 sensor in waterproof stainless steel tube housing. See our prewired 1m and 2m sensor cables.
DS18B20 Simple Arduino Interfacing
See our dedicated page on using the DS18B20 with an Arduino, complete with connection information along with coding examples.

| Light Packet | |
| Package Type | Light Packet |
DS18B20 Temperature Sensor
- Product Code: DS18B20 TO-92
- Availability: In Stock
- Light Packet Shipping Eligible
-
$1.40 USD
Related Products
DS18B20 Waterproof Prewired Cable
DS18B20 Digital Temperature Prewired Cable Precision Microcontroller Ready Temperature Sensor Cab..
$2.10 USD
Tags: DS1820


