DS18B20
Public Unreviewedby adom
Analog Devices 1-Wire digital thermometer, TO-92. -55 to +125 C, 9-12 bit, unique 64-bit ID, parasite power. Datasheet-verified.
3D Model
Open in new tab ↗
Symbol & Footprint
Schematic Symbol
Open full view ↗PCB Footprint
Open full view ↗Datasheet
Open in new tab ↗README
markdownDS18B20
Analog Devices · 1-Wire digital temperature sensor · TO-92
A programmable-resolution 1-Wire digital thermometer in a TO-92 package. It reports temperature directly as a digital value over a single data line (DQ), so many sensors share one MCU pin, each addressed by its factory-lasered unique 64-bit serial number. It measures -55 to +125 C with plus/minus 0.5 C accuracy over -10 to +85 C, at a user-selectable 9 to 12 bits. A parasite-power mode lets it run from the data line alone (VDD tied to GND), needing just two wires plus a pull-up.
Pinout
| Pin | Name | Type | Function |
|---|---|---|---|
| 1 | GND | power_in | Ground return. In parasite-power mode VDD is also tied to GND; when powered externally via VDD, GND must not be floating. |
| 2 | DQ | bidirectional | 1-Wire data input/output. Open-drain, requires ~4.7 kΩ pull-up to VDD (3.0-5.5 V). Can source parasite power to the die when held high (up to ~1.5 mA during a conversion, which typically requires a strong MOSFET pull-up). |
| 3 | VDD | power_in | Optional external power supply, 3.0 V to 5.5 V. If tied to GND the device runs in parasite-power mode, drawing power from the DQ line. Recommended for reliable operation above 100 °C. |
Key specifications
| Parameter | Value |
|---|---|
| Type | 1-Wire digital temperature sensor |
| Range | -55 to +125 °C |
| Accuracy | ±0.5 °C (-10 to +85 °C) |
| Resolution | 9-12 bit (programmable) |
| Interface | 1-Wire (single data line) |
| Addressing | unique 64-bit lasered ID |
| Power | 3.0-5.5 V or parasite |
| Package | TO-92 (3-lead) |
Ordering variants
Same part, different packaging or reel option.
DS18B20 (TO-92)DS18B20+ (TO-92, RoHS)
CAD (KiCad official)
- Symbol:
Sensor_Temperature:DS18B20 - Footprint:
Package_TO_SOT_THT:TO-92_Inline - 3D model: TO-92 (KiCad packages3D)
Provenance
Data extracted from the manufacturer datasheet, not a distributor listing:
- Datasheet: Analog Devices datasheet (27 pp, sha256
b4ecd22913b1670d, retrieved 2026-08-17, tier: manufacturer) - Extractor:
ds2sf(Claude). Every pin and dimension is cited to a datasheet page; it refuses to fabricate. - CAD: KiCad official libraries (CC-BY-SA 4.0).