The DS18B20 is a 1-Wire digital thermometer with ±0.5°C accuracy over -10°C to +85°C. It requires only one data wire (plus ground), and multiple sensors can share the same wire, each with a unique 64-bit ID.
| Pin | Name | Function | Type |
|---|---|---|---|
| 1 | GND | Ground | GND |
| 2 | DQ | 1-Wire data, 4.7k pull-up to VDD | BUS |
| 3 | VDD | Power supply 3V–5.5V | PWR |