DS18S20
COPY SCRATCHPAD [48h]
This command copies the contents of the scratchpad T H and T L registers (bytes 2 and 3) to EEPROM. If
the device is being used in parasite power mode, within 10 μ s (max) after this command is issued the
master must enable a strong pullup on the 1-Wire bus for at least 10ms as described in the Powering the
DS18S20 section.
RECALL E 2 [B8h]
This command recalls the alarm trigger values (T H and T L ) from EEPROM and places the data in bytes 2
and 3, respectively, in the scratchpad memory. The master device can issue read-time slots following the
Recall E 2 command and the DS18S20 will indicate the status of the recall by transmitting 0 while the
recall is in progress and 1 when the recall is done. The recall operation happens automatically at power-
up, so valid data is available in the scratchpad as soon as power is applied to the device.
READ POWER SUPPLY [B4h]
The master device issues this command followed by a read-time slot to determine if any DS18S20s on the
bus are using parasite power. During the read-time slot, parasite powered DS18S20s will pull the bus low,
and externally powered DS18S20s will let the bus remain high. See the Powering the DS18S20 section
for usage information for this command.
Table 2. DS18S20 Function Command Set
Recall E
44h
COMMAND
Convert T
Read
Scratchpad
Write
Scratchpad
Copy
Scratchpad
2
Read Power
Supply
1-Wire BUS ACTIVITY
DESCRIPTION PROTOCOL AFTER COMMAND IS
ISSUED
TEMPERATURE CONVERSION COMMANDS
Initiates temperature DS18S20 transmits conversion
conversion. status to master (not applicable
for parasite-powered
DS18S20s).
MEMORY COMMANDS
Reads the entire DS18S20 transmits up to 9
scratchpad including the BEh data bytes to master.
CRC byte.
Writes data into Master transmits 2 data bytes
scratchpad bytes 2 and 3 4Eh to DS18S20.
(T H and T L ).
Copies T H and T L data None
from the scratchpad to 48h
EEPROM.
Recalls T H and T L data DS18S20 transmits recall
from EEPROM to the B8h status to master.
scratchpad.
Signals DS18S20 power DS18S20 transmits supply
supply mode to the B4h status to master.
master.
NOTES
1
2
3
1
Note 1:
Note 2:
Note 3:
For parasite-powered DS18S20s, the master must enable a strong pullup on the 1-Wire bus during temperature
conversions and copies from the scratchpad to EEPROM. No other bus activity may take place during this time.
The master can interrupt the transmission of data at any time by issuing a reset.
Both bytes must be written before a reset is issued.
12 of 23
相关PDF资料
DS1822+PAR IC THERMOMETER ECONO DIG TO-92
DS1822Z/T&R IC THERMOMETER ECONO DIG 8-SOIC
DS1870E-010+T&R IC CNTRLR RF POWER AMP 16TSSOP
DS18S20-PAR+T&R IC THERM MICROLAN HI-PREC TO-92
DS60R+T&R IC SENSOR MICRO CENTIGRADE SOT23
DV164102 KIT DEV RFPICKIT KIT 1
DVK90109 KIT DEV FOR MLX90109
DVK90121 KIT DEV FOR MLX90121
相关代理商/技术参数
DS1820K 制造商:Maxim Integrated Products 功能描述:THERMOMETER DEMO KIT
DS1820S 制造商:未知厂家 制造商全称:未知厂家 功能描述:DS1820.DS1820S Digital Thermometer Replacements
DS1821 功能描述:板上安装温度传感器 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
DS1821_07 制造商:DALLAS 制造商全称:Dallas Semiconductor 功能描述:Programmable Digital Thermostat and Thermometer
DS1821+ 功能描述:板上安装温度传感器 Programmable Digital Thermostat/Thrmmtr 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
DS1821C+ 功能描述:恒温器 Programmable Digital Thermo-stat/monitor RoHS:否 制造商:Maxim Integrated 功能: 开路温度: 闭合温度: 准确性:+/- 1 C 温度范围:- 55 C to + 125 C 电流额定值:500 uA 电压额定值:2.7 V to 5.5 V 产品:Thermostats
DS1821-C02 功能描述:板上安装温度传感器 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
DS1821-C04 制造商:DSC 功能描述: