sales@tm1990.com WhatsApp +86 186 6582 0632 Average first reply: < 24 h
RFIDAK

1-Wire protocol timing: reset, presence, read and write slots

The actual timing numbers behind a 1-Wire key transaction — reset and presence pulse windows, write-1 and write-0 slots, the read sampling window, plus ROM command codes and electrical limits. Measured values from our PR1990 key IC datasheet.

1 · Reset and presence pulse

Every transaction starts here. The master pulls the line low for at least 480 µs, releases it, and the key answers with a presence pulse — that pulse is how the reader knows a key is touching the contact at all.

1-Wire reset and presence pulse timing
SymbolDevice typeMinMax
t_RSTLReset pulse — master holds the line low480 µs
t_RSTHReset high, including recovery time480 µs
t_PDHDevice stand-by before it answers15 µs60 µs
t_PDLPresence pulse — device pulls the line low60 µs240 µs

One constraint that is easy to miss: t_RSTL plus the line rise time must stay under 960 µs, otherwise the reset masks interrupt signals from other devices sharing the bus.

2 · Write time slots

Both a 1 and a 0 begin with the master pulling the line low; only the duration differs. A short low (1–15 µs) means 1, a long low (60–120 µs) means 0. The key samples inside the selection window.

1-Wire write-1 time slot timing

3 · Read time slots

To read, the master pulses the line low briefly then releases it and samples. The catch is t_RDV: the data is only guaranteed valid for 15 µs from the falling edge, so a master that samples late reads garbage.

1-Wire read time slot timing
SymbolDevice typeMinMax
t_SLOTDuration of one read or write time slot60 µs120 µs
t_LOW1Low period when writing a 11 µs15 µs
t_LOW0Low period when writing a 060 µs120 µs
t_RDVValid data window — master must sample by here15 µs
t_RELEASETime for the device to vacate the bus045 µs
t_SUData set-up time before read1 µs
t_RECRecovery between slots1 µs

ROM command codes

Family codeCommandNotes
33h / 0FhRead ROMReturns the 8-bit family code, 48-bit serial and 8-bit CRC. Only valid with a single device on the bus. PR1990 answers to both 33h and 0Fh; a DS1990 answers only to 0Fh.
55hMatch ROMNot used on a 64-bit-ROM-only key — the device does not respond.
CChSkip ROMNot used on a 64-bit-ROM-only key — the device does not respond.
F0hSearch ROMLets the master discover every ROM code on the bus by repeated bit / complement-bit / select steps. This is how multi-key buses are enumerated.

Electrical limits

ParameterSymbolValue
Pull-up supply rangeV_PUP2.8 – 6.0 V
Logic “1” input voltageV_IH≥ 2.2 V
Logic “0” input voltageV_IL−0.3 … +0.8 V
Low-level output voltage at 4 mAV_OL≤ 0.4 V
Voltage at pins relative to GND−0.5 … +7.0 V
Operating temperatureT_oper−40 … +85 °C
Storage temperatureT_stg−55 … +125 °C

This table is provided as a working reference. For design-critical decisions always confirm against the current manufacturer datasheet.

Dallas, Maxim and iButton are trademarks of their respective owners. We manufacture compatible products and are not affiliated with them.

Need these parts in volume?

We manufacture the full range described here. Send us the models and quantities and we will reply with pricing and free samples.

Request a quote All technical articles