DS18B20-PAR_07 MAXIM [Maxim Integrated Products], DS18B20-PAR_07 Datasheet - Page 16

no-image

DS18B20-PAR_07

Manufacturer Part Number
DS18B20-PAR_07
Description
1-Wire Parasite-Power Digital Thermometer
Manufacturer
MAXIM [Maxim Integrated Products]
Datasheet
DS18B20-PAR OPERATION EXAMPLE 2
In this example there is only one DS18B20-PAR on the bus. The master writes to the T
configuration registers in the DS18B20-PAR 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
MASTER MODE
RX
TX
RX
TX
TX
TX
TX
RX
TX
TX
RX
TX
RX
TX
TX
TX
DATA (LSB FIRST)
DQ line held high by
DATA (LSB FIRST)
strong pullup
3 data bytes
9 data bytes
9 data bytes
Presence
Presence
Presence
Reset
Reset
Reset
CCh
CCh
CCh
BEh
4Eh
48h
Master issues reset pulse.
DS18B20-PAR responds with presence pulse.
Master issues Skip ROM command.
Master issues Write Scratchpad command.
Master sends three data bytes to scratchpad (T
Master issues reset pulse.
DS18B20-PAR 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.
DS18B20-PAR responds with presence pulse.
Master issues Skip ROM command.
Master issues Copy Scratchpad command.
Master applies strong pullup to DQ for at least 10 ms while copy
operation is in progress.
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.
16 of 19
COMMENTS
COMMENTS
H
H
, T
, T
L
L
, and config).
, and
DS18B20-PAR

Related parts for DS18B20-PAR_07