fixed some bugs in 3steppersLB schematic

This commit is contained in:
Edward Emelianov 2021-10-03 17:59:50 +03:00
parent 1c4c7d9636
commit 8edd290483
92 changed files with 13859 additions and 5520 deletions

View File

@ -1,12 +1,12 @@
%TF.GenerationSoftware,KiCad,Pcbnew,5.1.10*%
%TF.CreationDate,2021-08-09T17:29:30+03:00*%
%TF.CreationDate,2021-10-03T17:58:42+03:00*%
%TF.ProjectId,stm32,73746d33-322e-46b6-9963-61645f706362,rev?*%
%TF.SameCoordinates,Original*%
%TF.FileFunction,Copper,L2,Bot*%
%TF.FilePolarity,Positive*%
%FSLAX46Y46*%
G04 Gerber Fmt 4.6, Leading zero omitted, Abs format (unit mm)*
G04 Created by KiCad (PCBNEW 5.1.10) date 2021-08-09 17:29:30*
G04 Created by KiCad (PCBNEW 5.1.10) date 2021-10-03 17:58:42*
%MOMM*%
%LPD*%
G01*

View File

@ -1,12 +1,12 @@
%TF.GenerationSoftware,KiCad,Pcbnew,5.1.10*%
%TF.CreationDate,2021-08-09T17:29:30+03:00*%
%TF.CreationDate,2021-10-03T17:58:42+03:00*%
%TF.ProjectId,stm32,73746d33-322e-46b6-9963-61645f706362,rev?*%
%TF.SameCoordinates,Original*%
%TF.FileFunction,Soldermask,Bot*%
%TF.FilePolarity,Negative*%
%FSLAX46Y46*%
G04 Gerber Fmt 4.6, Leading zero omitted, Abs format (unit mm)*
G04 Created by KiCad (PCBNEW 5.1.10) date 2021-08-09 17:29:30*
G04 Created by KiCad (PCBNEW 5.1.10) date 2021-10-03 17:58:42*
%MOMM*%
%LPD*%
G01*

View File

@ -1,12 +1,12 @@
%TF.GenerationSoftware,KiCad,Pcbnew,5.1.10*%
%TF.CreationDate,2021-08-09T17:29:30+03:00*%
%TF.CreationDate,2021-10-03T17:58:42+03:00*%
%TF.ProjectId,stm32,73746d33-322e-46b6-9963-61645f706362,rev?*%
%TF.SameCoordinates,Original*%
%TF.FileFunction,Paste,Bot*%
%TF.FilePolarity,Positive*%
%FSLAX46Y46*%
G04 Gerber Fmt 4.6, Leading zero omitted, Abs format (unit mm)*
G04 Created by KiCad (PCBNEW 5.1.10) date 2021-08-09 17:29:30*
G04 Created by KiCad (PCBNEW 5.1.10) date 2021-10-03 17:58:42*
%MOMM*%
%LPD*%
G01*

File diff suppressed because it is too large Load Diff

View File

@ -1,11 +1,11 @@
%TF.GenerationSoftware,KiCad,Pcbnew,5.1.10*%
%TF.CreationDate,2021-08-09T17:29:30+03:00*%
%TF.CreationDate,2021-10-03T17:58:42+03:00*%
%TF.ProjectId,stm32,73746d33-322e-46b6-9963-61645f706362,rev?*%
%TF.SameCoordinates,Original*%
%TF.FileFunction,Profile,NP*%
%FSLAX46Y46*%
G04 Gerber Fmt 4.6, Leading zero omitted, Abs format (unit mm)*
G04 Created by KiCad (PCBNEW 5.1.10) date 2021-08-09 17:29:30*
G04 Created by KiCad (PCBNEW 5.1.10) date 2021-10-03 17:58:42*
%MOMM*%
%LPD*%
G01*

File diff suppressed because it is too large Load Diff

View File

@ -1,12 +1,12 @@
%TF.GenerationSoftware,KiCad,Pcbnew,5.1.10*%
%TF.CreationDate,2021-08-09T17:29:30+03:00*%
%TF.CreationDate,2021-10-03T17:58:42+03:00*%
%TF.ProjectId,stm32,73746d33-322e-46b6-9963-61645f706362,rev?*%
%TF.SameCoordinates,Original*%
%TF.FileFunction,Soldermask,Top*%
%TF.FilePolarity,Negative*%
%FSLAX46Y46*%
G04 Gerber Fmt 4.6, Leading zero omitted, Abs format (unit mm)*
G04 Created by KiCad (PCBNEW 5.1.10) date 2021-08-09 17:29:30*
G04 Created by KiCad (PCBNEW 5.1.10) date 2021-10-03 17:58:42*
%MOMM*%
%LPD*%
G01*
@ -3768,106 +3768,6 @@ X106402500Y-94394000I0J175000D01*
G01*
G37*
%TD*%
%TO.C,D2*%
G36*
G01*
X130230800Y-79099845D02*
X130230800Y-77973755D01*
G75*
G02*
X130567755Y-77636800I336955J0D01*
G01*
X131443845Y-77636800D01*
G75*
G02*
X131780800Y-77973755I0J-336955D01*
G01*
X131780800Y-79099845D01*
G75*
G02*
X131443845Y-79436800I-336955J0D01*
G01*
X130567755Y-79436800D01*
G75*
G02*
X130230800Y-79099845I0J336955D01*
G01*
G37*
G36*
G01*
X128180800Y-79099845D02*
X128180800Y-77973755D01*
G75*
G02*
X128517755Y-77636800I336955J0D01*
G01*
X129393845Y-77636800D01*
G75*
G02*
X129730800Y-77973755I0J-336955D01*
G01*
X129730800Y-79099845D01*
G75*
G02*
X129393845Y-79436800I-336955J0D01*
G01*
X128517755Y-79436800D01*
G75*
G02*
X128180800Y-79099845I0J336955D01*
G01*
G37*
%TD*%
%TO.C,D5*%
G36*
G01*
X139781800Y-77973755D02*
X139781800Y-79099845D01*
G75*
G02*
X139444845Y-79436800I-336955J0D01*
G01*
X138568755Y-79436800D01*
G75*
G02*
X138231800Y-79099845I0J336955D01*
G01*
X138231800Y-77973755D01*
G75*
G02*
X138568755Y-77636800I336955J0D01*
G01*
X139444845Y-77636800D01*
G75*
G02*
X139781800Y-77973755I0J-336955D01*
G01*
G37*
G36*
G01*
X137731800Y-77973755D02*
X137731800Y-79099845D01*
G75*
G02*
X137394845Y-79436800I-336955J0D01*
G01*
X136518755Y-79436800D01*
G75*
G02*
X136181800Y-79099845I0J336955D01*
G01*
X136181800Y-77973755D01*
G75*
G02*
X136518755Y-77636800I336955J0D01*
G01*
X137394845Y-77636800D01*
G75*
G02*
X137731800Y-77973755I0J-336955D01*
G01*
G37*
%TD*%
D17*
%TO.C,J1*%
X95503500Y-120827800D03*
@ -5911,4 +5811,104 @@ X109506000Y-72581200I0J200000D01*
G01*
G37*
%TD*%
%TO.C,D2*%
G36*
G01*
X129756200Y-77973755D02*
X129756200Y-79099845D01*
G75*
G02*
X129419245Y-79436800I-336955J0D01*
G01*
X128543155Y-79436800D01*
G75*
G02*
X128206200Y-79099845I0J336955D01*
G01*
X128206200Y-77973755D01*
G75*
G02*
X128543155Y-77636800I336955J0D01*
G01*
X129419245Y-77636800D01*
G75*
G02*
X129756200Y-77973755I0J-336955D01*
G01*
G37*
G36*
G01*
X131806200Y-77973755D02*
X131806200Y-79099845D01*
G75*
G02*
X131469245Y-79436800I-336955J0D01*
G01*
X130593155Y-79436800D01*
G75*
G02*
X130256200Y-79099845I0J336955D01*
G01*
X130256200Y-77973755D01*
G75*
G02*
X130593155Y-77636800I336955J0D01*
G01*
X131469245Y-77636800D01*
G75*
G02*
X131806200Y-77973755I0J-336955D01*
G01*
G37*
%TD*%
%TO.C,D5*%
G36*
G01*
X136163800Y-79099845D02*
X136163800Y-77973755D01*
G75*
G02*
X136500755Y-77636800I336955J0D01*
G01*
X137376845Y-77636800D01*
G75*
G02*
X137713800Y-77973755I0J-336955D01*
G01*
X137713800Y-79099845D01*
G75*
G02*
X137376845Y-79436800I-336955J0D01*
G01*
X136500755Y-79436800D01*
G75*
G02*
X136163800Y-79099845I0J336955D01*
G01*
G37*
G36*
G01*
X138213800Y-79099845D02*
X138213800Y-77973755D01*
G75*
G02*
X138550755Y-77636800I336955J0D01*
G01*
X139426845Y-77636800D01*
G75*
G02*
X139763800Y-77973755I0J-336955D01*
G01*
X139763800Y-79099845D01*
G75*
G02*
X139426845Y-79436800I-336955J0D01*
G01*
X138550755Y-79436800D01*
G75*
G02*
X138213800Y-79099845I0J336955D01*
G01*
G37*
%TD*%
M02*

View File

