DS18B20-SL+T&R Maxim Integrated Products, DS18B20-SL+T&R Datasheet

no-image

DS18B20-SL+T&R

Manufacturer Part Number
DS18B20-SL+T&R
Description
IC THERM MICROLAN PROG-RES TO-92
Manufacturer
Maxim Integrated Products
Datasheet

Specifications of DS18B20-SL+T&R

Function
Thermometer, Thermostat
Topology
Register Bank, Scratchpad
Sensor Type
Internal
Sensing Temperature
-55°C ~ 125°C
Output Type
1-Wire®
Output Alarm
Yes
Output Fan
No
Voltage - Supply
3 V ~ 5.5 V
Operating Temperature
-55°C ~ 125°C
Mounting Type
Through Hole
Package / Case
TO-92-3 (Standard Body), TO-226
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
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
machinery, and process monitoring and control
systems.
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)
inside
buildings,
equipment,
or
1 of 22
1-Wire is a registered trademark of Maxim Integrated Products, Inc.
PIN CONFIGURATIONS
(BOTTOM VIEW)
1-Wire Digital Thermometer
(DS18B20)
MAXIM
18B20
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
1 2 3
1
Programmable Resolution
TO-92
2 3
GND
N.C.
N.C.
N.C.
N.C.
V
DQ
DQ
DD
SO (150 mils)
(DS18B20Z)
1
2
3
4
3
4
(DS18B20U)
1
2
µSOP
DS18B20
REV: 042208
8
7
6
5
6
8
7
5
N.C.
N.C.
N.C.
GND
V
N.C.
N.C.
N.C.
DD

Related parts for DS18B20-SL+T&R

DS18B20-SL+T&R Summary of contents

Page 1

... 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 simple to use one microprocessor to control many DS18B20s distributed over a large area ...

Page 2

... The control line requires a weak pullup resistor since all devices are linked to the bus via a 3-state or open-drain port (the DQ pin in the case of the DS18B20). In this bus system, the microprocessor (the master device) identifies and addresses devices on the bus using each device’s unique 64-bit code ...

Page 3

... Bus System section) after the Convert T command and the DS18B20 will respond by transmitting 0 while the temperature conversion is in progress and 1 when the conversion is done. If the DS18B20 is powered with parasite power, this notification technique cannot be used since the bus must be pulled high by a strong pullup during the entire temperature conversion ...

Page 4

... Only bits 11 through 4 of the temperature register are used in the T are 8-bit registers. If the measured temperature is lower than or equal alarm condition exists and an alarm flag is set inside the DS18B20. This flag is updated after every temperature measurement; therefore, if the alarm condition goes away, the flag will be turned off after the next temperature conversion ...

Page 5

... During the read time slot, parasite powered DS18B20s will pull the bus low, and externally powered DS18B20s will let the bus remain high. If the bus is pulled low, the master knows that it must supply the strong pullup on the 1-Wire bus during temperature conversions. ...

Page 6

... LASERED ROM CODE Each DS18B20 contains a unique 64–bit code (see Figure 6) stored in ROM. The least significant 8 bits of the ROM code contain the DS18B20’s 1-Wire family code: 28h. The next 48 bits contain a unique serial number. The most significant 8 bits contain a cyclic redundancy check (CRC) byte that is calculated from the first 56 bits of the ROM code ...

Page 7

... Data is written to bytes 2, 3, and 4 of the scratchpad using the Write Scratchpad [4Eh] command; the data must be transmitted to the DS18B20 starting with the least significant bit of byte 2. To verify data integrity, the scratchpad can be read (using the Read Scratchpad [BEh] command) after the data is written ...

Page 8

... 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 DS18B20 using the R0 and R1 bits in this register as shown in Table 2. The power-up default of these bits and (12-bit resolution). Note that there is a direct tradeoff between resolution and conversion time. Bit 7 and bits the configuration register are reserved for internal use by the device and cannot be overwritten ...

Page 9

... BUS SYSTEM The 1-Wire bus system uses a single bus master to control one or more slave devices. The DS18B20 is always a slave. When there is only one slave on the bus, the system is referred “single-drop” system; the system is “multidrop” if there are multiple slaves on the bus. ...

Page 10

... The presence pulse lets the bus master know that slave devices (such as the DS18B20) are on the bus and are ready to operate. Timing for the reset and presence pulses is detailed in the 1-Wire Signaling section ...

Page 11

