User Manual
Hexiwear Workstation
Page 25
DS1820 Digital
Temperature
Sensor
Enabling DS1820 Sensor
Hexiwear Workstation off ers 1-Wire
®
communication between DS1820
and the microcontroller over G0.3 or G4.5 pins. The selection of either
of those two lines is done using J2 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. The sensor may become
permanently damaged if it is not properly connected. It is a good practice
to turn off all unused peripherals that can interfere with the sensor, such
as pull-up/pull-down resistors, LEDs, and other devices that could share
the 1-Wire
®
communication line with the DS1820 sensor.
DS1820 is a digital temperature sensor that uses 1-Wire
®
interface for its operation. It
is capable of measuring temperatures within the range of -55 to 128°C, and provides
±0.5°C accuracy for temperatures within the range of -10 to 85°C. It is powered by the
3.3V power rail of the Hexiwear Workstation board. It takes maximum of 750ms for the
DS1820 to calculate temperature with 9-bit resolution. 1-Wire
®
serial communication
allows data to be transferred over a single communication line. The main advantage
of such communication is that only a single pin is used. It is possible to connect
multiple sensors on the same 1-Wire
®
line. All slave devices by default have a unique
ID code, which enables the master to easily identify all slave devices sharing the same
line. Board provides a separate socket (TS1) for the DS1820. Communication line is
selected with the J2 jumper (Figure 26).
OTHER MODULES
R3
1k
VCC-3V3
3
2
1
TS1
DS1820
J2
G4.5
G0.3
DATA BUS
Figure 26: DS1820 with
the schematic