User`s guide

DS1820 is a digital tempera-
ture sensor that uses 1-wir
interface for it’s operation. It is
capable of measuring temperatures
within the range of -55 to 12C,
and provides ±0.5°C accuracy for
temperatures within the range of -10 to
85°C. It requires 3V to 5.5V power supply
for stable operation. It takes maximum
of 750ms for the DS1820 to calculate
temperature with 9-bit resolution.
1-wire® serial communication ena-
bles data to be transfered over a single
communication line, while the process
itself is under the control of the master
microcontroller. The advantage of
such communication is that only one
microcontroller pin is used. Multiple
sensors can be connected on the same
line. All slave devices by default have
a unique ID code, which enables the
master device to easily identify all
devices sharing the same interface.
Board provides a separate socket (TS1)
for the DS1820. Communication line
with the microcontroller is selected with
jumper J8.
DS1820 - Digital
Temperature Sensor
page 34
DATA BUS
VCC-3.3V
R25
1K5
J8
PB7
PD4
EasyMx PRO
v7 enables you to establish 1-wire® communication between
DS1820 and the microcontroller over PB7 or PD4 pins. The selection of either
of those two lines is done using J8 jumper. When placing the sensor in the socket
make sure that half-circle on the board’s silkscreen markings matches the rounded
part of the DS1820 sensor. If you accidently connect the sensor the other way, it
may be permanently damaged and you might need to replace it with another one.
During the readings of the sensor, make sure that no other device (except those in
1-wire network) uses the selected line, because it may interfere with the data.
Figure 20-1:
DS1820 not
connected
Figure 20-2:
DS1820
placed in
socket
Figure 20-3:
DS1820
connected
to PD4 pin
Figure 20-4:
DS1820
connected
to PB7 pin
Figure 20-5: DS1820 connected to PD4 pin
Enabling DS1820 Sensor
1 2 3 4
other modules
EasyMx PRO
v7