Datasheet

DS18B20-PAR
14 of 19
The DS18B20-PAR samples the 1-Wire bus during a window that lasts from 15 μs to 60 μs after the
master initiates the write time slot. If the bus is high during the sampling window, a 1 is written to the
DS18B20-PAR. If the line is low, a 0 is written to the DS18B20-PAR.
READ/WRITE TIME SLOT TIMING DIAGRAM Figure 13
READ TIME SLOTS
The DS18B20-PAR can only transmit data to the master when the master issues read time slots.
Therefore, the master must generate read time slots immediately after issuing a Read Scratchpad [BEh]
command, so that the DS18B20-PAR can provide the requested data. In addition, the master can generate
read time slots after issuing a Recall E
2
[B8h] command to find out the recall status as explained in the
DS18B20-PAR FUNCTION COMMAND section.
All read time slots must be a minimum of 60 μs in duration with a minimum of a 1 μs recovery time
between slots. A read time slot is initiated by the master device pulling the 1-Wire bus low for a
minimum of 1 μs and then releasing the bus (see Figure 13). After the master initiates the read time slot,
the DS18B20-PAR will begin transmitting a 1 or 0 on bus. The DS18B20-PAR transmits a 1 by leaving
the bus high and transmits a 0 by pulling the bus low. When transmitting a 0, the DS18B20-PAR will
release the bus by the end of the time slot, and the bus will be pulled back to its high idle state by the
pullup resister. Output data from the DS18B20-PAR is valid for 15 μs after the falling edge that initiated
45 μs
15 μs
V
PU
GND
1-WIRE BUS
60 μs < T
X
“0” < 120
1 μs < T
REC
<
DS18B20-PAR samples
MIN TYP MAX
15 μs
30
μ
s
> 1
μ
s
MASTER WRITE “0” SLOT MASTER WRITE “1” SLOT
DS18B20-PAR samples
MIN TYP MAX
V
PU
GND
1-WIRE BUS
15
μ
s
MASTER READ “0” SLOT MASTER READ “1” SLOT
Master samples
Master samples
START
OF SLOT
START
OF SLOT
> 1
μ
s
1 μs < T
REC
<
15 μs
15
μ
s
30 μs
15
μ
s
LINE TYPE LEGEND
Bus master pulling low DS18B20-PAR pulling low
Resistor pullup
> 1 μs