-
Notifications
You must be signed in to change notification settings - Fork 0
/
smart_motor_controller.sch
1336 lines (1336 loc) · 31.2 KB
/
smart_motor_controller.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
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
EESchema Schematic File Version 4
EELAYER 30 0
EELAYER END
$Descr A4 11693 8268
encoding utf-8
Sheet 1 3
Title "Smart motor controller"
Date "2021-04-24"
Rev "Sergey"
Comp "VsReality"
Comment1 ""
Comment2 ""
Comment3 ""
Comment4 ""
$EndDescr
Text Notes 600 650 0 50 ~ 0
Input Voltage Regulator
$Comp
L power:+3V3 #PWR016
U 1 1 600FC2C8
P 2000 3600
F 0 "#PWR016" H 2000 3450 50 0001 C CNN
F 1 "+3V3" H 2015 3773 50 0000 C CNN
F 2 "" H 2000 3600 50 0001 C CNN
F 3 "" H 2000 3600 50 0001 C CNN
1 2000 3600
1 0 0 -1
$EndComp
Wire Wire Line
2000 3600 2000 3650
Wire Wire Line
2400 3700 2400 3650
Wire Wire Line
2400 3650 2300 3650
Connection ~ 2000 3650
Wire Wire Line
2000 3650 2000 3700
Wire Wire Line
2300 3700 2300 3650
Connection ~ 2300 3650
Wire Wire Line
2300 3650 2200 3650
Wire Wire Line
2200 3700 2200 3650
Connection ~ 2200 3650
Wire Wire Line
2200 3650 2100 3650
Wire Wire Line
2100 3700 2100 3650
Connection ~ 2100 3650
Wire Wire Line
2100 3650 2000 3650
$Comp
L power:+3.3VA #PWR017
U 1 1 601029A4
P 2500 3600
F 0 "#PWR017" H 2500 3450 50 0001 C CNN
F 1 "+3.3VA" H 2515 3773 50 0000 C CNN
F 2 "" H 2500 3600 50 0001 C CNN
F 3 "" H 2500 3600 50 0001 C CNN
1 2500 3600
1 0 0 -1
$EndComp
Wire Wire Line
2500 3600 2500 3700
Wire Wire Line
2100 7300 2100 7350
Wire Wire Line
2200 7300 2200 7350
Wire Wire Line
2200 7350 2100 7350
Connection ~ 2100 7350
Wire Wire Line
2100 7350 2100 7400
Wire Wire Line
2300 7300 2300 7350
Wire Wire Line
2300 7350 2200 7350
Connection ~ 2200 7350
$Comp
L Device:C_Small C4
U 1 1 6010CD6B
P 1250 2900
F 0 "C4" H 1342 2946 50 0000 L CNN
F 1 "100nf" H 1342 2855 50 0000 L CNN
F 2 "Capacitor_SMD:C_0402_1005Metric" H 1250 2900 50 0001 C CNN
F 3 "~" H 1250 2900 50 0001 C CNN
F 4 "C1525" H 1250 2900 50 0001 C CNN "LCSC Part #"
1 1250 2900
1 0 0 -1
$EndComp
$Comp
L Device:C_Small C5
U 1 1 6010D219
P 1650 2900
F 0 "C5" H 1742 2946 50 0000 L CNN
F 1 "100nf" H 1742 2855 50 0000 L CNN
F 2 "Capacitor_SMD:C_0402_1005Metric" H 1650 2900 50 0001 C CNN
F 3 "~" H 1650 2900 50 0001 C CNN
F 4 "C1525" H 1650 2900 50 0001 C CNN "LCSC Part #"
1 1650 2900
1 0 0 -1
$EndComp
$Comp
L Device:C_Small C6
U 1 1 6010D3FA
P 2050 2900
F 0 "C6" H 2142 2946 50 0000 L CNN
F 1 "100nf" H 2142 2855 50 0000 L CNN
F 2 "Capacitor_SMD:C_0402_1005Metric" H 2050 2900 50 0001 C CNN
F 3 "~" H 2050 2900 50 0001 C CNN
F 4 "C1525" H 2050 2900 50 0001 C CNN "LCSC Part #"
1 2050 2900
1 0 0 -1
$EndComp
$Comp
L Device:C_Small C7
U 1 1 6010EA77
P 2450 2900
F 0 "C7" H 2542 2946 50 0000 L CNN
F 1 "100nf" H 2542 2855 50 0000 L CNN
F 2 "Capacitor_SMD:C_0402_1005Metric" H 2450 2900 50 0001 C CNN
F 3 "~" H 2450 2900 50 0001 C CNN
F 4 "C1525" H 2450 2900 50 0001 C CNN "LCSC Part #"
1 2450 2900
1 0 0 -1
$EndComp
$Comp
L Device:C_Small C3
U 1 1 6011074A
P 950 2900
F 0 "C3" H 1042 2946 50 0000 L CNN
F 1 "4u7" H 1042 2855 50 0000 L CNN
F 2 "Capacitor_SMD:C_0603_1608Metric" H 950 2900 50 0001 C CNN
F 3 "~" H 950 2900 50 0001 C CNN
F 4 "C19666" H 950 2900 50 0001 C CNN "LCSC Part #"
1 950 2900
1 0 0 -1
$EndComp
Wire Wire Line
950 2800 950 2750
Wire Wire Line
950 2750 1250 2750
Wire Wire Line
950 3050 950 3000
Wire Wire Line
1250 2800 1250 2750
Connection ~ 1250 2750
Wire Wire Line
1250 2750 1650 2750
Wire Wire Line
1650 2800 1650 2750
Connection ~ 1650 2750
Wire Wire Line
1650 2750 2050 2750
Wire Wire Line
2050 2800 2050 2750
Connection ~ 2050 2750
Wire Wire Line
2050 2750 2450 2750
Wire Wire Line
2450 2800 2450 2750
Wire Wire Line
2850 3000 2850 3050
Wire Wire Line
2850 3050 2450 3050
Wire Wire Line
2450 3000 2450 3050
Connection ~ 2450 3050
Wire Wire Line
2450 3050 2050 3050
Wire Wire Line
2050 3000 2050 3050
Connection ~ 2050 3050
Wire Wire Line
2050 3050 1650 3050
Wire Wire Line
1650 3000 1650 3050
Connection ~ 1650 3050
Wire Wire Line
1650 3050 1250 3050
Wire Wire Line
1250 3000 1250 3050
Connection ~ 1250 3050
Wire Wire Line
1250 3050 950 3050
$Comp
L power:+3V3 #PWR010
U 1 1 6012352A
P 950 2700
F 0 "#PWR010" H 950 2550 50 0001 C CNN
F 1 "+3V3" H 965 2873 50 0000 C CNN
F 2 "" H 950 2700 50 0001 C CNN
F 3 "" H 950 2700 50 0001 C CNN
1 950 2700
1 0 0 -1
$EndComp
$Comp
L power:GND #PWR013
U 1 1 60123B57
P 950 3100
F 0 "#PWR013" H 950 2850 50 0001 C CNN
F 1 "GND" H 955 2927 50 0000 C CNN
F 2 "" H 950 3100 50 0001 C CNN
F 3 "" H 950 3100 50 0001 C CNN
1 950 3100
1 0 0 -1
$EndComp
Wire Wire Line
950 2700 950 2750
Connection ~ 950 2750
Wire Wire Line
950 3100 950 3050
Connection ~ 950 3050
$Comp
L Device:C_Small C16
U 1 1 60129A68
P 1250 4550
F 0 "C16" H 1342 4596 50 0000 L CNN
F 1 "2.2u" H 1342 4505 50 0000 L CNN
F 2 "Capacitor_SMD:C_0603_1608Metric" H 1250 4550 50 0001 C CNN
F 3 "~" H 1250 4550 50 0001 C CNN
F 4 "C23630" H 1250 4550 50 0001 C CNN "LCSC Part #"
1 1250 4550
1 0 0 -1
$EndComp
$Comp
L Device:C_Small C15
U 1 1 6012A55C
P 900 4550
F 0 "C15" H 992 4596 50 0000 L CNN
F 1 "2.2u" H 992 4505 50 0000 L CNN
F 2 "Capacitor_SMD:C_0603_1608Metric" H 900 4550 50 0001 C CNN
F 3 "~" H 900 4550 50 0001 C CNN
F 4 "C23630" H 900 4550 50 0001 C CNN "LCSC Part #"
1 900 4550
1 0 0 -1
$EndComp
$Comp
L power:GND #PWR023
U 1 1 6012A823
P 900 4750
F 0 "#PWR023" H 900 4500 50 0001 C CNN
F 1 "GND" H 905 4577 50 0000 C CNN
F 2 "" H 900 4750 50 0001 C CNN
F 3 "" H 900 4750 50 0001 C CNN
1 900 4750
1 0 0 -1
$EndComp
Wire Wire Line
900 4650 900 4750
$Comp
L power:GND #PWR024
U 1 1 60135981
P 1250 4750
F 0 "#PWR024" H 1250 4500 50 0001 C CNN
F 1 "GND" H 1255 4577 50 0000 C CNN
F 2 "" H 1250 4750 50 0001 C CNN
F 3 "" H 1250 4750 50 0001 C CNN
1 1250 4750
1 0 0 -1
$EndComp
Wire Wire Line
1250 4650 1250 4750
Text GLabel 1500 3900 0 50 Input ~ 0
NRST
Text GLabel 1500 5100 0 50 Input ~ 0
HSE_IN
Text GLabel 1500 5200 0 50 Input ~ 0
HSE_OUT
$Comp
L Device:Crystal_GND24_Small HSE1
U 1 1 60139ABE
P 4400 7100
F 0 "HSE1" H 4100 7350 50 0000 L CNN
F 1 "16MHz" H 4050 7250 50 0000 L CNN
F 2 "Crystal:Crystal_SMD_3225-4Pin_3.2x2.5mm" H 4400 7100 50 0001 C CNN
F 3 "~" H 4400 7100 50 0001 C CNN
F 4 "C13738" H 4400 7100 50 0001 C CNN "LCSC Part #"
1 4400 7100
1 0 0 -1
$EndComp
Text GLabel 3950 7100 0 50 Input ~ 0
HSE_IN
$Comp
L Device:R_Small R6
U 1 1 6013B496
P 4850 7100
F 0 "R6" V 4654 7100 50 0000 C CNN
F 1 "47" V 4745 7100 50 0000 C CNN
F 2 "Resistor_SMD:R_0402_1005Metric" H 4850 7100 50 0001 C CNN
F 3 "~" H 4850 7100 50 0001 C CNN
F 4 "C25118" H 4850 7100 50 0001 C CNN "LCSC Part #"
1 4850 7100
0 1 1 0
$EndComp
$Comp
L power:GND #PWR025
U 1 1 6013E902
P 4400 7450
F 0 "#PWR025" H 4400 7200 50 0001 C CNN
F 1 "GND" H 4405 7277 50 0000 C CNN
F 2 "" H 4400 7450 50 0001 C CNN
F 3 "" H 4400 7450 50 0001 C CNN
1 4400 7450
1 0 0 -1
$EndComp
$Comp
L Device:C_Small C17
U 1 1 6013EEE9
P 4100 7300
F 0 "C17" H 3900 7350 50 0000 L CNN
F 1 "12p" H 3900 7250 50 0000 L CNN
F 2 "Capacitor_SMD:C_0402_1005Metric" H 4100 7300 50 0001 C CNN
F 3 "~" H 4100 7300 50 0001 C CNN
F 4 "C1547" H 4100 7300 50 0001 C CNN "LCSC Part #"
1 4100 7300
1 0 0 -1
$EndComp
$Comp
L Device:C_Small C18
U 1 1 6013F6A5
P 4700 7300
F 0 "C18" H 4792 7346 50 0000 L CNN
F 1 "12p" H 4800 7250 50 0000 L CNN
F 2 "Capacitor_SMD:C_0402_1005Metric" H 4700 7300 50 0001 C CNN
F 3 "~" H 4700 7300 50 0001 C CNN
F 4 "C1547" H 4700 7300 50 0001 C CNN "LCSC Part #"
1 4700 7300
1 0 0 -1
$EndComp
Wire Wire Line
4100 7400 4100 7450
Wire Wire Line
4100 7450 4400 7450
Wire Wire Line
4700 7450 4700 7400
Connection ~ 4400 7450
Wire Wire Line
4400 7450 4550 7450
Wire Wire Line
4400 7000 4400 6950
Wire Wire Line
4400 6950 4550 6950
Wire Wire Line
4550 6950 4550 7450
Connection ~ 4550 7450
Wire Wire Line
4550 7450 4700 7450
Wire Wire Line
4500 7100 4700 7100
Wire Wire Line
4700 7200 4700 7100
Connection ~ 4700 7100
Wire Wire Line
4700 7100 4750 7100
Wire Wire Line
4300 7100 4100 7100
Wire Wire Line
4100 7200 4100 7100
Connection ~ 4100 7100
Wire Wire Line
4100 7100 3950 7100
Text GLabel 1500 4100 0 50 Input ~ 0
BOOT0
Text GLabel 2900 5200 2 50 Input ~ 0
SWDIO
Text GLabel 2900 5300 2 50 Input ~ 0
SWCLK
Text GLabel 2900 6500 2 50 Input ~ 0
I2C1_SDA
Text GLabel 2900 6400 2 50 Input ~ 0
I2C1_SCL
NoConn ~ 2900 5600
NoConn ~ 2900 5700
NoConn ~ 1500 5400
NoConn ~ 1500 5600
NoConn ~ 1500 5700
NoConn ~ 1500 5800
NoConn ~ 1500 5900
NoConn ~ 1500 6000
NoConn ~ 1500 6100
NoConn ~ 1500 6900
NoConn ~ 1500 7000
NoConn ~ 1500 7100
Text Notes 1300 2500 0 50 ~ 0
Microcontroller
Text GLabel 9200 1000 0 50 Input ~ 0
I2C1_SCL
Text GLabel 9200 900 0 50 Input ~ 0
I2C1_SDA
$Comp
L power:+3V3 #PWR06
U 1 1 6026AA86
P 8300 1000
F 0 "#PWR06" H 8300 850 50 0001 C CNN
F 1 "+3V3" H 8315 1173 50 0000 C CNN
F 2 "" H 8300 1000 50 0001 C CNN
F 3 "" H 8300 1000 50 0001 C CNN
1 8300 1000
1 0 0 -1
$EndComp
Text Notes 6700 650 0 50 ~ 0
Connectors
Wire Wire Line
4400 7200 4400 7450
$Comp
L power:GND #PWR027
U 1 1 601072B1
P 2100 7400
F 0 "#PWR027" H 2100 7150 50 0001 C CNN
F 1 "GND" H 2105 7227 50 0000 C CNN
F 2 "" H 2100 7400 50 0001 C CNN
F 3 "" H 2100 7400 50 0001 C CNN
1 2100 7400
1 0 0 -1
$EndComp
NoConn ~ 2900 5800
Text GLabel 2900 7000 2 50 Input ~ 0
M0_OUT1
Text GLabel 2900 7100 2 50 Input ~ 0
M0_OUT2
Text GLabel 1500 6400 0 50 Input ~ 0
M1_OUT1
Text GLabel 1500 6500 0 50 Input ~ 0
M1_OUT2
Text GLabel 1500 6200 0 50 Input ~ 0
M2_OUT1
Text GLabel 1500 6300 0 50 Input ~ 0
M2_OUT2
Text GLabel 2900 4700 2 50 Input ~ 0
M3_OUT1
Text GLabel 2900 4800 2 50 Input ~ 0
M3_OUT2
NoConn ~ 2900 4900
Text GLabel 2900 6600 2 50 Input ~ 0
I2C2_SCL
Text GLabel 2900 6700 2 50 Input ~ 0
I2C2_SDA
Text GLabel 2900 6800 2 50 Input ~ 0
CAN2_RX
Text GLabel 2900 6900 2 50 Input ~ 0
CAN2_TX
$Comp
L Connector:Screw_Terminal_01x02 J9
U 1 1 60318CBC
P 5750 1200
F 0 "J9" H 5830 1192 50 0000 L CNN
F 1 "Input 12V" H 5830 1101 50 0000 L CNN
F 2 "VsReality_Footprints:Ningbo_Kangnex_Elec_WJ128V_5_0_2P" H 5750 1200 50 0001 C CNN
F 3 "~" H 5750 1200 50 0001 C CNN
1 5750 1200
1 0 0 1
$EndComp
$Comp
L power:+12V #PWR0102
U 1 1 603194B4
P 5550 1100
F 0 "#PWR0102" H 5550 950 50 0001 C CNN
F 1 "+12V" H 5565 1273 50 0000 C CNN
F 2 "" H 5550 1100 50 0001 C CNN
F 3 "" H 5550 1100 50 0001 C CNN
1 5550 1100
1 0 0 -1
$EndComp
$Comp
L power:GND #PWR0103
U 1 1 60319E6E
P 5550 1200
F 0 "#PWR0103" H 5550 950 50 0001 C CNN
F 1 "GND" H 5555 1027 50 0000 C CNN
F 2 "" H 5550 1200 50 0001 C CNN
F 3 "" H 5550 1200 50 0001 C CNN
1 5550 1200
1 0 0 -1
$EndComp
Text GLabel 9250 1450 0 50 Input ~ 0
CAN2_RX
Text GLabel 9250 1550 0 50 Input ~ 0
CAN2_TX
Text GLabel 7750 1350 2 50 Input ~ 0
I2C2_SCL
Text GLabel 7250 1350 0 50 Input ~ 0
I2C2_SDA
$Comp
L power:+3V3 #PWR0104
U 1 1 6034833C
P 9200 800
F 0 "#PWR0104" H 9200 650 50 0001 C CNN
F 1 "+3V3" H 9215 973 50 0000 C CNN
F 2 "" H 9200 800 50 0001 C CNN
F 3 "" H 9200 800 50 0001 C CNN
1 9200 800
1 0 0 -1
$EndComp
$Comp
L power:GND #PWR0105
U 1 1 60348BEF
P 9200 1100
F 0 "#PWR0105" H 9200 850 50 0001 C CNN
F 1 "GND" H 9205 927 50 0000 C CNN
F 2 "" H 9200 1100 50 0001 C CNN
F 3 "" H 9200 1100 50 0001 C CNN
1 9200 1100
1 0 0 -1
$EndComp
$Comp
L Connector:USB_B_Micro J10
U 1 1 60356179
P 7450 3500
F 0 "J10" H 7507 3967 50 0000 C CNN
F 1 "USB_B_Micro" H 7507 3876 50 0000 C CNN
F 2 "VsReality_Footprints:U-F-M5DD-W-L" H 7600 3450 50 0001 C CNN
F 3 "~" H 7600 3450 50 0001 C CNN
F 4 "C145792" H 7450 3500 50 0001 C CNN "LCSC Part #"
1 7450 3500
1 0 0 -1
$EndComp
$Comp
L power:GND #PWR0106
U 1 1 60358D03
P 7450 3900
F 0 "#PWR0106" H 7450 3650 50 0001 C CNN
F 1 "GND" H 7455 3727 50 0000 C CNN
F 2 "" H 7450 3900 50 0001 C CNN
F 3 "" H 7450 3900 50 0001 C CNN
1 7450 3900
1 0 0 -1
$EndComp
NoConn ~ 7350 3900
$Comp
L Power_Protection:USBLC6-2SC6 U3
U 1 1 60361799
P 9550 3500
F 0 "U3" H 9300 3850 50 0000 C CNN
F 1 "USBLC6-2SC6" H 9900 3150 50 0000 C CNN
F 2 "Package_TO_SOT_SMD:SOT-23-6" H 9550 3000 50 0001 C CNN
F 3 "https://www.st.com/resource/en/datasheet/usblc6-2.pdf" H 9750 3850 50 0001 C CNN
F 4 "C7519" H 9550 3500 50 0001 C CNN "LCSC Part #"
1 9550 3500
1 0 0 -1
$EndComp
$Comp
L power:+5V #PWR0107
U 1 1 6036575C
P 7850 3150
F 0 "#PWR0107" H 7850 3000 50 0001 C CNN
F 1 "+5V" H 7865 3323 50 0000 C CNN
F 2 "" H 7850 3150 50 0001 C CNN
F 3 "" H 7850 3150 50 0001 C CNN
1 7850 3150
1 0 0 -1
$EndComp
Wire Wire Line
7850 3150 7850 3300
Wire Wire Line
7850 3300 7750 3300
NoConn ~ 7750 3700
Text GLabel 7750 3500 2 50 Input ~ 0
USB_CONN_D+
Text GLabel 7750 3600 2 50 Input ~ 0
USB_CONN_D-
$Comp
L power:GND #PWR0108
U 1 1 6037EAB7
P 9550 3900
F 0 "#PWR0108" H 9550 3650 50 0001 C CNN
F 1 "GND" H 9555 3727 50 0000 C CNN
F 2 "" H 9550 3900 50 0001 C CNN
F 3 "" H 9550 3900 50 0001 C CNN
1 9550 3900
1 0 0 -1
$EndComp
$Comp
L power:+5V #PWR0109
U 1 1 6037EDC1
P 9550 3100
F 0 "#PWR0109" H 9550 2950 50 0001 C CNN
F 1 "+5V" H 9565 3273 50 0000 C CNN
F 2 "" H 9550 3100 50 0001 C CNN
F 3 "" H 9550 3100 50 0001 C CNN
1 9550 3100
1 0 0 -1
$EndComp
Text GLabel 9150 3600 0 50 Input ~ 0
USB_CONN_D-
Text GLabel 9950 3600 2 50 Input ~ 0
USB_CONN_D+
Text GLabel 2900 5000 2 50 Input ~ 0
USB_D-
Text GLabel 2900 5100 2 50 Input ~ 0
USB_D+
Text GLabel 9150 3400 0 50 Input ~ 0
USB_D-
Text GLabel 9950 3400 2 50 Input ~ 0
USB_D+
Text Notes 7650 4050 0 50 ~ 0
App note: AN4879
$Comp
L power:+5V #PWR0110
U 1 1 6038E68B
P 2350 1050
F 0 "#PWR0110" H 2350 900 50 0001 C CNN
F 1 "+5V" H 2365 1223 50 0000 C CNN
F 2 "" H 2350 1050 50 0001 C CNN
F 3 "" H 2350 1050 50 0001 C CNN
1 2350 1050
1 0 0 -1
$EndComp
Wire Wire Line
4550 6550 4550 6400
Wire Wire Line
4200 6550 4550 6550
Wire Wire Line
4250 6450 4250 6400
Wire Wire Line
4200 6450 4250 6450
Text GLabel 4200 6550 0 50 Input ~ 0
I2C1_SDA
Text GLabel 4200 6450 0 50 Input ~ 0
I2C1_SCL
$Comp
L Device:R_Small R15
U 1 1 60336C1B
P 4550 6300
F 0 "R15" H 4609 6346 50 0000 L CNN
F 1 "2k2" H 4609 6255 50 0000 L CNN
F 2 "Resistor_SMD:R_0402_1005Metric" H 4550 6300 50 0001 C CNN
F 3 "~" H 4550 6300 50 0001 C CNN
F 4 "C25879" H 4550 6300 50 0001 C CNN "LCSC Part #"
1 4550 6300
1 0 0 -1
$EndComp
$Comp
L Device:R_Small R14
U 1 1 603369F4
P 4250 6300
F 0 "R14" H 4309 6346 50 0000 L CNN
F 1 "2k2" H 4309 6255 50 0000 L CNN
F 2 "Resistor_SMD:R_0402_1005Metric" H 4250 6300 50 0001 C CNN
F 3 "~" H 4250 6300 50 0001 C CNN
F 4 "C25879" H 4250 6300 50 0001 C CNN "LCSC Part #"
1 4250 6300
1 0 0 -1
$EndComp
$Comp
L power:+3V3 #PWR0111
U 1 1 60336804
P 4550 6200
F 0 "#PWR0111" H 4550 6050 50 0001 C CNN
F 1 "+3V3" H 4565 6373 50 0000 C CNN
F 2 "" H 4550 6200 50 0001 C CNN
F 3 "" H 4550 6200 50 0001 C CNN
1 4550 6200
1 0 0 -1
$EndComp
$Comp
L power:+3V3 #PWR0112
U 1 1 603364E9
P 4250 6200
F 0 "#PWR0112" H 4250 6050 50 0001 C CNN
F 1 "+3V3" H 4265 6373 50 0000 C CNN
F 2 "" H 4250 6200 50 0001 C CNN
F 3 "" H 4250 6200 50 0001 C CNN
1 4250 6200
1 0 0 -1
$EndComp
Text GLabel 2700 1400 2 50 Input ~ 0
BACK_IN
$Comp
L Device:L_Small L2
U 1 1 602F282E
P 4050 3800
F 0 "L2" V 4235 3800 50 0000 C CNN
F 1 "39n" V 4144 3800 50 0000 C CNN
F 2 "Inductor_SMD:L_0402_1005Metric" H 4050 3800 50 0001 C CNN
F 3 "~" H 4050 3800 50 0001 C CNN
F 4 "C26443" H 4050 3800 50 0001 C CNN "LCSC Part #"
1 4050 3800
0 -1 -1 0
$EndComp
$Comp
L power:GND #PWR015
U 1 1 60102598
P 4650 4050
F 0 "#PWR015" H 4650 3800 50 0001 C CNN
F 1 "GND" H 4655 3877 50 0000 C CNN
F 2 "" H 4650 4050 50 0001 C CNN
F 3 "" H 4650 4050 50 0001 C CNN
1 4650 4050
1 0 0 -1
$EndComp
$Comp
L power:GND #PWR014
U 1 1 60101DF1
P 4300 4050
F 0 "#PWR014" H 4300 3800 50 0001 C CNN
F 1 "GND" H 4305 3877 50 0000 C CNN
F 2 "" H 4300 4050 50 0001 C CNN
F 3 "" H 4300 4050 50 0001 C CNN
1 4300 4050
1 0 0 -1
$EndComp
Wire Wire Line
4300 3800 4650 3800
Connection ~ 4300 3800
Wire Wire Line
4300 3850 4300 3800
Connection ~ 4650 3800
Wire Wire Line
4650 3850 4650 3800
Wire Wire Line
4650 3800 4650 3700
Wire Wire Line
4150 3800 4300 3800
$Comp
L power:+3.3VA #PWR012
U 1 1 60100320
P 4650 3700
F 0 "#PWR012" H 4650 3550 50 0001 C CNN
F 1 "+3.3VA" H 4665 3873 50 0000 C CNN
F 2 "" H 4650 3700 50 0001 C CNN
F 3 "" H 4650 3700 50 0001 C CNN
1 4650 3700
1 0 0 -1
$EndComp
$Comp
L Device:C_Small C14
U 1 1 600FFD7A
P 4650 3950
F 0 "C14" H 4742 3996 50 0000 L CNN
F 1 "10n" H 4742 3905 50 0000 L CNN
F 2 "Capacitor_SMD:C_0402_1005Metric" H 4650 3950 50 0001 C CNN
F 3 "~" H 4650 3950 50 0001 C CNN
F 4 "C15195" H 4650 3950 50 0001 C CNN "LCSC Part #"
1 4650 3950
1 0 0 -1
$EndComp
$Comp
L Device:C_Small C13
U 1 1 600FF575
P 4300 3950
F 0 "C13" H 4392 3996 50 0000 L CNN
F 1 "1u" H 4392 3905 50 0000 L CNN
F 2 "Capacitor_SMD:C_0402_1005Metric" H 4300 3950 50 0001 C CNN
F 3 "~" H 4300 3950 50 0001 C CNN
F 4 "C52923" H 4300 3950 50 0001 C CNN "LCSC Part #"
1 4300 3950
1 0 0 -1
$EndComp
$Comp
L power:+3V3 #PWR011
U 1 1 600FEEA8
P 3800 3700
F 0 "#PWR011" H 3800 3550 50 0001 C CNN
F 1 "+3V3" H 3815 3873 50 0000 C CNN
F 2 "" H 3800 3700 50 0001 C CNN
F 3 "" H 3800 3700 50 0001 C CNN
1 3800 3700
1 0 0 -1
$EndComp
Wire Wire Line
3800 3700 3800 3800
Wire Wire Line
3800 3800 3950 3800
$Comp
L Device:D_Schottky_Small D1
U 1 1 603C17FB
P 2350 1250
F 0 "D1" V 2550 1100 50 0000 L CNN
F 1 "B5819W" V 2450 900 50 0000 L CNN
F 2 "Diode_SMD:D_SOD-123" V 2350 1250 50 0001 C CNN
F 3 "~" V 2350 1250 50 0001 C CNN
F 4 "C8598" H 2350 1250 50 0001 C CNN "LCSC Part #"
1 2350 1250
0 -1 -1 0
$EndComp
Wire Wire Line
2350 1350 2350 1400
Wire Wire Line
2350 1050 2350 1150
Text GLabel 2900 4100 2 50 Input ~ 0
GPIO0
Text GLabel 2900 4200 2 50 Input ~ 0
GPIO1
Text GLabel 2900 4300 2 50 Input ~ 0
GPIO2
Text GLabel 2900 4400 2 50 Input ~ 0
GPIO3
Text GLabel 7250 1150 0 50 Input ~ 0
GPIO0
Text GLabel 7750 1150 2 50 Input ~ 0
GPIO1
Text GLabel 7750 1250 2 50 Input ~ 0
GPIO3
Wire Wire Line
1500 4400 1250 4400
Wire Wire Line
1250 4400 1250 4450
Wire Wire Line
900 4450 900 4300
Wire Wire Line
900 4300 1500 4300
Connection ~ 2450 2750
Wire Wire Line
2850 2800 2850 2750
Wire Wire Line
2450 2750 2850 2750
$Comp
L Device:C_Small C8
U 1 1 6010F26B
P 2850 2900
F 0 "C8" H 2942 2946 50 0000 L CNN
F 1 "100nf" H 2942 2855 50 0000 L CNN
F 2 "Capacitor_SMD:C_0402_1005Metric" H 2850 2900 50 0001 C CNN
F 3 "~" H 2850 2900 50 0001 C CNN
F 4 "C1525" H 2850 2900 50 0001 C CNN "LCSC Part #"
1 2850 2900
1 0 0 -1
$EndComp
$Comp
L Connector:TestPoint_Small TP2
U 1 1 606A33A8
P 7950 3300
F 0 "TP2" H 7998 3346 50 0000 L CNN
F 1 "5V" H 7998 3255 50 0000 L CNN
F 2 "TestPoint:TestPoint_Pad_D2.0mm" H 8150 3300 50 0001 C CNN
F 3 "~" H 8150 3300 50 0001 C CNN
1 7950 3300
1 0 0 -1
$EndComp
Wire Wire Line
7850 3300 7950 3300
Connection ~ 7850 3300
$Comp
L power:+12V #PWR0101
U 1 1 602FED4E
P 800 1050
F 0 "#PWR0101" H 800 900 50 0001 C CNN
F 1 "+12V" H 815 1223 50 0000 C CNN
F 2 "" H 800 1050 50 0001 C CNN
F 3 "" H 800 1050 50 0001 C CNN
1 800 1050
1 0 0 -1
$EndComp
Text GLabel 1650 1700 2 50 Input ~ 0
VMOTORS
Wire Wire Line
1600 1700 1650 1700
$Comp
L Device:D_Schottky_Small D2
U 1 1 603C3D54
P 1800 1400
F 0 "D2" H 1850 1300 50 0000 L CNN
F 1 "B5819W" H 1650 1500 50 0000 L CNN
F 2 "Diode_SMD:D_SOD-123" V 1800 1400 50 0001 C CNN
F 3 "~" V 1800 1400 50 0001 C CNN
F 4 "C8598" H 1800 1400 50 0001 C CNN "LCSC Part #"
1 1800 1400
-1 0 0 1
$EndComp
Wire Wire Line
1600 1400 1700 1400
Connection ~ 1600 1400
Wire Wire Line
1600 1400 1600 1700
$Comp
L Connector:TestPoint_Small TP1
U 1 1 604A4E02
P 1500 1700
F 0 "TP1" H 1450 1800 50 0000 L CNN
F 1 "Vin" H 1450 1600 50 0000 L CNN
F 2 "TestPoint:TestPoint_Pad_D1.5mm" H 1700 1700 50 0001 C CNN
F 3 "~" H 1700 1700 50 0001 C CNN
1 1500 1700
1 0 0 -1
$EndComp
Connection ~ 2350 1400
Wire Wire Line
1350 1400 1600 1400
$Sheet
S 7450 5600 1200 600
U 608F63EA
F0 "power" 50
F1 "power.sch" 50
$EndSheet
Text GLabel 6150 6900 0 50 Input ~ 0
LED
Text GLabel 1500 6800 0 50 Input ~ 0
LED
Wire Wire Line
6350 6900 6350 7050
$Comp
L power:GND #PWR026
U 1 1 6017BAE5
P 6350 7250
F 0 "#PWR026" H 6350 7000 50 0001 C CNN
F 1 "GND" H 6355 7077 50 0000 C CNN
F 2 "" H 6350 7250 50 0001 C CNN
F 3 "" H 6350 7250 50 0001 C CNN
1 6350 7250
1 0 0 -1
$EndComp
$Comp
L Device:R_Small R7
U 1 1 6017A371
P 6350 7150
F 0 "R7" H 6409 7196 50 0000 L CNN
F 1 "100" H 6409 7105 50 0000 L CNN
F 2 "Resistor_SMD:R_0603_1608Metric" H 6350 7150 50 0001 C CNN
F 3 "~" H 6350 7150 50 0001 C CNN
F 4 "C22775" H 6350 7150 50 0001 C CNN "LCSC Part #"
1 6350 7150
1 0 0 -1
$EndComp
$Comp
L Device:LED_Small D3
U 1 1 60177581
P 6250 6900
F 0 "D3" H 6250 6693 50 0000 C CNN
F 1 "BLUE" H 6250 6784 50 0000 C CNN
F 2 "LED_SMD:LED_0603_1608Metric" V 6250 6900 50 0001 C CNN
F 3 "~" V 6250 6900 50 0001 C CNN
F 4 "C72041" H 6250 6900 50 0001 C CNN "LCSC Part #"
1 6250 6900
-1 0 0 1
$EndComp
Wire Wire Line
2350 1400 2700 1400
$Sheet
S 9000 5600 1350 650
U 60A3E5C0
F0 "Brushed motor and encoders" 50
F1 "brushed_motors_and_encoders.sch" 50
$EndSheet
Connection ~ 3650 1550
Wire Wire Line
3650 1350 3650 1550
Connection ~ 3650 1350
Wire Wire Line
3700 1350 3650 1350
Wire Wire Line
3700 1550 3650 1550
Wire Wire Line
3650 1150 3650 1350
Connection ~ 3650 1150
Wire Wire Line
3700 1150 3650 1150
Wire Wire Line
3650 950 3650 1150
Text Notes 3650 800 0 50 ~ 0
Mounting holes
Wire Wire Line
3700 950 3650 950
$Comp
L power:GND #PWR018
U 1 1 6028A41D
P 3650 2000
F 0 "#PWR018" H 3650 1750 50 0001 C CNN
F 1 "GND" H 3655 1827 50 0000 C CNN
F 2 "" H 3650 2000 50 0001 C CNN
F 3 "" H 3650 2000 50 0001 C CNN
1 3650 2000
1 0 0 -1
$EndComp
$Comp
L Mechanical:MountingHole_Pad H4
U 1 1 60289B98
P 3800 1550
F 0 "H4" V 3754 1700 50 0000 L CNN
F 1 "MountingHole_Pad" V 3845 1700 50 0001 L CNN
F 2 "MountingHole:MountingHole_2.7mm_M2.5_Pad" H 3800 1550 50 0001 C CNN
F 3 "~" H 3800 1550 50 0001 C CNN
1 3800 1550
0 1 1 0
$EndComp
$Comp
L Mechanical:MountingHole_Pad H3
U 1 1 6028999D
P 3800 1350
F 0 "H3" V 3754 1500 50 0000 L CNN
F 1 "MountingHole_Pad" V 3845 1500 50 0001 L CNN
F 2 "MountingHole:MountingHole_2.7mm_M2.5_Pad" H 3800 1350 50 0001 C CNN
F 3 "~" H 3800 1350 50 0001 C CNN
1 3800 1350
0 1 1 0
$EndComp
$Comp
L Mechanical:MountingHole_Pad H2
U 1 1 6028961E
P 3800 1150
F 0 "H2" V 3754 1300 50 0000 L CNN
F 1 "MountingHole_Pad" V 3845 1300 50 0001 L CNN
F 2 "MountingHole:MountingHole_2.7mm_M2.5_Pad" H 3800 1150 50 0001 C CNN
F 3 "~" H 3800 1150 50 0001 C CNN
1 3800 1150
0 1 1 0
$EndComp
$Comp
L Mechanical:MountingHole_Pad H1