Subversion Repositories Code-Repo

Rev

Rev 182 | Rev 189 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 182 Rev 188
Line 1... Line 1...
1
EESchema Schematic File Version 2  date 3/18/2013 7:19:46 PM
1
EESchema Schematic File Version 2  date 4/5/2013 2:16:07 AM
2
LIBS:Custom_Parts
2
LIBS:Custom_Parts
3
LIBS:power
3
LIBS:power
4
LIBS:device
4
LIBS:device
5
LIBS:transistors
5
LIBS:transistors
6
LIBS:conn
6
LIBS:conn
Line 45... Line 45...
45
EELAYER END
45
EELAYER END
46
$Descr A4 11693 8268
46
$Descr A4 11693 8268
47
encoding utf-8
47
encoding utf-8
48
Sheet 1 1
48
Sheet 1 1
49
Title ""
49
Title ""
50
Date "18 mar 2013"
50
Date "5 apr 2013"
51
Rev ""
51
Rev ""
52
Comp ""
52
Comp ""
53
Comment1 ""
53
Comment1 ""
54
Comment2 ""
54
Comment2 ""
55
Comment3 ""
55
Comment3 ""
56
Comment4 ""
56
Comment4 ""
57
$EndDescr
57
$EndDescr
58
$Comp
58
$Comp
59
L RN-42 U2
-
 
60
U 1 1 5145B626
-
 
61
P 4100 2950
-
 
62
F 0 "U2" H 4100 3200 60  0000 C CNN
-
 
63
F 1 "RN-42" H 4100 3400 60  0000 C CNN
-
 
64
F 2 "" H 4100 2900 60  0000 C CNN
-
 
65
F 3 "" H 4100 2900 60  0000 C CNN
-
 
66
	1    4100 2950
-
 
67
	1    0    0    -1  
-
 
68
$EndComp
-
 
69
$Comp
-
 
70
L L3GD20 U4
59
L L3GD20 U4
71
U 1 1 5145B971
60
U 1 1 5145B971
72
P 8350 2250
61
P 8350 2250
73
F 0 "U4" H 8450 2100 60  0000 C CNN
62
F 0 "U4" H 8450 2100 60  0000 C CNN
74
F 1 "L3GD20" H 8450 2250 60  0000 C CNN
63
F 1 "L3GD20" H 8450 2250 60  0000 C CNN
Line 89... Line 78...
89
	1    0    0    -1  
78
	1    0    0    -1  
90
$EndComp
79
$EndComp
91
$Comp
80
$Comp
92
L CONN_2 P1
81
L CONN_2 P1
93
U 1 1 5145B9A3
82
U 1 1 5145B9A3
94
P 1700 4150
83
P 1900 5850
95
F 0 "P1" V 1650 4150 40  0000 C CNN
84
F 0 "P1" V 1850 5850 40  0000 C CNN
96
F 1 "BAT" V 1750 4150 40  0000 C CNN
85
F 1 "BAT" V 1950 5850 40  0000 C CNN
97
F 2 "" H 1700 4150 60  0000 C CNN
86
F 2 "" H 1900 5850 60  0000 C CNN
98
F 3 "" H 1700 4150 60  0000 C CNN
87
F 3 "" H 1900 5850 60  0000 C CNN
99
	1    1700 4150
88
	1    1900 5850
100
	-1   0    0    1   
89
	1    0    0    -1  
101
$EndComp
90
$EndComp
102
Text Label 2150 4050 0    60   ~ 0
91
Text Label 1450 5750 2    60   ~ 0
103
V_BAT
92
V_BAT
104
Text Label 2150 4250 0    60   ~ 0
-
 
105
GND
-
 
106
Text Label 3050 2150 2    60   ~ 0
93
Text Label 1450 5950 2    60   ~ 0
107
GND
94
GND
108
Text Label 3050 3250 2    60   ~ 0
95
Text Label 2650 1750 2    60   ~ 0
109
GND
96
GND
110
Text Label 4350 3950 3    60   ~ 0
97
Text Label 2650 2650 2    60   ~ 0
111
GND
98
GND
112
Text Label 9350 2200 0    60   ~ 0
99
Text Label 9350 2200 0    60   ~ 0
113
GND
100
GND
114
Text Label 7350 4050 2    60   ~ 0
101
Text Label 7350 4050 2    60   ~ 0
115
GND
102
GND
116
$Comp
-
 
117
L REG_PWR_1 U1
-
 
118
U 1 1 5145BE09
-
 
119
P 2050 6500
-
 
120
F 0 "U1" H 2050 6700 60  0000 C CNN
-
 
121
F 1 "REG_PWR_1" H 2050 6600 60  0000 C CNN
-
 
122
F 2 "~" H 2050 6500 60  0000 C CNN
-
 
123
F 3 "~" H 2050 6500 60  0000 C CNN
-
 
124
	1    2050 6500
-
 
125
	1    0    0    -1  
-
 
126
$EndComp
-
 
127
Text Label 2050 6950 3    60   ~ 0
-
 
128
GND
-
 
129
Text Label 2200 6950 3    60   ~ 0
103
Text Label 4400 6100 3    60   ~ 0
130
GND
104
GND
131
Text Label 7350 3550 2    60   ~ 0
105
Text Label 7350 3550 2    60   ~ 0
132
SCL
106
SCL
133
Text Label 7350 3650 2    60   ~ 0
107
Text Label 7350 3650 2    60   ~ 0
134
SDA
108
SDA
135
Text Label 7350 2000 2    60   ~ 0
109
Text Label 7350 2000 2    60   ~ 0
136
SCL
110
SCL
137
Text Label 7350 2100 2    60   ~ 0
111
Text Label 7350 2100 2    60   ~ 0
138
SDA
112
SDA
139
Text Label 2500 6500 0    60   ~ 0
113
Text Label 4850 5650 0    60   ~ 0
140
VDD
114
VDD
141
Text Label 9350 3450 0    60   ~ 0
115
Text Label 9350 3450 0    60   ~ 0
142
VDD
116
VDD
143
Text Label 7350 3450 2    60   ~ 0
117
Text Label 7350 3450 2    60   ~ 0
144
VDD
118
VDD
145
Text Label 7350 1900 2    60   ~ 0
119
Text Label 7350 1900 2    60   ~ 0
146
VDD
120
VDD
147
Text Label 9450 1900 0    60   ~ 0
121
Text Label 9450 1900 0    60   ~ 0
148
VDD
122
VDD
149
Text Label 5150 3250 0    60   ~ 0
123
Text Label 3450 3550 3    60   ~ 0
150
UART_TX
124
UART_TX
151
Text Label 5150 3150 0    60   ~ 0
125
Text Label 3350 3550 3    60   ~ 0
152
UART_RX
126
UART_RX
153
Text Label 5150 3050 0    60   ~ 0
127
Text Label 3250 3550 3    60   ~ 0
154
UART_CTS
128
UART_CTS
155
Text Label 5150 2950 0    60   ~ 0
129
Text Label 3150 3550 3    60   ~ 0
156
UART_RTS
130
UART_RTS
157
NoConn ~ 5150 2850
-
 
