1-Wire
An open-drain multidrop bus with a unique 64-bit ROM identifier per device. External power keeps DQ available for conversion-status polling.
The DS18B20 is an individually addressable 1-Wire temperature sensor with programmable 9- to 12-bit conversion.
| Package | Contacts |
|---|---|
| TO-92 | 3 |
| SO-8 · 150 mil | 8 |
| µSOP / FSOP-8 | 8 |
| Device | Details |
|---|---|
| DS18B20 | Bulk, straight leads. |
| DS18B20+ | Bulk, straight leads. |
| DS18B20/T&R | Tape and reel. |
| DS18B20+T&R | Tape and reel. |
| DS18B20-SL/T&R | Tape and reel. |
| DS18B20-SL+T&R | Tape and reel. |
Connect to the common ground plane or bench return.
External power. Remove any VDD-to-GND jumper with power off, then connect VDD to 3.0–5.5 V. Use the ordinary DQ pull-up. You can poll DQ for conversion completion if every sensor addressed by Convert T is externally powered.
Parasite power. Disconnect VDD from the supply and tie it to GND. Keep the ordinary DQ pull-up and add a host-controlled strong pull-up in parallel. Use external power above +100 °C.
| Pin | Signal | Direction | Function |
|---|---|---|---|
| 1 | GND Supply return | Supply return | Connect to the common ground plane or bench return. |
| 2 | DQ Open drain | Open drain | 1-Wire data. The same wire can supply the device in parasite-power mode. |
| 3 | VDD Supply input | Supply input | Power input for external supply mode. In parasite mode the sensor draws power through DQ. |
An open-drain multidrop bus with a unique 64-bit ROM identifier per device. External power keeps DQ available for conversion-status polling.
| Parameter | Limit | Conditions and source |
|---|---|---|
| External supply3.0–5.5 V | 3.0–5.5 V | Tie VDD to ground when using parasite power. Analog Devices / Maxim DS18B20 Rev. 6, pp. 1–4, 7–8, 11–12 and 19. |
| Conversion time (max)93.75 / 187.5 / 375 / 750 ms | 93.75 / 187.5 / 375 / 750 ms | At 9 / 10 / 11 / 12 bits respectively. Analog Devices / Maxim DS18B20 Rev. 6, pp. 1–4, 7–8, 11–12 and 19. |
| Temperature accuracy±0.5 °C | ±0.5 °C | From −10 to +85 °C. Overall measurement range is −55 to +125 °C. Analog Devices / Maxim DS18B20 Rev. 6, pp. 1–4, 7–8, 11–12 and 19. |
The three package maps cover the bare sensor. Check polarity separately on cabled probes or third-party modules.