@ -1,12 +1,12 @@
%TF.GenerationSoftware,KiCad,Pcbnew,5.1.10*%
%TF.CreationDate,2021-08-09T17:29:30+03:00*%
%TF.CreationDate,2021-10-03T17:58:42+03:00*%
%TF.ProjectId,stm32,73746d33-322e-46b6-9963-61645f706362,rev?*%
%TF.SameCoordinates,Original*%
%TF.FileFunction,Paste,Top*%
%TF.FilePolarity,Positive*%
%FSLAX46Y46*%
G04 Gerber Fmt 4.6, Leading zero omitted, Abs format (unit mm)*
G04 Created by KiCad (PCBNEW 5.1.10) date 2021-08-09 17:29:30*
G04 Created by KiCad (PCBNEW 5.1.10) date 2021-10-03 17:58:42*
%MOMM*%
%LPD*%
G01*
@ -2586,106 +2586,6 @@ X106602500Y-94294000I0J75000D01*
G01*
G37*
%TD*%
%TO.C,D2*%
G36*
G01*
X130430800Y-78986801D02*
X130430800Y-78086799D01*
G75*
G02*
X130680799Y-77836800I249999J0D01*
G01*
X131330801Y-77836800D01*
G75*
G02*
X131580800Y-78086799I0J-249999D01*
G01*
X131580800Y-78986801D01*
G75*
G02*
X131330801Y-79236800I-249999J0D01*
G01*
X130680799Y-79236800D01*
G75*
G02*
X130430800Y-78986801I0J249999D01*
G01*
G37*
G36*
G01*
X128380800Y-78986801D02*
X128380800Y-78086799D01*
G75*
G02*
X128630799Y-77836800I249999J0D01*
G01*
X129280801Y-77836800D01*
G75*
G02*
X129530800Y-78086799I0J-249999D01*
G01*
X129530800Y-78986801D01*
G75*
G02*
X129280801Y-79236800I-249999J0D01*
G01*
X128630799Y-79236800D01*
G75*
G02*
X128380800Y-78986801I0J249999D01*
G01*
G37*
%TD*%
%TO.C,D5*%
G36*
G01*
X139581800Y-78086799D02*
X139581800Y-78986801D01*
G75*
G02*
X139331801Y-79236800I-249999J0D01*
G01*
X138681799Y-79236800D01*
G75*
G02*
X138431800Y-78986801I0J249999D01*
G01*
X138431800Y-78086799D01*
G75*
G02*
X138681799Y-77836800I249999J0D01*
G01*
X139331801Y-77836800D01*
G75*
G02*
X139581800Y-78086799I0J-249999D01*
G01*
G37*
G36*
G01*
X137531800Y-78086799D02*
X137531800Y-78986801D01*
G75*
G02*
X137281801Y-79236800I-249999J0D01*
G01*
X136631799Y-79236800D01*
G75*
G02*
X136381800Y-78986801I0J249999D01*
G01*
X136381800Y-78086799D01*
G75*
G02*
X136631799Y-77836800I249999J0D01*
G01*
X137281801Y-77836800D01*
G75*
G02*
X137531800Y-78086799I0J-249999D01*
G01*
G37*
%TD*%
%TO.C,R4*%
G36*
G01*
@ -3717,4 +3617,104 @@ X127187000Y-133927001I0J249999D01*
G01*
G37*
%TD*%
%TO.C,D2*%
G36*
G01*
X129556200Y-78086799D02*
X129556200Y-78986801D01*
G75*
G02*
X129306201Y-79236800I-249999J0D01*
G01*
X128656199Y-79236800D01*
G75*
G02*
X128406200Y-78986801I0J249999D01*
G01*
X128406200Y-78086799D01*
G75*
G02*
X128656199Y-77836800I249999J0D01*
G01*
X129306201Y-77836800D01*
G75*
G02*
X129556200Y-78086799I0J-249999D01*
G01*
G37*
G36*
G01*
X131606200Y-78086799D02*
X131606200Y-78986801D01*
G75*
G02*
X131356201Y-79236800I-249999J0D01*
G01*
X130706199Y-79236800D01*
G75*
G02*
X130456200Y-78986801I0J249999D01*
G01*
X130456200Y-78086799D01*
G75*
G02*
X130706199Y-77836800I249999J0D01*
G01*
X131356201Y-77836800D01*
G75*
G02*
X131606200Y-78086799I0J-249999D01*
G01*
G37*
%TD*%
%TO.C,D5*%
G36*
G01*
X136363800Y-78986801D02*
X136363800Y-78086799D01*
G75*
G02*
X136613799Y-77836800I249999J0D01*
G01*
X137263801Y-77836800D01*
G75*
G02*
X137513800Y-78086799I0J-249999D01*
G01*
X137513800Y-78986801D01*
G75*
G02*
X137263801Y-79236800I-249999J0D01*
G01*
X136613799Y-79236800D01*
G75*
G02*
X136363800Y-78986801I0J249999D01*
G01*
G37*
G36*
G01*
X138413800Y-78986801D02*
X138413800Y-78086799D01*
G75*
G02*
X138663799Y-77836800I249999J0D01*
G01*
X139313801Y-77836800D01*
G75*
G02*
X139563800Y-78086799I0J-249999D01*
G01*
X139563800Y-78986801D01*
G75*
G02*
X139313801Y-79236800I-249999J0D01*
G01*
X138663799Y-79236800D01*
G75*
G02*
X138413800Y-78986801I0J249999D01*
G01*
G37*
%TD*%
M02*

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,158 @@
%FSLAX45Y45*%
G04 Gerber Fmt 4.5, Leading zero omitted, Abs format (unit mm)*
G04 Created by KiCad (PCBNEW 5.1.10) date 2021-10-03 17:53:52*
%MOMM*%
%LPD*%
G01*
G04 APERTURE LIST*
%TA.AperFunction,Profile*%
%ADD10C,0.150000*%
%TD*%
%ADD11C,0.200000*%
%ADD12C,0.300000*%
G04 APERTURE END LIST*
D10*
X9200000Y-8800000D02*
X9200000Y-7100000D01*
X9125000Y-8800000D02*
X9200000Y-8800000D01*
X9125000Y-7100000D02*
X9125000Y-8800000D01*
X9200000Y-7100000D02*
X9125000Y-7100000D01*
X8350000Y-13675000D02*
X8275000Y-13675000D01*
X8350000Y-12650000D02*
X8350000Y-13675000D01*
X7950000Y-12250000D02*
X8350000Y-12650000D01*
X7950000Y-11525000D02*
X7950000Y-12250000D01*
X7875000Y-11525000D02*
X7950000Y-11525000D01*
X7875000Y-12300000D02*
X7875000Y-11525000D01*
X8275000Y-12700000D02*
X7875000Y-12300000D01*
X8275000Y-13675000D02*
X8275000Y-12700000D01*
X7375000Y-11150000D02*
X7300000Y-11150000D01*
X7375000Y-10550000D02*
X7375000Y-11150000D01*
X7150000Y-10325000D02*
X7375000Y-10550000D01*
X6950000Y-10325000D02*
X7150000Y-10325000D01*
X6725000Y-10550000D02*
X6950000Y-10325000D01*
X6725000Y-10575000D02*
X6725000Y-10550000D01*
X6725000Y-11150000D02*
X6725000Y-10575000D01*
X6800000Y-11150000D02*
X6725000Y-11150000D01*
X7125000Y-10400000D02*
X6975000Y-10400000D01*
X7300000Y-10575000D02*
X7125000Y-10400000D01*
X7300000Y-11150000D02*
X7300000Y-10575000D01*
X6800000Y-10575000D02*
X6975000Y-10400000D01*
X6800000Y-11150000D02*
X6800000Y-10575000D01*
X6150000Y-6900000D02*
X6150000Y-13850000D01*
X15850000Y-6900000D02*
X6150000Y-6900000D01*
X15850000Y-13850000D02*
X15850000Y-6900000D01*
X6150000Y-13850000D02*
X15850000Y-13850000D01*
D11*
D12*
X6428928Y-14323214D02*
X6428928Y-14023214D01*
X6500357Y-14023214D01*
X6543214Y-14037500D01*
X6571786Y-14066071D01*
X6586071Y-14094643D01*
X6600357Y-14151786D01*
X6600357Y-14194643D01*
X6586071Y-14251786D01*
X6571786Y-14280357D01*
X6543214Y-14308929D01*
X6500357Y-14323214D01*
X6428928Y-14323214D01*
X6728928Y-14323214D02*
X6728928Y-14123214D01*
X6728928Y-14180357D02*
X6743214Y-14151786D01*
X6757500Y-14137500D01*
X6786071Y-14123214D01*
X6814643Y-14123214D01*
X6914643Y-14323214D02*
X6914643Y-14123214D01*
X6914643Y-14023214D02*
X6900357Y-14037500D01*
X6914643Y-14051786D01*
X6928928Y-14037500D01*
X6914643Y-14023214D01*
X6914643Y-14051786D01*
X7100357Y-14323214D02*
X7071786Y-14308929D01*
X7057500Y-14280357D01*
X7057500Y-14023214D01*
X7257500Y-14323214D02*
X7228928Y-14308929D01*
X7214643Y-14280357D01*
X7214643Y-14023214D01*
X7600357Y-14323214D02*
X7600357Y-14023214D01*
X7700357Y-14237500D01*
X7800357Y-14023214D01*
X7800357Y-14323214D01*
X8071786Y-14323214D02*
X8071786Y-14166071D01*
X8057500Y-14137500D01*
X8028928Y-14123214D01*
X7971786Y-14123214D01*
X7943214Y-14137500D01*
X8071786Y-14308929D02*
X8043214Y-14323214D01*
X7971786Y-14323214D01*
X7943214Y-14308929D01*
X7928928Y-14280357D01*
X7928928Y-14251786D01*
X7943214Y-14223214D01*
X7971786Y-14208929D01*
X8043214Y-14208929D01*
X8071786Y-14194643D01*
X8214643Y-14123214D02*
X8214643Y-14423214D01*
X8214643Y-14137500D02*
X8243214Y-14123214D01*
X8300357Y-14123214D01*
X8328928Y-14137500D01*
X8343214Y-14151786D01*
X8357500Y-14180357D01*
X8357500Y-14266071D01*
X8343214Y-14294643D01*
X8328928Y-14308929D01*
X8300357Y-14323214D01*
X8243214Y-14323214D01*
X8214643Y-14308929D01*
X8486071Y-14294643D02*
X8500357Y-14308929D01*
X8486071Y-14323214D01*
X8471786Y-14308929D01*
X8486071Y-14294643D01*
X8486071Y-14323214D01*
X8486071Y-14137500D02*
X8500357Y-14151786D01*
X8486071Y-14166071D01*
X8471786Y-14151786D01*
X8486071Y-14137500D01*
X8486071Y-14166071D01*
M02*

