DS18B20
 
4 of 22 
Figure 2. Temperature Register Format 
 
 
BIT 7
BIT
BIT
BIT 4
BIT
BIT 2
BIT 1
BIT
LS BYTE
2
3
 
2
2
 
2
1
 
2
0
 
2
-1
 
2
-2
 
2
-3
 
2
-4
 
 
BIT 1
BIT 14
BIT 1
BIT 12
BIT 11
BIT 1
BIT
BIT
MS BYTE
S
S
S
S
S
2
6
 
2
5
 
2
4
 
S = SIGN
 
Table 1. Temperature/Data Relationship
TEMPERATURE (?/SPAN>C)
DIGITAL OUTPUT
(BINARY)
DIGITAL OUTPUT
(HEX)
+125
0000 0111 1101 0000
07D0h
+85*
0000 0101 0101 0000
0550h
+25.0625
0000 0001 1001 0001
0191h
+10.125
0000 0000 1010 0010
00A2h
+0.5
0000 0000 0000 1000
0008h
0
0000 0000 0000 0000
0000h
-0.5
1111 1111 1111 1000
FFF8h
-10.125
1111 1111 0101 1110
FF5Eh
-25.0625
1111 1110 0110 1111
FE6Fh
-55
1111 1100 1001 0000
FC90h
*The power-on reset value of the temperature register is +85?/SPAN>C.
 
OPERATIONALARM SIGNALING
After the DS18B20 performs a temperature conversion, the temperature value is compared to the user-
defined twos complement alarm trigger values stored in the 1-byte T
H
 and T
L
 registers (see Figure 3).
The sign bit (S)
 
indicates if the value is positive or negative: for positive numbers S = 0 and for negative
numbers S = 1. The T
H
 and T
L
 registers are nonvolatile (EEPROM) so they will retain data when the
device is powered down. T
H
 and T
L
 can be accessed through bytes 2 and 3 of the scratchpad as explained
in the Memory section.
Figure 3. T
H
 and T
L
 Register Format
 
BIT 7
BIT
BIT
BIT 4
BIT
BIT 2
BIT 1
BIT
S
2
6
 
2
5
 
2
4
 
2
3
 
2
2
 
2
1
 
2
0
 
 
 
Only bits 11 through 4 of the temperature register are used in the T
H
 and T
L
 comparison since T
H
 and T
L
are 8-bit registers. If the measured temperature is lower than or equal to T
L
 or higher than or equal to T
H
,
an 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.
相关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