DS18B20
Digital ThermometerThe DS18B20 is a digital thermometer from Analog Devices. View the full DS18B20 datasheet below including key specifications, pinout, electrical characteristics, absolute maximum ratings.
Official DS18B20 datasheet (PDF) — the source this page was extracted from.
Manufacturer
Analog DevicesCategory
Temperature SensorsPackage
8-Pin SO (150 mils), 8-Pin μSOP, 3-Pin TO-92
DS18B20 Key Specifications
| Parameter | Value |
|---|---|
| Unique ID | 64-bit serial code |
| Active Current | 1.5 mA |
| Standby Current | 1000 nA |
| Supply Voltage Range | 3.0V to 5.5V |
| Temperature Resolution | 9 bits to 12 bits |
| Communication Interface | 1-Wire |
| Operating Temperature Range | -55°C to +125°C |
| Temperature Measurement Accuracy | ±0.5°C from -10°C to +85°C |
DS18B20 Overview
Part: DS18B20 from Maxim Integrated Products
Type: Programmable Resolution 1-Wire Digital Thermometer
Description: The DS18B20 is a digital thermometer that provides 9-bit to 12-bit Celsius temperature measurements over a 1-Wire bus, operating from 3.0V to 5.5V, with ±0.5°C accuracy from -10°C to +85°C, and supporting parasite power mode.
Operating Conditions:
- Supply voltage: +3.0V to +5.5V
- Operating temperature: -55°C to +125°C
- Resolution: 9 bits to 12 bits
Absolute Maximum Ratings:
- Max voltage on any pin relative to ground: +6.0V
- Max junction/storage temperature: +125°C
Key Specs:
- Temperature measurement range: -55°C to +125°C
- Accuracy: ±0.5°C from -10°C to +85°C
- Programmable resolution: 9 bits to 12 bits
- Standby current (I DDS): 750 nA (min) to 1000 nA (max) (up to +70°C)
- Active current (I DD): 1 mA (min) to 1.5 mA (max) (V DD = 5V)
- 12-bit temperature conversion time (t CONV): 750 ms (max)
- EEPROM writes (N EEWR): 50k writes (-55°C to +55°C)
- EEPROM data retention (t EEDR): 10 years (-55°C to +55°C)
Features:
- Unique 1-Wire interface requires only one port pin for communication
- Integrated temperature sensor and EEPROM
- No external components required
- Parasitic power mode requires only 2 pins for operation (DQ and GND)
- Simplifies distributed temperature-sensing applications with multidrop capability
- Each device has a unique 64-bit serial code stored in on-board ROM
- Flexible user-definable nonvolatile (NV) alarm settings with alarm search command
Applications:
- Thermostatic Controls
- Industrial Systems
- Consumer Products
- Thermometers
- Thermally Sensitive Systems
Package:
- 8-Pin SO (150 mils)
- 8-Pin μSOP
- 3-Pin TO-92
DS18B20 Features
- Unique 1-Wire ® Interface Requires Only One Port Pin for Communication
- Reduce Component Count with Integrated Temperature Sensor and EEPROM
- Measures Temperatures from -55°C to +125°C (-67°F to +257°F)
- ±0.5°C Accuracy from -10°C to +85°C
- Programmable Resolution from 9 Bits to 12 Bits
- No External Components Required
- Parasitic Power Mode Requires Only 2 Pins for Operation (DQ and GND)
- Simplifies Distributed Temperature-Sensing Applications with Multidrop Capability
- Each Device Has a Unique 64-Bit Serial Code Stored in On-Board ROM
- Flexible User-Definable Nonvolatile (NV) Alarm Settings with Alarm Search Command Identifies Devices with Temperatures Outside Programmed Limits
- Available in 8-Pin SO (150 mils), 8-Pin μSOP, and 3-Pin TO-92 Packages
DS18B20 Applications
- Thermostatic Controls
- Industrial Systems
- Consumer Products
- Thermometers
- Thermally Sensitive Systems
Ordering Information appears at end of data sheet.
1-Wire is a registered trademark of Maxim Integrated Products, Inc.
DS18B20 Pin Configuration
| Pin | Name | Type | Description |
|---|---|---|---|
| 1 | N.C. | - | |
| 2 | N.C. | - | |
| 3 | VDD | - | |
| 4 | DQ | - | |
| 5 | GND | - | |
| 6 | N.C. | - | |
| 7 | N.C. | - | |
| 8 | N.C. | - |
DS18B20 Electrical Characteristics
(-55°C to +125°C; V DD = 3.0V to 5.5V)
| PARAMETER | SYMBOL | CONDITIONS | CONDITIONS | MIN | TYP | MAX | UNITS |
|---|---|---|---|---|---|---|---|
| Supply Voltage | V DD | Local power (Note 1) | Local power (Note 1) | +3.0 | +5.5 | V | |
| Pullup Supply Voltage | V PU | Parasite power | (Notes 1, 2) | +3.0 | +5.5 | V | |
| Pullup Supply Voltage | V PU | Local power | (Notes 1, 2) | +3.0 | V DD | V | |
| Thermometer Error | t ERR | -10°C to +85°C | (Note 3) | ±0.5 | °C | ||
| Thermometer Error | t ERR | -30°C to +100°C | (Note 3) | ±1 | °C | ||
| Thermometer Error | t ERR | -55°C to +125°C | (Note 3) | ±2 | °C | ||
| Input Logic-Low | V IL | (Notes 1, 4, 5) | (Notes 1, 4, 5) | -0.3 | +0.8 | V | |
| Input Logic-High | V IH | Local power | (Notes 1,6) | +2.2 | The lower of 5.5 or | V | |
| Input Logic-High | V IH | Parasite power | (Notes 1,6) | +3.0 | V DD + 0.3 | V | |
| Sink Current | I L | V I/O = 0.4V | V I/O = 0.4V | 4.0 | mA | ||
| Standby Current | I DDS | (Notes 7, 8) | (Notes 7, 8) | 750 | 1000 | nA | |
| Active Current | I DD | V DD = 5V (Note 9) | V DD = 5V (Note 9) | 1 | 1.5 | mA | |
| DQ Input Current | I DQ | (Note 10) | (Note 10) | 5 | μA | ||
| Drift | (Note 11) | (Note 11) | ±0.2 | °C |
Note 1:
All voltages are referenced to ground.
Note 2: The Pullup Supply Voltage specification assumes that the pullup device is ideal, and therefore the high level of the pullup is equal to V PU . In order to meet the V IH spec of the DS18B20, the actual supply rail for the strong pullup transis- tor must include margin for the voltage drop across the transistor when it is turned on; thus: V PU_ACTUAL = V PU_IDEAL + VTRANSISTOR .
Note 3: See typical performance curve in Figure 1. Thermometer Error limits are 3-sigma values.
Note 4: Logic-low voltages are specified at a sink current of 4mA.
Note 5: To guarantee a presence pulse under low voltage parasite power conditions, V ILMAX may have to be reduced to as low as 0.5V.
Note 6: Logic-high voltages are specified at a source current of 1mA.
Note 7: Standby current specified up to +70°C. Standby current typically is 3μA at +125°C.
Note 8: To minimize I DDS , DQ should be within the following ranges: GND ≤ DQ ≤ GND + 0.3V or V DD - 0.3V ≤ DQ ≤ V DD.
Note 9: Active current refers to supply current during active temperature conversions or EEPROM writes.
Note 10: DQ line is high ('high-Z' state).
Note 11: Drift data is based on a 1000-hour stress test at +125°C with V DD = 5.5V.
│
DS18B20 Absolute Maximum Ratings
Voltage Range on Any Pin Relative to Ground ....-0.5V to +6.0V
Operating Temperature Range ......................... -55°C to +125°C
Storage Temperature Range ............................ -55°C to +125°C
Solder Temperature ...............................Refer to the IPC/JEDEC
J-STD-020 Specification.
These are stress ratings only and functional operation of the device at these or any other conditions above those indicated in the operation sections of this specification is not implied. Exposure to absolute maximum rating conditions for extended periods of time may affect reliability.
Other Temperature Sensors
- BME280 – Bosch Sensortec, Digital Humidity, Pressure, and Temperature Sensor
- SHT30 – Sensirion, Humidity and Temperature Sensor
- Si7021 – Silicon Labs, I2C Humidity and Temperature Sensor
- SHT31-DIS-B2.5kS – Sensirion, Digital Humidity and Temperature Sensor
- TMP116NAIDRVR – Texas Instruments, Digital Temperature Sensor
- BME280.C – Bosch Sensortec, Digital Humidity, Pressure, and Temperature Sensor
- BME280.H – Bosch Sensortec, Digital Humidity, Pressure, and Temperature Sensor
- LM135 – Texas Instruments, Precision Analog Temperature Sensor
All Temperature Sensors datasheetsAll Analog Devices datasheets (713)
Ask your AI agent about the DS18B20
Connect SheetsData to Claude, Cursor, Codex or any MCP client and your agent reads this datasheet for you: pinout, limits, register maps and design checks, with the numbers taken from the PDF.
claude mcp add --transport http sheetsdata https://mcp.sheetsdata.com/mcp
Then ask: "Can the DS18B20 run from my 12 V rail? Check it against the datasheet limits."
Create a free account $2 of usage every month, no card needed.