Sensors and Sensor Interface
DS18B20

DS18B20

Programmable Resolution 1-Wire Digital Thermometer

High-Precision Temperature Monitoring with Minimal Connections Ideal for Multisensor Systems


Description

The DS18B20 digital thermometer provides 9-bit to 12-bit Celsius temperature measurements and has an alarm function with nonvolatile user-programmable upper and lower trigger points. The DS18B20 communicates over a 1-Wire® bus that by definition requires only one data line (and ground) for communication with a central microprocessor. It has an operating temperature range of -55°C to +125°C and is accurate to ±0.5°C over the range of -10°C to +85°C. In addition, the DS18B20 can derive power directly from the data line ("parasite power"), eliminating the need for an external power supply.

Each DS18B20 has a unique 64-bit serial code, which allows multiple DS18B20s to function on the same 1-Wire bus. Thus, it is simple to use one microprocessor to control many DS18B20s distributed over a large area. Applications that can benefit from this feature include HVAC environmental controls, temperature monitoring systems inside buildings, equipment, or machinery, and process monitoring and control systems.
DS18B20: Block Diagram DS18B20: Block Diagram Enlarge+

Key Features

  • Unique 1-Wire Interface Requires Only One Port Pin for Communication
  • Each Device has a Unique 64-Bit Serial Code Stored in an On-Board ROM
  • Multidrop Capability Simplifies Distributed Temperature-Sensing Applications
  • Requires No External Components
  • Can Be Powered from Data Line; Power Supply Range is 3.0V to 5.5V
  • Measures Temperatures from -55°C to +125°C (-67°F to +257°F)
  • ±0.5°C Accuracy from -10°C to +85°C
  • Thermometer Resolution is User Selectable from 9 to 12 Bits
  • Converts Temperature to 12-Bit Digital Word in 750ms (Max)
  • User-Definable Nonvolatile (NV) Alarm Settings
  • Alarm Search Command Identifies and Addresses Devices Whose Temperature is Outside Programmed Limits (Temperature Alarm Condition)
  • Available in 8-Pin SO (150 mils), 8-Pin µSOP, and 3-Pin TO-92 Packages
  • Software Compatible with the DS1822
  • Applications Include Thermostatic Controls, Industrial Systems, Consumer Products, Thermometers, or Any Thermally Sensitive System

Applications/Uses

  • Agricultural Equipment
  • Audio Equipment
  • Automotive
  • Climate Control
  • GPS Devices
  • Hard Disk Drive
  • Medical Equipment
  • Set-Top Boxes
  • Telecommunications
Part Number Sensor Type Interface Accuracy
(±°C)
Parasite Pwr. Temp. Thresh. Temp. Resolution
(bits)
Multi Droppable Oper. Temp.
(°C)
Budgetary
Price
See Notes
DS18B20  Local 1-Wire 0.5 Yes Programmable (NV)
9
10
11
12
Yes -55 to +125 $1.88 @1k
See All Temperature Sensors (111)
Pricing Notes:
This pricing is BUDGETARY, for comparing similar parts. Prices are in U.S. dollars and subject to change. Quantity pricing may vary substantially and international prices may differ due to local duties, taxes, fees, and exchange rates. For volume-specific and version-specific prices and delivery, please see the price and availability page or contact an authorized distributor.

Technical Documents

Reference Schematic 5508 Create a 1-Wire Master with Xilinx PicoBlaze
App Note 5507 Understanding the DS1WM Synthesizable 1-Wire Bus Master
Tutorial 4700 Introduction to Medical Instruments and Growing Trend for Point-of-Care and Near-Patient Testing
Tutorial 4699 Overview of Sensor Signal Paths
Tutorial 4679 Thermal Management Handbook
App Note 4600 Simple Software Validates the Hardware CRC and Detects Errors in the Serial Bit Stream of 1-Wire® Thermal Devices
Reference Schematic 4477 Reference Design of a 1-Wire® Bidirectional Voltage-Level Translator for 1.8V to 5V
App Note 4377 Comparison of the DS18B20 and DS18S20 1-Wire® Digital Thermometers
App Note 4277 Getting Started with the MAXQ2000 USB Thumb Evaluation Kit
App Note 4255 How to Power the Extended Features of 1-Wire® Devices
App Note 3930 Package Thermal Resistance Values (Theta JA, Theta JC) for Temperature Sensors and 1-Wire Devices
App Note 3754 Single-Wire Serial Bus Carries Isolated Power and Data
App Note 2965 1-Wire Master Device Configuration
App Note 2420 1-Wire Communication with a Microchip PICmicro Microcontroller
App Note 1100 White Paper 5: Using 1-Wire APIs for Data Sheet Commands
Reference Schematic 244 Advanced 1-Wire Network Driver
App Note 208 Curve Fitting the Error of a Bandgap-Based Digital Temperature Sensor
App Note 192 Using the DS2480B Serial 1-Wire® Line Driver
App Note 187 1-Wire Search Algorithm
App Note 162 Interfacing the DS18X20/DS1822 1-Wire® Temperature Sensor in a Microcontroller Environment
App Note 158 1-Wire® Tagging with XML
Tutorial 148 Guidelines for Reliable Long Line 1-Wire Networks
App Note 126 1-Wire Communication Through Software
App Note 27 Understanding and Using Cyclic Redundancy Checks with Maxim 1-Wire and iButton Products

