DS18S20 OPERATION EXAMPLE 1
參數(shù)資料
型號(hào): DS18S20
廠商: DALLAS SEMICONDUCTOR
元件分類(lèi): 溫度/濕度傳感器
英文描述: High Precision 1-Wire Digital Thermometer(高精度1線數(shù)字溫度計(jì))
中文描述: DIGITAL TEMP SENSOR-SERIAL, 9BIT(s), 0.50Cel, ROUND, THROUGH HOLE MOUNT
封裝: TO-92, 3 PIN
文件頁(yè)數(shù): 17/21頁(yè)
文件大?。?/td> 150K
代理商: DS18S20
DS18S20
17 of 21
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
DATA (LSB FIRST)
TX
Reset
Master issues reset pulse.
RX
Presence
DS18S20s respond with presence pulse.
TX
55h
Master issues Match ROM command.
TX
64-bit ROM code
Master sends DS18S20 ROM code.
TX
44h
Master issues Convert T command.
TX
DQ line held high by
strong pullup
conversion (t
conv
).
TX
Reset
Master issues reset pulse.
RX
Presence
DS18S20s respond with presence pulse.
TX
55h
Master issues Match ROM command.
TX
64-bit ROM code
Master sends DS18S20 ROM code.
TX
BEh
Master issues Read Scratchpad command.
RX
9 data bytes
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
DATA (LSB FIRST)
TX
Reset
Master issues reset pulse.
RX
Presence
DS18S20 responds with presence pulse.
TX
CCh
Master issues Skip ROM command.
TX
4Eh
Master issues Write Scratchpad command.
TX
2 data bytes
Master sends two data bytes to scratchpad (T
H
and T
L
)
TX
Reset
Master issues reset pulse.
RX
Presence
DS18S20 responds with presence pulse.
TX
CCh
Master issues Skip ROM command.
TX
BEh
Master issues Read Scratchpad command.
RX
9 data bytes
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.
TX
Reset
Master issues reset pulse.
RX
Presence
DS18S20 responds with presence pulse.
TX
CCh
Master issues Skip ROM command.
TX
48h
Master issues Copy Scratchpad command.
TX
DQ line held high by
strong pullup
operation is in progress.
COMMENTS
Master applies strong pullup to DQ for the duration of the
COMMENTS
Master applies strong pullup to DQ for at least 10 ms while copy
相關(guān)PDF資料
PDF描述
DS1920 Temperature Button(溫度按鈕)
DS1962 1K-Bit Monetary iButton(1K位貨幣按鈕)
DS1963 4K-Bit Monetary iButton(4K位貨幣按鈕)
DS1981U UniqueWare iButton(唯一貨品按鈕)
DS1982U UniqueWare iButton(UniqueWare iButton標(biāo)準(zhǔn)的EPROM)
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
DS18S20/T&R 制造商:Rochester Electronics LLC 功能描述: 制造商:Maxim Integrated Products 功能描述:IC THERM MICROLAN HI PREC TO-92
DS18S20/T&R 功能描述:板上安裝溫度傳感器 RoHS:否 制造商:Omron Electronics 輸出類(lèi)型:Digital 配置: 準(zhǔn)確性:+/- 1.5 C, +/- 3 C 溫度閾值: 數(shù)字輸出 - 總線接口:2-Wire, I2C, SMBus 電源電壓-最大:5.5 V 電源電壓-最小:4.5 V 最大工作溫度:+ 50 C 最小工作溫度:0 C 關(guān)閉: 安裝風(fēng)格: 封裝 / 箱體: 設(shè)備功能:Temperature and Humidity Sensor
DS18S20+ 功能描述:板上安裝溫度傳感器 Prgmble Resolution 1-Wire Parasite Pwr RoHS:否 制造商:Omron Electronics 輸出類(lèi)型:Digital 配置: 準(zhǔn)確性:+/- 1.5 C, +/- 3 C 溫度閾值: 數(shù)字輸出 - 總線接口:2-Wire, I2C, SMBus 電源電壓-最大:5.5 V 電源電壓-最小:4.5 V 最大工作溫度:+ 50 C 最小工作溫度:0 C 關(guān)閉: 安裝風(fēng)格: 封裝 / 箱體: 設(shè)備功能:Temperature and Humidity Sensor
DS18S20+PAR 功能描述:板上安裝溫度傳感器 Prgmble Resolution 1-Wire Parasite Pwr RoHS:否 制造商:Omron Electronics 輸出類(lèi)型:Digital 配置: 準(zhǔn)確性:+/- 1.5 C, +/- 3 C 溫度閾值: 數(shù)字輸出 - 總線接口:2-Wire, I2C, SMBus 電源電壓-最大:5.5 V 電源電壓-最小:4.5 V 最大工作溫度:+ 50 C 最小工作溫度:0 C 關(guān)閉: 安裝風(fēng)格: 封裝 / 箱體: 設(shè)備功能:Temperature and Humidity Sensor
DS18S20+T&R 制造商:Maxim Integrated Products 功能描述: 制造商:Maxim Integrated Products 功能描述:TEMP SENSOR DGTL 1-WIRE 3PIN TO-92 - Tape and Reel 制造商:Maxim Integrated Products 功能描述:IC THERM MICROLAN HI-PREC TO-92 制造商:Maxim Integrated Products 功能描述:Board Mount Temperature Sensors Prgmble Resolution 1-Wire Parasite Pwr