DS620 Digital Thermometer and Thermostat
7 of 15
THERMOSTAT OPERATION
The PO pin on the DS620 operates as the thermostat output when it is configured as PO
-HIGH
or PO
-LOW
through the
P01 and P02 bits of the configuration register. In both of these configurations, PO is updated after every
temperature conversion or write to the temperature register, and remains at the updated value until the next
conversion or write completes. PO
-HIGH
and PO
-LOW
are active-low and are activated and deactivated based on
user-defined upper and lower trip-points. PO
-HIGH
is activated when the measured temperature meets or exceeds
the value stored in the upper trip-point register (T
H
), and stays active until the temperature meets or falls below the
value stored in the lower trip-point register (T
L
) (see Figure 4a). This allows the user to program any amount of
hysteresis into the output response. Similarly, PO
-LOW
is activated when the measured temperature meets or goes
below the value stored in the low trip-point register (T
L
), and stays active until the temperature meets or exceeds
the value stored in the upper trip-point register (T
H
) (see Figure 4b). The T
H
register is located in address spaces
A0h (MSB) and A1h (LSB) and the T
L
register is located in address spaces A2h (MSB) and A3h (LSB) of the
DS620 memory.
The T
H
and T
L
registers (see Table 1) contain centigrade temperature values in two’s complement format and are
stored in EEPROM; therefore, they are nonvolatile (NV) and can be programmed prior to installation of the DS620
for use in standalone applications. All bits in the T
H
and T
L
registers are used in the comparison to the temperature
value in the temperature register for the thermostat operation, regardless of the number of bits used for the
temperature conversions as decided by the R0 and R1 bits in the configuration register. Therefore, to ensure
proper thermostat operation, any bits not used for the temperature measurement should be set to 0 in the T
H
and
T
L
registers. For example, for 11-bit temperature conversions, bits 3 and 4 in the T
H
and T
L
register should be set to
0 prior to comparison to the measured temperature. (Bits 0 to 2 are automatically set to 0).
Another thermostat feature is the temperature high and low flags (THF and TLF) in the configuration register.
These bits provide a record of whether the temperature has ever been equal to or greater than T
H
or equal to or
less than T
L
at anytime since power up or since the bits were last cleared. If the temperature ever meets or
exceeds the T
H
register value, the THF bit in the configuration register is set to 1, and if the temperature ever
meets or falls below the T
L
value, the TLF bit in the configuration register is set to 1. Once THF or TLF has been
set, it remains set until the power is cycled or it is overwritten with a 0 by the user.
Figure 4. Thermostat Operation
STANDALONE THERMOSTAT OPERATION
The DS620 can function as a standalone thermostat, i.e., it can provide thermostat functionality without requiring
communication with a microcontroller. For standalone thermostat operation, the T
H
, T
L
, and configuration registers
must be programmed to the desired values prior to installation. For standalone operation, the AUTOC bit in the
configuration register must be set to 1 so that measurements begins automatically at power up. This also
configures the A1 pin as an input pin that can trigger a conversion. In addition, PO must be configured as PO
-HIGH
or PO
-LOW
. The 1SHOT bit in the configuration register is used to enable the DS620 to perform continuous
conversions at power up (1SHOT = 0) or a single conversion (one-shot) at power up or upon request (1SHOT = 1).
In one-shot mode, one conversion is performed at power-up and then the device enters a low-power standby state
until A1 is toggled high. The A1 pin must be toggled low and back high again to start another conversion.
a) PO-high
T
L
T
H
Tem
Lo
g
ic 0
Lo
g
ic 1
T
L
T
H
Lo
g
ic 0
Lo
g
ic 1
Tem
b) PO-low
Temp
Temp
DS620 Digital Thermometer and Thermostat
8 of 15
PO PIN
The PO pin is a user-programmable open-drain output, which is configured through the PO1 and PO2 bits in the
configuration register. PO can operate as a thermostat output (PO
-HIGH
or PO
-LOW
), or it can be forced low for control
of peripheral devices. When PO is configured as PO
-HIGH
or PO
-LOW
, this pin operates as described in the
Thermostat Operation section. This pin can be reconfigured at anytime to switch between functions. Table 3
defines the various configuration options for this pin.
Table 3. PO Configuration
Function PO2 PO1
Thermostat Output (PO-high) 1 1
Thermostat Output (PO-low) 1 0
Force PO Low 0 X
EEPROM REGISTERS AND MEMORY MAP
The DS620 has a 14-byte linear address space with registers for temperature, thermostat thresholds, and control
as well as four bytes of user EEPROM for general use. All address space is shadowed by RAM. The DS620
Memory Map is shown in Table 4.
See the Writing to the DS620 and the Reading from the DS620 sections for details in writing to and reading from
the DS620 EEPROM registers and memory map.
Table 4. Memory Map
Address (hex) Description
A0 TH MSB
A1 TH LSB
A2 TL MSB
A3 TL LSB
A4 User
A5 User
A6 User
A7 User
A8 Undefined
A9 Undefined
AA Temperature MSB
AB Temperature LSB
AC Configuration MSB
AD Configuration LSB
CONFIGURATION REGISTER
The configuration register allows the user to program various DS620 options such as conversion resolution,
operating mode, and thermostat capability. It also provides information to the user about conversion status,
EEPROM activity, device address, and thermostat activity. The configuration register is arranged as shown in
Figure 5 and detailed descriptions of each bit are provided in Table 5. It is located in address spaces ACh (MSB)
and ADh (LSB) in the DS620 memory. Note that the R0, R1, AUTOC, 1SHOT, and PO1 bits are stored in
EEPROM so they can be programmed prior to installation if desired. All other configuration bits are SRAM and
power up in the state shown in Table 5.
DS620 Digital Thermometer and Thermostat
9 of 15
Figure 5. Configuration Register
Address ACh
bit 15 bit 14 bit 13 bit 12 bit 11 bit 10 bit 9 bit 8
MS Byte
DONE NVB THF TLF R1
*
R0
*
AUTOC
*
1SHOT
*
Address ADh
bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0
LS Byte
PO2 PO1
*
A2 A1 A0 M* M* M*
*
Stored in EEPROM
Table 5. Configuration Register Bit Descriptions
Bit Name User Access Functional Description
DONE
Read Only
At power-up, DONE = 1. (Unless AUTOC = 1)
DONE = 0—Temperature conversion is in progress.
DONE = 1—Temperature conversion is complete.
NVB
Read Only
At power-up, NVB = 0
NVB = 1—Write to an E
2
memory cell is in progress
NVB = 0—Nonvolatile memory is not busy.
THF
Read/Write
At power-up, THF = 0
THF = 1—The measured temperature has reached or exceeded the value
stored in the T
H
register at anytime since power-up or since the bit was last
cleared. THF remains a 1 until the power is cycled or it is overwritten with a
0 by the user.
TLF
Read/Write
At power-up, TLF = 0
TLF = 1—The measured temperature has met or fallen below the value
stored in the T
L
register at anytime since power-up or since the bit was last
cleared. TLF remains a 1 until the power is cycled or it is overwritten with a
0 by the user.
R1
*
Read/Write
Used to set conversion resolution (see Table 6).
Factory state = 1
R0
*
Read/Write
Used to set conversion resolution (see Table 6).
Factory state = 1
AUTOC
*
Read/Write
Determines whether the DS620 powers up idle or converting.
Factory state = 0
AUTOC = 1—DS620 powers-up converting temperature.
AUTOC = 0—DS620 powers-up idle.
1SHOT
*
Read/Write
Configures temperature conversion mode. Factory state = 0
1SHOT = 1: One-shot mode
For AUTOC = 0, the device powers up idle The Start Convert
command causes a single temperature conversion and then the
device returns to a low-power standby state.
If AUTOC = 1, the A1 pin is reconfigured as a conversion trigger for
standalone operation and the device powers up and performs 1
conversion. Single conversions can be initiated using the Start
Convert command or by toggling A1 high.
1SHOT = 0: Continuous conversion mode
For AUTOC = 0, the Start Convert command initiates continuous
conversions.
For AUTOC = 1, the device powers up performing continuous
conversions. Note: Changing the 1SHOT bit to 1 while continuous
conversions are in progress does not stop the conversions. A Stop
Convert command must first be issued after which one-shot

DS620U+

Mfr. #:
Manufacturer:
Maxim Integrated
Description:
Board Mount Temperature Sensors Low-Voltage .5+/-C
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union

Products related to this Datasheet