ds1990r ds1990r f5
ds1990r ds1990r f5
DS1990R
The DS1990R serial number iButton® is a rugged data ♦ Upgrade of DS1990A Guarantees Presence Pulse
carrier that serves as an electronic registration number on Contact
for automatic identification. Data is transferred serially
through the 1-Wire® protocol, which requires only a sin- ♦ Can Be Read in Less Than 5ms
gle data lead and a ground return. Every DS1990R is ♦ Operating Range: 2.8V to 6.0V, -40°C to +85°C
factory lasered with a guaranteed unique 64-bit regis-
tration number that allows for absolute traceability. The Common iButton Features
durable stainless-steel iButton package is highly resis-
tant to environmental hazards such as dirt, moisture, ♦ Unique Factory-Lasered 64-Bit Registration
and shock. Its compact coin-shaped profile is self- Number Ensures Error-Free Device Selection and
aligning with mating receptacles, allowing the DS1990R Absolute Traceability Because No Two Parts are
to be used easily by human operators. Accessories Alike
enable the DS1990R iButton to be mounted on almost
any object, including containers, pallets, and bags. ♦ Built-In Multidrop Controller for 1-Wire Net
The DS1990R is a fully compatible variant of the ♦ Digital Identification by Momentary Contact
DS1990A. In applications where a presence pulse on ♦ Data Can Be Accessed While Affixed to Object
contact is critical, the DS1990R should be preferred
over the DS1990A. ♦ Economically Communicates to Bus Master with
a Single Digital Signal at 16.3kbps
Applications ♦ Button Shape is Self-Aligning with Cup-Shaped
Access Control Probes
Work-In-Progress Tracking ♦ Durable Stainless-Steel Case Engraved with
Tool Management Registration Number Withstands Harsh
Inventory Control Environments
♦ Easily Affixed with Self-Stick Adhesive Backing,
Ordering Information Latched by its Flange, or Locked with a Ring
Pressed Onto its Rim
PART TEMP RANGE PIN-PACKAGE
DS1990R-F5# -40°C to +85°C F5 iButton
♦ Presence Detector Acknowledges When Reader
First Applies Voltage
DS1990R-F3# -40°C to +85°C F3 iButton
#Denotes a RoHS-compliant device that may include lead(Pb)
that is exempt under the RoHS requirements.
Pin Configurations
F3 SIZE F5 SIZE
Examples of Accessories
3.10mm 5.89mm
PART ACCESSORY 0.51mm 0.51mm BRANDING
W
#F
W R 17.35mm
ZZZ D S1990
IO IO
GND GND
iButton and 1-Wire are registered trademarks of Maxim
Integrated Products, Inc.
For pricing, delivery, and ordering information, please contact Maxim Direct at 1-888-629-4642,
or visit Maxim’s website at www.maxim-ic.com.
Downloaded from Arrow.com.
Serial Number iButton
ABSOLUTE MAXIMUM RATINGS
DS1990R
Stresses beyond those listed under “Absolute Maximum Ratings” may cause permanent damage to the device. These are stress ratings only, and functional
operation of the device at these or any other conditions beyond those indicated in the operational sections of the specifications is not implied. Exposure to
absolute maximum rating conditions for extended periods may affect device reliability.
ELECTRICAL CHARACTERISTICS
(TA = -40°C to +85°C.)
2 _______________________________________________________________________________________
DS1990R
Note 8: The voltage on IO must be less than or equal to VILMAX whenever the master drives the line low.
Note 9: VIH is a function of the internal supply voltage.
Note 10: 30nC per 72 time slots at 5.0V pullup voltage with a 5kΩ pullup resistor and tSLOT ≤ 120µs.
Note 11: The reset low time (tRSTL) should be restricted to a maximum of 960µs to allow interrupt signaling. A longer duration could
mask or conceal interrupt pulses if this device is used in parallel with a DS1994.
Note 12: An additional reset or communication sequence cannot begin until the reset high time has expired.
Note 13: Presence pulse after POR is guaranteed by design, not production tested.
Note 14: ε in Figure 7 represents the time required for the pullup circuitry to pull the voltage on IO up from VIL to VIH. The actual
maximum duration for the master to pull the line low is tW1LMAX + tF - ε and tW0LMAX + tF - ε, respectively.
Note 15: δ in Figure 7 represents the time required for the pullup circuitry to pull the voltage on IO up from VIL to the input-high
threshold of the bus master. The actual maximum duration for the master to pull the line low is tRLMAX + tF.
Detailed Description parasite power block. The ROM function control unit
includes the 1-Wire interface and the logic to implement
The block diagram in Figure 1 shows the major function
the ROM function commands, which access 64 bits of
blocks of the device. The DS1990R takes the energy it
lasered ROM.
needs to operate from the IO line, as indicated by the
PARASITE POWER
DS1990R
ROM 64-BIT
IO
FUNCTION CONTROL LASERED ROM
_______________________________________________________________________________________ 3
MSB LSB
POLYNOMIAL = X8 + X5 + X4 + 1
X0 X1 X2 X3 X4 X5 X6 X7 X8
INPUT DATA
4 _______________________________________________________________________________________
DS1990R
may be reset.
The 1-Wire bus has only a single line by definition; it is
important that each device on the bus be able to drive Transaction Sequence
it at the appropriate time. To facilitate this, each device
The protocol for accessing the DS1990R through the
attached to the 1-Wire bus must have open-drain or
1-Wire port is as follows:
three-state outputs. The 1-Wire port of the DS1990R is
open drain with an internal circuit equivalent to that • Initialization
shown in Figure 4. A multidrop bus consists of a 1-Wire • ROM Function Command
bus with multiple slaves attached. At standard speed,
the 1-Wire bus has a maximum data rate of 16.3kbps. Initialization
The value of the pullup resistor primarily depends on All transactions on the 1-Wire bus begin with an initial-
the network size and load conditions. For most applica- ization sequence. The initialization sequence consists
tions, the optimal value of the pullup resistor is approxi- of a reset pulse transmitted by the bus master followed
mately 2.2kΩ. The idle state for the 1-Wire bus is high. by presence pulse(s) transmitted by the slave(s). The
If for any reason a transaction needs to be suspended, presence pulse lets the bus master know that the
the bus must be left in the idle state if the transaction is DS1990R is on the bus and is ready to operate. For
to resume. If this does not occur and the bus is left low more details, see the 1-Wire Signaling section.
VPUP
Tx Tx
Rx = RECEIVE
Tx = TRANSMIT
100Ω MOSFET
OPEN-DRAIN
PORT PIN
VDD VPP
HOST CPU
POL 1-W TO 1-Wire DATA
SERIAL IN
SERIAL RXD N.C.
PORT SERIAL OUT
TXD GND
DS2480B
_______________________________________________________________________________________ 5
BUS MASTER Tx Once the bus master has detected a presence pulse, it
RESET PULSE can issue one of the ROM function commands the
DS1990R supports. All ROM function commands are
8 bits long. A list of these commands follows. (See
BUS MASTER Tx ROM DS1990R Tx Figure 5 for a flowchart.)
FUNCTION COMMAND PRESENCE PULSE
Read ROM [33h] or [0Fh]
This command allows the bus master to read the
DS1990R’s 8-bit family code, unique 48-bit serial num-
33h OR F0h
N SEARCH ROM N ber, and 8-bit CRC. This command can only be used if
0Fh READ ROM
COMMAND? COMMAND? there is a single slave device on the bus. If more than one
slave is present on the bus, a data collision occurs when
Y Y all slaves try to transmit at the same time (open drain pro-
duces a wired-AND result). The resultant family code and
DS1990R Tx DS1990R Tx BIT 0 48-bit serial number results in a mismatch of the CRC.
FAMILY CODE
DS1990R Tx BIT 0
(1 BYTE) Search ROM [F0h]
MASTER Tx BIT 0
When a system is initially brought up, the bus master
might not know the number of devices on the 1-Wire
bus or their registration numbers. By taking advantage
N of the wired-AND property of the bus, the master can
BIT 0 MATCH?
use a process of elimination to identify the registration
numbers of all slave devices. For each bit of the regis-
Y tration number, starting with the least significant bit, the
bus master issues a triplet of time slots. On the first slot,
DS1990R Tx DS1990R Tx BIT 1 each slave device participating in the search outputs
SERIAL NUMBER
DS1990R Tx BIT 1 the true value of its registration number bit. On the sec-
(6 BYTES)
MASTER Tx BIT 1 ond slot, each slave device participating in the search
outputs the complemented value of its registration num-
ber bit. On the third slot, the master writes the true
value of the bit to be selected. All slave devices that do
N
BIT 1 MATCH? not match the bit written by the master stop participat-
ing in the search. If both of the read bits are zero, the
Y master knows that slave devices exist with both states
of the bit. By choosing which state to write, the bus
master branches in the ROM code tree. After one com-
DS1990R Tx DS1990R Tx BIT 63
CRC BYTE plete pass, the bus master knows the registration num-
DS1990R Tx BIT 63
ber of a single device. Additional passes identify the
MASTER Tx BIT 63 registration numbers of the remaining devices. Refer to
Application Note 187: 1-Wire Search Algorithm for a
detailed discussion, including an example.
N Match ROM [55h]/Skip ROM [CCh]
BIT 63 MATCH?
The minimum set of 1-Wire ROM function commands
includes a Match ROM and a Skip ROM command.
Y
Because the DS1990R contains only the 64-bit ROM
without any additional data fields, Match ROM and Skip
ROM are not applicable. The DS1990R remains silent
Figure 5. ROM Functions Flowchart (inactive) upon receiving a ROM function command
that it does not support. This allows the DS1990R to
coexist on a multidrop bus with other 1-Wire devices
that do respond to Match ROM or Skip ROM.
6 _______________________________________________________________________________________
DS1990R
cal state of the 1-Wire line at tMSP.
The DS1990R requires strict protocols to ensure data
integrity. The protocol consists of four types of signaling Read/Write Time Slots
on one line: reset sequence with reset pulse and pres- Data communication with the DS1990R takes place in
ence pulse, write-zero, write-one, and read-data. time slots that carry a single bit each. Write time slots
Except for the presence pulse, the bus master initiates transport data from bus master to slave. Read time
all these signals. slots transfer data from slave to master. The definitions
To get from idle to active, the voltage on the 1-Wire line of the write and read time slots are illustrated in
needs to fall from VPUP to below VILMAX. To get from Figure 7.
active to idle, the voltage needs to rise from VILMAX to All communication begins with the master pulling the
above VIHMIN. The time it takes for the voltage to make data line low. As the voltage on the 1-Wire line falls
this rise, referenced as ε in Figure 6, depends on the below VILMAX, the DS1990R starts its internal timing
value of the pullup resistor (RPUP) and capacitance of generator that determines when the data line is sam-
the 1-Wire network attached. pled during a write time slot and how long data is valid
The initialization sequence required to begin any com- during a read time slot.
munication with the DS1990R is shown in Figure 6. A
reset pulse followed by a presence pulse indicates that
Master-to-Slave
For a write-one time slot, the voltage on the data line
the DS1990R is ready to receive a ROM function com-
must have risen above VIHMIN after the write-one low
mand. If the bus master uses slew-rate control on the
time tW1LMAX is expired. For a write-zero time slot, the
falling edge, it must pull down the line for tRSTL + tF to
voltage on the data line must stay below VILMAX until
compensate for the edge.
the write-zero low time tW0LMIN is expired. For most reli-
After the bus master has released the line, it goes into able communication, the voltage on the data line
receive mode (Rx). Now the 1-Wire bus is pulled to should not exceed VILMAX during the entire tW0L win-
VPUP through the pullup resistor or, in the case of a dow. After the voltage has risen above V IHMIN, the
DS2480B driver, by active circuitry. When the VIHMIN is DS1990R needs a recovery time tREC before it is ready
crossed, the DS1990R waits for tPDH and then transmits for the next time slot.
a presence pulse by pulling the line low for tPDL. To
VIHMIN
VILMAX
0V
tPDH
tRSTL tPDL tREC
tF
tRSTH
_______________________________________________________________________________________ 7
tW1L
VPUP
VIHMASTER
VIHMIN
VILMAX
0V
ε
tF
tSLOT
RESISTOR MASTER
tW0L
VPUP
VIHMASTER
VIHMIN
VILMAX
0V
ε
tF tREC
tSLOT
RESISTOR MASTER
8 _______________________________________________________________________________________
DS1990R
A read-data time slot begins like a write-one time slot. nal timing generator of the DS1990R on the other side
The voltage on the data line must remain below VILMAX define the master sampling window (t MSRMIN to
until the read low time tRL is expired. During the tRL tMSRMAX) in which the master must perform a read from
window, when responding with a 0, the DS1990R starts the data line. For most reliable communication, t RL
pulling the data line low; its internal timing generator should be as short as permissible and the master should
determines when this pulldown ends and the voltage read close to but no later than tMSRMAX. After reading
starts rising again. When responding with a 1, the from the data line, the master must wait until tSLOT is
DS1990R does not hold the data line low at all, and the expired. This guarantees sufficient recovery time tREC
voltage starts rising as soon as tRL is over. for the DS1990R to get ready for the next time slot.
Package Information
For the latest package outline information and land patterns, go to www.maxim-ic.com/packages. Note that a “+”, “#”, or “-” in
the package code indicates RoHS status only. Package drawings may show a different suffix character, but the drawing pertains to
the package regardless of RoHS status.
PACKAGE TYPE PACKAGE CODE OUTLINE NO. LAND PATTERN NO.
F3 iButton IB#3NB 21-0252 —
F5 iButton IB#5NB 21-0266 —
_______________________________________________________________________________________ 9
Maxim cannot assume responsibility for use of any circuitry other than circuitry entirely embodied in a Maxim product. No circuit patent licenses are
implied. Maxim reserves the right to change the circuitry and specifications without notice at any time.
10 ____________________Maxim Integrated Products, 120 San Gabriel Drive, Sunnyvale, CA 94086 408-737-7600
© 2010 Maxim Integrated Products Maxim is a registered trademark of Maxim Integrated Products, Inc.