... In parasite power mode this notification technique cannot be used since the bus is pulled high by the strong pullup during the conversion. WRITE SCRATCHPAD [4Eh] This command allows the master to write 3 bytes of data to the DS18B20’s scratchpad. The first data byte is written into the T register (byte 2 of the scratchpad), the second byte is written into the T H (byte 3), and the third byte is written into the configuration register (byte 4) ...

Page 12

... READ POWER SUPPLY [B4h] The master device issues this command followed by a read time slot to determine if any DS18B20s on the bus are using parasite power. During the read time slot, parasite powered DS18B20s will pull the bus low, and externally powered DS18B20s will let the bus remain high. See the Powering the DS18B20 section for usage information for this command ...

Page 13

... MASTER T BIT BIT 0 BIT 0 MATCH? MATCH DS18B20 T BIT DS18B20 T BIT 1 X BIT 1 MASTER T BIT BIT 1 BIT 1 MATCH? MATCH DS18B20 T BIT 63 X MASTER T DS18B20 T BIT BIT 63 MASTER T BIT BIT 63 BIT 63 MATCH? MATCH MASTER T X FUNCTION COMMAND (FIGURE 12 CCh ECh N N SKIP ROM ...

Page 14

... Figure 12. DS18B20 Function Commands Flowchart 44h MASTER T CONVERT X FUNCTION TEMPERATURE COMMAND ? Y N PARASITE POWER ? DS18B20 BEGINS CONVERSION DEVICE N CONVERTING TEMPERATURE ? Y MASTER MASTER R “0s” R “1s” B4h N READ POWER SUPPLY ? PARASITE POWERED ? MASTER MASTER R “1s” R “0s” MASTER ENABLES STRONG PULLUP ON DQ ...

Page 15

... There are two types of write time slots: “Write 1” time slots and “Write 0” time slots. The bus master uses a Write 1 time slot to write a logic 1 to the DS18B20 and a Write 0 time slot to write a logic 0 to the DS18B20. All write time slots must be a minimum of 60µs in duration with a minimum of a 1µs recovery time between individual write slots ...

Page 16

... DS18B20 will begin transmitting bus. The DS18B20 transmits leaving the bus high and transmits pulling the bus low. When transmitting a 0, the DS18B20 will release the bus by the end of the time slot, and the bus will be pulled back to its high idle state by the pullup resister. Output ...

Page 17

... DS18B20 is valid for 15µs after the falling edge that initiated the read time slot. Therefore, the master must release the bus and then sample the bus state within 15µs from the start of the slot. Figure 15 illustrates that the sum of T Figure 16 shows that system timing margin is maximized by keeping T and by locating the master sample time during read time slots towards the end of the 15µ ...

Page 18

... Tx 64-bit ROM code data bytes DS18B20 OPERATION EXAMPLE 2 In this example there is only one DS18B20 on the bus and it is using parasite power. The master writes to the and configuration registers in the DS18B20 scratchpad and then reads the scratchpad and H L recalculates the CRC to verify the data. The master then copies the scratchpad contents to EEPROM. ...

Page 19

... I/O 750 ±0 order to meet the PU_ACTUAL PU_IDEAL =3.0V to 5.5V) DD MAX UNITS NOTES +5 ±0.5 °C ±2 +0.8 V The lower 1000 nA 1.5 mA µA °C spec of the DS18B20, the actual . TRANSISTOR may have to be ILMAX = 5.5V. DD DS18B20 1 1,2 3 1,4 7 ...

Page 20

... Command Issued t SLOT t REC t LOW0 t LOW1 t RDV t RSTH t RSTL t PDHIGH t PDLOW C IN/OUT > 960µs, a power-on reset may occur. DS18B20 Typical Error Curve Mean Error Temperature (° 3.0V to 5.5V) DD MIN TYP MAX 2 10 50k 10 = 3.0V to 5.5V) DD MIN TYP MAX UNITS 93.75 187.5 ms ...

Page 21

... Figure 18. Timing Diagrams DS18B20 ...

Page 22

... Maxim cannot assume responsibility for use of any circuitry other than circuitry entirely embodied in a Maxim product. No circuit patent licenses are implied. Maxim reserves the right to change the circuitry and specifications without notice at any time © 2008 Maxim Integrated Products DESCRIPTION Maxim is a registered trademark of Maxim Integrated Products, Inc. DS18B20 PAGES CHANGED ...

Related keywords