These are stress ratings 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.
DC Electrical Characteristics
(V
DD
= 3.0V to 5.5V, T
A
= -55°C to +125°C, unless otherwise noted.)
PARAMETER
Supply Voltage
Pullup Supply Voltage
Thermometer Error
Input Logic-Low
Input Logic-High
Sink Current
Standby Current
Active Current
DQ Input Current
Drift
SYMBOL
V
DD
V
PU
t
ERR
V
IL
V
IH
I
L
I
DDS
I
DD
I
DQ
CONDITIONS
Local Power (Note 1)
Parasite Power
Local Power
-10°C to +85°C
-55°C to +125°C
(Note 1, 4, 5)
Local Power
Parasite Power
V
I/O
= 0.4V (Note 1)
(Note 7, 8)
V
DD
= 5V (Note 9)
(Note 10)
(Note 11)
(Note 1, 6)
(Note 1, 2)
(Note 3)
-0.3
+2.2
+3.0
4.0
750
1
5
±0.2
1000
1.5
MIN
+3.0
+3.0
+3.0
TYP
MAX
+5.5
+5.5
V
DD
±0.5
±2
+0.8
The lower of
5.5 or V
DD
+ 0.3
UNITS
V
V
°C
V
V
mA
nA
mA
µA
°C
Note 1:
All voltages are referenced to ground.
Note 2:
The Pullup Supply Voltage specification assumes that the pullup device is ideal, and therefore the high level of the pul-
lup is equal to V
PU
. In order to meet the V
IH
spec of the DS18S20, the actual supply rail for the strong pullup transistor
must include margin for the voltage drop across the transistor when it is turned on; thus: V
PU_ACTUAL
= V
PU_IDEAL
+
V
TRANSISTOR
.
Note 3:
See typical performance curve in
Figure 1.
Note 4:
Logic-low voltages are specified at a sink current of 4mA.
Note 5:
To guarantee a presence pulse under low voltage parasite power conditions, VILMAX may have to be reduced to as
low as 0.5V.
Note 6:
Logic-high voltages are specified at a source current of 1mA.
Note 7:
Standby current specified up to +70°C. Standby current typically is 3µA at +125°C.
Note 8:
To minimize I
DDS
, DQ should be within the following ranges: GND ≤ DQ ≤ GND + 0.3V or V
DD
– 0.3V ≤ DQ ≤ V
DD
.
Note 9:
Active current refers to supply current during active temperature conversions or EEPROM writes.
Note 10:
DQ line is high (“high-Z” state).
Note 11:
Drift data is based on a 1000-hour stress test at +125°C with V
DD
= 5.5V.
www.maximintegrated.com
Maxim Integrated
│
2
DS18S20
High-Precision 1-Wire Digital Thermometer
DS18S20 TYPICAL ERROR CURVE
0.5
0.4
THERMOMETER ERROR (°C)
0.3
0.2
0.1
0
-0.1
-0.2
-0.3
-0.4
-0.5
0
MEAN ERROR
+3s ERROR
-3s ERROR
10
20
30
40
50
60
70
TEMPERATURE (°C)
Figure 1. Typical Performance Curve
AC Electrical Characteristics—NV Memory
(V
DD
= 3.0V to 5.5V, T
A
= -55°C to +100°C, unless otherwise noted.)
PARAMETER
NV Write Cycle Time
EEPROM Writes
EEPROM Data Retention
SYMBOL
t
WR
N
EEWR
t
EEDR
-55°C to +55°C
-55°C to +55°C
50k
10
CONDITIONS
MIN
TYP
2
MAX
10
UNITS
ms
writes
years
AC Electrical Characteristics
(V
DD
= 3.0V to 5.5V; T
A
= -55°C to +125°C, unless otherwise noted.)
PARAMETER
Temperature Conversion Time
Time to Strong Pullup On
Time Slot
Recovery Time
Write 0 Low Time
Write 1 Low Time
Read Data Valid
Reset Time High
Reset Time Low
Presence-Detect High
Presence-Detect Low
Capacitance
SYMBOL
t
CONV
t
SPON
t
SLOT
t
REC
t
LOW0
t
LOW1
t
RDV
t
RSTH
t
RSTL
t
PDHIGH
t
PDLOW
C
IN/OUT
(Note 12)
Start Convert T Command Issued
(Note 12)
(Note 12)
(Note 12)
(Note 12)
(Note 12)
(Note 12)
(Note 12, 13)
(Note 12)
(Note 12)
480
480
15
60
60
240
25
60
1
60
1
120
15
15
CONDITIONS
MIN
TYP
MAX
750
10
120
UNITS
ms
µs
µs
µs
µs
µs
µs
µs
µs
µs
µs
pF
Note 12:
See the timing diagrams in
Figure 2.
Note 13:
Under parasite power, if t
RSTL
> 960µs, a power-on reset may occur.
www.maximintegrated.com
Maxim Integrated
│
3
DS18S20
High-Precision 1-Wire Digital Thermometer
1-Wire WRITE ZERO TIME SLOT
t
REC
t
SLOT
START OF NEXT CYCLE
t
LOW0
1-Wire READ ZERO TIME SLOT
t
SLOT
t
REC
START OF NEXT CYCLE
t
RDV
1-Wire RESET PULSE
RESET PULSE FROM HOST
t
RSTL
t
RSTH
1-Wire PRESENCE DETECT
PRESENCE DETECT
t
PDHIGH
t
PDLOW
Figure 2. Timing Diagrams
Pin Description
PIN
TO-92
1
2
3
—
SO
5
4
3
1, 2, 6, 7, 8
NAME
GND
DQ
V
DD
N.C.
Ground
Data Input/Output. Open-drain 1-Wire interface pin. Also provides power to the
device when used in parasite power mode (see the
Powering the DS18S20
section.)
Optional V
DD
. V
DD
must be grounded for operation in parasite power mode.
No Connection
FUNCTION
www.maximintegrated.com
Maxim Integrated
│
4
DS18S20
High-Precision 1-Wire Digital Thermometer
Overview
Figure 3
shows a block diagram of the DS18S20, and
pin descriptions are given in the
Pin Description
table.
The 64-bit ROM stores the device’s unique serial code.
The scratchpad memory contains the 2-byte temperature
register that stores the digital output from the temperature
sensor. In addition, the scratchpad provides access to the
1-byte upper and lower alarm trigger registers (T
H
and
T
L
). The T
H
and T
L
registers are nonvolatile (EEPROM),
so they will retain data when the device is powered down.
The DS18S20 uses Maxim’s exclusive 1-Wire bus proto-
col that implements bus communication using one control
signal. The control line requires a weak pullup resistor
since all devices are linked to the bus via a 3-state or
open-drain port (the DQ pin in the case of the DS18S20).
In this bus system, the microprocessor (the master
device) identifies and addresses devices on the bus
using each device’s unique 64-bit code. Because each
device has a unique code, the number of devices that
can be addressed on one bus is virtually unlimited. The
1-Wire bus protocol, including detailed explanations of the
commands and “time slots,” is covered in the
1-Wire Bus
System
section.
Another feature of the DS18S20 is the ability to operate
without an external power supply. Power is instead sup-
plied through the 1-Wire pullup resistor via the DQ pin
when the bus is high. The high bus signal also charges an
internal capacitor (C
PP
), which then supplies power to the
device when the bus is low. This method of deriving power
from the 1-Wire bus is referred to as “parasite power.” As
an alternative, the DS18S20 may also be powered by an
external supply on V
DD
.
Operation—Measuring Temperature
The core functionality of the DS18S20 is its direct-to-dig-
ital temperature sensor. The temperature sensor output
has 9-bit resolution, which corresponds to 0.5°C steps.
The DS18S20 powers-up in a low-power idle state; to
initiate a temperature measurement and A-to-D conver-
sion, the master must issue a Convert T [44h] command.
Following the conversion, the resulting thermal data is
stored in the 2-byte temperature register in the scratch-
pad memory and the DS18S20 returns to its idle state.
If the DS18S20 is powered by an external supply, the
master can issue “read-time slots” (see the
1-Wire Bus
System
section) after the Convert T command and the
DS18S20 will respond by transmitting 0 while the tem-
perature conversion is in progress and 1 when the con-
version is done. If the DS18S20 is powered with parasite
power, this notification technique cannot be used since
the bus must be pulled high by a strong pullup during the
entire temperature conversion. The bus requirements for
I have just started to learn embedded systems and I feel that the leap is huge. Some start with hardware design and use assembly and C to program a single-chip microcomputer. Some very complex hardwar...
I don't have any C language foundation. I learned microcontrollers by myself out of interest. According to the timing diagram of 1302 and my own understanding, I wrote the following program. Please he...
1. This is a discrete convolution algorithm. Since digital images are represented in the form of discrete pixels, the essence of digital image processing is the processing of discrete numbers.2. The s...
The TPS55340 is a monolithic synchronous switching regulator with integrated 5-A, 40-V power switch. It can be configured in several standard switching regulator topologies, including boost, SEPIC and...
I now need to fetch 16 data from sdram and store them in a 16-depth array, and then use the fourth number of the array as the basis for setting the working mode. The programming method is shown in the...
1. Overview
Will passive devices
produce nonlinear intermodulation distortion? The answer is yes! Although there is no systematic theoretical analysis, it has been found in engineerin...[Details]
1. Introduction
Since the 1980s, with the continuous development of automotive electronic technology, there are more and more electronic control units in automobiles, such as electronic fuel i...[Details]
Remote keyless entry (RKE) systems have become popular with users, with more than 80% of new cars in North America and more than 70% in Europe equipped with RKE systems. In addition to the obvious ...[Details]
introduction
MEMS is a high-tech that has flourished on the basis of integrated circuit production technology and dedicated micro-electromechanical processing methods. Pressure sensors develop...[Details]
The serial interface real-time clock chip DS1302 launched by Dallas Company in the United States can trickle charge the backup battery of the clock chip. Due to the main features of the chip such a...[Details]
Liquid crystal display (LCD) panels have a wide range of applications, from small portable electronic devices to large fixed devices, including digital cameras, laptops, personal data assistants, d...[Details]
0 Introduction
There are many types of sensors, and the working principles, measurement targets and measurement environments of different types of sensors vary greatly. The corresponding detection s...[Details]
When the so-called "copycat phones" that flood the domestic mobile phone market move towards large screens, stereo amplifiers, touch controls, and even GPS navigation and mobile TV, the homogeneity...[Details]
The demand for improved healthcare environments is endless, so medical imaging equipment with higher resolution is needed to better observe the human body. High resolution brings problems with sign...[Details]
1 Overview
In the field of traditional lighting, the concepts and definitions of lamps and lamps are clear. Lamps and lamps have their own applicable product standards, supporting technical st...[Details]
Battery clamps, commonly known as battery connectors, come in two sizes depending on the thickness of the battery terminals. One is the battery clamp used on thick terminals, with a positive termin...[Details]
Electrostatic coupling and interference occur when a charged object is close to the input of the circuit being measured. At low impedance, the effects of interference are not noticeable because th...[Details]
At present, with the diversification of portable products and the almost harsh requirements for audio and video parts, the power consumption requirements of the whole machine have been raised to a ...[Details]
It should be understood as follows: DC-DC means direct current to direct current (conversion of different DC power values). Anything that meets this definition can be called a DC-DC converter, incl...[Details]
1 Introduction
Power supply ripple will interfere with the normal operation of electronic equipment, causing malfunctions such as computer crashes, data processing errors and control system fa...[Details]