Freelance Electronics Components Distributor
Closed Dec 25th-26th
800-300-1968
We Stock Hard to Find Parts

DS1821S

Part # DS1821S
Description Temp Sensor Digital Serial (1-Wire) 8-Pin SOIC (Alt: DS182
Category IC
Availability Out of Stock
Qty 0
Qty Price
1 + $2.85000



Technical Document


DISCLAIMER: The information provided herein is solely for informational purposes. Customers must be aware of the suitability of this product for their application, and consider that variable factors such as Manufacturer, Product Category, Date Codes, Pictures and Descriptions may differ from available inventory.

1 of 18 071107
ma
FEATURES
Requires no external components
Unique 1-Wire
®
interface requires only one
port pin for communication
Operates over a -55°C to +125°C (-67°F to
+257°F) temperature range
Functions as a standalone thermostat with
user-definable trip-points
Provides 8-bit (1°C resolution) centigrade
temperature measurements
Accuracy is ±1°C over 0°C to +85°C range
Converts temperature to a digital word in 1
second (max)
Available in 3-pin PR35 and 8-pin SO
packages
Applications include thermostatic controls,
industrial systems, consumer products,
thermometers, or any thermally sensitive
system
PIN ASSIGNMENT
PIN DESCRIPTION
GND - Ground
DQ - Data In/Out and Thermostat Output
V
DD
- Power Supply Voltage
NC - No Connect
DESCRIPTION
The DS1821 can function as a standalone thermostat with user-programmable trip-points or as 8-bit
temperature sensor with a 1-Wire digital interface. The thermostat trip-points are stored in nonvolatile
memory, so DS1821 units can be programmed prior to system insertion for true standalone operation.
The DS1821 has an operating temperature range of –55°C to +125°C and is accurate to ±1°C over a range
of 0°C to +85°C. Communication with the DS1821 is accomplished through the open-drain DQ pin; this
pin also serves as the thermostat output.
DS1821
Programmable Digital Thermostat and
Thermomete
r
8-pin 208-mil SO
(
DS1821S
)
1
(
BOTTOM VIEW
)
2 3
DALLAS
DS1821
1
GND
DQ
V
DD
2 3
PR35
(DS1821)
6
3
1
2
4
8
7
5
DQ
G
ND
NC
NC
V
DD
NC
NC
NC
DS1821S
1-Wire is a registered trademark of Dallas Semiconductor Corp.,
a wholly owned subsidiary of Maxim Integrated Products, Inc.
www.maxim-ic.com
DS1821
2 of 18
ORDER INFORMATION
ORDERING
NUMBER
PACKAGE
MARKING
DESCRIPTION
DS1821 DS1821 DS1821 in 3-pin PR35
DS1821+ DS1821 (See Note) DS1821 in 3-pin PR35
DS1821S DS1821S DS1821 in 208 mil 8-pin SO
DS1821S/T&R DS1821S DS1821 in 208 mil 8-pin SO, 2000 Piece Tape-and-Reel
DS1821S+ DS1821S (See Note) DS1821 in 208 mil 8-pin SO
DS1821S+T&R DS1821S (See Note) DS1821 in 208 mil 8-pin SO, 2000 Piece Tape-and-Reel
Note: A “+” symbol will also be marked on the package.
+ Denotes lead-free package.
DETAILED PIN DESCRIPTIONS Table 1
PR35 8-PIN
SO*
SYMBOL DESCRIPTION
1 2 GND
Ground pin.
2 1 DQ Open drain data input/output pin – 1-Wire operation; Open drain
thermostat output pin –thermostat operation.
3 8 V
DD
Power supply pin.
*All pins not specified in this table are “No Connect” pins.
OVERVIEW
Figure 1 shows a block diagram of the DS1821 and pin descriptions are given in Table 1. The DS1821
can operate as a standalone thermostat with user-programmable trip-points or as 8-bit temperature sensor
with a 1-Wire digital interface. The open-drain DQ pin functions as the thermostat output for thermostat
operation and as the data I/O pin for 1-Wire communications. The 1-Wire interface provides user access
to the nonvolatile (EEPROM) thermostat trip-point registers (T
H
and T
L
), the status/configuration register,
and the temperature register.
When configured as standalone thermostat, temperature conversions start immediately at power-up. In
this mode, the DQ pin becomes active when the temperature of the DS1821 exceeds the limit
programmed into the T
H
register, and remains active until the temperature drops below the limit
programmed into the T
L
register.
The DS1821 uses Dallas’ exclusive 1-Wire bus protocol that implements bus communication with one
control signal. This system is explained in detail in the 1-Wire BUS SYSTEM section of this datasheet.
DS1821
3 of 18
DS1821 BLOCK DIAGRAM Figure 1
TEMPERATURE SENSOR FUNCTIONALITY
The core functionality of the DS1821 is its proprietary direct-to-digital temperature sensor, which
provides 8-bit (1°C increment) centigrade temperature readings over the range of -55°C to +125°C.
A block diagram of the temperature measurement circuitry is shown in Figure 2. This circuit measures
the temperature by counting the number of clock cycles generated by an oscillator with a low temperature
coefficient (temp-co) during a gate period determined by a high temp-co oscillator. The low temp-co
counter is preset with a base count that corresponds to –55°C. If the counter reaches 0 before the gate
period is over, the temperature register, which is preset to –55°C, is incremented by one degree, and the
counter is again preset with a starting value determined by the slope accumulator circuitry. The preset
counter value is unique for every temperature increment and compensates for the parabolic behavior of
the oscillators over temperature.
At this time, the counter is clocked again until it reaches 0. If the gate period is not over when the counter
reaches 0, the temperature register is incremented again. This process of presetting the counter, counting
down to zero, and incrementing the temperature register is repeated until the counter takes less time to
reach zero than the duration of the gate period of the high temp-co oscillator. When this iterative process
is complete, the value in the temperature register will indicate the centigrade temperature of the device.
V
DD
4.7K
DQ
GND
TH RE
G
I
S
TER
TL RE
I
TER
CONFIGURATION REGISTER
A
ND CONTROL LOGIC
TEMPERAT
U
RE
S
EN
SO
R
1-WIRE
INTERFACE
AND
I/O CONTROL
V
DD
POWER
SUPPLY
SENSE
DIGITAL
COMPARATOR/
LOGIC
DS1821
123456NEXT