dsPICPRO User
’
s Manual
M I K R O E L E K T R O N I K A S O F T W A R E A N D H A R D W A R E S O L U T I O N S F O R T H E E M B E D D E D W O R L D
29
page
MikroElektronika
Development
tools
dsPICPRO
2.0
USB
D
IG
IT
A
L
TT
H
E
R
M
O
M
E
T
E
R
DD
S
1
8
2
0
The DS1820 digital thermometer is
well suited to environmental tempera-
ture measurement, having a tempera-
ture range of -55C to 125C and an
accuracy of +/-0.5C. It must be placed
correctly in the 3-pin socket provided
on the dsPICPRO, with its rounded side
to the bottom, as marked on the board.
Otherwise the DS1820 could be perma-
nently damaged. In order to work,
DS1820 must be connected to micro-
controller’s RD6 pin, by enabling
switch 1 on
SW3
.
DS1820
VCC
125 C
-50 C
VCC
GND
R23
10K
VCC
DQ
VCC
RG15
RC1
RC2
RC3
RC4
RG6
RG7
RG8
MCLR
RG9
Vss
Vdd
RA12
RA13
RB5
RB4
RB3
RB2
RB1
RB0
RC14
RC13
RD0
RD11
RD10
RD9
RD8
RA15
Vss
OSC2
OSC1/CLKI
Vdd
RG2
RG3
RF6
RF7
RF8
RF2
RF3
RB6
RB7
RA9
RA10
A
Vdd
A
Vss
RB8
RB9
RB1
1
Vss
Vdd
RB12
RB13
RB14
RB15
RD14
RD15
RF4
RF5
RG13
RG12
RG14
RA7
RA6
RG0
RG1
RF1
Vdd
Vss
RD7
RD6
RD5
RD4
RD13
RD12
RD3
RD2
RD1
dsPIC30FXXXX
RF0
RB10
RA14
1
ON
8
7
6
5
4
3
2
SW3
There is a mark in
the form of half-circle
for proper orientation
of DS1820 sensor.
DS1820 DIGITAL THERMOMETER
Figure 33.
Figure 34.
DS1820
DS1820 Schematic