DS18B20+ Maxim Integrated Products, DS18B20+ Datasheet - Page 13
![IC THERM MICROLAN PROG-RES TO-92](/photos/6/93/69353/406-to-92_sml.jpg)
DS18B20+
Manufacturer Part Number
DS18B20+
Description
IC THERM MICROLAN PROG-RES TO-92
Manufacturer
Maxim Integrated Products
Specifications of DS18B20+
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
Full Temp Accuracy
+/- 2 C
Digital Output - Bus Interface
Serial (1-Wire)
Digital Output - Number Of Bits
12 bit
Maximum Operating Temperature
+ 125 C
Minimum Operating Temperature
- 55 C
Ic Output Type
Digital
Sensing Accuracy Range
± 0.5°C
Temperature Sensing Range
-55°C To +125°C
Supply Current
1mA
Supply Voltage Range
3V To 5.5V
Resolution (bits)
12bit
Rohs Compliant
Yes
Dc
09+
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
1-WIRE SIGNALING
The DS18S20 uses a strict 1-Wire communication protocol to ensure data integrity. Several signal types
are defined by this protocol: reset pulse, presence pulse, write 0, write 1, read 0, and read 1. All these
signals, with the exception of the presence pulse, are initiated by the bus master.
INITIALIZATION PROCEDURE—RESET AND PRESENCE PULSES
All communication with the DS18S20 begins with an initialization sequence that consists of a reset pulse
from the master followed by a presence pulse from the DS18S20. This is illustrated in Figure 10. When
the DS18S20 sends the presence pulse in response to the reset, it is indicating to the master that it is on
the bus and ready to operate.
During the initialization sequence the bus master transmits (T
low for a minimum of 480µs. The bus master then releases the bus and goes into receive mode (R
When the bus is released, the 5kΩ pullup resistor pulls the 1-Wire bus high. When the DS18S20 detects
this rising edge, it waits 15µs to 60µs and then transmits a presence pulse by pulling the 1-Wire bus low
for 60µs to 240µs.
Figure 10. Initialization Timing
READ/WRITE TIME SLOTS
The bus master writes data to the DS18S20 during write time slots and reads data from the DS18S20
during read-time slots. One bit of data is transmitted over the 1-Wire bus per time slot.
WRITE TIME SLOTS
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 DS18S20 and a Write 0 time slot to write a logic 0 to the
DS18S20. 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. Both types of write time slots are initiated by the master pulling the
1-Wire bus low (see Figure 11).
To generate a Write 1 time slot, after pulling the 1-Wire bus low, the bus master must release the 1-Wire
bus within 15µs. When the bus is released, the 5kΩ pullup resistor will pull the bus high. To generate a
Write 0 time slot, after pulling the 1-Wire bus low, the bus master must continue to hold the bus low for
the duration of the time slot (at least 60µs). The DS18S20 samples the 1-Wire bus during a window that
lasts from 15µs to 60µs after the master initiates the write time slot. If the bus is high during the sampling
window, a 1 is written to the DS18S20. If the line is low, a 0 is written to the DS18S20.
1-WIRE BUS
GND
V
PU
MASTER T
480µs minimum
X
waits 15-60 µs
RESET PULSE
DS18S20
LINE TYPE LEGEND
Bus master pulling low
DS18S20 pulling low
Resistor pullup
13 of 23
presence pulse
DS18S20 T
60-240 µs
X
) the reset pulse by pulling the 1-Wire bus
480µs minimum
MASTER R
X
X
DS18S20
X
).