DS18B20
 
7 of 22 
MEMORY
The DS18B20s memory is organized as shown in Figure 7. The memory consists of an SRAM
scratchpad with nonvolatile EEPROM storage for the high and low alarm trigger registers (T
H
 and T
L
)
and configuration register. Note that if the DS18B20 alarm function is not used, the T
H
 and T
L
 registers
can serve as general-purpose memory. All memory commands are described in detail in the DS18B20 
Function Commands section. 
Byte 0 and byte 1 of the scratchpad contain the LSB and the MSB of the temperature register,
respectively. These bytes are read-only. Bytes 2 and 3 provide access to T
H
 and T
L
 registers. Byte 4
contains the configuration register data, which is explained in detail in the Configuration Register section.
Bytes 5, 6, and 7 are reserved for internal use by the device and cannot be overwritten.
Byte 8 of the scratchpad is read-only and contains the CRC code for bytes 0 through 7 of the scratchpad.
The DS18B20 generates this CRC using the method described in the CRC Generation section.
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. When reading the scratchpad, data is transferred over the 1-Wire bus starting with the least
significant bit of byte 0. To transfer the T
H
, T
L
 and configuration data from the scratchpad to EEPROM,
the master must issue the Copy Scratchpad [48h] command.
Data in the EEPROM registers is retained when the device is powered down; at power-up the EEPROM
data is reloaded into the corresponding scratchpad locations. Data can also be reloaded from EEPROM to
the scratchpad at any time using the Recall E
2
 [B8h] command. The master can issue read time slots
following the Recall E
2
 command and the DS18B20 will indicate the status of the recall by transmitting 0
while the recall is in progress and 1 when the recall is done.
Figure 7. DS18B20 Memory Map
 
SCRATCHPAD
(POWER-UP STATE) 
 
Byte 0   Temperature LSB (50h)
 
 
Byte 1   Temperature MSB (05h)
 
EEPROM
Byte 2   T
H
 Register or User Byte 1*
 
T
H
 Register or User Byte 1
Byte 3   T
L
 Register or User Byte 2*
 
T
L
 Register or User Byte 2
Byte 4   Configuration Register*
 
Configuration Register
Byte 5   Reserved (FFh)
 
 
Byte 6   Reserved
 
 
Byte 7   Reserved (10h)
 
 
Byte 8   CRC*
 
 
*Power-up state depends on value(s) stored in EEPROM.
 
85癈  
相关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