File diff suppressed because it is too large Load Diff

View File

@ -7,7 +7,7 @@
"Application": "Pcbnew",
"Version": "5.1.10"
},
"CreationDate": "2021-08-09T17:29:30+03:00"
"CreationDate": "2021-10-03T17:58:42+03:00"
},
"GeneralSpecs":
{

File diff suppressed because it is too large Load Diff

View File

@ -1,7 +1,7 @@
(export (version D)
(design
(source /Big/Data/00__Electronics/STM32/F0-nolib/3steppersLB/kicad/stm32.sch)
(date "Вс 08 авг 2021 15:50:53")
(source /home/eddy/Yandex.Disk/Projects/stm32samples/F0-nolib/3steppersLB/kicad/stm32.sch)
(date "Вс 03 окт 2021 17:51:16")
(tool "Eeschema 5.1.10")
(sheet (number 1) (name /) (tstamps /)
(title_block
@ -570,20 +570,6 @@
(libsource (lib Device) (part R) (description Resistor))
(sheetpath (names /) (tstamps /))
(tstamp 61172B67))
(comp (ref D2)
(value D)
(footprint Diode_SMD:D_0805_2012Metric_Pad1.15x1.40mm_HandSolder)
(datasheet ~)
(libsource (lib Device) (part D) (description Diode))
(sheetpath (names /) (tstamps /))
(tstamp 61174DAA))
(comp (ref D5)
(value D)
(footprint Diode_SMD:D_0805_2012Metric_Pad1.15x1.40mm_HandSolder)
(datasheet ~)
(libsource (lib Device) (part D) (description Diode))
(sheetpath (names /) (tstamps /))
(tstamp 6117539D))
(comp (ref R8)
(value 100)
(footprint Resistor_SMD:R_0603_1608Metric_Pad1.05x0.95mm_HandSolder)
@ -712,7 +698,21 @@
(footprint Package_SO:SOIC-16_3.9x9.9mm_P1.27mm)
(libsource (lib elements) (part CD4050) (description ""))
(sheetpath (names /) (tstamps /))
(tstamp 610ACE75)))
(tstamp 610ACE75))
(comp (ref D5)
(value CESD3V3)
(footprint Diode_SMD:D_0805_2012Metric_Pad1.15x1.40mm_HandSolder)
(datasheet ~)
(libsource (lib Device) (part D) (description Diode))
(sheetpath (names /) (tstamps /))
(tstamp 615A9D8A))
(comp (ref D2)
(value CESD3V3)
(footprint Diode_SMD:D_0805_2012Metric_Pad1.15x1.40mm_HandSolder)
(datasheet ~)
(libsource (lib Device) (part D) (description Diode))
(sheetpath (names /) (tstamps /))
(tstamp 615AA4F1)))
(libparts
(libpart (lib Connector) (part Conn_01x02_Female)
(description "Generic connector, single row, 01x02, script generated (kicad-library-utils/schlib/autogen/connector/)")
@ -1204,53 +1204,51 @@
(library (logical Switch)
(uri /usr/share/kicad/library/Switch.lib))
(library (logical elements)
(uri /Big/Data/00__Electronics/STM32/F0-nolib/3steppersLB/kicad/elements.lib))
(uri /home/eddy/Yandex.Disk/Projects/stm32samples/F0-nolib/3steppersLB/kicad/elements.lib))
(library (logical stm32-rescue)
(uri /Big/Data/00__Electronics/STM32/F0-nolib/3steppersLB/kicad/stm32-rescue.lib))
(uri /home/eddy/Yandex.Disk/Projects/stm32samples/F0-nolib/3steppersLB/kicad/stm32-rescue.lib))
(library (logical vreg)
(uri /home/eddy/kicad/Kicad-Libraries/library/vreg.lib)))
(nets
(net (code 1) (name "Net-(J17-Pad1)")
(node (ref U5) (pin 10))
(node (ref J17) (pin 1)))
(net (code 2) (name GND)
(node (ref J12) (pin 1))
(node (ref D5) (pin 1))
(node (ref D2) (pin 1))
(net (code 1) (name GND)
(node (ref J9) (pin 5))
(node (ref J12) (pin 1))
(node (ref J3) (pin 1))
(node (ref D3) (pin 2))
(node (ref J8) (pin 5))
(node (ref Q2) (pin 2))
(node (ref R18) (pin 2))
(node (ref J13) (pin 1))
(node (ref J1) (pin 3))
(node (ref J2) (pin 1))
(node (ref C16) (pin 2))
(node (ref TP4) (pin 1))
(node (ref J5) (pin 4))
(node (ref J4) (pin 1))
(node (ref D1) (pin 2))
(node (ref Q3) (pin 2))
(node (ref D4) (pin 2))
(node (ref J13) (pin 1))
(node (ref D3) (pin 2))
(node (ref J15) (pin 4))
(node (ref J16) (pin 4))
(node (ref J17) (pin 4))
(node (ref J14) (pin 4))
(node (ref C16) (pin 2))
(node (ref R33) (pin 2))
(node (ref Q4) (pin 2))
(node (ref J4) (pin 1))
(node (ref D2) (pin 2))
(node (ref D5) (pin 2))
(node (ref U5) (pin 8))
(node (ref J2) (pin 1))
(node (ref R20) (pin 1))
(node (ref R34) (pin 2))
(node (ref C10) (pin 2))
(node (ref C9) (pin 2))
(node (ref U3) (pin 5))
(node (ref U3) (pin 3))
(node (ref C10) (pin 2))
(node (ref U2) (pin 35))
(node (ref U2) (pin 23))
(node (ref U6) (pin 1))
(node (ref C5) (pin 1))
(node (ref C1) (pin 2))
(node (ref C14) (pin 2))
(node (ref U2) (pin 8))
(node (ref U2) (pin 47))
(node (ref C11) (pin 2))
(node (ref C1) (pin 2))
(node (ref C5) (pin 1))
(node (ref U6) (pin 1))
(node (ref U2) (pin 35))
(node (ref C15) (pin 2))
(node (ref D9) (pin 5))
(node (ref C8) (pin 1))
@ -1258,22 +1256,26 @@
(node (ref C7) (pin 1))
(node (ref C6) (pin 1))
(node (ref C12) (pin 2))
(node (ref U2) (pin 47))
(node (ref U1) (pin 4))
(node (ref U2) (pin 23))
(node (ref C14) (pin 2))
(node (ref Q1) (pin 1))
(node (ref U2) (pin 8))
(node (ref U1) (pin 4))
(node (ref J11) (pin 5))
(node (ref J11) (pin 4))
(node (ref D12) (pin 2))
(node (ref C13) (pin 2))
(node (ref C2) (pin 2))
(node (ref D6) (pin 2))
(node (ref U4) (pin 8))
(node (ref C3) (pin 2))
(node (ref C2) (pin 2))
(node (ref Q3) (pin 2))
(node (ref R17) (pin 2))
(node (ref U4) (pin 8)))
(net (code 3) (name "Net-(J16-Pad2)")
(node (ref D6) (pin 2)))
(net (code 2) (name "Net-(J16-Pad2)")
(node (ref U5) (pin 4))
(node (ref J16) (pin 2)))
(net (code 3) (name "Net-(J17-Pad1)")
(node (ref J17) (pin 1))
(node (ref U5) (pin 10)))
(net (code 4) (name "Net-(J17-Pad2)")
(node (ref J17) (pin 2))
(node (ref U5) (pin 12)))
@ -1283,272 +1285,274 @@
(net (code 6) (name "Net-(J14-Pad2)")
(node (ref U4) (pin 4))
(node (ref J14) (pin 2)))
(net (code 7) (name +5V)
(node (ref J6) (pin 2))
(node (ref U3) (pin 4))
(node (ref U5) (pin 1))
(node (ref Q1) (pin 2))
(node (ref D10) (pin 1))
(node (ref JP1) (pin 1))
(node (ref U4) (pin 1))
(node (ref K1) (pin 5))
(node (ref R4) (pin 1))
(node (ref R7) (pin 1))
(node (ref C11) (pin 1))
(node (ref C14) (pin 1))
(node (ref U6) (pin 3))
(node (ref TP1) (pin 1))
(node (ref C1) (pin 1))
(node (ref U1) (pin 1))
(node (ref C13) (pin 1))
(node (ref D7) (pin 1))
(net (code 7) (name "Net-(J15-Pad1)")
(node (ref U4) (pin 10))
(node (ref J15) (pin 1)))
(net (code 8) (name /CLK1)
(node (ref U2) (pin 12))
(node (ref U4) (pin 7)))
(net (code 9) (name +5V)
(node (ref L1) (pin 1))
(node (ref R10) (pin 1)))
(net (code 8) (name "Net-(J15-Pad1)")
(node (ref J15) (pin 1))
(node (ref U4) (pin 10)))
(net (code 9) (name "Net-(J15-Pad2)")
(node (ref R7) (pin 1))
(node (ref C13) (pin 1))
(node (ref J6) (pin 2))
(node (ref D10) (pin 1))
(node (ref U5) (pin 1))
(node (ref JP1) (pin 1))
(node (ref U1) (pin 1))
(node (ref R10) (pin 1))
(node (ref Q1) (pin 2))
(node (ref TP1) (pin 1))
(node (ref C14) (pin 1))
(node (ref C1) (pin 1))
(node (ref R4) (pin 1))
(node (ref D7) (pin 1))
(node (ref U4) (pin 1))
(node (ref U6) (pin 3))
(node (ref C11) (pin 1))
(node (ref K1) (pin 5))
(node (ref U3) (pin 4)))
(net (code 10) (name "Net-(J15-Pad2)")
(node (ref J15) (pin 2))
(node (ref U4) (pin 12)))
(net (code 10) (name "Net-(J15-Pad3)")
(node (ref J15) (pin 3))
(node (ref U4) (pin 15)))
(net (code 11) (name "Net-(J14-Pad3)")
(node (ref U4) (pin 2))
(node (ref J14) (pin 3)))
(net (code 11) (name "Net-(J15-Pad3)")
(node (ref U4) (pin 15))
(node (ref J15) (pin 3)))
(net (code 12) (name "Net-(J14-Pad1)")
(node (ref U4) (pin 6))
(node (ref J14) (pin 1)))
(net (code 13) (name /CLK1)
(node (ref U4) (pin 7))
(node (ref U2) (pin 12)))
(net (code 14) (name /CLK2)
(node (ref U4) (pin 9))
(node (ref U2) (pin 14)))
(net (code 15) (name "Net-(J12-Pad2)")
(node (ref Q5) (pin 7))
(net (code 13) (name /CLK2)
(node (ref U2) (pin 14))
(node (ref U4) (pin 9)))
(net (code 14) (name "Net-(J12-Pad2)")
(node (ref Q5) (pin 5))
(node (ref Q5) (pin 6))
(node (ref Q5) (pin 8))
(node (ref J12) (pin 2))
(node (ref Q5) (pin 5)))
(net (code 16) (name "Net-(Q3-Pad1)")
(node (ref Q3) (pin 1))
(node (ref R21) (pin 1)))
(node (ref Q5) (pin 7))
(node (ref J12) (pin 2)))
(net (code 15) (name "Net-(Q3-Pad1)")
(node (ref R21) (pin 1))
(node (ref Q3) (pin 1)))
(net (code 16) (name "Net-(J1-Pad2)")
(node (ref J1) (pin 2))
(node (ref R2) (pin 1)))
(net (code 17) (name "Net-(J1-Pad1)")
(node (ref J1) (pin 1))
(node (ref R1) (pin 1)))
(net (code 18) (name "Net-(J1-Pad2)")
(node (ref R2) (pin 1))
(node (ref J1) (pin 2)))
(net (code 19) (name /Enc1b)
(node (ref R6) (pin 1))
(node (ref U2) (pin 30)))
(net (code 20) (name /ADC2)
(node (ref R1) (pin 1))
(node (ref J1) (pin 1)))
(net (code 18) (name /ADC2)
(node (ref D4) (pin 1))
(node (ref U2) (pin 15))
(node (ref C2) (pin 1))
(node (ref R2) (pin 2))
(node (ref U2) (pin 15)))
(net (code 21) (name /ADC1)
(node (ref R1) (pin 2))
(node (ref R2) (pin 2)))
(net (code 19) (name /ADC1)
(node (ref D6) (pin 1))
(node (ref U2) (pin 13))
(node (ref C3) (pin 1))
(node (ref U2) (pin 13)))
(net (code 22) (name "Net-(P6-Pad1)")
(node (ref R1) (pin 2)))
(net (code 20) (name "Net-(P6-Pad1)")
(node (ref P6) (pin 1)))
(net (code 23) (name "Net-(P7-Pad1)")
(net (code 21) (name "Net-(P7-Pad1)")
(node (ref P7) (pin 1)))
(net (code 24) (name "Net-(R17-Pad1)")
(net (code 22) (name "Net-(R17-Pad1)")
(node (ref R17) (pin 1))
(node (ref U2) (pin 44)))
(net (code 25) (name +3V3)
(node (ref U2) (pin 1))
(net (code 23) (name /I2C1_SCL)
(node (ref U2) (pin 42))
(node (ref D1) (pin 1))
(node (ref R14) (pin 2))
(node (ref R3) (pin 1)))
(net (code 24) (name +3V3)
(node (ref C6) (pin 2))
(node (ref C7) (pin 2))
(node (ref C12) (pin 1))
(node (ref JP1) (pin 3))
(node (ref C8) (pin 2))
(node (ref C5) (pin 2))
(node (ref U2) (pin 24))
(node (ref C15) (pin 1))
(node (ref C12) (pin 1))
(node (ref C5) (pin 2))
(node (ref J6) (pin 1))
(node (ref TP2) (pin 1))
(node (ref R13) (pin 2))
(node (ref U6) (pin 2))
(node (ref R3) (pin 2))
(node (ref J5) (pin 1))
(node (ref U2) (pin 36))
(node (ref R3) (pin 2))
(node (ref R22) (pin 2))
(node (ref JP1) (pin 3))
(node (ref U2) (pin 9))
(node (ref U2) (pin 48))
(node (ref U6) (pin 2))
(node (ref U2) (pin 9)))
(net (code 26) (name "Net-(J5-Pad2)")
(node (ref U2) (pin 24))
(node (ref U2) (pin 1))
(node (ref TP2) (pin 1))
(node (ref R22) (pin 2)))
(net (code 25) (name "Net-(J5-Pad2)")
(node (ref J5) (pin 2))
(node (ref R14) (pin 1)))
(net (code 27) (name "Net-(J5-Pad3)")
(net (code 26) (name "Net-(J5-Pad3)")
(node (ref J5) (pin 3))
(node (ref R15) (pin 1)))
(net (code 28) (name "Net-(J2-Pad2)")
(node (ref J2) (pin 2))
(node (ref R6) (pin 2)))
(net (code 29) (name "Net-(J2-Pad3)")
(node (ref R5) (pin 2))
(node (ref J2) (pin 3)))
(net (code 30) (name "Net-(J2-Pad4)")
(node (ref J2) (pin 4))
(node (ref R4) (pin 2)))
(net (code 31) (name "Net-(TP3-Pad1)")
(node (ref TP3) (pin 1))
(node (ref U2) (pin 7)))
(net (code 32) (name /G1)
(net (code 27) (name "Net-(TP3-Pad1)")
(node (ref U2) (pin 7))
(node (ref TP3) (pin 1)))
(net (code 28) (name /G1)
(node (ref D7) (pin 2))
(node (ref Q2) (pin 3))
(node (ref J6) (pin 3))
(node (ref D7) (pin 2)))
(net (code 33) (name "Net-(J4-Pad3)")
(node (ref J4) (pin 3))
(node (ref R11) (pin 2)))
(net (code 34) (name "Net-(J4-Pad2)")
(node (ref J6) (pin 3)))
(net (code 29) (name "Net-(J4-Pad2)")
(node (ref J4) (pin 2))
(node (ref R12) (pin 2)))
(net (code 35) (name "Net-(J4-Pad4)")
(net (code 30) (name "Net-(J4-Pad3)")
(node (ref J4) (pin 3))
(node (ref R11) (pin 2)))
(net (code 31) (name "Net-(J4-Pad4)")
(node (ref J4) (pin 4))
(node (ref R10) (pin 2)))
(net (code 36) (name "Net-(J16-Pad1)")
(node (ref U5) (pin 6))
(node (ref J16) (pin 1)))
(net (code 37) (name /Ext1)
(node (ref U2) (pin 27))
(node (ref U5) (pin 11)))
(net (code 38) (name /Ext2)
(node (ref U2) (pin 28))
(node (ref U5) (pin 14)))
(net (code 39) (name /CLK3)
(net (code 32) (name "Net-(J2-Pad2)")
(node (ref J2) (pin 2))
(node (ref R6) (pin 2)))
(net (code 33) (name "Net-(J2-Pad3)")
(node (ref J2) (pin 3))
(node (ref R5) (pin 2)))
(net (code 34) (name "Net-(J2-Pad4)")
(node (ref R4) (pin 2))
(node (ref J2) (pin 4)))
(net (code 35) (name "Net-(J16-Pad1)")
(node (ref J16) (pin 1))
(node (ref U5) (pin 6)))
(net (code 36) (name /CLK3)
(node (ref U5) (pin 7))
(node (ref U2) (pin 16)))
(net (code 40) (name "Net-(J16-Pad3)")
(node (ref J16) (pin 3))
(node (ref U5) (pin 2)))
(net (code 41) (name "Net-(J18-Pad2)")
(node (ref Q4) (pin 3))
(node (ref J18) (pin 2)))
(net (code 42) (name "Net-(J18-Pad1)")
(node (ref J18) (pin 1))
(node (ref JP1) (pin 2)))
(net (code 43) (name "Net-(Q4-Pad1)")
(net (code 37) (name /Ext0)
(node (ref U5) (pin 9))
(node (ref U2) (pin 26)))
(net (code 38) (name "Net-(J16-Pad3)")
(node (ref U5) (pin 2))
(node (ref J16) (pin 3)))
(net (code 39) (name "Net-(J18-Pad1)")
(node (ref JP1) (pin 2))
(node (ref J18) (pin 1)))
(net (code 40) (name "Net-(J18-Pad2)")
(node (ref J18) (pin 2))
(node (ref Q4) (pin 3)))
(net (code 41) (name "Net-(J14-Pad3)")
(node (ref U4) (pin 2))
(node (ref J14) (pin 3)))
(net (code 42) (name /Ext2)
(node (ref U2) (pin 28))
(node (ref U5) (pin 14)))
(net (code 43) (name "Net-(J8-Pad2)")
(node (ref R27) (pin 2))
(node (ref J8) (pin 2)))
(net (code 44) (name "Net-(J8-Pad3)")
(node (ref R28) (pin 2))
(node (ref J8) (pin 3)))
(net (code 45) (name "Net-(J8-Pad4)")
(node (ref R29) (pin 2))
(node (ref J8) (pin 4)))
(net (code 46) (name "Net-(Q4-Pad1)")
(node (ref R32) (pin 1))
(node (ref Q4) (pin 1)))
(net (code 44) (name "Net-(J8-Pad1)")
(net (code 47) (name "Net-(J8-Pad1)")
(node (ref J8) (pin 1))
(node (ref R26) (pin 2)))
(net (code 45) (name "Net-(J8-Pad2)")
(node (ref J8) (pin 2))
(node (ref R27) (pin 2)))
(net (code 46) (name "Net-(J8-Pad3)")
(node (ref J8) (pin 3))
(node (ref R28) (pin 2)))
(net (code 47) (name "Net-(J8-Pad4)")
(node (ref J8) (pin 4))
(node (ref R29) (pin 2)))
(net (code 48) (name "Net-(Q4-Pad2)")
(node (ref Q4) (pin 2))
(node (ref R33) (pin 2)))
(net (code 49) (name "Net-(J3-Pad3)")
(node (ref R8) (pin 2))
(node (ref J3) (pin 3)))
(net (code 50) (name /Enc2b)
(node (ref R9) (pin 1))
(node (ref U2) (pin 11))
(node (ref D2) (pin 2)))
(net (code 51) (name /Enc2a)
(node (ref U2) (pin 10))
(node (ref R8) (pin 1))
(node (ref D5) (pin 2)))
(net (code 52) (name "Net-(J3-Pad2)")
(net (code 48) (name "Net-(J3-Pad3)")
(node (ref J3) (pin 3))
(node (ref R8) (pin 2)))
(net (code 49) (name "Net-(J3-Pad2)")
(node (ref J3) (pin 2))
(node (ref R9) (pin 2)))
(net (code 53) (name "Net-(J3-Pad4)")
(node (ref J3) (pin 4))
(node (ref R7) (pin 2)))
(net (code 54) (name "Net-(J9-Pad4)")
(net (code 50) (name "Net-(J3-Pad4)")
(node (ref R7) (pin 2))
(node (ref J3) (pin 4)))
(net (code 51) (name "Net-(J9-Pad2)")
(node (ref J9) (pin 2))
(node (ref R23) (pin 1)))
(net (code 52) (name "Net-(J9-Pad3)")
(node (ref R24) (pin 1))
(node (ref J9) (pin 3)))
(net (code 53) (name "Net-(J9-Pad4)")
(node (ref R25) (pin 1))
(node (ref J9) (pin 4)))
(net (code 55) (name "Net-(J9-Pad2)")
(node (ref R23) (pin 1))
(node (ref J9) (pin 2)))
(net (code 56) (name "Net-(J9-Pad3)")
(node (ref J9) (pin 3))
(node (ref R24) (pin 1)))
(net (code 57) (name "Net-(J9-Pad1)")
(net (code 54) (name "Net-(J9-Pad1)")
(node (ref R22) (pin 1))
(node (ref J9) (pin 1)))
(net (code 58) (name "Net-(D11-Pad2)")
(node (ref Q5) (pin 4))
(net (code 55) (name /Enc2b)
(node (ref D2) (pin 1))
(node (ref R9) (pin 1))
(node (ref U2) (pin 11)))
(net (code 56) (name "Net-(D11-Pad2)")
(node (ref D11) (pin 2))
(node (ref Q5) (pin 4))
(node (ref R34) (pin 1)))
(net (code 59) (name "Net-(D10-Pad2)")
(node (ref Q3) (pin 3))
(node (ref K1) (pin 2))
(node (ref D10) (pin 2)))
(net (code 60) (name "Net-(J10-Pad2)")
(net (code 57) (name "Net-(J10-Pad2)")
(node (ref K1) (pin 1))
(node (ref J10) (pin 2)))
(net (code 61) (name "Net-(J10-Pad1)")
(node (ref J10) (pin 1))
(node (ref K1) (pin 3)))
(net (code 62) (name "Net-(J10-Pad3)")
(node (ref K1) (pin 4))
(node (ref J10) (pin 3)))
(net (code 63) (name "Net-(Q2-Pad1)")
(node (ref Q2) (pin 1))
(node (ref R16) (pin 1)))
(net (code 64) (name "Net-(P1-Pad1)")
(net (code 58) (name "Net-(D10-Pad2)")
(node (ref Q3) (pin 3))
(node (ref D10) (pin 2))
(node (ref K1) (pin 2)))
(net (code 59) (name "Net-(J10-Pad1)")
(node (ref K1) (pin 3))
(node (ref J10) (pin 1)))
(net (code 60) (name "Net-(J10-Pad3)")
(node (ref J10) (pin 3))
(node (ref K1) (pin 4)))
(net (code 61) (name "Net-(Q2-Pad1)")
(node (ref R16) (pin 1))
(node (ref Q2) (pin 1)))
(net (code 62) (name "Net-(P1-Pad1)")
(node (ref P1) (pin 1)))
(net (code 65) (name "Net-(P2-Pad1)")
(net (code 63) (name "Net-(P2-Pad1)")
(node (ref P2) (pin 1)))
(net (code 66) (name "Net-(R31-Pad2)")
(net (code 64) (name "Net-(R31-Pad2)")
(node (ref U2) (pin 33))
(node (ref R31) (pin 2)))
(net (code 67) (name "Net-(R30-Pad2)")
(net (code 65) (name "Net-(R30-Pad2)")
(node (ref U2) (pin 32))
(node (ref R30) (pin 2)))
(net (code 68) (name "Net-(D9-Pad6)")
(net (code 66) (name "Net-(D9-Pad6)")
(node (ref R31) (pin 1))
(node (ref D9) (pin 6)))
(net (code 69) (name "Net-(D9-Pad7)")
(net (code 67) (name "Net-(D9-Pad7)")
(node (ref D9) (pin 7))
(node (ref R30) (pin 1)))
(net (code 70) (name "Net-(D9-Pad8)")
(net (code 68) (name "Net-(D9-Pad8)")
(node (ref D9) (pin 8)))
(net (code 71) (name "Net-(D12-Pad1)")
(node (ref D12) (pin 1))
(net (code 69) (name "Net-(D12-Pad1)")
(node (ref U3) (pin 2))
(node (ref D12) (pin 1))
(node (ref L1) (pin 2)))
(net (code 72) (name "Net-(D9-Pad1)")
(net (code 70) (name "Net-(D9-Pad1)")
(node (ref D9) (pin 1))
(node (ref J11) (pin 1)))
(net (code 73) (name "Net-(D9-Pad2)")
(net (code 71) (name "Net-(D9-Pad2)")
(node (ref D9) (pin 2))
(node (ref J11) (pin 2)))
(net (code 74) (name "Net-(D9-Pad3)")
(node (ref J11) (pin 3))
(node (ref D9) (pin 3)))
(net (code 75) (name /BTN1)
(net (code 72) (name "Net-(D9-Pad3)")
(node (ref D9) (pin 3))
(node (ref J11) (pin 3)))
(net (code 73) (name /Enc2a)
(node (ref R8) (pin 1))
(node (ref U2) (pin 10))
(node (ref D5) (pin 1)))
(net (code 74) (name /BTN1)
(node (ref U2) (pin 31))
(node (ref R26) (pin 1)))
(net (code 76) (name /BTN2)
(net (code 75) (name /BTN2)
(node (ref U2) (pin 34))
(node (ref R27) (pin 1)))
(net (code 77) (name /BTN3)
(net (code 76) (name /BTN3)
(node (ref U2) (pin 37))
(node (ref R28) (pin 1)))
(net (code 78) (name /BTN4)
(node (ref U2) (pin 38))
(node (ref R29) (pin 1)))
(net (code 79) (name /PWM)
(node (ref U2) (pin 17))
(net (code 77) (name /BTN4)
(node (ref R29) (pin 1))
(node (ref U2) (pin 38)))
(net (code 78) (name /PWM)
(node (ref R16) (pin 2))
(node (ref R18) (pin 1))
(node (ref R16) (pin 2)))
(net (code 80) (name /Enc1a)
(node (ref U2) (pin 17)))
(net (code 79) (name /Enc1a)
(node (ref U2) (pin 29))
(node (ref R5) (pin 1)))
(net (code 80) (name /Enc1b)
(node (ref R6) (pin 1))
(node (ref U2) (pin 30)))
(net (code 81) (name /~EN1)
(node (ref U4) (pin 3))
(node (ref U2) (pin 18)))
@ -1559,88 +1563,83 @@
(node (ref U4) (pin 11))
(node (ref U2) (pin 21)))
(net (code 84) (name /~EN3)
(node (ref U5) (pin 3))
(node (ref U2) (pin 22)))
(node (ref U2) (pin 22))
(node (ref U5) (pin 3)))
(net (code 85) (name /DIR3)
(node (ref U2) (pin 25))
(node (ref U5) (pin 5)))
(net (code 86) (name /CANH)
(node (ref J7) (pin 3))
(node (ref R19) (pin 2))
(node (ref D8) (pin 2))
(node (ref U1) (pin 7)))
(net (code 87) (name "Net-(R19-Pad1)")
(node (ref SW1) (pin 1))
(node (ref R19) (pin 1)))
(net (code 88) (name "Net-(U2-Pad6)")
(net (code 86) (name "Net-(R19-Pad1)")
(node (ref R19) (pin 1))
(node (ref SW1) (pin 1)))
(net (code 87) (name "Net-(U2-Pad6)")
(node (ref U2) (pin 6)))
(net (code 89) (name /Ext0)
(node (ref U5) (pin 9))
(node (ref U2) (pin 26)))
(net (code 90) (name Earth)
(node (ref J7) (pin 2))
(node (ref C4) (pin 2))
(node (ref D8) (pin 3))
(node (ref U1) (pin 5))
(node (ref Q1) (pin 3)))
(net (code 91) (name /CANL)
(net (code 88) (name /Ext1)
(node (ref U5) (pin 11))
(node (ref U2) (pin 27)))
(net (code 89) (name /CANL)
(node (ref D8) (pin 1))
(node (ref U1) (pin 6))
(node (ref SW1) (pin 2))
(node (ref J7) (pin 1))
(node (ref SW1) (pin 2)))
(net (code 92) (name /ESW2)
(node (ref U2) (pin 3))
(node (ref R24) (pin 2)))
(net (code 93) (name /~EN2)
(node (ref U1) (pin 6)))
(net (code 90) (name Earth)
(node (ref C4) (pin 2))
(node (ref Q1) (pin 3))
(node (ref U1) (pin 5))
(node (ref D8) (pin 3))
(node (ref J7) (pin 2)))
(net (code 91) (name "Net-(C4-Pad1)")
(node (ref C4) (pin 1))
(node (ref Q1) (pin 4))
(node (ref U1) (pin 8)))
(net (code 92) (name /CANH)
(node (ref J7) (pin 3))
(node (ref U1) (pin 7))
(node (ref D8) (pin 2))
(node (ref R19) (pin 2)))
(net (code 93) (name /ESW3)
(node (ref R25) (pin 2))
(node (ref U2) (pin 4)))
(net (code 94) (name /~EN2)
(node (ref U4) (pin 14))
(node (ref U2) (pin 20)))
(net (code 94) (name /Buzzer)
(node (ref U2) (pin 39))
(net (code 95) (name /Buzzer)
(node (ref R33) (pin 1))
(node (ref R32) (pin 2))
(node (ref R33) (pin 1)))
(net (code 95) (name /Enc3a)
(node (ref U2) (pin 40))
(node (ref R11) (pin 1)))
(net (code 96) (name /Enc3b)
(node (ref R12) (pin 1))
(node (ref U2) (pin 41)))
(net (code 97) (name /I2C1_SCL)
(node (ref D1) (pin 1))
(node (ref R14) (pin 2))
(node (ref R3) (pin 1))
(node (ref U2) (pin 42)))
(node (ref U2) (pin 39)))
(net (code 96) (name /Enc3a)
(node (ref R11) (pin 1))
(node (ref U2) (pin 40)))
(net (code 97) (name /Enc3b)
(node (ref U2) (pin 41))
(node (ref R12) (pin 1)))
(net (code 98) (name /I2C1_SDA)
(node (ref U2) (pin 43))
(node (ref R15) (pin 2))
(node (ref D3) (pin 1))
(node (ref U2) (pin 43))
(node (ref R13) (pin 1)))
(net (code 99) (name /CAN_Rx)
(node (ref U1) (pin 2))
(node (ref U2) (pin 45)))
(node (ref U2) (pin 45))
(node (ref U1) (pin 2)))
(net (code 100) (name /CAN_Tx)
(node (ref U2) (pin 46))
(node (ref U1) (pin 3)))
(net (code 101) (name /ESW1)
(node (ref U2) (pin 2))
(node (ref R23) (pin 2)))
(net (code 102) (name /ESW3)
(node (ref R25) (pin 2))
(node (ref U2) (pin 4)))
(net (code 102) (name /ESW2)
(node (ref R24) (pin 2))
(node (ref U2) (pin 3)))
(net (code 103) (name /Relay)
(node (ref R21) (pin 2))
(node (ref U2) (pin 5))
(node (ref R20) (pin 2)))
(node (ref R20) (pin 2))
(node (ref R21) (pin 2)))
(net (code 104) (name "Net-(C10-Pad1)")
(node (ref Q5) (pin 3))
(node (ref U3) (pin 1))
(node (ref C16) (pin 1))
(node (ref Q5) (pin 1))
(node (ref Q5) (pin 2))
(node (ref D11) (pin 1))
(node (ref C10) (pin 1))
(node (ref J13) (pin 2))
(node (ref C16) (pin 1))
(node (ref U3) (pin 1))
(node (ref C9) (pin 1))
(node (ref J13) (pin 2)))
(net (code 105) (name "Net-(C4-Pad1)")
(node (ref C4) (pin 1))
(node (ref Q1) (pin 4))
(node (ref U1) (pin 8)))))
(node (ref Q5) (pin 1))
(node (ref C10) (pin 1))
(node (ref Q5) (pin 2))
(node (ref Q5) (pin 3)))))

View File

@ -2040,28 +2040,6 @@ F 3 "~" H 1100 5450 50 0001 C CNN
0 1 1 0
$EndComp
$Comp
L Device:D D2
U 1 1 61174DAA
P 1275 5625
F 0 "D2" V 1260 5525 50 0000 C CNN
F 1 "D" V 1260 5700 50 0000 C CNN
F 2 "Diode_SMD:D_0805_2012Metric_Pad1.15x1.40mm_HandSolder" H 1275 5625 50 0001 C CNN
F 3 "~" H 1275 5625 50 0001 C CNN
1 1275 5625
0 -1 -1 0
$EndComp
$Comp
L Device:D D5
U 1 1 6117539D
P 1525 5625
F 0 "D5" V 1520 5530 50 0000 C CNN
F 1 "D" V 1520 5705 50 0000 C CNN
F 2 "Diode_SMD:D_0805_2012Metric_Pad1.15x1.40mm_HandSolder" H 1525 5625 50 0001 C CNN
F 3 "~" H 1525 5625 50 0001 C CNN
1 1525 5625
0 -1 -1 0
$EndComp
$Comp
L Device:R R8
U 1 1 6117899E
P 1100 5350
@ -2209,7 +2187,6 @@ F 3 "" H 1525 5775 50 0000 C CNN
1 1525 5775
1 0 0 -1
$EndComp
Connection ~ 1525 5775
Wire Wire Line
1325 6100 1250 6100
Wire Wire Line
@ -2493,4 +2470,39 @@ Wire Wire Line
10540 5110 10615 5110
Text Notes 11015 3940 0 50 ~ 0
CLK\nDIR\n~EN
$Comp
L stm32-rescue:GND #PWR?
U 1 1 615A8F6D
P 6385 2890
F 0 "#PWR?" H 6385 2640 50 0001 C CNN
F 1 "GND" H 6385 2740 50 0000 C CNN
F 2 "" H 6385 2890 50 0000 C CNN
F 3 "" H 6385 2890 50 0000 C CNN
1 6385 2890
1 0 0 -1
$EndComp
Connection ~ 6385 2890
$Comp
L Device:D D5
U 1 1 615A9D8A
P 1525 5625
F 0 "D5" V 1430 5630 50 0000 L CNN
F 1 "CESD3V3" H 1505 5705 20 0000 L CNN
F 2 "Diode_SMD:D_0805_2012Metric_Pad1.15x1.40mm_HandSolder" H 1525 5625 50 0001 C CNN
F 3 "~" H 1525 5625 50 0001 C CNN
1 1525 5625
0 1 1 0
$EndComp
$Comp
L Device:D D2
U 1 1 615AA4F1
P 1275 5625
F 0 "D2" V 1180 5630 50 0000 L CNN
F 1 "CESD3V3" H 1255 5705 20 0000 L CNN
F 2 "Diode_SMD:D_0805_2012Metric_Pad1.15x1.40mm_HandSolder" H 1275 5625 50 0001 C CNN
F 3 "~" H 1275 5625 50 0001 C CNN
1 1275 5625
0 1 1 0
$EndComp
Connection ~ 1525 5775
$EndSCHEMATC

0
F0-nolib/CANbus_stepper/src/canstepper.bin Normal file → Executable file
View File

0
F0-nolib/Chiller/chiller.bin Normal file → Executable file
View File

0
F0-nolib/F0_testbrd/pl2303.bin Normal file → Executable file
View File

0
F0-nolib/QuadEncoder/encoder.bin Normal file → Executable file
View File

0
F0-nolib/Servo/servo.bin Normal file → Executable file
View File

0
F0-nolib/Socket_fans/sockfans.bin Normal file → Executable file
View File

0
F0-nolib/TM1637/tm1637.bin Normal file → Executable file
View File

0
F0-nolib/USBHID/usbhid.bin Normal file → Executable file
View File

0
F0-nolib/USB_pl2303_snippet/usb.bin Normal file → Executable file
View File

0
F0-nolib/blink/blink.bin Executable file → Normal file
View File

0
F0-nolib/canbus/src/canbus.bin Normal file → Executable file
View File

0
F0-nolib/htu21d_nucleo/usart.bin Normal file → Executable file
View File

View File

@ -1 +1 @@
Fx
/home/eddy/Yandex.Disk/Projects/stm32samples/F0-nolib/inc/Fx

0
F0-nolib/morze/morze.bin Normal file → Executable file
View File

0
F0-nolib/pl2303/pl2303.bin Normal file → Executable file
View File

0
F0-nolib/tsys01_nucleo/tsys01.bin Normal file → Executable file
View File

0
F0-nolib/uart_blink/uartblink.bin Normal file → Executable file
View File

0
F0-nolib/uart_blink_dma/uartblink.bin Normal file → Executable file
View File

0
F0-nolib/uart_nucleo/usart.bin Normal file → Executable file
View File

0
F0-nolib/usbcan/usbcan.bin Executable file → Normal file
View File

0
F0-nolib/usbcan_relay/usbcan.bin Executable file → Normal file
View File

0
F0/blink/blink.bin Normal file → Executable file
View File

0
F0/uart/uart.bin Normal file → Executable file
View File

0
F1-nolib/BMP180/BMP180.bin Normal file → Executable file
View File

0
F1-nolib/BMP280/BMP280.bin Normal file → Executable file
View File

0
F1-nolib/CDC_ACM/cdcacm.bin Normal file → Executable file
View File

0
F1-nolib/DHT22_DHT11/DHT22.bin Normal file → Executable file
View File

0
F1-nolib/DS18/DS18.bin Normal file → Executable file
View File

0
F1-nolib/F1_testbrd/pl2303.bin Normal file → Executable file
View File

0
F1-nolib/I2Cscan/I2Cscan.bin Normal file → Executable file
View File

0
F1-nolib/LED_Screen/LEDscreen.bin Normal file → Executable file
View File

0
F1-nolib/LED_Screen/genlist Normal file → Executable file
View File

0
F1-nolib/LED_Screen/scrtest/scrtest Normal file → Executable file
View File

0
F1-nolib/MAX7219_screen/MAX7219.bin Normal file → Executable file
View File

0
F1-nolib/PL2303/pl2303.bin Normal file → Executable file
View File

0
F1-nolib/RGB_LED_Screen/RGBLEDscreen.bin Normal file → Executable file
View File

0
F1-nolib/RGB_LED_Screen/getrand Normal file → Executable file
View File

View File

@ -1 +0,0 @@
/home/eddy/Yandex.Disk/Projects/mytakepic/.hg/wcache/checklink-target

View File

@ -0,0 +1,301 @@
/*
* This file is part of the RGBLEDscreen project.
* Copyright 2020 Edward V. Emelianov <edward.emelianoff@gmail.com>.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "adcrandom.h"
#include "balls.h"
#include "fonts.h"
#include "proto.h"
#include "screen.h"
#include "usb.h"
extern uint8_t countms, rainbow, balls;
extern uint32_t Tms;
char *omit_spaces(const char *buf){
while(*buf){
if(*buf > ' ') break;
++buf;
}
return (char*)buf;
}
// In case of overflow return `buf` and N==0xffffffff
// read decimal number & return pointer to next non-number symbol
static char *getdec(const char *buf, uint32_t *N){
char *start = (char*)buf;
uint32_t num = 0;
while(*buf){
char c = *buf;
if(c < '0' || c > '9'){
break;
}
if(num > 429496729 || (num == 429496729 && c > '5')){ // overflow
*N = 0xffffff;
return start;
}
num *= 10;
num += c - '0';
++buf;
}
*N = num;
return (char*)buf;
}
// read hexadecimal number (without 0x prefix!)
static char *gethex(const char *buf, uint32_t *N){
char *start = (char*)buf;
uint32_t num = 0;
while(*buf){
char c = *buf;
uint8_t M = 0;
if(c >= '0' && c <= '9'){
M = '0';
}else if(c >= 'A' && c <= 'F'){
M = 'A' - 10;
}else if(c >= 'a' && c <= 'f'){
M = 'a' - 10;
}
if(M){
if(num & 0xf0000000){ // overflow
*N = 0xffffff;
return start;
}
num <<= 4;
num += c - M;
}else{
break;
}
++buf;
}
*N = num;
return (char*)buf;
}
// read octal number (without 0 prefix!)
static char *getoct(const char *buf, uint32_t *N){
char *start = (char*)buf;
uint32_t num = 0;
while(*buf){
char c = *buf;
if(c < '0' || c > '7'){
break;
}
if(num & 0xe0000000){ // overflow
*N = 0xffffff;
return start;
}
num <<= 3;
num += c - '0';
++buf;
}
*N = num;
return (char*)buf;
}
// read binary number (without b prefix!)
static char *getbin(const char *buf, uint32_t *N){
char *start = (char*)buf;
uint32_t num = 0;
while(*buf){
char c = *buf;
if(c < '0' || c > '1'){
break;
}
if(num & 0x80000000){ // overflow
*N = 0xffffff;
return start;
}
num <<= 1;
if(c == '1') num |= 1;
++buf;
}
*N = num;
return (char*)buf;
}
/**
* @brief getnum - read uint32_t from string (dec, hex or bin: 127, 0x7f, 0b1111111)
* @param buf - buffer with number and so on
* @param N - the number read
* @return pointer to first non-number symbol in buf
* (if it is == buf, there's no number or if *N==0xffffffff there was overflow)
*/
char *getnum(const char *txt, uint32_t *N){
char *nxt = NULL;
char *s = omit_spaces(txt);
if(*s == '0'){ // hex, oct or 0
if(s[1] == 'x' || s[1] == 'X'){ // hex
nxt = gethex(s+2, N);
if(nxt == s+2) nxt = (char*)txt;
}else if(s[1] > '0'-1 && s[1] < '8'){ // oct
nxt = getoct(s+1, N);
if(nxt == s+1) nxt = (char*)txt;
}else{ // 0
nxt = s+1;
*N = 0;
}
}else if(*s == 'b' || *s == 'B'){
nxt = getbin(s+1, N);
if(nxt == s+1) nxt = (char*)txt;
}else{
nxt = getdec(s, N);
if(nxt == s) nxt = (char*)txt;
}
return nxt;
}
const char* helpmsg =
"'0/1' - screen off/on\n"
"'2,3' - select font\n"
"'A' - get ADC values\n"
"'B' - start/stop rainBow\n"
"'b' - start/stop Balls\n"
"'C' - clear screen with given color\n"
"'F' - set foreground color\n"
"'G' - get 100 random numbers\n"
"'f' - get FPS\n"
"'R' - software reset\n"
"'W' - test watchdog\n"
"'Zz' -start/stop counting ms\n"
"Any text - put text @ screen\n"
;
const char *parse_cmd(const char *buf){
uint32_t N;
if(buf[1] == '\n'){ // one symbol commands
switch(*buf){
case '0':
ScreenOFF();
return "OFF\n";
break;
case '1':
ScreenON();
return "ON\n";
break;
case '2':
if(choose_font(FONT14)) return "Font14\n";
return "err\n";
break;
case '3':
if(choose_font(FONT16)) return "Font16\n";
return "err\n";
break;
case 'A':
USB_send("Tsens="); USB_send(u2str(getADCval(0)));
USB_send("\nVref="); USB_send(u2str(getADCval(1)));
USB_send("\nRand="); USB_send(u2str(getRand()));
USB_send("\n");
return NULL;
break;
case 'B':
if(rainbow){
rainbow = 0;
return "Stop rainbow\n";
}else{
rainbow = 1;
return "Start rainbow\n";
}
break;
case 'b':
if(balls){
balls = 0;
return "Stop balls\n";
}else{
balls_init();
balls = 1;
return "Start balls\n";
}
case 'f':
if(SCREEN_RELAX == getScreenState()) return "Screen is inactive\n";
USB_send("FPS=");
USB_send(u2str(getFPS()));
USB_send("\n");
return NULL;
break;
case 'G':
/*USB_send(u2str(Tms)); USB_send("\n");
for(int i=0; i < 1000; ++i) getRand();
USB_send(u2str(Tms)); USB_send("\n");*/
for(int i = 0; i < 100; ++i){
USB_send(u2str(getRand()));
USB_send("\n");
}
return NULL;
break;
case 'R':
USB_send("Soft reset\n");
NVIC_SystemReset();
break;
case 'W':
USB_send("Wait for reboot\n");
while(1){nop();};
break;
case 'Z':
countms = 1;
return "Start\n";
break;
case 'z':
countms = 0;
return "Stop\n";
break;
default:
return helpmsg;
}
return NULL;
}else{
switch(*buf){
case 'C':
if(getnum(buf+1, &N)){
ScreenOFF();
setBGcolor(N);
ClearScreen();
ScreenON();
return "Background color\n";
}
return "Wrong color\n";
break;
case 'F':
if(getnum(buf+1, &N)){
setFGcolor(N);
return "Foreground color\n";
}
return "Wrong color\n";
break;
default:
ScreenOFF();
ClearScreen();
PutStringAt(1, curfont->height + 3, buf);
ScreenON();
}
return buf;
}
return NULL;
}
// return string with number `val`
char *u2str(uint32_t val){
static char strbuf[11];
char *bufptr = &strbuf[10];
*bufptr = 0;
if(!val){
*(--bufptr) = '0';
}else{
while(val){
*(--bufptr) = val % 10 + '0';
val /= 10;
}
}
return bufptr;
}

0
F1-nolib/SI7005_HTU21D/si7005.bin Normal file → Executable file
View File

0
F1-nolib/SPI/SPI.bin Normal file → Executable file
View File

0
F1-nolib/SevenCDCs/cdcacmcore.bin Normal file → Executable file
View File

0
F1-nolib/Tetris/TETRIS.bin Normal file → Executable file
View File

0
F1-nolib/Tetris/getrand Normal file → Executable file
View File

View File

@ -1 +0,0 @@
/home/eddy/Yandex.Disk/Projects/mytakepic/.hg/wcache/checklink-target

193
F1-nolib/Tetris/main.c Normal file
View File

@ -0,0 +1,193 @@
/*
* This file is part of the TETRIS project.
* Copyright 2021 Edward V. Emelianov <edward.emelianoff@gmail.com>.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "adcrandom.h"
#include "arkanoid.h"
#include "balls.h"
#include "buttons.h"
#include "fonts.h"
#include "hardware.h"
#include "menu.h"
#include "proto.h"
#include "screen.h"
#include "snake.h"
#include "tetris.h"
#include "usb.h"
#include "usb_lib.h"
// timeout for autosleep (30s)
#define AUTOSLEEP_TMOUT (30000)
volatile uint32_t Tms = 0;
uint8_t balls = 0;
enum{
STATE_MENU,
STATE_SNAKE,
STATE_TETRIS,
STATE_ARKANOID,
STATE_SLEEP,
STATE_GAMEOVER
} curstate = STATE_SLEEP;
/* Called when systick fires */
void sys_tick_handler(void){
++Tms;
}
#define USBBUFSZ (127)
// usb getline
static char *get_USB(){
static char tmpbuf[USBBUFSZ+1], *curptr = tmpbuf;
static int rest = USBBUFSZ;
int x = USB_receive(curptr);
curptr[x] = 0;
if(!x) return NULL;
if(curptr[x-1] == '\n'){
curptr = tmpbuf;
rest = USBBUFSZ;
return tmpbuf;
}
curptr += x; rest -= x;
if(rest <= 0){ // buffer overflow
curptr = tmpbuf;
rest = USBBUFSZ;
USB_send("USB buffer overflow\n");
}
return NULL;
}
static void process_menu(){
switch(menu_activated()){
case MENU_SLEEP:
USB_send("Select 'Sleep'\n");
ScreenOFF();
curstate = STATE_SLEEP;
break;
case MENU_BALLS:
USB_send("Select 'Balls'\n");
if(balls){
balls = 0;
}else{
curstate = STATE_SLEEP;
balls_init();
balls = 1;
}
break;
case MENU_SNAKE:
USB_send("Select 'Snake'\n");
snake_init();
curstate = STATE_SNAKE;
break;
case MENU_TETRIS:
USB_send("Select 'Tetris'\n");
tetris_init();
curstate = STATE_TETRIS;
break;
case MENU_ARKANOID:
USB_send("Select 'Arkanoid'\n");
arkanoid_init();
curstate = STATE_ARKANOID;
default:
break;
}
}
static void gotomenu(){
curstate = STATE_MENU;
clear_events();
show_menu();
}
int main(void){
uint32_t lastT = 0;
sysreset();
StartHSE();
SysTick_Config(72000);
RCC->CSR |= RCC_CSR_RMVF; // remove reset flags
hw_setup();
USBPU_OFF();
adc_setup();
USB_setup();
//iwdg_setup();
USBPU_ON();
keyevent evt;
while(1){
if(Tms - lastT > 499){
LED_blink(LED0);
lastT = Tms;
}
IWDG->KR = IWDG_REFRESH;
if(balls) process_balls();
process_keys();
switch(curstate){
case STATE_SLEEP:
if(keystate(KEY_M, &evt) && evt == EVT_RELEASE){
USB_send("Activate menu\n");
gotomenu();
}
break;
case STATE_MENU:
process_menu();
if(Tms - lastUnsleep > AUTOSLEEP_TMOUT){
USB_send("Autosleep\n");
ScreenOFF();
curstate = STATE_SLEEP;
}
break;
case STATE_SNAKE:
if(!snake_proces()){
show_gameover();
curstate = STATE_GAMEOVER;
}
break;
case STATE_TETRIS:
if(!tetris_process()){
show_gameover();
curstate = STATE_GAMEOVER;
}
break;
case STATE_ARKANOID:
if(!arkanoid_process()){
show_gameover();
curstate = STATE_GAMEOVER;
}
break;
case STATE_GAMEOVER: // show gameover screen
if(keystate(KEY_M, &evt) && evt == EVT_RELEASE){
gotomenu();
}else if(Tms - lastUnsleep > AUTOSLEEP_TMOUT){
USB_send("Autosleep\n");
ScreenOFF();
curstate = STATE_SLEEP;
}
break;
}
usb_proc();
char *txt; const char *ans;
if((txt = get_USB())){
ans = parse_cmd(txt);
if(ans) USB_send(ans);
}
}
return 0;
}

0
F1-nolib/USB_HID/usbhid103.bin Normal file → Executable file
View File

0
F1-nolib/chronometer/chrono.bin Executable file → Normal file
View File

0
F1-nolib/chronometer_v2/chrono.bin Normal file → Executable file
View File

0
F1-nolib/chronometer_v3/chrono.bin Normal file → Executable file
View File

0
F1-nolib/led_blink/blink.bin Normal file → Executable file
View File

0
F1-nolib/pl2303_snippet/pl2303.bin Normal file → Executable file
View File

0
F1-nolib/pl2303_snippet_naked/pl2303.bin Normal file → Executable file
View File

0
F1-nolib/pwmdmatest/pwmtest.bin Normal file → Executable file
View File

0
F1-nolib/pwmtest/pwmtest.bin Normal file → Executable file
View File

0
F1-nolib/uart/uart.bin Normal file → Executable file
View File

0
F1-nolib/ws2815/ws2815.bin Normal file → Executable file
View File

0
F1/1_wire/onewire.bin Normal file → Executable file
View File

0
F1/2.8TFT/dma_gpio.bin Normal file → Executable file
View File

0
F1/DMA_GPIO/dma_gpio.bin Normal file → Executable file
View File

0
F1/GPIO_TIM/tim_gpio.bin Normal file → Executable file
View File

0
F1/GPS+ultrasonic/timelapse.bin Normal file → Executable file
View File

0
F1/GPS/GPS.bin Normal file → Executable file
View File

0
F1/Jeep_generator/jeep_generator.bin Normal file → Executable file
View File

0
F1/Timelapse_keyboard/timelapse.bin Normal file → Executable file
View File

0
F1/Timelapse_keyboard_only_lasers/timelapse.bin Normal file → Executable file
View File

0
F1/USBCDC_template/usb_cdc_simple.bin Normal file → Executable file
View File

0
F1/canon_lens/canon_lens.bin Normal file → Executable file
View File

0
F1/distance_meters/ultrasonic.bin Normal file → Executable file
View File

0
F1/hid_mouse_keyboard/usbhid.bin Normal file → Executable file
View File

0
F1/keyboard_snippet/keyboard.bin Normal file → Executable file
View File

0
F1/matrix_keyboard/matrkeyb.bin Normal file → Executable file
View File

0
F1/nokia5110/nokia5110.bin Normal file → Executable file
View File

0
F1/simple_cdc/usb_cdc_simple.bin Normal file → Executable file
View File

0
F1/stepper_motion/usb_cdc_simple.bin Normal file → Executable file
View File

0
F1/ultrasonic/ultrasonic.bin Normal file → Executable file
View File

0
F303-nolib/blink/blink.bin Normal file → Executable file
View File

0
F303-nolib/usart1/usart1.bin Normal file → Executable file
View File

0
F303-nolib/usarts/usart.bin Normal file → Executable file
View File