DS18B20
 
15 of 22 
1-WIRE SIGNALING
The DS18B20 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. The bus
master initiates all these signals, with the exception of the presence pulse.
 
INITIALIZATION PROCEDURERESET AND PRESENCE PULSES
All communication with the DS18B20 begins with an initialization sequence that consists of a reset pulse
from the master followed by a presence pulse from the DS18B20. This is illustrated in Figure 13. When
the DS18B20 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
X
) the reset pulse by pulling the 1-Wire bus
low for a minimum of 480祍. The bus master then releases the bus and goes into receive mode (R
X
).
When the bus is released, the 5k& pullup resistor pulls the 1-Wire bus high. When the DS18B20 detects
this rising edge, it waits 15祍 to 60祍 and then transmits a presence pulse by pulling the 1-Wire bus low
for 60祍 to 240祍.
Figure 13. Initialization Timing 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
READ/WRITE TIME SLOTS
The bus master writes data to the DS18B20 during write time slots and reads data from the DS18B20
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 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祍 in duration with a minimum of a 1祍 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 14).
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祍. 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祍).
LINE TYPE LEGEND
Bus master pulling low
DS18B20 pulling low
V
PU
 
GND
1-WIRE BUS
480?/SPAN>s minimum
480?/SPAN>s minimum
DS18B20 T
X
 
presence pulse
60-240  s
MASTER T
X
 RESET PULSE
MASTER R
X
 
DS18B20
 waits 15-60?/SPAN>s
相关PDF资料
DS2740U+T&R IC CURRENT GAUGE(15BIT) 8UMAX
DS28EA00U+T&R IC THERMOMETER 1-WIRE 8-USOP
DS3920T-001+ IC CURRENT MIRROR 5:1 SOT23-6
DS4560LS-LO+T IC SWITCH HOT-PLUG 12V 8-SOIC
DS600U+T&R IC SENSOR TEMP 8-USOP
DS620U+ IC THERMOMETER/STAT DIG 8MSOP
DS7505U+T&R IC DGTL THERMOMETER 2WIRE 8-USOP
DS75LVU+T&R IC SENSOR TEMP DIGITAL 8MSOP
相关代理商/技术参数
DS18B20Z+ 功能描述:板上安装温度传感器 Prgmble Resolution 1-Wire Parasite Pwr RoHS:否 制造商:Omron Electronics 输出类型:Digital 配置: 准确性:+/- 1.5 C, +/- 3 C 温度阈值: 数字输出 - 总线接口:2-Wire, I2C, SMBus 电源电压-最大:5.5 V 电源电压-最小:4.5 V 最大工作温度:+ 50 C 最小工作温度:0 C 关闭: 安装风格: 封装 / 箱体: 设备功能:Temperature and Humidity Sensor
DS18B20Z+ 制造商:Maxim Integrated Products 功能描述:SEMICONDUCTOR ((NW))
DS18B20Z+T&R 制造商:Maxim Integrated Products 功能描述:HI RES MICROLAN DIG THERM 8-SOIC TR 制造商:Maxim Integrated Products 功能描述:TEMP SENSOR DGTL SERL (1-WIRE) 8SOIC N - Tape and Reel 制造商:Maxim Integrated Products 功能描述:IC THERM MICROLAN PROG-RES 8SOIC 制造商:Maxim Integrated Products 功能描述:Board Mount Temperature Sensors Prgmble Resolution 1-Wire Parasite Pwr
DS18B20Z+T&R 功能描述:板上安装温度传感器 Prgmble Resolution 1-Wire Parasite Pwr RoHS:否 制造商:Omron Electronics 输出类型:Digital 配置: 准确性:+/- 1.5 C, +/- 3 C 温度阈值: 数字输出 - 总线接口:2-Wire, I2C, SMBus 电源电压-最大:5.5 V 电源电压-最小:4.5 V 最大工作温度:+ 50 C 最小工作温度:0 C 关闭: 安装风格: 封装 / 箱体: 设备功能:Temperature and Humidity Sensor
DS18B20Z-W 制造商:Maxim Integrated Products 功能描述:
DS18S20 功能描述:板上安装温度传感器 RoHS:否 制造商:Omron Electronics 输出类型:Digital 配置: 准确性:+/- 1.5 C, +/- 3 C 温度阈值: 数字输出 - 总线接口:2-Wire, I2C, SMBus 电源电压-最大:5.5 V 电源电压-最小:4.5 V 最大工作温度:+ 50 C 最小工作温度:0 C 关闭: 安装风格: 封装 / 箱体: 设备功能:Temperature and Humidity Sensor
DS18S20/T&R 制造商:Rochester Electronics LLC 功能描述: 制造商:Maxim Integrated Products 功能描述:IC THERM MICROLAN HI PREC TO-92
DS18S20/T&R 功能描述:板上安装温度传感器 RoHS:否 制造商:Omron Electronics 输出类型:Digital 配置: 准确性:+/- 1.5 C, +/- 3 C 温度阈值: 数字输出 - 总线接口:2-Wire, I2C, SMBus 电源电压-最大:5.5 V 电源电压-最小:4.5 V 最大工作温度:+ 50 C 最小工作温度:0 C 关闭: 安装风格: 封装 / 箱体: 设备功能:Temperature and Humidity Sensor