
Page 30
Page 31
VCC-3.3
30
29
28
27
34
33
58
57
56
55
54
53
52
46
36
35
42
43
44
45
37
50
9
48
49
11
12
32
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
38
39
40
41
47
71
31
51
70
26
25
76
75
74
73
ATxmega128A1
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
PE0
VCC
GND
PD7
PE7
PE6
PB0
PB1
PB2
PB3
PJ4
PJ3
PJ2
PH2
VCC
GND
GND
VCC
PH0
PH1
PF0
PF1
XTAL
2/PR
0
RESET/PDI
PDI
GND
PQ3
PQ2
GND
VCC
AVCC
GND
PA3
PA2
PA1
PA0
AVCC
XTAL
1/PR
1
PB7
PD3
GND
PC7
PC6
PC5
PC4
PC3
PJ6
PJ5
PF7
PF6
VCC
PB6
PB5
PE3
PA4
PA5
PA6
PA7
PD2
PD1
PD0
VCC
PF4
PF5
PJ1
PH6
PF2
PF3
PH3
PE4
PE2
PH4
PH7
TOSC2/PQ
1
PC2
PC1
PC0
PE1
PE5
PH5
PJ0
TOSC1/PQ
0
PD6
PD5
PD4
GND
PB4
GND
VCC
PJ7
PK3
PK1
GND
VCC
PK0
PK2
PK4
PK5
PK6
PK7
U1
AVCC
SCL
D-P
D1
SDAD-PD0
C32
100nF
C33
100nF
VCC-3.3
R12
10K
R13
10K
VCC-3.3
1
2
3
J1
SMD JUMPER
ACC ADDRESS
1
2
3
VCC
GND
Res
4
GND
5
GND
6
VCC
7
CS
8
INT1
9
INT2
10
NC
11
Res
12
ADD
13
SDA
14
SCL
U9
ADXL345
VCC-3.3
VCC-3.3 VCC-3.3
SCLD-PD1
SDAD-PD0
C5
100nF
C6
100nF
C7
100nF
C8
100nF
E8
10uF
VCC-3.3 VCC-3.3 VCC-3.3 VCC-3.3
VCC-3.3
C31
100nF
VCC-3.3
C35
100nF
VCC-3.3
On board
ADXL345
accelerometer is used to
measure acceleration in three axis: x, y and z. The
accelerometer function is defined by the user in the
program loaded into the microcontroller. Communication
between the accelerometer and the microcontroller is performed
via the
I2C
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
10. Accelerometer