DS1921 DALLAS [Dallas Semiconductor], DS1921 Datasheet - Page 8

no-image

DS1921

Manufacturer Part Number
DS1921
Description
High-Resolution Thermochron iButton
Manufacturer
DALLAS [Dallas Semiconductor]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
DS1921-A
Manufacturer:
DALLAS
Quantity:
20 000
Part Number:
DS1921G#F50
Manufacturer:
PANASONIC
Quantity:
9 000
Part Number:
DS1921G+
Manufacturer:
MAXIM
Quantity:
710
Part Number:
DS1921G+
Manufacturer:
DALLAS
Quantity:
20 000
Part Number:
DS1921G-F5#
Manufacturer:
MAXIM/美信
Quantity:
20 000
Part Number:
DS1921G-F5/A14
Manufacturer:
IRISO
Quantity:
5 993
Part Number:
DS1921K#
Manufacturer:
Maxim
Quantity:
57
Part Number:
DS1921L-F52/A0D
Manufacturer:
DALLAS
Quantity:
6 482
RTC Alarm Control
TEMPERATURE CONVERSION
The DS1921H and DS1921Z measure temperatures with a resolution of 1/8
Temperature values are represented in a single byte as an unsigned binary number, which translates into a
range of 32°C. The possible values are 0000 0000 (00h) through 1111 1111 (FFh). The codes 01h to FEh
are considered valid temperature readings. Since the DS1921H and DS1921Z have different starting
temperatures, the meaning of a binary temperature code depends on the device.
If a temperature conversion yields a temperature that is out-of-range, it will be recorded as 00h (if too
low) or FFh (if too high). Since out-of-range results are accumulated in histogram bins 0 and 63 the data
in these bins is of limited value (see the Temperature Logging and Histogram section). For this reason the
specified temperature range of the DS1921H and DS1921Z is considered to begin at code 04h and end at
code FBh, which corresponds to histogram bins 1 to 62.
With T[7..0] representing the decimal equivalent of a temperature reading, the temperature value is
calculated as
This equation is valid for converting temperature readings stored in the datalog memory as well as for
data read from the forced temperature conversion readout Register (address 211h).
To specify the high or low temperature alarm thresholds, this equation needs to be resolved to
T[7…0] = 8 *
T[7…0] = 8 *
A value of 23°C, for example, thus translates into 68 decimal or 44h for the DS1921H, and 228 decimal
or E4h for the DS1921Z. This corresponds to the binary patterns 0100 0100 and 1110 0100 respectively,
which could be written to a Temperature Alarm Register (address 020Bh and 020Ch, respectively).
Temperature Alarm Register Map
(°C) = T[7…0] / 8 + 14.500 (DS1921H)
(°C) = T[7…0] / 8 - 5.500 (DS1921Z)
ALARM REGISTER MASK BITS
020Bh
020Ch
ADDR
MS
1
0
0
0
0
(Bit 7 of 207h to 20Ah)
MM
1
1
0
0
0
b7
(°C) -116 (DS1921H)
(°C) + 44 (DS1921Z)
MH
1
1
1
0
0
b6
MD
Temperature High Alarm Threshold
Temperature Low Alarm Threshold
1
1
1
1
0
b5
Alarm once per second.
Alarm when seconds match (once per minute).
Alarm when hours, minutes and seconds match (once every day).
week).
Alarm when minutes and seconds match (once every hour).
Alarm when day, hours, minutes, and seconds match (once every
b4
b3
8 of 44
b2
b1
b0
th
of a degree Celsius.
DS1921H/Z

Related parts for DS1921