Quality and Environmental Data

Product Reliability Reports: DS18B20.pdf 
Lead-Free Package Tin (Sn) Whisker Reports

Design Tools

Modeling/Simulation
DS18B20 IBIS模型

 

Related Resources


MAX31912
Industrial, Octal, Digital Input Translator/Serializer

  • Eight High-Voltage Input Channels (36V max)
  • Configurable for IEC 61131-2 Input Types 1, 2, 3
  • Wide Operating Supply Range of 7V to 36V

MAX31629
I 2C Digital Thermometer and Real-Time Clock

  • Measures Temperatures from -55°C to +125°C; Fahrenheit equivalent is -67°F to +257°F
  • Real-Time Clock Counts Seconds, Minutes, Hours, Day, Day of the Week, Month, Day of the Month, and Year, with Leap-Year Compensation through the Year 2100
  • Thermometer Accuracy of ±2.0°C

MAX31730
3-Channel Remote Temperature Sensor

  • One Local and Three Remote Temperature-Sensing Channels
  • 3.0V to 3.6V Operation
  • 12-Bit, 0.0625°C Resolution

MAX14832
One-Time Programmable Industrial Sensor Output Driver

  • High Configurability
  • Robust Design
  • Glitch Filtering on Logic Input

MAX31760
Precision Fan-Speed Controller with Nonvolatile Lookup Table

  • Customizable 48-Byte Lookup Table (LUT)-Based Architecture Enables a Smooth Nonlinear Control Output that Reduces Acoustic Noise
  • Operating Settings Stored in Nonvolatile Memory for Automatic Operation at Power-On
  • Two Tachometer Inputs Provide Flexibility by Measuring the Speeds of Two Fans Independently

MAX21001
Ultra-Accurate, Automotive, 3-Axis Digital Output Gyroscope

  • Minimum Overall Footprint
  • High Accuracy and Stability
  • High Flexibility

Modeling/Simulation
Type ID PDF Title
Reference Schematic 5508 Create a 1-Wire Master with Xilinx PicoBlaze
App Note 5507 Understanding the DS1WM Synthesizable 1-Wire Bus Master
Tutorial 4700 Introduction to Medical Instruments and Growing Trend for Point-of-Care and Near-Patient Testing
Tutorial 4699 Overview of Sensor Signal Paths
Tutorial 4679 Thermal Management Handbook
App Note 4600 Simple Software Validates the Hardware CRC and Detects Errors in the Serial Bit Stream of 1-Wire® Thermal Devices
Reference Schematic 4477 Reference Design of a 1-Wire® Bidirectional Voltage-Level Translator for 1.8V to 5V
App Note 4377 Comparison of the DS18B20 and DS18S20 1-Wire® Digital Thermometers
App Note 4277 Getting Started with the MAXQ2000 USB Thumb Evaluation Kit
App Note 4255 How to Power the Extended Features of 1-Wire® Devices
App Note 3930 Package Thermal Resistance Values (Theta JA, Theta JC) for Temperature Sensors and 1-Wire Devices
App Note 3754 Single-Wire Serial Bus Carries Isolated Power and Data
App Note 2965 1-Wire Master Device Configuration
App Note 2420 1-Wire Communication with a Microchip PICmicro Microcontroller
App Note 1100 White Paper 5: Using 1-Wire APIs for Data Sheet Commands
Reference Schematic 244 Advanced 1-Wire Network Driver
App Note 208 Curve Fitting the Error of a Bandgap-Based Digital Temperature Sensor
App Note 192 Using the DS2480B Serial 1-Wire® Line Driver
App Note 187 1-Wire Search Algorithm
App Note 162 Interfacing the DS18X20/DS1822 1-Wire® Temperature Sensor in a Microcontroller Environment
App Note 158 1-Wire® Tagging with XML
Tutorial 148 Guidelines for Reliable Long Line 1-Wire Networks
App Note 126 1-Wire Communication Through Software
App Note 27 Understanding and Using Cyclic Redundancy Checks with Maxim 1-Wire and iButton Products