158
NoConn ~ 5150 2750
-
 
159
Text Label 3050 3150 2    60   ~ 0
131
Text Label 2650 2550 2    60   ~ 0
160
VDD
132
VDD
161
Text Label 3850 3950 3    60   ~ 0
-
 
162
GND
-
 
163
NoConn ~ 3050 2250
-
 
164
NoConn ~ 3050 2750
-
 
165
NoConn ~ 3050 2850
-
 
166
NoConn ~ 3050 2950
-
 
167
NoConn ~ 3050 3050
-
 
168
NoConn ~ 5150 2250
-
 
169
NoConn ~ 5150 2150
-
 
170
NoConn ~ 4450 3950
-
 
171
NoConn ~ 3750 3950
-
 
172
NoConn ~ 3050 2650
-
 
173
$Comp
-
 
174
L LED D1
-
 
175
U 1 1 5145C19A
-
 
176
P 3850 1350
-
 
177
F 0 "D1" H 3850 1450 50  0000 C CNN
-
 
178
F 1 "LED" H 3850 1250 50  0000 C CNN
-
 
179
F 2 "~" H 3850 1350 60  0000 C CNN
-
 
180
F 3 "~" H 3850 1350 60  0000 C CNN
-
 
181
	1    3850 1350
-
 
182
	-1   0    0    1   
-
 
183
$EndComp
-
 
184
$Comp
-
 
185
L LED D2
-
 
186
U 1 1 5145C1A7
-
 
187
P 3850 1700
-
 
188
F 0 "D2" H 3850 1800 50  0000 C CNN
-
 
189
F 1 "LED" H 3850 1600 50  0000 C CNN
-
 
190
F 2 "~" H 3850 1700 60  0000 C CNN
-
 
191
F 3 "~" H 3850 1700 60  0000 C CNN
-
 
192
	1    3850 1700
-
 
193
	-1   0    0    1   
-
 
194
$EndComp
-
 
195
$Comp
-
 
196
L R R1
-
 
197
U 1 1 5145C1AF
-
 
198
P 4400 1350
-
 
199
F 0 "R1" V 4480 1350 40  0000 C CNN
-
 
200
F 1 "470" V 4407 1351 40  0000 C CNN
-
 
201
F 2 "~" V 4330 1350 30  0000 C CNN
-
 
202
F 3 "~" H 4400 1350 30  0000 C CNN
-
 
203
	1    4400 1350
-
 
204
	0    -1   -1   0   
-
 
205
$EndComp
-
 
206
$Comp
-
 
207
L R R2
-
 
208
U 1 1 5145C1BC
-
 
209
P 4400 1700
-
 
210
F 0 "R2" V 4480 1700 40  0000 C CNN
-
 
211
F 1 "470" V 4407 1701 40  0000 C CNN
-
 
212
F 2 "~" V 4330 1700 30  0000 C CNN
-
 
213
F 3 "~" H 4400 1700 30  0000 C CNN
-
 
214
	1    4400 1700
-
 
215
	0    -1   -1   0   
-
 
216
$EndComp
-
 
217
Text Label 5150 2450 0    60   ~ 0
-
 
218
STATUS_LED
-
 
219
Text Label 5150 2650 0    60   ~ 0
-
 
220
CONNECT_LED
-
 
221
Text Label 4250 3950 3    60   ~ 0
-
 
222
GND
-
 
223
Text Label 4150 3950 3    60   ~ 0
-
 
224
GND
-
 
225
Text Label 4050 3950 3    60   ~ 0
-
 
226
GND
-
 
227
Text Label 3950 3950 3    60   ~ 0
-
 
228
GND
-
 
229
Text Label 4750 1350 0    60   ~ 0
133
Text Label 4550 2350 0    60   ~ 0
230
STATUS_LED
134
STATUS_LED
231
Text Label 4750 1700 0    60   ~ 0
135
Text Label 4550 2450 0    60   ~ 0
232
CONNECT_LED
136
CONNECT_LED
233
Text Label 3550 1700 2    60   ~ 0
-
 
234
GND
-
 
235
$Comp
137
$Comp
236
L C C4
138
L C C4
237
U 1 1 5145C46E
139
U 1 1 5145C46E
238
P 8550 1450
140
P 5850 5000
239
F 0 "C4" H 8550 1550 40  0000 L CNN
141
F 0 "C4" H 5850 5100 40  0000 L CNN
240
F 1 "10uF" H 8556 1365 40  0000 L CNN
142
F 1 "10uF" H 5856 4915 40  0000 L CNN
241
F 2 "~" H 8588 1300 30  0000 C CNN
143
F 2 "~" H 5888 4850 30  0000 C CNN
242
F 3 "~" H 8550 1450 60  0000 C CNN
144
F 3 "~" H 5850 5000 60  0000 C CNN
243
	1    8550 1450
145
	1    5850 5000
244
	1    0    0    -1  
146
	1    0    0    -1  
245
$EndComp
147
$EndComp
246
$Comp
148
$Comp
247
L C C6
149
L C C6
248
U 1 1 5145C474
150
U 1 1 5145C474
Line 255... Line 157...
255
	1    0    0    -1  
157
	1    0    0    -1  
256
$EndComp
158
$EndComp
257
$Comp
159
$Comp
258
L C C5
160
L C C5
259
U 1 1 5145C759
161
U 1 1 5145C759
260
P 8850 1450
162
P 6150 5000
261
F 0 "C5" H 8850 1550 40  0000 L CNN
163
F 0 "C5" H 6150 5100 40  0000 L CNN
262
F 1 "100nF" H 8856 1365 40  0000 L CNN
164
F 1 "100nF" H 6156 4915 40  0000 L CNN
263
F 2 "~" H 8888 1300 30  0000 C CNN
165
F 2 "~" H 6188 4850 30  0000 C CNN
264
F 3 "~" H 8850 1450 60  0000 C CNN
166
F 3 "~" H 6150 5000 60  0000 C CNN
265
	1    8850 1450
167
	1    6150 5000
266
	1    0    0    -1  
168
	1    0    0    -1  
267
$EndComp
169
$EndComp
268
Text Label 9350 2300 0    60   ~ 0
170
Text Label 9350 2300 0    60   ~ 0
269
GND
171
GND
270
Text Label 9350 2400 0    60   ~ 0
172
Text Label 9350 2400 0    60   ~ 0
Line 273... Line 175...
273
GND
175
GND
274
Text Label 9350 2600 0    60   ~ 0
176
Text Label 9350 2600 0    60   ~ 0
275
GND
177
GND
276
Text Label 7350 2600 2    60   ~ 0
178
Text Label 7350 2600 2    60   ~ 0
277
GND
179
GND
278
Text Label 8450 1250 2    60   ~ 0
180
Text Label 5750 4800 2    60   ~ 0
279
VDD
181
VDD
280
Text Label 8450 1650 2    60   ~ 0
182
Text Label 5400 5200 2    60   ~ 0
281
GND
183
GND
282
$Comp
184
$Comp
283
L C C3
185
L C C3
284
U 1 1 5145CE53
186
U 1 1 5145CE53
285
P 6950 4200
187
P 6950 4200
Line 307... Line 209...
307
F 2 "~" H 9788 3450 30  0000 C CNN
209
F 2 "~" H 9788 3450 30  0000 C CNN
308
F 3 "~" H 9750 3600 60  0000 C CNN
210
F 3 "~" H 9750 3600 60  0000 C CNN
309
	1    9750 3600
211
	1    9750 3600
310
	1    0    0    -1  
212
	1    0    0    -1  
311
$EndComp
213
$EndComp
312
Text Label 3950 5950 2    60   ~ 0
-
 
313
V_BAT
-
 
314
Text Label 3950 5800 2    60   ~ 0
-
 
315
GND
-
 
316
$Comp
-
 
317
L USB J1
-
 
318
U 1 1 51466D98
-
 
319
P 1950 4950
-
 
320
F 0 "J1" H 1750 4950 60  0000 C CNN
-
 
321
F 1 "USB" H 1700 5300 60  0000 C CNN
-
 
322
F 2 "~" H 1850 5050 60  0000 C CNN
-
 
323
F 3 "~" H 1850 5050 60  0000 C CNN
-
 
324
	1    1950 4950
-
 
325
	1    0    0    -1  
-
 
326
$EndComp
-
 
327
Text Label 2500 5150 0    60   ~ 0
-
 
328
GND
-
 
329
Text Label 2500 4750 0    60   ~ 0
-
 
330
V_USB
-
 
331
Text Label 5350 5950 0    60   ~ 0
-
 
332
V_USB
-
 
333
$Comp
-
 
334
L R R5
-
 
335
U 1 1 51466FA8
-
 
336
P 5600 5800
-
 
337
F 0 "R5" V 5680 5800 40  0000 C CNN
-
 
338
F 1 "R" V 5607 5801 40  0000 C CNN
-
 
339
F 2 "~" V 5530 5800 30  0000 C CNN
-
 
340
F 3 "~" H 5600 5800 30  0000 C CNN
-
 
341
	1    5600 5800
-
 
342
	0    -1   -1   0   
-
 
343
$EndComp
-
 
344
Text Label 3950 5650 2    60   ~ 0
214
Text Label 3950 5650 2    60   ~ 0
345
CHG_STAT
-
 
346
Text Label 1600 6500 2    60   ~ 0
-
 
347
V_BAT
215
V_BAT
348
Text Label 9350 5650 0    60   ~ 0
216
Text Label 9350 5650 0    60   ~ 0
349
VDD
217
VDD
350
Text Label 9350 5750 0    60   ~ 0
218
Text Label 9350 5750 0    60   ~ 0
351
GND
219
GND
Line 359... Line 227...
359
UART_RTS
227
UART_RTS
360
Text Label 7350 5550 2    60   ~ 0
228
Text Label 7350 5550 2    60   ~ 0
361
UART_RX
229
UART_RX
362
Text Label 7350 5650 2    60   ~ 0
230
Text Label 7350 5650 2    60   ~ 0
363
UART_TX
231
UART_TX
364
Text Label 3050 2550 2    60   ~ 0
232
Text Label 2650 1950 2    60   ~ 0
365
RESET
233
RESET
366
Text Label 5150 2350 0    60   ~ 0
234
Text Label 4550 2150 0    60   ~ 0
367
FACTORY_RESET
-
 
368
Text Label 3050 2350 2    60   ~ 0
-
 
369
AUTO_MASTER/DTR
-
 
370
Text Label 5150 2550 0    60   ~ 0
-
 
371
AUTO_PAIRING
-
 
372
Text Label 3050 2450 2    60   ~ 0
-
 
373
BAUDRATE
235
SLEEP
374
NoConn ~ 5150 2350
-
 
375
NoConn ~ 3050 2450
-
 
376
Text Label 9350 6150 0    60   ~ 0
-
 
377
AUTO_MASTER/DTR
-
 
378
Text Label 9350 6250 0    60   ~ 0
-
 
379
AUTO_PAIRING
-
 
380
Text Label 9350 6350 0    60   ~ 0
236
Text Label 7350 5950 2    60   ~ 0
381
RESET
237
RESET
382
Text Label 3550 1350 2    60   ~ 0
-
 
383
GND
-
 
384
$Comp
-
 
385
L LED D4
-
 
386
U 1 1 5146E2E3
-
 
387
P 4450 5200
-
 
388
F 0 "D4" H 4450 5300 50  0000 C CNN
-
 
389
F 1 "LED" H 4450 5100 50  0000 C CNN
-
 
390
F 2 "~" H 4450 5200 60  0000 C CNN
-
 
391
F 3 "~" H 4450 5200 60  0000 C CNN
-
 
392
	1    4450 5200
-
 
393
	-1   0    0    1   
-
 
394
$EndComp
-
 
395
$Comp
-
 
396
L R R4
-
 
397
U 1 1 5146E2E9
-
 
398
P 4900 5200
-
 
399
F 0 "R4" V 4980 5200 40  0000 C CNN
-
 
400
F 1 "470" V 4907 5201 40  0000 C CNN
-
 
401
F 2 "~" V 4830 5200 30  0000 C CNN
-
 
402
F 3 "~" H 4900 5200 30  0000 C CNN
-
 
403
	1    4900 5200
-
 
404
	0    -1   -1   0   
-
 
405
$EndComp
-
 
406
Text Label 4150 5200 2    60   ~ 0
-
 
407
CHG_STAT
-
 
408
Text Label 5250 5200 0    60   ~ 0
-
 
409
V_USB
-
 
410
$Comp
-
 
411
L C C2
-
 
412
U 1 1 5146E333
-
 
413
P 4350 6650
-
 
414
F 0 "C2" H 4350 6750 40  0000 L CNN
-
 
415
F 1 "4.7uF" H 4356 6565 40  0000 L CNN
-
 
416
F 2 "~" H 4388 6500 30  0000 C CNN
-
 
417
F 3 "~" H 4350 6650 60  0000 C CNN
-
 
418
	1    4350 6650
-
 
419
	1    0    0    -1  
-
 
420
$EndComp
-
 
421
Text Label 4350 6350 2    60   ~ 0
-
 
422
V_BAT
-
 
423
$Comp
-
 
424
L C C1
-
 
425
U 1 1 5146E41F
-
 
426
P 4000 6650
-
 
427
F 0 "C1" H 4000 6750 40  0000 L CNN
-
 
428
F 1 "4.7uF" H 4006 6565 40  0000 L CNN
-
 
429
F 2 "~" H 4038 6500 30  0000 C CNN
-
 
430
F 3 "~" H 4000 6650 60  0000 C CNN
-
 
431
	1    4000 6650
-
 
432
	1    0    0    -1  
-
 
433
$EndComp
-
 
434
Text Label 4000 6350 2    60   ~ 0
-
 
435
V_USB
-
 
436
Text Label 3900 6850 2    60   ~ 0
-
 
437
GND
-
 
438
NoConn ~ 2500 4850
-
 
439
NoConn ~ 2500 4950
-
 
440
NoConn ~ 2500 5050
-
 
441
$Comp
-
 
442
L LED D3
-
 
443
U 1 1 5146E88C
-
 
444
P 4450 4850
-
 
445
F 0 "D3" H 4450 4950 50  0000 C CNN
-
 
446
F 1 "LED" H 4450 4750 50  0000 C CNN
-
 
447
F 2 "~" H 4450 4850 60  0000 C CNN
-
 
448
F 3 "~" H 4450 4850 60  0000 C CNN
-
 
449
	1    4450 4850
-
 
450
	-1   0    0    1   
-
 
451
$EndComp
-
 
452
$Comp
-
 
453
L R R3
-
 
454
U 1 1 5146E892
-
 
455
P 4900 4850
-
 
456
F 0 "R3" V 4980 4850 40  0000 C CNN
-
 
457
F 1 "470" V 4907 4851 40  0000 C CNN
-
 
458
F 2 "~" V 4830 4850 30  0000 C CNN
-
 
459
F 3 "~" H 4900 4850 30  0000 C CNN
-
 
460
	1    4900 4850
-
 
461
	0    -1   -1   0   
-
 
462
$EndComp
-
 
463
Text Label 5250 4850 0    60   ~ 0
-
 
464
CHG_STAT
-
 
465
Text Label 4150 4850 2    60   ~ 0
-
 
466
GND
-
 
467
Text Label 7350 2300 2    60   ~ 0
238
Text Label 7350 2300 2    60   ~ 0
468
VDD
239
VDD
469
Text Label 7350 2200 2    60   ~ 0
240
Text Label 7350 2200 2    60   ~ 0
470
VDD
241
VDD
471
Text Label 7350 2400 2    60   ~ 0
242
Text Label 7350 2400 2    60   ~ 0
Line 474... Line 245...
474
G_INT1
245
G_INT1
475
Text Label 7350 3750 2    60   ~ 0
246
Text Label 7350 3750 2    60   ~ 0
476
A_INT2
247
A_INT2
477
Text Label 7350 3850 2    60   ~ 0
248
Text Label 7350 3850 2    60   ~ 0
478
A_INT1
249
A_INT1
479
Text Label 7350 6050 2    60   ~ 0
-
 
480
G_INT2
-
 
481
Text Label 7350 6250 2    60   ~ 0
250
Text Label 7350 6250 2    60   ~ 0
-
 
251
G_INT2
-
 
252
Text Label 7350 6050 2    60   ~ 0
482
G_INT1
253
G_INT1
483
Text Label 9350 5850 0    60   ~ 0
254
Text Label 9350 6050 0    60   ~ 0
484
A_INT2
255
A_INT2
485
Text Label 9350 5950 0    60   ~ 0
256
Text Label 9350 5850 0    60   ~ 0
486
A_INT1
257
A_INT1
487
$Comp
258
$Comp
488
L PIC16F1829 U6
259
L PIC16F1829 U6
489
U 1 1 5146EE94
260
U 1 1 5146EE94
490
P 8350 5900
261
P 8350 5900
Line 493... Line 264...
493
F 2 "" H 8350 5900 60  0000 C CNN
264
F 2 "" H 8350 5900 60  0000 C CNN
494
F 3 "" H 8350 5900 60  0000 C CNN
265
F 3 "" H 8350 5900 60  0000 C CNN
495
	1    8350 5900
266
	1    8350 5900
496
	1    0    0    -1  
267
	1    0    0    -1  
497
$EndComp
268
$EndComp
-
 
269
Text Label 8500 6350 0    60   ~ 0
-
 
270
GND
-
 
271
$Comp
-
 
272
L CONN_6 P2
-
 
273
U 1 1 5146F586
498
Wire Wire Line
274
P 2550 5850
-
 
275
F 0 "P2" V 2500 5850 60  0000 C CNN
-
 
276
F 1 "ICSP" V 2600 5850 60  0000 C CNN
-
 
277
F 2 "" H 2550 5850 60  0000 C CNN
-
 
278
F 3 "" H 2550 5850 60  0000 C CNN
499
	2400 5150 2500 5150
279
	1    2550 5850
500
Wire Wire Line
280
	-1   0    0    -1  
-
 
281
$EndComp
-
 
282
Text Label 7350 5450 2    60   ~ 0
-
 
283
MCLR
-
 
284
Text Label 3000 5600 0    60   ~ 0
-
 
285
MCLR
-
 
286
Text Label 3000 5700 0    60   ~ 0
-
 
287
VDD
-
 
288
Text Label 3000 5800 0    60   ~ 0
-
 
289
GND
-
 
290
Text Label 9700 5850 0    60   ~ 0
-
 
291
ICSPDAT
-
 
292
Text Label 9700 5950 0    60   ~ 0
-
 
293
ICSPCLK
-
 
294
Text Label 3000 5900 0    60   ~ 0
-
 
295
ICSPDAT
-
 
296
Text Label 3000 6000 0    60   ~ 0
-
 
297
ICSPCLK
501
	2400 5050 2500 5050
298
NoConn ~ 3000 6100
-
 
299
Text Notes 7350 4950 0    60   ~ 0
-
 
300
TX/RX can be on pins RB7/RB5 or RC4/RC5\nSCL/SDA can be on pins RB6/RB4 or RB7/RB5\nInterrupt-on-change on all RA or RB pins\nCCP on RC5/RC3/RC1/RA5/RA2
-
 
301
Text Notes 7000 3000 0    60   ~ 0
-
 
302
SA0 pulled high on gyroscope for slave address of 0b1101011\nAccelerometer address fixed at 0b0011001\nMagnometer address fixed at 0b0011110
-
 
303
Text Label 9350 3950 0    60   ~ 0
-
 
304
A_DRDY
-
 
305
Text Label 9350 5950 0    60   ~ 0
-
 
306
A_DRDY
-
 
307
$Comp
502
Wire Wire Line
308
L CRYSTAL X1
-
 
309
U 1 1 51473862
503
	2400 4950 2500 4950
310
P 5950 5700
-
 
311
F 0 "X1" H 5950 5850 60  0000 C CNN
-
 
312
F 1 "CRYSTAL" H 5950 5550 60  0000 C CNN
-
 
313
F 2 "~" H 5950 5700 60  0000 C CNN
-
 
314
F 3 "~" H 5950 5700 60  0000 C CNN
504
Wire Wire Line
315
	1    5950 5700
505
	2400 4850 2500 4850
316
	-1   0    0    1   
-
 
317
$EndComp
-
 
318
Text Label 9350 5450 0    60   ~ 0
-
 
319
T1OSO
-
 
320
Text Label 9350 5550 0    60   ~ 0
-
 
321
T1OSI
-
 
322
$Comp
-
 
323
L C C8
506
Wire Wire Line
324
U 1 1 5147388E
507
	2400 4750 2500 4750
325
P 5650 6000
-
 
326
F 0 "C8" H 5650 6100 40  0000 L CNN
-
 
327
F 1 "12pF" H 5656 5915 40  0000 L CNN
-
 
328
F 2 "~" H 5688 5850 30  0000 C CNN
-
 
329
F 3 "~" H 5650 6000 60  0000 C CNN
508
Wire Wire Line
330
	1    5650 6000
509
	5250 5800 5350 5800
331
	1    0    0    -1  
-
 
332
$EndComp
-
 
333
$Comp
-
 
334
L C C9
-
 
335
U 1 1 5147389B
510
Wire Wire Line
336
P 6250 6000
-
 
337
F 0 "C9" H 6250 6100 40  0000 L CNN
-
 
338
F 1 "12pF" H 6256 5915 40  0000 L CNN
-
 
339
F 2 "~" H 6288 5850 30  0000 C CNN
-
 
340
F 3 "~" H 6250 6000 60  0000 C CNN
511
	3950 5650 4050 5650
341
	1    6250 6000
-
 
342
	1    0    0    -1  
-
 
343
$EndComp
-
 
344
Text Label 5850 6200 0    60   ~ 0
-
 
345
GND
-
 
346
Text Label 5650 5600 2    60   ~ 0
-
 
347
T1OSO
-
 
348
Text Label 6250 5600 0    60   ~ 0
-
 
349
T1OSI
-
 
350
$Comp
-
 
351
L BR-LE4.0-S2 U2
-
 
352
U 1 1 515C5C9A
512
Wire Wire Line
353
P 3600 2400
-
 
354
F 0 "U2" H 3600 2400 60  0000 C CNN
-
 
355
F 1 "BR-LE4.0-S2" H 3250 3250 60  0000 C CNN
-
 
356
F 2 "" H 3600 2950 60  0000 C CNN
513
	3950 5800 4050 5800
357
F 3 "" H 3600 2950 60  0000 C CNN
514
Wire Wire Line
358
	1    3600 2400
515
	3950 5950 4050 5950
359
	1    0    0    -1  
-
 
360
$EndComp
516
Wire Wire Line
361
Wire Wire Line
517
	9600 3800 9750 3800
362
	9600 3800 9750 3800
518
Wire Wire Line
363
Wire Wire Line
519
	9600 3650 9600 3800
364
	9600 3650 9600 3800
520
Wire Wire Line
365
Wire Wire Line
Line 527... Line 372...
527
	9350 2600 9250 2600
372
	9350 2600 9250 2600
528
Wire Wire Line
373
Wire Wire Line
529
	6950 4400 7150 4400
374
	6950 4400 7150 4400
530
Wire Wire Line
375
Wire Wire Line
531
	6950 3950 6950 4000
376
	6950 3950 6950 4000
532
Connection ~ 8550 1250
377
Connection ~ 5850 4800
533
Wire Wire Line
378
Wire Wire Line
534
	8450 1250 8850 1250
379
	5750 4800 6150 4800
535
Connection ~ 8550 1650
380
Connection ~ 5850 5200
536
Wire Wire Line
381
Wire Wire Line
537
	8450 1650 8850 1650
382
	5400 5200 6150 5200
538
Wire Wire Line
383
Wire Wire Line
539
	9750 2100 9750 2300
384
	9750 2100 9750 2300
540
Wire Wire Line
385
Wire Wire Line
541
	9250 2100 9750 2100
386
	9250 2100 9750 2100
542
Wire Wire Line
387
Wire Wire Line
543
	3650 1700 3550 1700
-
 
544
Wire Wire Line
-
 
545
	3650 1350 3550 1350
-
 
546
Wire Wire Line
-
 
547
	4050 1700 4150 1700
-
 
548
Wire Wire Line
-
 
549
	4050 1350 4150 1350
388
	4050 5650 3950 5650
550
Wire Wire Line
-
 
551
	4650 1700 4750 1700
-
 
552
Wire Wire Line
389
Wire Wire Line
553
	4650 1350 4750 1350
390
	4750 5650 4850 5650
554
Wire Wire Line
391
Wire Wire Line
555
	1700 6500 1600 6500
-
 
556
Wire Wire Line
-
 
557
	2400 6500 2500 6500
392
	4400 6000 4400 6100
558
Wire Wire Line
-
 
559
	2200 6850 2200 6950
-
 
560
Wire Wire Line
-
 
561
	2050 6850 2050 6950
-
 
562
Wire Wire Line
393
Wire Wire Line
563
	9350 3950 9250 3950
394
	9350 3950 9250 3950
564
Wire Wire Line
395
Wire Wire Line
565
	9250 3850 9350 3850
396
	9250 3850 9350 3850
566
Wire Wire Line
397
Wire Wire Line
Line 612... Line 443...
612
Wire Wire Line
443
Wire Wire Line
613
	7350 2000 7450 2000
444
	7350 2000 7450 2000
614
Wire Wire Line
445
Wire Wire Line
615
	7450 1900 7350 1900
446
	7450 1900 7350 1900
616
Wire Wire Line
447
Wire Wire Line
617
	4450 3850 4450 3950
448
	2750 1850 2650 1850
618
Wire Wire Line
449
Wire Wire Line
619
	4350 3950 4350 3850
450
	2750 1750 2650 1750
620
Wire Wire Line
451
Wire Wire Line
621
	4250 3850 4250 3950
452
	1550 5750 1450 5750
622
Wire Wire Line
453
Wire Wire Line
623
	4150 3950 4150 3850
454
	1550 5950 1450 5950
624
Wire Wire Line
455
Wire Wire Line
625
	4050 3850 4050 3950
456
	9350 2000 9350 1900
-
 
457
Connection ~ 9350 1900
626
Wire Wire Line
458
Wire Wire Line
627
	3950 3950 3950 3850
459
	7350 5450 7450 5450
628
Wire Wire Line
460
Wire Wire Line
629
	3850 3850 3850 3950
461
	7350 5550 7450 5550
630
Wire Wire Line
462
Wire Wire Line
631
	3750 3850 3750 3950
463
	7350 5650 7450 5650
632
Wire Wire Line
464
Wire Wire Line
633
	5150 3250 5050 3250
465
	7350 5750 7450 5750
634
Wire Wire Line
466
Wire Wire Line
635
	5050 3150 5150 3150
467
	7350 5850 7450 5850
636
Wire Wire Line
468
Wire Wire Line
637
	5150 3050 5050 3050
469
	7350 5950 7450 5950
638
Wire Wire Line
470
Wire Wire Line
639
	5050 2950 5150 2950
471
	7350 6050 7450 6050
640
Wire Wire Line
472
Wire Wire Line
641
	5150 2850 5050 2850
473
	7350 6150 7450 6150
642
Wire Wire Line
474
Wire Wire Line
643
	5050 2750 5150 2750
475
	7350 6250 7450 6250
644
Wire Wire Line
476
Wire Wire Line
645
	5150 2650 5050 2650
477
	7350 6350 7450 6350
646
Wire Wire Line
478
Wire Wire Line
647
	5050 2550 5150 2550
479
	9250 5450 9350 5450
648
Wire Wire Line
480
Wire Wire Line
649
	5150 2450 5050 2450
481
	9250 5550 9350 5550
650
Wire Wire Line
482
Wire Wire Line
651
	5150 2350 5050 2350
483
	9250 5650 9350 5650
652
Wire Wire Line
484
Wire Wire Line
653
	5150 2250 5050 2250
485
	9250 5750 9350 5750
654
Wire Wire Line
486
Wire Wire Line
655
	5150 2150 5050 2150
487
	9250 5850 9700 5850
656
Wire Wire Line
488
Wire Wire Line
657
	3150 3250 3050 3250
489
	9250 5950 9700 5950
658
Wire Wire Line
490
Wire Wire Line
659
	3050 3150 3150 3150
491
	9250 6050 9350 6050
660
Wire Wire Line
492
Wire Wire Line
661
	3150 3050 3050 3050
493
	9250 6150 9350 6150
662
Wire Wire Line
494
Wire Wire Line
663
	3050 2950 3150 2950
495
	9250 6250 9350 6250
664
Wire Wire Line
496
Wire Wire Line
665
	3150 2850 3050 2850
497
	9250 6350 9350 6350
666
Wire Wire Line
498
Wire Wire Line
667
	3050 2750 3150 2750
499
	3000 5600 2900 5600
668
Wire Wire Line
500
Wire Wire Line
669
	3150 2650 3050 2650
501
	3000 5700 2900 5700
670
Wire Wire Line
502
Wire Wire Line
671
	3050 2550 3150 2550
503
	3000 5800 2900 5800
672
Wire Wire Line
504
Wire Wire Line
673
	3150 2450 3050 2450
505
	3000 5900 2900 5900
674
Wire Wire Line
506
Wire Wire Line
675
	3150 2350 3050 2350
507
	3000 6000 2900 6000
676
Wire Wire Line
508
Wire Wire Line
677
	3150 2250 3050 2250
509
	3000 6100 2900 6100
678
Wire Wire Line
510
Wire Wire Line
679
	3150 2150 3050 2150
511
	5650 5600 5650 5800
680
Wire Wire Line
512
Wire Wire Line
681
	2050 4250 2150 4250
513
	6250 5600 6250 5800
682
Wire Wire Line
514
Wire Wire Line
683
	2050 4050 2150 4050
515
	5650 6200 6250 6200
-
 
516
Connection ~ 5650 5700
-
 
517
Connection ~ 6250 5700
684
Wire Wire Line
518
Wire Wire Line
685
	9350 2000 9350 1900
519
	2650 1950 2750 1950
686
Connection ~ 9350 1900
-
 
687
Wire Wire Line
520
Wire Wire Line
688
	4250 5200 4150 5200
521
	2650 2050 2750 2050
689
Wire Wire Line
522
Wire Wire Line
690
	5150 5200 5250 5200
523
	2650 2150 2750 2150
691
Wire Wire Line
524
Wire Wire Line
692
	4350 6350 4350 6450
525
	2650 2250 2750 2250
693
Wire Wire Line
526
Wire Wire Line
694
	4000 6350 4000 6450
527
	2650 2350 2750 2350
695
Wire Wire Line
528
Wire Wire Line
696
	5250 5950 5350 5950
529
	2650 2450 2750 2450
697
Connection ~ 4000 6850
-
 
698
Wire Wire Line
530
Wire Wire Line
699
	3900 6850 4350 6850
531
	2650 2550 2750 2550
700
Wire Wire Line
532
Wire Wire Line
701
	4250 4850 4150 4850
533
	2650 2650 2750 2650
702
Wire Wire Line
534
Wire Wire Line
703
	5150 4850 5250 4850
535
	3150 3550 3150 3450
704
Wire Wire Line
536
Wire Wire Line
705
	7350 5450 7450 5450
537
	3250 3550 3250 3450
706
Wire Wire Line
538
Wire Wire Line
707
	7350 5550 7450 5550
539
	3350 3550 3350 3450
708
Wire Wire Line
540
Wire Wire Line
709
	7350 5650 7450 5650
541
	3450 3550 3450 3450
710
Wire Wire Line
542
Wire Wire Line
711
	7350 5750 7450 5750
543
	3550 3550 3550 3450
712
Wire Wire Line
544
Wire Wire Line
713
	7350 5850 7450 5850
545
	3650 3550 3650 3450
714
Wire Wire Line
546
Wire Wire Line
715
	7350 5950 7450 5950
547
	3750 3550 3750 3450
716
Wire Wire Line
548
Wire Wire Line
717
	7350 6050 7450 6050
549
	3850 3550 3850 3450
718
Wire Wire Line
550
Wire Wire Line
719
	7350 6150 7450 6150
551
	3950 3550 3950 3450
720
Wire Wire Line
552
Wire Wire Line
721
	7350 6250 7450 6250
553
	4050 3550 4050 3450
722
Wire Wire Line
554
Wire Wire Line
723
	7350 6350 7450 6350
555
	4550 1750 4450 1750
724
Wire Wire Line
556
Wire Wire Line
725
	9250 5450 9350 5450
557
	4450 1850 4550 1850
726
Wire Wire Line
558
Wire Wire Line
727
	9250 5550 9350 5550
559
	4450 2050 4550 2050
728
Wire Wire Line
560
Wire Wire Line
729
	9250 5650 9350 5650
561
	4550 2150 4450 2150
730
Wire Wire Line
562
Wire Wire Line
731
	9250 5750 9350 5750
563
	4450 2250 4550 2250
732
Wire Wire Line
564
Wire Wire Line
733
	9250 5850 9700 5850
565
	4550 2350 4450 2350
734
Wire Wire Line
566
Wire Wire Line
735
	9250 5950 9700 5950
567
	4450 2450 4550 2450
736
Wire Wire Line
568
Wire Wire Line
737
	9250 6050 9350 6050
569
	4550 2550 4450 2550
738
Wire Wire Line
570
Wire Wire Line
739
	9250 6150 9350 6150
571
	4450 2650 4550 2650
740
Wire Wire Line
572
Wire Wire Line
741
	9250 6250 9350 6250
573
	3800 1250 3800 1350
742
Wire Wire Line
574
Wire Wire Line
743
	9250 6350 9350 6350
575
	3700 1250 3700 1350
-
 
576
NoConn ~ 3700 1250
-
 
577
NoConn ~ 3800 1250
-
 
578
NoConn ~ 2650 1850
744
Text Label 8500 6350 0    60   ~ 0
579
Text Label 4050 3550 3    60   ~ 0
745
GND
580
GND
746
$Comp
-
 
747
L CONN_6 P2
-
 
748
U 1 1 5146F586
-
 
749
P 1700 5800
-
 
750
F 0 "P2" V 1650 5800 60  0000 C CNN
-
 
751
F 1 "ICSP" V 1750 5800 60  0000 C CNN
-
 
752
F 2 "" H 1700 5800 60  0000 C CNN
-
 
753
F 3 "" H 1700 5800 60  0000 C CNN
-
 
754
	1    1700 5800
-
 
755
	-1   0    0    -1  
-
 
756
$EndComp
-
 
757
Text Label 7350 5450 2    60   ~ 0
-
 
758
MCLR
-
 
759
Wire Wire Line
-
 
760
	2150 5550 2050 5550
-
 
761
Wire Wire Line
-
 
762
	2150 5650 2050 5650
-
 
763
Wire Wire Line
-
 
764
	2150 5750 2050 5750
-
 
765
Wire Wire Line
-
 
766
	2150 5850 2050 5850
-
 
767
Wire Wire Line
-
 
768
	2150 5950 2050 5950
-
 
769
Wire Wire Line
-
 
770
	2150 6050 2050 6050
-
 
771
Text Label 2150 5550 0    60   ~ 0
-
 
772
MCLR
-
 
773
Text Label 2150 5650 0    60   ~ 0
-
 
774
VDD
-
 
775
Text Label 2150 5750 0    60   ~ 0
581
Text Label 4550 1750 0    60   ~ 0
776
GND
582
GND
-
 
583
NoConn ~ 3550 3550
-
 
584
NoConn ~ 3650 3550
777
Text Label 9700 5850 0    60   ~ 0
585
NoConn ~ 3750 3550
778
ICSPDAT
586
NoConn ~ 3850 3550
779
Text Label 9700 5950 0    60   ~ 0
587
Text Label 4550 2250 0    60   ~ 0
780
ICSPCLK
588
MODE_TOGGLE
-
 
589
NoConn ~ 2650 2450
-
 
590
NoConn ~ 2650 2350
-
 
591
NoConn ~ 2650 2250
781
Text Label 2150 5850 0    60   ~ 0
592
NoConn ~ 2650 2150
-
 
593
NoConn ~ 3950 3550
782
ICSPDAT
594
NoConn ~ 4550 1850
783
Text Label 2150 5950 0    60   ~ 0
595
NoConn ~ 4550 2050
-
 
596
NoConn ~ 4550 2550
784
ICSPCLK
597
NoConn ~ 4550 2650
785
NoConn ~ 2150 6050
598
NoConn ~ 2650 2050
786
Text Notes 1650 1850 0    60   ~ 0
599
Text Label 9350 6350 0    60   ~ 0
787
Weak pulldowns on the following pins:\nPIO3/PIO4/PIO6/PIO7
600
MODE_TOGGLE
788
Text Notes 4700 6300 0    60   ~ 0
601
Text Label 9350 6150 0    60   ~ 0
-
 
602
SLEEP
-
 
603
NoConn ~ 4550 2450
789
STAT output is as follows:\nHi-Z - battery disconnected\nLow - charging\nHigh - charged
604
NoConn ~ 4550 2350
790
Text Notes 7350 5050 0    60   ~ 0
605
Text Notes 4250 2850 0    60   ~ 0
791
TX/RX can be on pins RB7/RB5 or RC4/RC5\nSCL/SDA can be on pins RB6/RB4 or RB7/RB5\nInterrupt-on-change on all RA or RB pins
606
PIO_2 will pulse when module is connected\nPIO_5 will pulse when the module is not in the \n         idle state, excluding the connected state
792
$Comp
607
$Comp
793
L MCP73831/2 U3
608
L LED D1
794
U 1 1 51471B49
609
U 1 1 515DE509
795
P 4650 5800
610
P 5950 6650
796
F 0 "U3" H 4650 6200 60  0000 C CNN
611
F 0 "D1" H 5950 6750 50  0000 C CNN
797
F 1 "MCP73831/2" H 4650 6100 60  0000 C CNN
612
F 1 "LED" H 5950 6550 50  0000 C CNN
798
F 2 "~" H 4650 5800 60  0000 C CNN
613
F 2 "~" H 5950 6650 60  0000 C CNN
799
F 3 "~" H 4650 5800 60  0000 C CNN
614
F 3 "~" H 5950 6650 60  0000 C CNN
800
	1    4650 5800
615
	1    5950 6650
801
	1    0    0    -1  
616
	1    0    0    -1  
802
$EndComp
617
$EndComp
803
Text Label 5900 5650 2    60   ~ 0
618
Text Label 9350 6250 0    60   ~ 0
804
GND
619
LED
805
Wire Wire Line
-
 
806
	5850 5800 5900 5800
620
Text Label 5650 6650 2    60   ~ 0
-
 
621
LED
807
Wire Wire Line
622
Wire Wire Line
808
	5250 5650 5900 5650
623
	5650 6650 5750 6650
809
Wire Wire Line
624
Wire Wire Line
810
	5900 5650 5900 5800
625
	6150 6650 6250 6650
811
Text Notes 7000 3000 0    60   ~ 0
-
 
812
SA0 pulled high on gyroscope for slave address of 0b1101011\nAccelerometer address fixed at 0b0011001\nMagnometer address fixed at 0b0011110
-
 
813
Text Label 9350 3950 0    60   ~ 0
-
 
814
A_DRDY
-
 
815
Text Label 9350 6050 0    60   ~ 0
626
Text Label 6250 6650 0    60   ~ 0
816
A_DRDY
627
GND
817
$Comp
-
 
818
L CRYSTAL X1
-
 
819
U 1 1 51473862
-
 
820
P 10250 4950
-
 
821
F 0 "X1" H 10250 5100 60  0000 C CNN
-
 
822
F 1 "CRYSTAL" H 10250 4800 60  0000 C CNN
-
 
823
F 2 "~" H 10250 4950 60  0000 C CNN
-
 
824
F 3 "~" H 10250 4950 60  0000 C CNN
-
 
825
	1    10250 4950
-
 
826
	-1   0    0    1   
-
 
827
$EndComp
-
 
828
Text Label 9350 5450 0    60   ~ 0
-
 
829
T1OSO
-
 
830
Text Label 9350 5550 0    60   ~ 0
-
 
831
T1OSI
-
 
832
$Comp
628
$Comp
833
L C C8
629
L 78XX U1
834
U 1 1 5147388E
630
U 1 1 515E35BD
835
P 9950 5250
631
P 4400 5650
836
F 0 "C8" H 9950 5350 40  0000 L CNN
632
F 0 "U1" H 4400 5850 60  0000 C CNN
837
F 1 "C" H 9956 5165 40  0000 L CNN
633
F 1 "78XX" H 4400 5750 60  0000 C CNN
838
F 2 "~" H 9988 5100 30  0000 C CNN
634
F 2 "" H 4400 5650 60  0000 C CNN
839
F 3 "~" H 9950 5250 60  0000 C CNN
635
F 3 "" H 4400 5650 60  0000 C CNN
840
	1    9950 5250
636
	1    4400 5650
841
	1    0    0    -1  
637
	1    0    0    -1  
842
$EndComp
638
$EndComp
843
$Comp
639
$Comp
844
L C C9
640
L C C1
845
U 1 1 5147389B
641
U 1 1 515E5CE0
846
P 10550 5250
642
P 5500 5000
847
F 0 "C9" H 10550 5350 40  0000 L CNN
643
F 0 "C1" H 5500 5100 40  0000 L CNN
848
F 1 "C" H 10556 5165 40  0000 L CNN
644
F 1 "10uF" H 5506 4915 40  0000 L CNN
849
F 2 "~" H 10588 5100 30  0000 C CNN
645
F 2 "~" H 5538 4850 30  0000 C CNN
850
F 3 "~" H 10550 5250 60  0000 C CNN
646
F 3 "~" H 5500 5000 60  0000 C CNN
851
	1    10550 5250
647
	1    5500 5000
852
	1    0    0    -1  
648
	1    0    0    -1  
853
$EndComp
649
$EndComp
-
 
650
Text Label 5400 4800 2    60   ~ 0
-
 
651
V_BAT
-
 
652
Connection ~ 5500 5200
854
Wire Wire Line
653
Wire Wire Line
855
	9950 4850 9950 5050
654
	4450 1950 4550 1950
856
Wire Wire Line
-
 
857
	10550 4850 10550 5050
655
NoConn ~ 4550 1950
858
Wire Wire Line
656
Wire Wire Line
859
	9950 5450 10550 5450
657
	5400 4800 5500 4800
860
Text Label 10150 5450 0    60   ~ 0
-
 
861
GND
-
 
862
Connection ~ 9950 4950
-
 
863
Connection ~ 10550 4950
-
 
864
Text Label 9950 4850 2    60   ~ 0
-
 
865
T1OSO
-
 
866
Text Label 10550 4850 0    60   ~ 0
-
 
867
T1OSI
-
 
868
$EndSCHEMATC
658
$EndSCHEMATC