This manual explains the DS18B20 sensor’s operation, internal structure, communication protocol, pin functions, timing, and how to build a microcontroller…
The DS18B20 is a single‑wire digital temperature sensor produced by Dallas. It offers a simple three‑wire interface (VDD, GND, DQ), multiple package options (TO‑92, SOIC, CSP), and a unique 64‑bit ROM code that allows many sensors to share one bus.
The document details the sensor’s working principle, pin assignments, timing diagrams for reset, read and write operations, and provides example hardware connections with a 8051 microcontroller. It also covers configuration of resolution, temperature conversion times, and alarm thresholds for building reliable temperature‑monitoring applications. This manual is written in Chinese.
| Supply Voltage | 3 V – 5 V |
|---|---|
| Resolution | 9 – 12 bits |
| Temperature Range | -55 °C – 125 °C |
| Accuracy | ±0.5 °C (‑10 °C – 85 °C) |
| Conversion Time (9‑bit) | 93.75 ms |
| Conversion Time (11‑bit) | 375 ms |
| Conversion Time (12‑bit) | 750 ms |
| Package Options | TO‑92, SOIC, CSP |
The sensor operates from 3 V to 5 V.
The DS18B20 can be configured for 9, 10, 11, or 12‑bit resolution.
It can measure temperatures from –55 °C up to 125 °C.
At 12‑bit resolution the conversion time is 750 ms.