Rainbow Electronics DS18B20X User Manual
28rrd, Digital thermometer
1 of 21
043001
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
•
Multi-drop 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)
• ±
2.0
°
C accuracy from 0°C to +70°C
•
Thermometer resolution is user-selectable
from 9 to 12 bits
•
Converts temperature to 12-bit digital word in
750 ms (max.)
•
User-definable nonvolatile alarm settings
•
Alarm search command identifies and
addresses devices whose temperature is
outside of programmed limits (temperature
alarm condition)
•
Applications include thermostatic controls,
industrial systems, consumer products,
thermometers, or any thermally sensitive
system
PIN ASSIGNMENT
PIN DESCRIPTION
GND -
Ground
DQ -
Data
In/Out
V
DD
- Power Supply Voltage
DESCRIPTION
The DS18B20X Digital Thermometer provides 9 to 12–bit centigrade temperature measurements and has
an alarm function with nonvolatile user-programmable upper and lower trigger points. The DS18B20X
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
±
2.0
°
C over the range of 0°C to +70°C. In addition, the DS18B20X can derive power
directly from the data line (“parasite power”), eliminating the need for an external power supply.
Each DS18B20X has a unique 64-bit serial code, which allows multiple DS18B20Xs to function on the
same 1–wire bus; thus, it is simple to use one microprocessor to control many DS18B20Xs 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.
DS18B20X
Flipchip 1-Wire
®
Digital Thermometer
www.dalsemi.com
GND
GND
DQ
VDD
Branding legend:
28 = family code
rr = revision code (i.e., B6)
d = one letter date code
(TOP VIEW)
28rrd
See Mechanical Specification
(page 21) for package dimensions.
Document Outline
- PIN ASSIGNMENT
- PIN DESCRIPTION
- D
- DESCRIPTION
- OVERVIEW
- DS18B20X BLOCK DIAGRAM Figure 1
- OPERATION – MEASURING TEMPERATURE
- TEMPERATURE REGISTER FORMAT Figure 2
- TEMPERATURE/DATA RELATIONSHIP Table 2
- OPERATION – ALARM SIGNALING
- TH AND TL REGISTER FORMAT Figure 3
- POWERING THE DS18B20X
- SUPPLYING THE PARASITE-POWERED DS18B20X DURING TEMPERATURE CONVERSIONS Figure 4
- POWERING THE DS18B20X WITH AN EXTERNAL SUPPLY Figure 5
- 64-BIT LASERED ROM CODE
- 64-BIT LASERED ROM CODE Figure 6
- MEMORY
- DS18B20X MEMORY MAP Figure 7
- CONFIGURATION REGISTER
- Byte 4 of the scratchpad memory contains the configuration register, which is organized as illustrated in Figure 8. The user can set the conversion resolution of the DS18B20X using the R0 and R1 bits in this register as shown in Table 3. The power-up
- CONFIGURATION REGISTER Figure 8
- THERMOMETER RESOLUTION CONFIGURATION Table 3
- CRC GENERATION
- CRC GENERATOR Figure 9
- 1-WIRE BUS SYSTEM
- HARDWARE CONFIGURATION
- HARDWARE CONFIGURATION Figure 10
- TRANSACTION SEQUENCE
- INITIALIZATION
- ROM COMMANDS
- SEARCH ROM [F0h]
- READ ROM [33h]
- MATCH ROM [55h]
- SKIP ROM [CCh]
- ALARM SEARCH [ECh]
- DS18B20X FUNCTION COMMANDS
- CONVERT T [44h]
- WRITE SCRATCHPAD [4Eh]
- READ SCRATCHPAD [BEh]
- COPY SCRATCHPAD [48h]
- RECALL E2 [B8h]
- READ POWER SUPPLY [B4h]
- DS18B20X FUNCTION COMMAND SET Table 4
- NOTES:
- ROM COMMANDS FLOW CHART Figure 11
- DS18B20X FUNCTION COMMANDS FLOW CHART Figure 12
- 1-WIRE SIGNALING
- INITIALIZATION PROCEDURE: RESET AND PRESENCE PULSES
- INITIALIZATION TIMING Figure 13
- READ/WRITE TIME SLOTS
- WRITE TIME SLOTS
- READ/WRITE TIME SLOT TIMING DIAGRAM Figure 14
- READ TIME SLOTS
- DETAILED MASTER READ 1 TIMING Figure 15
- RECOMMENDED MASTER READ 1 TIMING Figure 16
- RELATED APPLICATION NOTES
- DS18B20X OPERATION EXAMPLE 1
- DS18B20X OPERATION EXAMPLE 2
- ABSOLUTE MAXIMUM RATINGS*
- DC ELECTRICAL CHARACTERISTICS (-55˚C to +125˚C; VDD=3.0V to 5.5V)
- NOTES:
- AC ELECTRICAL CHARACTERISTICS: NV MEMORY
- (-55˚C to +100˚C; VDD=3.0V to 5.5V)
- AC ELECTRICAL CHARACTERISTICS (-55˚C to +125˚C; VDD=3.0V to 5.5V)
- TYPICAL PERFORMANCE CURVE Figure 17
- TIMING DIAGRAMS Figure 18
- DS18B20X MECHANICAL SPECIFICATION