-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathgesc_uc.sch
573 lines (573 loc) · 12.3 KB
/
gesc_uc.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
560
561
562
563
564
565
566
567
568
569
570
571
572
573
EESchema Schematic File Version 4
EELAYER 30 0
EELAYER END
$Descr A4 11693 8268
encoding utf-8
Sheet 5 5
Title "GESC - DC Motor Controler"
Date "2020-04-09"
Rev "7.0"
Comp ""
Comment1 ""
Comment2 ""
Comment3 ""
Comment4 ""
$EndDescr
Text HLabel 5100 2600 2 50 Input ~ 0
VOLTAGE_1
Text HLabel 5100 2700 2 50 Input ~ 0
VOLTAGE_2
Text HLabel 5100 2800 2 50 Input ~ 0
VOLTAGE_3
Text HLabel 5100 2900 2 50 Input ~ 0
ADC_TEMP
Text HLabel 5100 3000 2 50 Input ~ 0
RX_SDA_NSS
Text HLabel 5100 3100 2 50 Input ~ 0
SCK_ADC_EXT
Text HLabel 5100 3200 2 50 Input ~ 0
MISO_ADC_EXT2
Text HLabel 5100 3300 2 50 Input ~ 0
TX_SCL_MOSI
Text HLabel 5100 3400 2 50 Input ~ 0
H1
Text HLabel 5100 3500 2 50 Input ~ 0
H2
Text HLabel 5100 3600 2 50 Input ~ 0
H3
Text HLabel 5100 3800 2 50 Input ~ 0
USB_D+
Text HLabel 5100 3700 2 50 Input ~ 0
USB_D-
Text HLabel 5100 3900 2 50 Input ~ 0
SWDIO
Text HLabel 5100 4000 2 50 Input ~ 0
SWCLK
Text HLabel 5100 4300 2 50 Input ~ 0
LED_GREEN
Text HLabel 5100 4400 2 50 Input ~ 0
LED_RED
Text HLabel 5100 5000 2 50 Input ~ 0
SERVO
Text HLabel 5100 5300 2 50 Input ~ 0
TX_SCL_MOSI
Text HLabel 5100 5400 2 50 Input ~ 0
RX_SDA_NSS
Text HLabel 5100 5600 2 50 Input ~ 0
L1
Text HLabel 5100 5700 2 50 Input ~ 0
L2
Text HLabel 5100 5800 2 50 Input ~ 0
L3
Text HLabel 3200 4300 0 50 Input ~ 0
CURRENT_1
Text HLabel 3200 4400 0 50 Input ~ 0
CURRENT_2
Text HLabel 3200 4500 0 50 Input ~ 0
CURRENT_3
Text HLabel 3200 4600 0 50 Input ~ 0
AN_IN
Text HLabel 3200 4700 0 50 Input ~ 0
TEMP_MOTOR
Text HLabel 3200 4900 0 50 Input ~ 0
HALL_1
Text HLabel 3200 5000 0 50 Input ~ 0
HALL_2
Text HLabel 3200 5100 0 50 Input ~ 0
HALL_3
Text HLabel 3200 5600 0 50 Input ~ 0
HALL_TRIG
Text HLabel 3200 5700 0 50 Input ~ 0
HALL_ROT_A
Text HLabel 3200 5800 0 50 Input ~ 0
HALL_ROT_B
Wire Wire Line
4850 2600 5100 2600
Wire Wire Line
4850 2700 5100 2700
Wire Wire Line
4850 2800 5100 2800
Wire Wire Line
4850 2900 5100 2900
Wire Wire Line
4850 3000 5100 3000
Wire Wire Line
4850 3100 5100 3100
Wire Wire Line
4850 3200 5100 3200
Wire Wire Line
4850 3300 5100 3300
Wire Wire Line
4850 3400 5100 3400
Wire Wire Line
4850 3500 5100 3500
Wire Wire Line
4850 3600 5100 3600
Wire Wire Line
4850 3700 5100 3700
Wire Wire Line
4850 3800 5100 3800
Wire Wire Line
4850 3900 5100 3900
Wire Wire Line
4850 4000 5100 4000
Wire Wire Line
4850 4300 5100 4300
Wire Wire Line
5100 4400 4850 4400
Wire Wire Line
4850 4800 5100 4800
Wire Wire Line
5100 4900 4850 4900
Wire Wire Line
3450 5300 3200 5300
Wire Wire Line
3450 5400 3200 5400
Wire Wire Line
5100 5000 4850 5000
Wire Wire Line
5100 5300 4850 5300
Wire Wire Line
4850 5400 5100 5400
Wire Wire Line
5100 5500 4850 5500
Wire Wire Line
4850 5600 5100 5600
Wire Wire Line
5100 5700 4850 5700
Wire Wire Line
4850 5800 5100 5800
Wire Wire Line
3200 4100 3450 4100
Wire Wire Line
3200 4300 3450 4300
Wire Wire Line
3200 4400 3450 4400
Wire Wire Line
3200 4500 3450 4500
Wire Wire Line
3200 4600 3450 4600
Wire Wire Line
3200 4700 3450 4700
Wire Wire Line
3200 4800 3450 4800
Wire Wire Line
3200 4900 3450 4900
Wire Wire Line
3200 5000 3450 5000
Wire Wire Line
3200 5100 3450 5100
Wire Wire Line
3450 5600 3200 5600
Wire Wire Line
3200 5700 3450 5700
Wire Wire Line
3450 5800 3200 5800
Wire Wire Line
2700 3900 3450 3900
$Comp
L Device:C C3
U 1 1 5C0116B6
P 1550 3700
F 0 "C3" V 1400 3800 50 0000 C CNN
F 1 "15p0" V 1500 3850 50 0000 C CNN
F 2 "Capacitor_SMD:C_0805_2012Metric" H 1588 3550 50 0001 C CNN
F 3 "~" H 1550 3700 50 0001 C CNN
1 1550 3700
0 1 1 0
$EndComp
$Comp
L Device:C C4
U 1 1 5C01170C
P 1550 4050
F 0 "C4" V 1400 3800 50 0000 C CNN
F 1 "15p0" V 1500 3850 50 0000 C CNN
F 2 "Capacitor_SMD:C_0805_2012Metric" H 1588 3900 50 0001 C CNN
F 3 "~" H 1550 4050 50 0001 C CNN
1 1550 4050
0 1 1 0
$EndComp
$Comp
L Device:C C6
U 1 1 5C01B300
P 2700 3300
F 0 "C6" H 2650 3200 50 0000 R CNN
F 1 "10u0/25V" H 2700 3400 50 0000 R CNN
F 2 "Capacitor_SMD:C_0805_2012Metric" H 2738 3150 50 0001 C CNN
F 3 "~" H 2700 3300 50 0001 C CNN
1 2700 3300
-1 0 0 1
$EndComp
$Comp
L Device:C C7
U 1 1 5C01B37C
P 3150 3300
F 0 "C7" H 3150 3200 50 0000 R CNN
F 1 "10u0/25V" H 3150 3400 50 0000 R CNN
F 2 "Capacitor_SMD:C_0805_2012Metric" H 3188 3150 50 0001 C CNN
F 3 "~" H 3150 3300 50 0001 C CNN
1 3150 3300
-1 0 0 1
$EndComp
Wire Wire Line
3150 3550 3150 3450
$Comp
L power:GND #PWR022
U 1 1 5C020C7C
P 3150 3550
F 0 "#PWR022" H 3150 3300 50 0001 C CNN
F 1 "GND" H 3155 3377 50 0000 C CNN
F 2 "" H 3150 3550 50 0001 C CNN
F 3 "" H 3150 3550 50 0001 C CNN
1 3150 3550
1 0 0 -1
$EndComp
Connection ~ 3150 3550
Wire Wire Line
3450 3100 3150 3100
Wire Wire Line
3150 3100 3150 3150
$Comp
L power:GND #PWR021
U 1 1 5C022B75
P 3150 2800
F 0 "#PWR021" H 3150 2550 50 0001 C CNN
F 1 "GND" V 3155 2672 50 0000 R CNN
F 2 "" H 3150 2800 50 0001 C CNN
F 3 "" H 3150 2800 50 0001 C CNN
1 3150 2800
0 1 1 0
$EndComp
Wire Wire Line
3150 2800 3450 2800
$Comp
L Device:C C5
U 1 1 5C026BC6
P 2350 2800
F 0 "C5" H 2465 2846 50 0000 L CNN
F 1 "100n" H 2465 2755 50 0000 L CNN
F 2 "Capacitor_SMD:C_0805_2012Metric" H 2388 2650 50 0001 C CNN
F 3 "~" H 2350 2800 50 0001 C CNN
1 2350 2800
1 0 0 -1
$EndComp
Wire Wire Line
3450 2600 2350 2600
Wire Wire Line
2350 2600 2350 2650
$Comp
L power:GND #PWR020
U 1 1 5C028DBD
P 2350 2950
F 0 "#PWR020" H 2350 2700 50 0001 C CNN
F 1 "GND" H 2355 2777 50 0000 C CNN
F 2 "" H 2350 2950 50 0001 C CNN
F 3 "" H 2350 2950 50 0001 C CNN
1 2350 2950
1 0 0 -1
$EndComp
Text HLabel 2200 2600 0 50 Input ~ 0
NRST
Wire Wire Line
2200 2600 2350 2600
Connection ~ 2350 2600
Text HLabel 5100 4100 2 50 Input ~ 0
PA15
Text HLabel 5100 4500 2 50 Input ~ 0
PB2
Wire Wire Line
4850 4100 5100 4100
Wire Wire Line
5100 4500 4850 4500
$Comp
L Device:C C9
U 1 1 5C030F0E
P 4050 1750
F 0 "C9" H 4050 1850 50 0000 L CNN
F 1 "10u0/25V" H 3950 1750 50 0000 L CNN
F 2 "Capacitor_SMD:C_0805_2012Metric" H 4088 1600 50 0001 C CNN
F 3 "~" H 4050 1750 50 0001 C CNN
1 4050 1750
1 0 0 -1
$EndComp
Wire Wire Line
3950 2200 3950 2300
Wire Wire Line
4050 1900 4050 2300
Wire Wire Line
4150 2400 4150 2300
Wire Wire Line
4250 2400 4250 2300
Wire Wire Line
4350 2400 4350 2300
$Comp
L power:VCC #PWR024
U 1 1 5C0441EA
P 3700 2300
F 0 "#PWR024" H 3700 2150 50 0001 C CNN
F 1 "VCC" H 3717 2473 50 0000 C CNN
F 2 "" H 3700 2300 50 0001 C CNN
F 3 "" H 3700 2300 50 0001 C CNN
1 3700 2300
1 0 0 -1
$EndComp
Wire Wire Line
3950 1900 3950 1600
Wire Wire Line
3950 1600 4050 1600
Connection ~ 4050 1600
Wire Wire Line
4050 1600 4150 1600
Wire Wire Line
4150 1900 4150 1600
Connection ~ 4150 1600
Wire Wire Line
4350 1900 4350 1600
Connection ~ 4350 1600
Wire Wire Line
4350 1600 4450 1600
Wire Wire Line
3950 1600 3700 1600
Connection ~ 3950 1600
$Comp
L power:GND #PWR023
U 1 1 5C04EECC
P 3700 1600
F 0 "#PWR023" H 3700 1350 50 0001 C CNN
F 1 "GND" H 3705 1427 50 0000 C CNN
F 2 "" H 3700 1600 50 0001 C CNN
F 3 "" H 3700 1600 50 0001 C CNN
1 3700 1600
1 0 0 -1
$EndComp
Wire Wire Line
4450 1900 4450 2300
Wire Wire Line
3700 2300 3950 2300
Connection ~ 3950 2300
Wire Wire Line
3950 2300 3950 2400
Wire Wire Line
3950 2300 4050 2300
Connection ~ 4050 2300
Wire Wire Line
4050 2300 4050 2400
Wire Wire Line
4050 2300 4150 2300
Connection ~ 4150 2300
Wire Wire Line
4150 2300 4150 2200
Wire Wire Line
4150 2300 4250 2300
Connection ~ 4250 2300
Wire Wire Line
4250 2300 4250 1900
Wire Wire Line
4250 2300 4350 2300
Connection ~ 4350 2300
Wire Wire Line
4350 2300 4350 2200
Wire Wire Line
4350 2300 4450 2300
Connection ~ 4450 2300
Wire Wire Line
4450 2300 4450 2400
Wire Wire Line
4050 6000 4050 6250
Wire Wire Line
4050 6250 4150 6250
Wire Wire Line
4250 6250 4250 6000
Wire Wire Line
4150 6000 4150 6250
Connection ~ 4150 6250
Wire Wire Line
4150 6250 4250 6250
$Comp
L power:GND #PWR025
U 1 1 5C068B6D
P 4150 6250
F 0 "#PWR025" H 4150 6000 50 0001 C CNN
F 1 "GND" H 4155 6077 50 0000 C CNN
F 2 "" H 4150 6250 50 0001 C CNN
F 3 "" H 4150 6250 50 0001 C CNN
1 4150 6250
1 0 0 -1
$EndComp
Text Notes 7200 6850 0 157 ~ 0
Controller
Wire Wire Line
2700 3000 3450 3000
Wire Wire Line
2700 3000 2700 3150
Wire Wire Line
2700 3550 3150 3550
Wire Wire Line
2700 3550 2700 3450
Wire Wire Line
4150 1600 4250 1600
$Comp
L Device:C C8
U 1 1 5C15604C
P 3950 2050
F 0 "C8" H 3950 2150 50 0000 L CNN
F 1 "10u0/25V" H 3850 2050 50 0000 L CNN
F 2 "Capacitor_SMD:C_0805_2012Metric" H 3988 1900 50 0001 C CNN
F 3 "~" H 3950 2050 50 0001 C CNN
1 3950 2050
1 0 0 -1
$EndComp
$Comp
L Device:C C10
U 1 1 5C156086
P 4150 2050
F 0 "C10" H 4150 2150 50 0000 L CNN
F 1 "10u0/25V" H 4050 2050 50 0000 L CNN
F 2 "Capacitor_SMD:C_0805_2012Metric" H 4188 1900 50 0001 C CNN
F 3 "~" H 4150 2050 50 0001 C CNN
1 4150 2050
1 0 0 -1
$EndComp
$Comp
L Device:C C11
U 1 1 5C1560BA
P 4250 1750
F 0 "C11" H 4250 1850 50 0000 L CNN
F 1 "10u0/25V" H 4150 1750 50 0000 L CNN
F 2 "Capacitor_SMD:C_0805_2012Metric" H 4288 1600 50 0001 C CNN
F 3 "~" H 4250 1750 50 0001 C CNN
1 4250 1750
1 0 0 -1
$EndComp
Connection ~ 4250 1600
Wire Wire Line
4250 1600 4350 1600
$Comp
L Device:C C12
U 1 1 5C1560F2
P 4350 2050
F 0 "C12" H 4350 2150 50 0000 L CNN
F 1 "10u0/25V" H 4250 2050 50 0000 L CNN
F 2 "Capacitor_SMD:C_0805_2012Metric" H 4388 1900 50 0001 C CNN
F 3 "~" H 4350 2050 50 0001 C CNN
1 4350 2050
1 0 0 -1
$EndComp
$Comp
L Device:C C13
U 1 1 5C156122
P 4450 1750
F 0 "C13" H 4450 1850 50 0000 L CNN
F 1 "10u0/25V" H 4350 1750 50 0000 L CNN
F 2 "Capacitor_SMD:C_0805_2012Metric" H 4488 1600 50 0001 C CNN
F 3 "~" H 4450 1750 50 0001 C CNN
1 4450 1750
1 0 0 -1
$EndComp
$Comp
L power:GND #PWR0101
U 1 1 5C4737D3
P 1400 4300
F 0 "#PWR0101" H 1400 4050 50 0001 C CNN
F 1 "GND" H 1405 4127 50 0000 C CNN
F 2 "" H 1400 4300 50 0001 C CNN
F 3 "" H 1400 4300 50 0001 C CNN
1 1400 4300
1 0 0 -1
$EndComp
Text HLabel 5100 4800 2 50 Input ~ 0
PB5
Text HLabel 5100 4900 2 50 Input ~ 0
PB6
Text HLabel 3200 5400 0 50 Input ~ 0
P_UART_RX_MISO
Text HLabel 5100 5500 2 50 Input ~ 0
PB12
Text HLabel 3200 4100 0 50 Output ~ 0
CURR_FILTER_ON
Wire Wire Line
1900 4050 2700 4050
Wire Wire Line
2700 4050 2700 3900
Wire Wire Line
1400 4300 1400 4050
Wire Wire Line
1400 3700 1100 3700
$Comp
L power:GND #PWR0111
U 1 1 5E360D1D
P 1100 3700
F 0 "#PWR0111" H 1100 3450 50 0001 C CNN
F 1 "GND" H 1105 3527 50 0000 C CNN
F 2 "" H 1100 3700 50 0001 C CNN
F 3 "" H 1100 3700 50 0001 C CNN
1 1100 3700
0 1 1 0
$EndComp
Wire Wire Line
3450 5200 3150 5200
Text HLabel 3150 5200 0 50 Input ~ 0
SENS_FILTER_ON
$Comp
L Device:Crystal Y1
U 1 1 5E9F6748
P 1900 3900
F 0 "Y1" V 1854 4031 50 0000 L CNN
F 1 "X50328MSB2GI" V 1945 4031 50 0000 L CNN
F 2 "Crystal:Crystal_SMD_5032-2Pin_5.0x3.2mm" H 1900 3900 50 0001 C CNN
F 3 "~" H 1900 3900 50 0001 C CNN
F 4 "C115962" V 1900 3900 50 0001 C CNN "LCSC"
1 1900 3900
0 1 1 0
$EndComp
Wire Wire Line
2700 3800 3450 3800
Wire Wire Line
2700 3800 2700 3700
Wire Wire Line
2700 3700 1900 3700
Wire Wire Line
1900 3700 1900 3750
Wire Wire Line
1700 4050 1900 4050
Connection ~ 1900 4050
Wire Wire Line
1700 3700 1900 3700
Connection ~ 1900 3700
$Comp
L MCU_ST_STM32F4:STM32F405RGTx U1
U 1 1 5BFF9EEA
P 4150 4200
F 0 "U1" H 3600 2450 50 0000 C CNN
F 1 "STM32F405RGTx" H 3600 2350 50 0000 C CNN
F 2 "Package_QFP:LQFP-64_10x10mm_P0.5mm" H 3550 2500 50 0001 R CNN
F 3 "http://www.st.com/st-web-ui/static/active/en/resource/technical/document/datasheet/DM00037051.pdf" H 4150 4200 50 0001 C CNN
F 4 "C15742" H 4150 4200 50 0001 C CNN "LCSC"
1 4150 4200
1 0 0 -1
$EndComp
Wire Wire Line
4850 5100 5100 5100
Wire Wire Line
4850 5200 5100 5200
Text HLabel 5100 5100 2 50 Input ~ 0
I2C1_SCL
Text HLabel 5100 5200 2 50 Input ~ 0
I2C1_SDA
Wire Wire Line
4850 4600 5100 4600
Wire Wire Line
5100 4700 4850 4700
Text HLabel 5100 4600 2 50 Input ~ 0
PB3
Text HLabel 5100 4700 2 50 Input ~ 0
PB4
Wire Wire Line
3200 5500 3450 5500
Text HLabel 3200 5500 0 50 Input ~ 0
PC12
Text HLabel 3200 4800 0 50 Input ~ 0
PC5
Text HLabel 3200 5300 0 50 Input ~ 0
P_UART_TX_SCK
$EndSCHEMATC