DS1822-PAR_07 DALLAS [Dallas Semiconductor], DS1822-PAR_07 Datasheet - Page 8
![no-image](/images/no-image-200.jpg)
DS1822-PAR_07
Manufacturer Part Number
DS1822-PAR_07
Description
Econo 1-Wire Parasite-Power Digital Thermometer
Manufacturer
DALLAS [Dallas Semiconductor]
Datasheet
1.DS1822-PAR_07.pdf
(19 pages)
HARDWARE CONFIGURATION Figure 9
TRANSACTION SEQUENCE
The transaction sequence for accessing the DS1822-PAR is as follows:
Step 1. Initialization
Step 2. ROM Command (followed by any required data exchange)
Step 3. DS1822-PAR Function Command (followed by any required data exchange)
It is very important to follow this sequence every time the DS1822-PAR is accessed, as the DS1822-PAR
will not respond if any steps in the sequence are missing or out of order. Exceptions to this rule are the
Search ROM [F0h] and Alarm Search [ECh] commands. After issuing either of these ROM commands,
the master must return to Step 1 in the sequence.
INITIALIZATION
All transactions on the 1-Wire bus begin with an initialization sequence. The initialization sequence
consists of a reset pulse transmitted by the bus master followed by presence pulse(s) transmitted by the
slave(s). The presence pulse lets the bus master know that slave devices (such as the DS1822-PAR) are
on the bus and are ready to operate. Timing for the reset and presence pulses is detailed in the
1-WIRE SIGNALING section.
ROM COMMANDS
After the bus master has detected a presence pulse, it can issue a ROM command. These commands
operate on the unique 64-bit ROM codes of each slave device and allow the master to single out a specific
device if many are present on the 1-Wire bus. These commands also allow the master to determine how
many and what types of devices are present on the bus or if any device has experienced an alarm
condition. There are five ROM commands, and each command is eight bits long. The master device must
issue an appropriate ROM command before issuing a DS1822-PAR function command. A flowchart for
operation of the ROM commands is shown in Figure 10.
SEARCH ROM [F0h]
When a system is initially powered up, the master must identify the ROM codes of all slave devices on
the bus, which allows the master to determine the number of slaves and their device types. The master
T
R
processor
X
X
Micro-
V
Strong
Pullup
PU
4.7k
R
T
X
X
= TRANSMIT
= RECEIVE
V
PU
1-wire bus
8 of 19
DQ
Pin
Typ.
DS1822-PAR 1-WIRE PORT
5μA
MOSFET
100Ω
T
R
X
X
DS1822-PAR