DS1992/DS1993
2 of 17
iButton DESCRIPTION
The DS1992/DS1993 memory iButtons (hereafter referred to as DS199x) are rugged read/write data
carriers that act as a localized database, easily accessible with minimal hardware. The nonvolatile
memory and optional timekeeping capability offer a simple solution to storing and retrieving vital
informat ion pertaining to the object to which the iButton is attached. Data is transferred serially t hrough
the 1-Wire protoco l t hat r eq uires onl y a single dat a lead and a ground ret ur n.
The scrat chpad is an add itio nal page t hat act s as a buffer w h e n w riti ng to memory. D a ta is firs t w ritt e n to
the scratchpad where it can be read back. After the data has been verified, a copy scratchpad co mmand
transfers the data to memory. This process ensures data integr ity when modifying the memory. A 48-bit
serial number is factory lasered int o each DS199x to provide a guarant eed unique ident it y t hat a llo w s for
abso lut e traceab ility. T he dur able Micro Can packa ge is h ig hly resist ant t o en viro nme nt al hazards suc h as
dirt, moisture, and shock. Its compact coin-shaped profile is self-aligning with mating receptacles,
allowing the DS199x to be easily used by human operators. Accessories permit the DS199x to be
mounted on almost any surface including plastic key fobs, photo-I D badges, and PC boards.
App licat io ns inc lude acces s cont rol, wor k-in-pro gress t rack ing , e lect ro nic trave lers, stor age of ca libr at io n
co nstant s, and debit tokens.
OPERATION
The DS199x have three main data components: 1) 64-bit lasered ROM, 2) 256-bit scratchpad, and 3)
1024-bit ( DS1992) or 4096-bit ( DS1993) SRAM. All dat a is read and writ ten least s ignifica nt bit firs t.
The memory functions are not available until the ROM function protocol has been established. This
protocol is described in the ROM functions flow chart (Figure 9). The master must first provide one of
fo ur ROM fu nct ion co mmands: 1) read ROM, 2) match ROM, 3) search ROM, or 4) skip ROM. After a
ROM function sequence has been successfully executed, the memory functions are accessible and the
mast er can t hen pro vide any o ne o f the four memo r y function commands (Figure 6).
PARASITE POWER
The b lo ck d iagram (F igur e 1) s ho ws the paras it e-po wered circu it r y. This c ir cu it r y st eals po wer wheneve r
t he dat a input is high. T he dat a line pro vide s suffic ie nt power as long as the spec ified timing and volt age
requirements are met. The advantages of parasite power are two-fold: 1) by parasiting off this input,
batter y power is no t consumed for 1-Wire ROM function commands, and 2) if the batter y is exhausted for
any reason, the ROM may st ill be read nor mally. The remaining circuit ry of the DS1992 and DS1993 is
sole ly oper ated by bat tery energy.
64-BIT LASERED ROM
Each DS199 x contain a unique ROM code that is 64 bits lo ng. The first 8 bit s are a 1-Wire family code.
The next 48 bit s are a u nique serial number. T he last 8 bits are a CRC o f t he fir st 56 bit s (see Figur e 2).
The 1-Wir e CRC is ge nerated us ing a po lyno mial generato r consist ing o f a shift reg ister and XOR gat es
as shown in Figure 3. The polynomial is X8 + X5 + X4 + 1. Additional information about the Maxim
1-Wire Cyclic Redundancy Check is available in the Book of DS19xx iButton Standards. The shift
regist er bits are initia lized to zero . T hen st arting w it h t he least sig ni f icant b it of the fa m i ly co de, 1 bit at a
t ime is s hift ed in . Aft er t he 8 t h b it of t he f a m il y c od e ha s be e n ente r ed , t he n t he s eri a l numb e r is e nt e r ed .
After the 48th bit of the serial number has been entered, the shift register contains the CRC value.
Shifting in t he 8 bits o f CRC should return the shift regist er to all zeros.