§ Measures temperatures from -55°C to +125°C
in 0.5°C increments; Fahrenheit equivalent is
-67°F to +257°F in 0.9°F increments
§ Temperature is read as a 9-bit value
§ Converts temperature to digital word in 750
ms (max)
§ Thermostatic settings are user-definable and
nonvolatile
§ Data is read from/written via a 3-wire serial
interface (CLK, DQ, RST )
§ Applications include thermostatic controls,
industrial systems, consumer products,
thermometers, or any thermally sensitive
system
§ 8-pin DIP or SOIC (208-mil) packages
PIN ASSIGNMENT
CLK/CONV
DQ
RST
GND
DS1620S 8-Pin SOIC (208-mil)
CLK/CONV
DQ
RST
GND
1
3
1
3
DS1620 8-Pin DIP (300-mil)
7
6
7
6
V
T
T
T
V
T
T
T
DD
HIGH
LOW
COM
DD
HIGH
LOW
COM
PIN DESCRIPTION
DQ - 3-Wire Input/Output
CLK/CONV - 3-Wire Clock Input and
Stand-alone Convert Input
RST - 3-Wire Reset Input
GND - Ground
T
- High Temperature Trigger
HIGH
T
- Low Temperature Trigger
LOW
T
- High/Low Combination Trigger
COM
VDD - Power Supply Voltage (3V - 5V)
DESCRIPTION
The DS1620 Digital Thermometer and Thermostat provides 9–bit temperature readings which indicate
the temperature of the device. With three thermal alarm outputs, the DS1620 can also act as a thermostat.
T
is driven high if the DS1620’s temperature is greater than or equal to a user–defined temperature
HIGH
TH. T
TL. T
below that of TL.
1 of 12 053105
is driven high if the DS1620’s temperature is less than or equal to a user–defined temperature
LOW
is driven high when the temperature exceeds TH and stays high until the temperature falls
COM
DS1620
User–defined temperature settings are stored in nonvolatile memory, so parts can be programmed prior to
insertion in a system, as well as used in standalone applications without a CPU. Temperature settings and
temperature readings are all communicated to/from the DS1620 over a simple 3–wire interface.
Note: A “+” symbol will also be marked on the package near the Pin 1 indicator
DETAILED PIN DESCRIPTION Table 1
PIN SYMBOL DESCRIPTION
1 DQ Data Input/Output pin for 3-wire communication port.
2
CLK/CONV
Clock input pin for 3-wire communication port. When the DS1620 is used in a
stand-alone application with no 3–wire port, this pin can be used as a convert
pin. Temperature conversion will begin on the falling edge of CONV .
3
RST
4 GND
5 T
High/Low Combination Trigger. Goes high when temperature exceeds TH;
COM
Reset input pin for 3-wire communication port.
Ground pin.
will reset to low when temperature falls below TL.
6 T
7 T
Low Temperature Trigger. Goes high when temperature falls below TL.
LOW
High Temperature Trigger. Goes high when temperature exceeds TH.
HIGH
8 VDD Supply Voltage. 2.7V – 5.5V input power pin.
Table 2. DS1620 REGISTER SUMMARY
REGISTER NAME
(USER ACCESS)
Temperature
(Read Only)
T
H
(Read/Write)
T
L
(Read/Write)
SIZE
9 Bits SRAM
9 Bits EEPROM
9 Bits EEPROM
MEMORY
TYPE
AND POWER-UP/POR STATE
Measured Temperature (Two’s Complement)
Power-Up/POR State: -60ºC (1 1000 1000)
Upper Alarm Trip Point (Two’s Complement)
Power-Up/POR State: User-Defined.
Initial State from Factory: +15°C (0 0001 1110)
Lower Alarm Trip Point (Two’s Complement)
Power-Up/POR State: User-Defined.
Initial State from Factory: +10°C (0 0001 0100)
OPERATION-MEASURING TEMPERATURE
A block diagram of the DS1620 is shown in Figure 1.
. .
REGISTER CONTENTS
2 of 12
DS1620
XXXXXXX
DS1620 FUNCTIONAL BLOCK DIAGRAM Figure 1
The DS1620 measures temperature using a bandgap-based temperature sensor. The temperature reading
is provided in a 9–bit, two’s complement reading by issuing a READ TEMPERATURE command. The
data is transmitted serially through the 3–wire serial interface, LSB first. The DS1620 can measure
temperature over the range of -55°C to +125°C in 0.5°C increments. For Fahrenheit usage, a lookup table
or conversion factor must be used.
Since data is transmitted over the 3–wire bus LSB first, temperature data can be written to/read from the
DS1620 as either a 9–bit word (taking RST low after the 9th (MSB) bit), or as two transfers of 8–bit
words, with the most significant 7 bits being ignored or set to 0, as illustrated in Table 3. After the MSB,
the DS1620 will output 0s.
Note that temperature is represented in the DS1620 in terms of a ½°C LSB, yielding the 9–bit format
shown in Figure 2.
TEMPERATURE, TH, and TL REGISTER FORMAT Figure 2
MSB
1
T = -25°C
LSB
11001 1 10
3 of 12
DS1620
Table 3 describes the exact relationship of output data to measured temperature.
.
TEMPERATURE/DATA RELATIONSHIPS Table 3
TEMP DIGITAL OUTPUT
(Binary)
+125˚C 0 11111010 00FA
+25˚C 0 00110010 0032h
+½˚C 0 00000001 0001h
+0˚C 0 00000000 0000h
-½˚C 1 11111111 01FFh
-25˚C 1 11001110 01CEh
-55˚C 1 10010010 0192h
Higher resolutions may be obtained by reading the temperature, and truncating the 0.5°C bit (the LSB)
from the read value. This value is TEMP_READ. The value left in the counter may then be read by
issuing a READ COUNTER command. This value is the count remaining (COUNT_REMAIN) after the
gate period has ceased. By loading the value of the slope accumulator into the count register (using the
READ SLOPE command), this value may then be read, yielding the number of counts per degree C
(COUNT_PER_C) at that temperature. The actual temperature may be then be calculated by the user
using the following:
TEMPERATURE=TEMP_READ-0.25 +
DIGITAL OUTPUT
(Hex)
IN)COUNT_REMA-_C(COUNT_PER
CCOUNT_PER_
OPERATION–THERMOSTAT CONTROLS
Three thermally triggered outputs, T
as a thermostat, as shown in Figure 3. When the DS1620’s temperature meets or exceeds the value stored
in the high temperature trip register, the output T
DS1620’s measured temperature becomes less than the stored value in the high temperature register, TH.
The T
output can be used to indicate that a high temperature tolerance boundary has been met or
HIGH
exceeded, or it can be used as part of a closed loop system to activate a cooling system and deactivate it
when the system temperature returns to tolerance.
The T
output functions similarly to the T
LOW
equals or falls below the value stored in the low temperature register, the T
T
remains active until the DS1620’s temperature becomes greater than the value stored in the low
LOW
temperature register, TL. The T
LOW
boundary has been met or exceeded, or as part of a closed loop system it can be used to activate a heating
system and deactivate it when the system temperature returns to tolerance.
The T
output goes high when the measured temperature meets or exceeds TH, and will stay high until
COM
the temperature equals or falls below TL. In this way, any amount of hysteresis can be obtained.
, T
HIGH
output can be used to indicate that a low temperature tolerance
LOW
, and T
HIGH
output. When the DS1620’s measured temperature
HIGH
, are provided to allow the DS1620 to be used
COM
becomes active (high) and remains active until the
output becomes active.
LOW
4 of 12
DS1620
THERMOSTAT OUTPUT OPERATION Figure 3
T
T
T
HIGH
LOW
COM
TL
TH
T(°C)
OPERATION AND CONTROL
The DS1620 must have temperature settings resident in the TH and TL registers for thermostatic
operation. A configuration/status register also determines the method of operation that the DS1620 will
use in a particular application and indicates the status of the temperature conversion operation. The
configuration register is defined as follows:
CONFIGURATION/STATUS REGISTER
DONE THF TLF NVB 1 0 CPU 1SHOT
where
DONE = Conversion Done Bit. 1=conversion complete, 0=conversion in progress. The power-up/POR
state is a 1.
THF = Temperature High Flag. This bit will be set to 1 when the temperature is greater than or equal
to the value of TH. It will remain 1 until reset by writing 0 into this location or by removing power from
the device. This feature provides a method of determining if the DS1620 has ever been subjected to
temperatures above TH while power has been applied. The power-up/POR state is a 0.
TLF = Temperature Low Flag. This bit will be set to 1 when the temperature is less than or equal to
the value of TL. It will remain 1 until reset by writing 0 into this location or by removing power from the
device. This feature provides a method of determining if the DS1620 has ever been subjected to
temperatures below TL while power has been applied. The power-up/POR state is a 0.
NVB = Nonvolatile Memory Busy Flag. 1=write to an E
memory is not busy. A copy to E
2
may take up to 10 ms. The power-up/POR state is a 0.
2
memory cell in progress. 0=nonvolatile
CPU = CPU Use Bit. If CPU=0, the CLK/
CONV pin acts as a conversion start control, when RST is
low. If CPU is 1, the DS1620 will be used with a CPU communicating to it over the 3–wire port, and the
operation of the CLK/ CONV pin is as a normal clock in concert with DQ and RST . This bit is stored in
2
nonvolatile E
memory, capable of at least 50,000 writes. The DS1620 is shipped with CPU=0.
5 of 12
DS1620
1SHOT = One–Shot Mode. If 1SHOT is 1, the DS1620 will perform one temperature conversion upon
reception of the Start Convert T protocol. If 1SHOT is 0, the DS1620 will continuously perform
temperature conversion. This bit is stored in nonvolatile E
2
memory, capable of at least 50,000 writes. The
DS1620 is shipped with 1SHOT=0.
For typical thermostat operation, the DS1620 will operate in continuous mode. However, for applications
where only one reading is needed at certain times or to conserve power, the one–shot mode may be used.
Note that the thermostat outputs (T
HIGH
, T
LOW
, T
) will remain in the state they were in after the last
COM
valid temperature conversion cycle when operating in one–shot mode.
OPERATION IN STAND–ALONE MODE
In applications where the DS1620 is used as a simple thermostat, no CPU is required. Since the
temperature limits are nonvolatile, the DS1620 can be programmed prior to insertion in the system. In
order to facilitate operation without a CPU, the CLK/ CONV pin (pin 2) can be used to initiate
conversions. Note that the CPU bit must be set to 0 in the configuration register to use this mode of
operation. Whether CPU=0 or 1, the 3–wire port is active. Setting CPU=1 disables the stand–alone mode.
To use the CLK/ CONV pin to initiate conversions, RST must be low and CLK/ CONV must be high. If
CLK/CONV is driven low and then brought high in less than 10 ms, one temperature conversion will be
performed and then the DS1620 will return to an idle state. If CLK/ CONV is driven low and remains low,
continuous conversions will take place until CLK/ CONV is brought high again. With the CPU bit set to 0,
the CLK/ CONV will override the 1SHOT bit if it is equal to 1. This means that even if the part is set for
one–shot mode, driving CLK/ CONV low will initiate conversions.
3–WIRE COMMUNICATIONS
The 3–wire bus is comprised of three signals. These are the RST (reset) signal, the CLK (clock) signal,
and the DQ (data) signal. All data transfers are initiated by driving the RST input high. Driving the RST
input low terminates communication. (See Figures 4 and 5.) A clock cycle is a sequence of a falling edge
followed by a rising edge. For data inputs, the data must be valid during the rising edge of a clock cycle.
Data bits are output on the falling edge of the clock and remain valid through the rising edge.
When reading data from the DS1620, the DQ pin goes to a high-impedance state while the clock is high.
Taking
RST low will terminate any communication and cause the DQ pin to go to a high-impedance
state.
Data over the 3–wire interface is communicated LSB first. The command set for the 3–wire interface as
shown in Table 4 is as follows.
Read Temperature [AAh]
This command reads the contents of the register which contains the last temperature conversion result.
The next nine clock cycles will output the contents of this register.
Write TH [01h]
This command writes to the TH (HIGH TEMPERATURE) register. After issuing this command the next
nine clock cycles clock in the 9–bit temperature limit which will set the threshold for operation of the
T
output.
HIGH
6 of 12
DS1620
Write TL [02h]
This command writes to the TL (LOW TEMPERATURE) register. After issuing this command the next
nine clock cycles clock in the 9–bit temperature limit which will set the threshold for operation of the
T
output.
LOW
Read TH [A1h]
This command reads the value of the TH (HIGH TEMPERATURE) register. After issuing this command
the next nine clock cycles clock out the 9–bit temperature limit which sets the threshold for operation of
the T
HIGH
output.
Read TL [A2h]
This command reads the value of the TL (LOW TEMPERATURE) register. After issuing this command
the next nine clock cycles clock out the 9–bit temperature limit which sets the threshold for operation of
the T
LOW
output.
Read Counter [A0h]
This command reads the value of the counter byte. The next nine clock cycles will output the contents of
this register.
Read Slope [A9h]
This command reads the value of the slope counter byte from the DS1620. The next nine clock cycles
will output the contents of this register.
Start Convert T [EEh]
This command begins a temperature conversion. No further data is required. In one–shot mode the
temperature conversion will be performed and then the DS1620 will remain idle. In continuous mode this
command will initiate continuous conversions.
Stop Convert T [22h]
This command stops temperature conversion. No further data is required. This command may be used to
halt a DS1620 in continuous conversion mode. After issuing this command the current temperature
measurement will be completed and then the DS1620 will remain idle until a Start Convert T is issued to
resume continuous operation.
Write Config [0Ch]
This command writes to the configuration register. After issuing this command the next eight clock cycles
clock in the value of the configuration register.
Read Config [ACh]
This command reads the value in the configuration register. After issuing this command the next eight
clock cycles output the value of the configuration register.
7 of 12
DS1620
DS1620 COMMAND SET Table 4
INSTRUCTION
Read Temperature Reads last converted temperature
Read Counter Reads value of count remaining
Read Slope Reads value of the slope
Start Convert T Initiates temperature conversion. EEh Idle 1
Stop Convert T Halts temperature conversion. 22h Idle 1
Write TH Writes high temperature limit value
Write TL Writes low temperature limit value
Read TH Reads stored value of high
Read TL Reads stored value of low
Write Config Writes configuration data to
Read Config Reads configuration data from
DESCRIPTION
PROTOCOL
TEMPERATURE CONVERSION COMMANDS
AAh <read data>
value from temperature register.
A0h <read data>
from counter.
A9h <read data>
accumulator.
THERMOSTAT COMMANDS
01h <write data> 2
into TH register.
02h <write data> 2
into TL register.
A1h <read data> 2
temperature limit from TH register.
A2h <read data> 2
temperature limit from TL register.
0Ch <write data> 2
configuration register.
ACh <read data> 2
configuration register.
3-WIRE BUS
DATA AFTER
ISSUING
PROTOCOL
NOTES
NOTES:
1. In continuous conversion mode, a Stop Convert T command will halt continuous conversion. To
restart, the Start Convert T command must be issued. In one–shot mode, a Start Convert T command
must be issued for every temperature reading desired.
2. Writing to the E2 requires up to 10 ms at room temperature. After issuing a write command no further
writes should be requested for at least 10 ms.
8 of 12
FUNCTION EXAMPLE
Example: CPU sets up DS1620 for continuous conversion and thermostatic function.
CPU MODE
DS1620 MODE
(3-WIRE)
DATA (LSB FIRST)
COMMENTS
TX RX 0Ch CPU issues Write Config command
TX RX 00h CPU sets DS1620 up for continuous
conversion
TX RX
Toggle RST
CPU issues Reset to DS1620
TX RX 01h CPU issues Write TH command
TX RX 0050h CPU sends data for TH limit of +40˚C
TX RX
Toggle RST
CPU issues Reset to DS1620
TX RX 02h CPU issues Write TL command
TX RX 0014h CPU sends data for TL limit of +10˚C
TX RX
Toggle RST
CPU issues Reset to DS1620
TX RX A1h CPU issues Read TH command
RX TX 0050h DS1620 sends back stored value of TH for
CPU to verify
TX RX
Toggle RST
CPU issues Reset to DS1620
TX RX A2h CPU issues Read TL command
RX TX 0014h DS1620 sends back stored value of TL for
CPU to verify
TX RX
Toggle RST
CPU issues Reset to DS1620
TX RX EEh CPU issues Start Convert T command
TX RX
Drop RST
CPU issues Reset to DS1620
READ DATA TRANSFER Figure 4
DS1620
9 of 12
WRITE DATA TRANSFER Figure 5
N
t
DS1620
OTE:
, tCH, tR, and tF apply to both read and write data transfer.
CL
ABSOLUTE MAXIMUM RATINGS*
Voltage on Any Pin Relative to Ground –0.5V to +6.0V
Operating Temperature –55°C to +125°C
Storage Temperature –55°C to +125°C
Soldering Temperature 260°C for 10 seconds
* This is a stress rating only and functional operation of the device at these or any other conditions above
those indicated in the operation sections of this specification is not implied. Exposure to absolute
maximum rating conditions for extended periods of time may affect reliability.
RECOMMENDED DC OPERATING CONDITIONS
PARAMETER SYMBOL MIN TYP MAX UNITS NOTES
Supply VDD 2.7 5.5 V 1,2
Logic 1 VIH 0.7 x VDD V
+ 0.3 V 1
CC
Logic 0 VIL -0.3 0.3 x VDD V 1
10 of 12
DS1620
DC ELECTRICAL CHARACTERISTICS (-55°C to +125°C; VDD=2.7V to 5.5V)
PARAMETER SYMBOL CONDITION MIN MAX UNITS NOTES
Thermometer Error T
ERR
0°C to +70°C
±0.5
°C
2
3.0V ≤ VDD ≤ 5.5V
0°C to +70°C
±1.25
2.7V ≤ VDD < 3.0V
-55°C to +125°C
±2.0
Thermometer Resolution 12 Bits
Logic 0 Output VOL 0.4 V 4
Logic 1 Output VOH 2.4 V 5
Input Resistance RI
RST to GND
DQ, CLK to VDD
1
1
MW
MW
Active Supply Current ICC 0°C to +70°C 1 mA 6
Standby Supply Current I
Input Current on Each
0°C to +70°C 1.5 µA 6
STBY
0.4 < V
< 0.9 x V
I/O
DD
-10 +10 µA
Pin
Thermal Drift ±0.2 °C 7
SINGLE CONVERT TIMING DIAGRAM (STAND-ALONE MODE)
CONV
t
CNV
AC ELECTRICAL CHARACTERISTICS (-55°C to +125°C; VDD=2.7V to 5.5V)
PARAMETERS SYMBOL MIN TYP MAX UNITS NOTES
Temperature Conversion Time TTC 750 ms
Data to CLK Setup tDC 35 ns 8
CLK to Data Hold t
CLK to Data Delay t
CLK Low Time tCL 285 ns 8
CLK High Time tCH 285 ns 8
CLK Frequency f
CLK Rise and Fall tR, tF 500 ns
RST to CLK Setup
CLK to RST Hold
RST Inactive Time
CLK High to I/O High-Z t
RST Low to I/O High-Z
Convert Pulse Width t
40 ns 8
CDH
150 ns 8, 9, 10
CDD
DC 1.75 MHz 8
CLK
t
100 ns 8
CC
40 ns 8
t
CCH
125 ns 8, 11
t
CWH
50 ns 8
CDZ
t
50 ns 8
RDZ
250 ns 500 ms 12
CNV
11 of 12
DS1620
AC ELECTRICAL CHARACTERISTICS (-55°C to +125°C; VDD=2.7V to 5.5V)
PARAMETER SYMBOL MIN TYP MAX UNITS NOTES
Input Capacitance CI 5 pF
I/O Capacitance C
10 pF
I/O
EEPROM AC ELECTRICAL CHARACTERISTICS
(-55°C to +125°C; V
PARAMETER CONDITIONS MIN TYP MAX UNITS
EEPROM Write Cycle Time 4 10 Ms
EEPROM Writes
EEPROM Data Retention
-55°C to +55°C
-55°C to +55°C
50k Writes
10 Years
=2.7V to 5.5V)
DD
NOTES:
1. All voltages are referenced to ground.
2. Valid for design revisions D1 and above. The supply range for Rev. C2 and below is 4.5V < 5.5V.
3. Thermometer error reflects temperature accuracy as tested during calibration.
4. Logic 0 voltages are specified at a sink current of 4 mA
5. Logic 1 voltages are specified at a source current of 1 mA.
6. I
, ICC specified with DQ, CLK/ CONV = V
STBY
, and RST = GND.
DD
7. Drift data is based on a 1000hr stress test at +125°C with VDD = 5.5V
8. Measured at V
9. Measured at V
= 0.7 x V
IH
= 2.4V or VOL = 0.4V.
OH
DD
or V
= 0.3 x V
IL
DD
.
10. Load capacitance = 50 pF.
11. t
must be 10 ms minimum following any write command that involves the E2 memory.
CWH
12. 250ns is the guaranteed minimum pulse width for a conversion to start; however, a smaller pulse
width may start a conversion.
12 of 12
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.