Datasheet

Page 30
Page 31
0
9
8
7
4
3
58
57
56
55
54
53
52
6
6
5
2
3
4
5
7
0
9
8
9
11
12
2
72
69
68
67
66
65
64
63
4
3
78
77
24
23
18
17
16
15
14
13
5
6
7
8
10
79
80
1
2
22
21
20
19
62
61
60
59
8
9
0
1
7
71
1
51
70
6
25
76
75
74
73
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
10
U1
VCC-3.3
VREF-1.8
C30
22pF
C31
22pF
X3 32.768KHz
C2
22pF
C1
22pF
X1 8MHz
E9
10uF
CLKO
CLKI
SOSCO
SOSCI
SDA2-RA3
SCL2-RA2
3
2
2
2
3
3
4
3
3
4
4
4
4
3
5
4
4
3
3
3
4
4
4
3
2
dsPIC33EP512MU810
0
RB11
RB10
RB9
RB8
RB13
RB12
RE7
RC1
RC2
RC3
ASDA1/RA15
D+/RG2
RB15
RB14
RF8
Vbus
Vusb
D-/RG3
GND
VCC
RA6
RG0
RG1
RE0
RF1
RF0
RD7
RD6
RE6
RE5
RE2
RG13
RG12
RG14
RE1
RA7
RG8/SDO2
RA9/Vref-
RB1
RB2
RB3
RB4
RB5
RE9
RD9
RD8
RF2
USBID/RF3
GND
RG7/SDI2
RG6/SCK2
RA1
RE3
RE4
RG15
VDD
RB7/PGED1
RB6/PGEC1
RB0
RF4
RF5
ASCL1/RA14
RA5
RD14
RD15
ASCL2/RA2
RF13
VCC
ASDA2/RA3
VCC
ENVREG
RE8
RA0
VCC
GND
RF12
RA4
GND
VCAP
AGND
AVCC
RA10/Vref+
MCLR
RC4
CLKI/RC12
CLKO/RC15
RD10
RD3
RD1
SOSCI/RC13
SOSCO/RC14
GND
RD2
RD12
RD13
RD4
RD5
RG9
RD11
RD0
decoupling capacitors
C5
100nF
C6
100nF
C7
100nF
E8
10uF
VCC-3.3 VCC-3.3 VCC-3.3VCC-3.3
C8
100nF
VCC-3.3
C34
100nF
VCC-3.3
C32
100nF
C33
100nF
VCC-3.3
R12
10K
R13
10K
VCC-3.3
1
2
3
J1
ACC ADDRESS
1
2
3
4
5
6
7
8
9
10
11
12
13
14
VCC
GND
Res
GND
GND
VCC
CS
INT1
INT2
NC
Res
ADD
SDA
SCL
U9
ADXL345
VCC-3.3
VCC-3.3 VCC-3.3
SCL2-RA2
SDA2-RA3
10. Accelerometer
On board ADXL345 accelerometer is used to
measure acceleration in three axis: x, y and z. The
accelerometer’s function is dened by the user in the
program loaded into the microcontroller. Communication
between the accelerometer and the microcontroller is performed
via the I
2
C interface.
You can set the accelerometer
address to 0 or 1 by re-soldering the
SMD jumper (zero-ohm resistor) to the
appropriate position. Jumper is placed
in address 1 position by default.
Figure 10-2:
Accelerometer
connection
schematic
Figure 10-1:
Accelerometer
module