DS18S20
DS18S20 OPERATION EXAMPLE 1
In this example there are multiple DS18S20s on the bus and they are using parasite power. The bus
master initiates a temperature conversion in a specific DS18S20 and then reads its scratchpad and
recalculates the CRC to verify the data.
MASTER MODE
Tx
Rx
Tx
Tx
Tx
Tx
Tx
Rx
Tx
Tx
Tx
Rx
DATA (LSB FIRST)
Reset
Presence
55h
64-bit ROM code
44h
DQ line held high by
strong pullup
Reset
Presence
55h
64-bit ROM code
BEh
9 data bytes
COMMENTS
Master issues reset pulse.
DS18S20s respond with presence pulse.
Master issues Match ROM command.
Master sends DS18S20 ROM code.
Master issues Convert T command.
Master applies strong pullup to DQ for the duration of the
conversion (t CONV ).
Master issues reset pulse.
DS18S20s respond with presence pulse.
Master issues Match ROM command.
Master sends DS18S20 ROM code.
Master issues Read Scratchpad command.
Master reads entire scratchpad including CRC. The master
then recalculates the CRC of the first eight data bytes from the
scratchpad and compares the calculated CRC with the read
CRC (byte 9). If they match, the master continues; if not, the
read operation is repeated.
DS18S20 OPERATION EXAMPLE 2
In this example there is only one DS18S20 on the bus and it is using parasite power. The master writes to
the T H and T L registers in the DS18S20 scratchpad and then reads the scratchpad and recalculates the
CRC to verify the data. The master then copies the scratchpad contents to EEPROM.
MASTER MODE
Tx
Rx
Tx
Tx
Tx
Tx
Rx
Tx
Tx
Rx
Tx
Rx
Tx
Tx
Tx
DATA (LSB FIRST)
Reset
Presence
CCh
4Eh
2 data bytes
Reset
Presence
CCh
BEh
9 data bytes
Reset
Presence
CCh
48h
DQ line held high by
strong pullup
COMMENTS
Master issues reset pulse.
DS18S20 responds with presence pulse.
Master issues Skip ROM command.
Master issues Write Scratchpad command.
Master sends two data bytes to scratchpad (T H and T L )
Master issues reset pulse.
DS18S20 responds with presence pulse.
Master issues Skip ROM command.
Master issues Read Scratchpad command.
Master reads entire scratchpad including CRC. The master
then recalculates the CRC of the first eight data bytes from
the scratchpad and compares the calculated CRC with the
read CRC (byte 9). If they match, the master continues; if not,
the read operation is repeated.
Master issues reset pulse.
DS18S20 responds with presence pulse.
Master issues Skip ROM command.
Master issues Copy Scratchpad command.
Master applies strong pullup to DQ for at least 10ms while
copy operation is in progress.
18 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 功能描述: