-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathweeSpindel.sch
559 lines (559 loc) · 12.6 KB
/
weeSpindel.sch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
EESchema Schematic File Version 4
LIBS:weeSpindel-cache
EELAYER 26 0
EELAYER END
$Descr A4 11693 8268
encoding utf-8
Sheet 1 1
Title ""
Date ""
Rev ""
Comp ""
Comment1 ""
Comment2 ""
Comment3 ""
Comment4 ""
$EndDescr
$Comp
L Device:C_Small C1
U 1 1 5B0BCD0C
P 4050 4950
F 0 "C1" H 4142 4996 50 0000 L CNN
F 1 "100nF" H 4142 4905 50 0000 L CNN
F 2 "Capacitor_SMD:C_0805_2012Metric_Pad1.15x1.40mm_HandSolder" H 4050 4950 50 0001 C CNN
F 3 "~" H 4050 4950 50 0001 C CNN
1 4050 4950
0 1 1 0
$EndComp
Text GLabel 3700 4750 1 50 Input ~ 0
3V3
$Comp
L power:GND #PWR02
U 1 1 5B0BCD6E
P 3700 7100
F 0 "#PWR02" H 3700 6850 50 0001 C CNN
F 1 "GND" H 3705 6927 50 0000 C CNN
F 2 "" H 3700 7100 50 0001 C CNN
F 3 "" H 3700 7100 50 0001 C CNN
1 3700 7100
1 0 0 -1
$EndComp
$Comp
L Device:R R6
U 1 1 5B0C7A88
P 2350 5300
F 0 "R6" V 2143 5300 50 0000 C CNN
F 1 "10K" V 2234 5300 50 0000 C CNN
F 2 "Resistor_SMD:R_0805_2012Metric_Pad1.15x1.40mm_HandSolder" V 2280 5300 50 0001 C CNN
F 3 "~" H 2350 5300 50 0001 C CNN
1 2350 5300
-1 0 0 1
$EndComp
Wire Wire Line
4600 6250 4700 6250
Wire Wire Line
3700 6850 3700 6900
Connection ~ 3700 6900
Wire Wire Line
3700 4750 3700 4850
Connection ~ 3700 4950
Wire Wire Line
3700 4950 3700 5050
$Comp
L ESP8266:ESP-12 U1
U 1 1 5B0BCB07
P 3700 5950
F 0 "U1" H 3550 6600 50 0000 C CNN
F 1 "ESP-12E" H 3300 6600 50 0000 C CNN
F 2 "CPB:ESP-12Emin" H 3700 6200 50 0001 C CNN
F 3 "http://wiki.ai-thinker.com/_media/esp8266/docs/aithinker_esp_12f_datasheet_en.pdf" H 3350 6250 50 0001 C CNN
1 3700 5950
1 0 0 -1
$EndComp
Text Notes 850 5450 0 50 ~ 0
RST: newer ESP-12F has\ninternal 12k pullup. 47K\nshould allow versions\nwith and without to boot.
$Comp
L Device:R R5
U 1 1 5CA494A3
P 2100 5300
F 0 "R5" V 2200 5300 50 0000 C CNN
F 1 "47K" V 2250 5300 50 0000 C CNN
F 2 "Resistor_SMD:R_0805_2012Metric_Pad1.15x1.40mm_HandSolder" V 2030 5300 50 0001 C CNN
F 3 "~" H 2100 5300 50 0001 C CNN
1 2100 5300
-1 0 0 1
$EndComp
$Comp
L Device:C_Small C7
U 1 1 5CC4D333
P 2200 6800
F 0 "C7" H 2292 6846 50 0000 L CNN
F 1 "100nF" H 2292 6755 50 0000 L CNN
F 2 "Capacitor_SMD:C_0805_2012Metric_Pad1.15x1.40mm_HandSolder" H 2200 6800 50 0001 C CNN
F 3 "~" H 2200 6800 50 0001 C CNN
1 2200 6800
-1 0 0 1
$EndComp
$Comp
L Device:L L1
U 1 1 5CD61B46
P 2700 2100
F 0 "L1" V 2890 2100 50 0000 C CNN
F 1 "10uH" V 2799 2100 50 0000 C CNN
F 2 "Inductor_SMD:L_Coilcraft_XxL4040" H 2700 2100 50 0001 C CNN
F 3 "~" H 2700 2100 50 0001 C CNN
1 2700 2100
0 -1 -1 0
$EndComp
$Comp
L Device:C C2
U 1 1 5CD61C94
P 2400 2550
F 0 "C2" H 2488 2596 50 0000 L CNN
F 1 "10uF" H 2488 2505 50 0000 L CNN
F 2 "Capacitor_SMD:C_0805_2012Metric_Pad1.15x1.40mm_HandSolder" H 2400 2550 50 0001 C CNN
F 3 "~" H 2400 2550 50 0001 C CNN
1 2400 2550
1 0 0 -1
$EndComp
$Comp
L Device:C C3
U 1 1 5CD61CDE
P 4150 2550
F 0 "C3" H 4238 2596 50 0000 L CNN
F 1 "10uF" H 4238 2505 50 0000 L CNN
F 2 "Capacitor_SMD:C_0805_2012Metric_Pad1.15x1.40mm_HandSolder" H 4150 2550 50 0001 C CNN
F 3 "~" H 4150 2550 50 0001 C CNN
1 4150 2550
1 0 0 -1
$EndComp
$Comp
L power:GND #PWR03
U 1 1 5CD6223B
P 3450 3200
F 0 "#PWR03" H 3450 2950 50 0001 C CNN
F 1 "GND" H 3455 3027 50 0000 C CNN
F 2 "" H 3450 3200 50 0001 C CNN
F 3 "" H 3450 3200 50 0001 C CNN
1 3450 3200
1 0 0 -1
$EndComp
Connection ~ 3450 3050
Wire Wire Line
3450 3050 3450 3200
Text GLabel 5250 2100 2 50 Output ~ 0
3V3
Text GLabel 2700 5750 0 50 Input ~ 0
ADC
Wire Wire Line
2700 5750 2800 5750
Text GLabel 4400 900 2 50 Output ~ 0
ADC
$Comp
L Device:R R1
U 1 1 5CE089C6
P 3550 900
F 0 "R1" V 3343 900 50 0000 C CNN
F 1 "1M" V 3434 900 50 0000 C CNN
F 2 "Resistor_SMD:R_0805_2012Metric_Pad1.15x1.40mm_HandSolder" V 3480 900 50 0001 C CNN
F 3 "~" H 3550 900 50 0001 C CNN
1 3550 900
0 1 1 0
$EndComp
$Comp
L Device:R R2
U 1 1 5CE08A65
P 3850 1250
F 0 "R2" H 3780 1204 50 0000 R CNN
F 1 "330K" H 3780 1295 50 0000 R CNN
F 2 "Resistor_SMD:R_0805_2012Metric_Pad1.15x1.40mm_HandSolder" V 3780 1250 50 0001 C CNN
F 3 "~" H 3850 1250 50 0001 C CNN
1 3850 1250
-1 0 0 1
$EndComp
$Comp
L power:GND #PWR04
U 1 1 5CE08AFD
P 4200 1500
F 0 "#PWR04" H 4200 1250 50 0001 C CNN
F 1 "GND" H 4205 1327 50 0000 C CNN
F 2 "" H 4200 1500 50 0001 C CNN
F 3 "" H 4200 1500 50 0001 C CNN
1 4200 1500
1 0 0 -1
$EndComp
Wire Wire Line
3700 900 3850 900
Wire Wire Line
3850 900 3850 1100
Connection ~ 3850 900
Wire Wire Line
3850 1400 3850 1450
Text Notes 3200 1150 0 50 ~ 0
divider:\n4.03v -> 1.0v
$Comp
L Device:C_Small C6
U 1 1 5CE67CB7
P 4200 1250
F 0 "C6" H 4292 1296 50 0000 L CNN
F 1 "100nF" H 4292 1205 50 0000 L CNN
F 2 "Capacitor_SMD:C_0805_2012Metric_Pad1.15x1.40mm_HandSolder" H 4200 1250 50 0001 C CNN
F 3 "~" H 4200 1250 50 0001 C CNN
1 4200 1250
1 0 0 -1
$EndComp
Wire Wire Line
3850 900 4200 900
Wire Wire Line
4200 1150 4200 900
Connection ~ 4200 900
Wire Wire Line
4200 900 4400 900
Wire Wire Line
4200 1350 4200 1450
Wire Wire Line
4200 1450 3850 1450
$Comp
L Device:C C4
U 1 1 5D095DCD
P 4550 2550
F 0 "C4" H 4638 2596 50 0000 L CNN
F 1 "10uF" H 4638 2505 50 0000 L CNN
F 2 "Capacitor_SMD:C_0805_2012Metric_Pad1.15x1.40mm_HandSolder" H 4550 2550 50 0001 C CNN
F 3 "~" H 4550 2550 50 0001 C CNN
1 4550 2550
1 0 0 -1
$EndComp
Text Notes 4200 3450 0 50 ~ 0
Duplicate 10uF caps\nto reduce ESD, as per\ndatasheet. Larger bulk\ncapacitor for 1x NiMH.
Wire Wire Line
3450 2550 3450 3050
Wire Wire Line
2850 2100 2950 2100
Wire Wire Line
4550 2400 4550 2100
Wire Wire Line
4000 2100 4150 2100
Connection ~ 4550 2100
Wire Wire Line
4550 2100 4950 2100
Wire Wire Line
4150 2400 4150 2100
Connection ~ 4150 2100
Wire Wire Line
4150 2100 4550 2100
Wire Wire Line
3450 3050 4150 3050
Wire Wire Line
4550 3050 4550 2700
Connection ~ 4550 3050
Wire Wire Line
4550 3050 4950 3050
Wire Wire Line
4150 3050 4150 2700
Connection ~ 4150 3050
Wire Wire Line
4150 3050 4550 3050
$Comp
L power:GND #PWR01
U 1 1 5DBBA683
P 700 1150
F 0 "#PWR01" H 700 900 50 0001 C CNN
F 1 "GND" H 705 977 50 0000 C CNN
F 2 "" H 700 1150 50 0001 C CNN
F 3 "" H 700 1150 50 0001 C CNN
1 700 1150
1 0 0 -1
$EndComp
Wire Wire Line
4600 6050 4700 6050
NoConn ~ 4600 6150
Connection ~ 4950 2100
Wire Wire Line
4950 2100 5250 2100
Text GLabel 4750 5950 2 50 BiDi ~ 0
SDA
Text GLabel 4750 5850 2 50 BiDi ~ 0
SCL
Wire Wire Line
4600 5850 4750 5850
Wire Wire Line
4750 5950 4600 5950
Text GLabel 7100 4450 0 50 Input ~ 0
3V3
Text GLabel 7100 4850 0 50 BiDi ~ 0
SCL
Text GLabel 7100 4950 0 50 BiDi ~ 0
SDA
$Comp
L power:GND #PWR06
U 1 1 5E852412
P 8050 5050
F 0 "#PWR06" H 8050 4800 50 0001 C CNN
F 1 "GND" H 8055 4877 50 0000 C CNN
F 2 "" H 8050 5050 50 0001 C CNN
F 3 "" H 8050 5050 50 0001 C CNN
1 8050 5050
1 0 0 -1
$EndComp
Text Notes 6950 5550 0 50 ~ 0
NOTE: the MPU-6050\nmodule usually has\nI2C pullups builtin, so we're\nleaving them out here.
$Comp
L Device:CP1_Small C5
U 1 1 5E8676BA
P 4950 2550
F 0 "C5" H 5041 2596 50 0000 L CNN
F 1 "100uF" H 5041 2505 50 0000 L CNN
F 2 "Capacitor_Tantalum_SMD:CP_EIA-3528-12_Kemet-T_Pad1.50x2.35mm_HandSolder" H 4950 2550 50 0001 C CNN
F 3 "~" H 4950 2550 50 0001 C CNN
1 4950 2550
1 0 0 -1
$EndComp
Wire Wire Line
4950 2100 4950 2450
Wire Wire Line
4950 2650 4950 3050
$Comp
L Holtek:HT7733SA U2
U 1 1 5E86B919
P 3450 2100
F 0 "U2" H 3475 2365 50 0000 C CNN
F 1 "HT7733SA" H 3475 2274 50 0000 C CNN
F 2 "Package_TO_SOT_SMD:SOT-23-5" H 3650 1800 50 0001 C CNN
F 3 "" H 3450 2100 50 0001 C CNN
1 3450 2100
1 0 0 -1
$EndComp
Wire Wire Line
2900 2250 2950 2250
$Comp
L Device:Battery_Cell BT1
U 1 1 5E862E9B
P 850 900
F 0 "BT1" V 595 950 50 0000 C CNN
F 1 "NiMH" V 686 950 50 0000 C CNN
F 2 "CPB:Battery_Springs_AAA" V 850 960 50 0001 C CNN
F 3 "~" V 850 960 50 0001 C CNN
1 850 900
0 1 1 0
$EndComp
Wire Wire Line
1050 900 1200 900
Wire Wire Line
750 900 700 900
Wire Wire Line
700 900 700 1150
$Comp
L Switch:SW_SPST SW1
U 1 1 5E86C4A2
P 1400 900
F 0 "SW1" H 1400 675 50 0000 C CNN
F 1 "POWER" H 1400 766 50 0000 C CNN
F 2 "CPB:SPST Switch 9mmx3.5mm C223839" H 1400 900 50 0001 C CNN
F 3 "" H 1400 900 50 0001 C CNN
1 1400 900
-1 0 0 1
$EndComp
NoConn ~ 2800 6250
Wire Wire Line
2800 6050 2450 6050
Wire Wire Line
2450 6900 3700 6900
NoConn ~ 2800 6150
$Comp
L Connector_Generic:Conn_01x04 J1
U 1 1 5E97FF96
P 8300 4750
F 0 "J1" H 8380 4742 50 0000 L CNN
F 1 "MPU-6050" H 8380 4651 50 0000 L CNN
F 2 "CPB:MPU-6050 Breakout I2C" H 8300 4750 50 0001 C CNN
F 3 "~" H 8300 4750 50 0001 C CNN
1 8300 4750
1 0 0 -1
$EndComp
Wire Wire Line
8100 4750 8050 4750
Wire Wire Line
8050 4750 8050 5050
Wire Wire Line
8050 4450 8050 4650
Wire Wire Line
8050 4650 8100 4650
$Comp
L power:GND #PWR05
U 1 1 5E99E221
P 4350 5050
F 0 "#PWR05" H 4350 4800 50 0001 C CNN
F 1 "GND" H 4355 4877 50 0000 C CNN
F 2 "" H 4350 5050 50 0001 C CNN
F 3 "" H 4350 5050 50 0001 C CNN
1 4350 5050
1 0 0 -1
$EndComp
Wire Wire Line
3700 4950 3950 4950
Wire Wire Line
4150 4950 4350 4950
Wire Wire Line
4350 4950 4350 5050
$Comp
L Device:R R7
U 1 1 5E9A2F33
P 4700 6650
F 0 "R7" V 4800 6650 50 0000 C CNN
F 1 "10K" V 4850 6650 50 0000 C CNN
F 2 "Resistor_SMD:R_0805_2012Metric_Pad1.15x1.40mm_HandSolder" V 4630 6650 50 0001 C CNN
F 3 "~" H 4700 6650 50 0001 C CNN
1 4700 6650
-1 0 0 1
$EndComp
Wire Wire Line
4700 6250 4700 6500
Wire Wire Line
4700 6800 4700 6900
Wire Wire Line
4700 6900 3700 6900
$Comp
L Device:R R4
U 1 1 5E9A8366
P 4700 5250
F 0 "R4" V 4493 5250 50 0000 C CNN
F 1 "10K" V 4584 5250 50 0000 C CNN
F 2 "Resistor_SMD:R_0805_2012Metric_Pad1.15x1.40mm_HandSolder" V 4630 5250 50 0001 C CNN
F 3 "~" H 4700 5250 50 0001 C CNN
1 4700 5250
-1 0 0 1
$EndComp
Wire Wire Line
3700 4850 4700 4850
Wire Wire Line
4700 4850 4700 5100
Wire Wire Line
3700 6900 3700 7100
Connection ~ 3700 4850
Wire Wire Line
3700 4850 3700 4950
Wire Wire Line
4700 5400 4700 6050
$Comp
L Device:R_Small R3
U 1 1 5E9ADDC8
P 2100 5800
F 0 "R3" V 2300 5800 50 0000 C CNN
F 1 "1K" V 2200 5800 50 0000 C CNN
F 2 "Resistor_SMD:R_1206_3216Metric_Pad1.42x1.75mm_HandSolder" H 2100 5800 50 0001 C CNN
F 3 "~" H 2100 5800 50 0001 C CNN
1 2100 5800
-1 0 0 1
$EndComp
Wire Wire Line
2100 4950 2100 5150
Wire Wire Line
2100 4950 2350 4950
Wire Wire Line
2100 5650 2100 5700
Wire Wire Line
2100 5650 2800 5650
Wire Wire Line
2100 5650 2100 5450
Connection ~ 2100 5650
Wire Wire Line
2100 5900 2100 5950
Wire Wire Line
2100 5950 2800 5950
Wire Wire Line
2350 5850 2350 5450
Wire Wire Line
2350 5850 2800 5850
Wire Wire Line
2350 5850 2200 5850
Wire Wire Line
2200 5850 2200 6700
Connection ~ 2350 5850
Wire Wire Line
2200 6900 2450 6900
Connection ~ 2450 6900
Wire Wire Line
2350 5150 2350 4950
Connection ~ 2350 4950
Wire Wire Line
2350 4950 3700 4950
Wire Wire Line
4150 2100 4150 1750
Wire Wire Line
4150 1750 2900 1750
Wire Wire Line
2900 1750 2900 2250
Wire Wire Line
4200 1450 4200 1500
Connection ~ 4200 1450
Wire Wire Line
7100 4950 8100 4950
Wire Wire Line
7100 4450 8050 4450
Wire Wire Line
7100 4850 8100 4850
Wire Wire Line
2450 6800 2450 6900
Wire Wire Line
2450 6050 2450 6200
$Comp
L Device:Jumper JP1
U 1 1 5E859075
P 2450 6500
F 0 "JP1" V 2496 6412 50 0000 R CNN
F 1 "Cal" V 2405 6412 50 0000 R CNN
F 2 "CPB:Socket_Strip_Straight_1x02_Oval_Pitch2.54mm" H 2450 6500 50 0001 C CNN
F 3 "~" H 2450 6500 50 0001 C CNN
1 2450 6500
0 -1 -1 0
$EndComp
$Comp
L Regulator_Linear:MCP1700-3302E_SOT23 U3
U 1 1 5E95A681
P 1750 1750
F 0 "U3" H 1750 1992 50 0000 C CNN
F 1 "MCP1700-3302E_SOT23" H 1750 1901 50 0000 C CNN
F 2 "Package_TO_SOT_SMD:SOT-23" H 1750 1975 50 0001 C CNN
F 3 "http://ww1.microchip.com/downloads/en/DeviceDoc/20001826C.pdf" H 1750 1750 50 0001 C CNN
1 1750 1750
1 0 0 -1
$EndComp
Wire Wire Line
2400 1250 2400 2100
Wire Wire Line
2400 2100 2550 2100
Wire Wire Line
2050 1750 2900 1750
Connection ~ 2900 1750
Wire Wire Line
1200 1250 1200 1750
Wire Wire Line
1200 1750 1450 1750
Wire Wire Line
1750 2050 1750 3050
Text Notes 900 2100 0 50 ~ 0
FIXME: add Li-ion protection
NoConn ~ 4600 5650
NoConn ~ 4600 5750
Wire Wire Line
1750 3050 2400 3050
Wire Wire Line
2400 2400 2400 2100
Connection ~ 2400 2100
Wire Wire Line
2400 2700 2400 3050
Connection ~ 2400 3050
Wire Wire Line
2400 3050 3450 3050
Wire Wire Line
1200 1250 2400 1250
Wire Wire Line
1600 900 2400 900
Wire Wire Line
2400 900 2400 1250
Connection ~ 2400 900
Wire Wire Line
2400 900 3400 900
Connection ~ 2400 1250
$EndSCHEMATC