Datasheet

20
Easy24-33 v6 Development System
MikroElektronika
page
Figure 16-1: DS1820
connector (DS1820 is
not placed)
Figure 16-2: J7 in RB9
position (DS1820 is
connected to the RB9
pin)
Figure 16-3: J7 in RB8
position (DS1820 is
connected to the RB8
pin)
NOTE:
Make sure that half-circle on the
board matches the round side of
the DS1820
16.0. DS1820 Temperature Sensor
1-wire® serial communication enables data to be transferred over one single communication line while the process itself is under control
of the master device. The advantage of such communication is that only one microcontroller pin is used. All slave devices have by
default a unique ID code, which enables the master device to easily identify all devices sharing the same communication interface.
The DS1820 is a temperature sensor that communicates with the microcontroller via the 1-wire communication. It is capable of
measuring temperatures within the range of -55 to 125°C and provides ±0.5°C accuracy for temperatures within the range of -10 to
85°C. A power supply voltage of 3.3V is required for its operation. It takes maximum 750ms for the DS1820 to calculate temperature
with a 9-bit resolution. The Easy24-33 v6 development system provides a separate socket for the DS1820. It may use either RB8
or RB9 pin for communication with the microcontroller. Pins to be used for 1-wire communication are selected by jumper J7. In the
example in Figure 16-4, the RB9 pin is used for 1-wire communication with the microcontroller.
Figure 16-4: DS1820 temperature sensor and microcontroller connection schematic
Jumper J7 is placed in the RB9 position