Plotted v1.0.0

This commit is contained in:
rbaron 2021-03-12 20:20:03 +01:00
parent 3ad78c0673
commit e99f95f0a5
18 changed files with 15308 additions and 81 deletions

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,79 @@
G04 #@! TF.GenerationSoftware,KiCad,Pcbnew,(5.1.2-1)-1*
G04 #@! TF.CreationDate,2021-03-12T20:16:40+01:00*
G04 #@! TF.ProjectId,parasite,70617261-7369-4746-952e-6b696361645f,1.0.0*
G04 #@! TF.SameCoordinates,Original*
G04 #@! TF.FileFunction,Soldermask,Bot*
G04 #@! TF.FilePolarity,Negative*
%FSLAX46Y46*%
G04 Gerber Fmt 4.6, Leading zero omitted, Abs format (unit mm)*
G04 Created by KiCad (PCBNEW (5.1.2-1)-1) date 2021-03-12 20:16:40*
%MOMM*%
%LPD*%
G04 APERTURE LIST*
%ADD10C,0.100000*%
G04 APERTURE END LIST*
D10*
G36*
X69701000Y-70301000D02*
G01*
X64499000Y-70301000D01*
X64499000Y-65099000D01*
X69701000Y-65099000D01*
X69701000Y-70301000D01*
X69701000Y-70301000D01*
G37*
G36*
X69710909Y-46292981D02*
G01*
X71339887Y-46967726D01*
X71339888Y-46967727D01*
X72805930Y-47947304D01*
X74052696Y-49194070D01*
X74707228Y-50173648D01*
X75032274Y-50660113D01*
X75707019Y-52289091D01*
X76051000Y-54018402D01*
X76051000Y-55781598D01*
X75707019Y-57510909D01*
X75032274Y-59139887D01*
X75032273Y-59139888D01*
X74052696Y-60605930D01*
X72805930Y-61852696D01*
X71826352Y-62507228D01*
X71339887Y-62832274D01*
X69710909Y-63507019D01*
X67981598Y-63851000D01*
X66218402Y-63851000D01*
X64489091Y-63507019D01*
X62860113Y-62832274D01*
X62373648Y-62507228D01*
X61394070Y-61852696D01*
X60147304Y-60605930D01*
X59167727Y-59139888D01*
X59167726Y-59139887D01*
X58492981Y-57510909D01*
X58149000Y-55781598D01*
X58149000Y-54018402D01*
X58492981Y-52289091D01*
X59167726Y-50660113D01*
X59492772Y-50173648D01*
X60147304Y-49194070D01*
X61394070Y-47947304D01*
X62860112Y-46967727D01*
X62860113Y-46967726D01*
X64489091Y-46292981D01*
X66218402Y-45949000D01*
X67981598Y-45949000D01*
X69710909Y-46292981D01*
X69710909Y-46292981D01*
G37*
G36*
X69701000Y-44701000D02*
G01*
X64499000Y-44701000D01*
X64499000Y-39499000D01*
X69701000Y-39499000D01*
X69701000Y-44701000D01*
X69701000Y-44701000D01*
G37*
M02*

View file

@ -0,0 +1,18 @@
G04 #@! TF.GenerationSoftware,KiCad,Pcbnew,(5.1.2-1)-1*
G04 #@! TF.CreationDate,2021-03-12T20:16:40+01:00*
G04 #@! TF.ProjectId,parasite,70617261-7369-4746-952e-6b696361645f,1.0.0*
G04 #@! TF.SameCoordinates,Original*
G04 #@! TF.FileFunction,Paste,Bot*
G04 #@! TF.FilePolarity,Positive*
%FSLAX46Y46*%
G04 Gerber Fmt 4.6, Leading zero omitted, Abs format (unit mm)*
G04 Created by KiCad (PCBNEW (5.1.2-1)-1) date 2021-03-12 20:16:40*
%MOMM*%
%LPD*%
G04 APERTURE LIST*
%ADD10R,5.100000X5.100000*%
G04 APERTURE END LIST*
D10*
X67100000Y-42100000D03*
X67100000Y-67700000D03*
M02*

View file

@ -0,0 +1,74 @@
G04 #@! TF.GenerationSoftware,KiCad,Pcbnew,(5.1.2-1)-1*
G04 #@! TF.CreationDate,2021-03-12T20:16:40+01:00*
G04 #@! TF.ProjectId,parasite,70617261-7369-4746-952e-6b696361645f,1.0.0*
G04 #@! TF.SameCoordinates,Original*
G04 #@! TF.FileFunction,Legend,Bot*
G04 #@! TF.FilePolarity,Positive*
%FSLAX46Y46*%
G04 Gerber Fmt 4.6, Leading zero omitted, Abs format (unit mm)*
G04 Created by KiCad (PCBNEW (5.1.2-1)-1) date 2021-03-12 20:16:40*
%MOMM*%
%LPD*%
G04 APERTURE LIST*
%ADD10C,0.120000*%
G04 APERTURE END LIST*
D10*
X58000000Y-83000000D02*
X78000000Y-83000000D01*
X73150000Y-44100000D02*
X77950000Y-50950000D01*
X77950000Y-50950000D02*
X77950000Y-58850000D01*
X77950000Y-58850000D02*
X73150000Y-65650000D01*
X57600000Y-44350000D02*
X57600000Y-51050000D01*
X57598536Y-51053615D02*
G75*
G03X57600000Y-58750000I9501464J-3846385D01*
G01*
X57600000Y-65450000D02*
X57600000Y-58750000D01*
X64350000Y-44150000D02*
X64350000Y-39350000D01*
X64350000Y-39350000D02*
X69850000Y-39350000D01*
X69850000Y-39350000D02*
X69850000Y-44150000D01*
X69850000Y-65650000D02*
X69850000Y-70450000D01*
X69850000Y-70450000D02*
X64350000Y-70450000D01*
X64350000Y-70450000D02*
X64350000Y-65650000D01*
X76750000Y-45200000D02*
X76783333Y-45300000D01*
X76816666Y-45333333D01*
X76883333Y-45366666D01*
X76983333Y-45366666D01*
X77050000Y-45333333D01*
X77083333Y-45300000D01*
X77116666Y-45233333D01*
X77116666Y-44966666D01*
X76416666Y-44966666D01*
X76416666Y-45200000D01*
X76450000Y-45266666D01*
X76483333Y-45300000D01*
X76550000Y-45333333D01*
X76616666Y-45333333D01*
X76683333Y-45300000D01*
X76716666Y-45266666D01*
X76750000Y-45200000D01*
X76750000Y-44966666D01*
X76416666Y-45566666D02*
X76416666Y-45966666D01*
X77116666Y-45766666D02*
X76416666Y-45766666D01*
X77116666Y-46566666D02*
X77116666Y-46166666D01*
X77116666Y-46366666D02*
X76416666Y-46366666D01*
X76516666Y-46300000D01*
X76583333Y-46233333D01*
X76616666Y-46166666D01*
M02*

View file

@ -0,0 +1,45 @@
G04 #@! TF.GenerationSoftware,KiCad,Pcbnew,(5.1.2-1)-1*
G04 #@! TF.CreationDate,2021-03-12T20:16:40+01:00*
G04 #@! TF.ProjectId,parasite,70617261-7369-4746-952e-6b696361645f,1.0.0*
G04 #@! TF.SameCoordinates,Original*
G04 #@! TF.FileFunction,Profile,NP*
%FSLAX46Y46*%
G04 Gerber Fmt 4.6, Leading zero omitted, Abs format (unit mm)*
G04 Created by KiCad (PCBNEW (5.1.2-1)-1) date 2021-03-12 20:16:40*
%MOMM*%
%LPD*%
G04 APERTURE LIST*
%ADD10C,0.050000*%
G04 APERTURE END LIST*
D10*
X60000000Y-27000000D02*
X76000000Y-27000000D01*
X79000000Y-30000000D02*
X79000000Y-127000000D01*
X57000000Y-30000000D02*
X57000000Y-127000000D01*
X68999999Y-136999999D02*
X79000000Y-127000000D01*
X67000001Y-136999999D02*
X57000000Y-127000000D01*
X68999999Y-136999999D02*
G75*
G02X67000001Y-136999999I-999999J999999D01*
G01*
X62414214Y-68000000D02*
G75*
G03X62414214Y-68000000I-1414214J0D01*
G01*
X76414214Y-68000000D02*
G75*
G03X76414214Y-68000000I-1414214J0D01*
G01*
X57000000Y-30000000D02*
G75*
G02X60000000Y-27000000I3000000J0D01*
G01*
X76000000Y-27000000D02*
G75*
G02X79000000Y-30000000I0J-3000000D01*
G01*
M02*

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

51
kicad/gerber/parasite.drl Normal file
View file

@ -0,0 +1,51 @@
M48
; DRILL file {KiCad (5.1.2-1)-1} date 2021 March 12, Friday 20:16:42
; FORMAT={3:3/ absolute / metric / suppress leading zeros}
; #@! TF.CreationDate,2021-03-12T20:16:42+01:00
; #@! TF.GenerationSoftware,Kicad,Pcbnew,(5.1.2-1)-1
FMAT,2
METRIC,TZ
T1C0.400
%
G90
G05
T1
X58400Y-50400
X59700Y-33500
X60900Y-45600
X62100Y-35600
X63000Y-33800
X63500Y-38200
X63500Y-49600
X63500Y-50500
X63500Y-51400
X63800Y-64300
X64100Y-55238
X64700Y-38200
X65800Y-38200
X65800Y-61100
X65863Y-55238
X67100Y-38200
X67100Y-67700
X67199Y-55038
X67800Y-67000
X68550Y-66250
X68700Y-60700
X69500Y-34400
X69500Y-34400
X70800Y-36300
X71300Y-52400
X71600Y-37700
X71800Y-34700
X72200Y-52400
X73119Y-42600
X74494Y-47510
X74700Y-45700
X74800Y-53800
X74800Y-54700
X75100Y-31800
X75300Y-43200
X75900Y-40300
X76100Y-38200
T0
M30

View file

@ -0,0 +1,2 @@
Ref,Val,Package,PosX,PosY,Rot,Side
"BT1","Battery_Cell","BatteryHolder_Keystone_3002_1x2032",67.100000,-54.900000,270.000000,bottom
1 Ref Val Package PosX PosY Rot Side
2 BT1 Battery_Cell BatteryHolder_Keystone_3002_1x2032 67.100000 -54.900000 270.000000 bottom

View file

@ -0,0 +1,22 @@
Designator,Val,Package,Mid X,Mid Y,Rotation,Layer
"C1","1n","C_0402_1005Metric",68.000000,-50.915000,90.000000,top
"C2","100n","C_0402_1005Metric",72.815000,-53.800000,180.000000,top
"C3","12p","C_0402_1005Metric",64.800000,-50.915000,270.000000,top
"C4","12p","C_0402_1005Metric",66.200000,-50.915000,90.000000,top
"C6","100p","C_0402_1005Metric",61.915000,-56.400000,180.000000,top
"Cpara1","5p","C_0805_2012Metric",64.100000,-54.300000,90.000000,top
"D1","LL4148","D_MiniMELF",67.950000,-53.700000,180.000000,top
"D2","LED","LED_0603_1608Metric",62.000000,-51.212500,90.000000,top
"Q1","MMBT3904","SOT-23",64.800000,-58.700000,90.000000,top
"Q2","MMBT3904","SOT-23",68.450000,-58.700000,90.000000,top
"Q3","AO3407","SOT-23",73.100000,-57.300000,270.000000,top
"R1","10k","R_0402_1005Metric",62.000000,-54.400000,0.000000,top
"R2","1k","R_0402_1005Metric",62.000000,-47.485000,270.000000,top
"R3","1k","R_0402_1005Metric",67.300000,-56.300000,0.000000,top
"R4","10k","R_0402_1005Metric",61.915000,-58.200000,180.000000,top
"R5","1k","R_0402_1005Metric",69.385000,-56.300000,0.000000,top
"R6","1M","R_0402_1005Metric",69.300000,-50.915000,90.000000,top
"R7","10k","R_0402_1005Metric",70.700000,-48.085000,90.000000,top
"R8","10k","R_0402_1005Metric",72.100000,-48.085000,270.000000,top
"U2","SHTC3","Sensirion_DFN-4-1EP_2x2mm_P1mm_EP0.7x1.6mm",72.800000,-50.600000,180.000000,top
"Y1","32.768kHz","Crystal_SMD_3215-2Pin_3.2x1.5mm",66.250000,-48.000000,180.000000,top
1 Designator Val Package Mid X Mid Y Rotation Layer
2 C1 1n C_0402_1005Metric 68.000000 -50.915000 90.000000 top
3 C2 100n C_0402_1005Metric 72.815000 -53.800000 180.000000 top
4 C3 12p C_0402_1005Metric 64.800000 -50.915000 270.000000 top
5 C4 12p C_0402_1005Metric 66.200000 -50.915000 90.000000 top
6 C6 100p C_0402_1005Metric 61.915000 -56.400000 180.000000 top
7 Cpara1 5p C_0805_2012Metric 64.100000 -54.300000 90.000000 top
8 D1 LL4148 D_MiniMELF 67.950000 -53.700000 180.000000 top
9 D2 LED LED_0603_1608Metric 62.000000 -51.212500 90.000000 top
10 Q1 MMBT3904 SOT-23 64.800000 -58.700000 90.000000 top
11 Q2 MMBT3904 SOT-23 68.450000 -58.700000 90.000000 top
12 Q3 AO3407 SOT-23 73.100000 -57.300000 270.000000 top
13 R1 10k R_0402_1005Metric 62.000000 -54.400000 0.000000 top
14 R2 1k R_0402_1005Metric 62.000000 -47.485000 270.000000 top
15 R3 1k R_0402_1005Metric 67.300000 -56.300000 0.000000 top
16 R4 10k R_0402_1005Metric 61.915000 -58.200000 180.000000 top
17 R5 1k R_0402_1005Metric 69.385000 -56.300000 0.000000 top
18 R6 1M R_0402_1005Metric 69.300000 -50.915000 90.000000 top
19 R7 10k R_0402_1005Metric 70.700000 -48.085000 90.000000 top
20 R8 10k R_0402_1005Metric 72.100000 -48.085000 270.000000 top
21 U2 SHTC3 Sensirion_DFN-4-1EP_2x2mm_P1mm_EP0.7x1.6mm 72.800000 -50.600000 180.000000 top
22 Y1 32.768kHz Crystal_SMD_3215-2Pin_3.2x1.5mm 66.250000 -48.000000 180.000000 top

14
kicad/parasite.csv Normal file
View file

@ -0,0 +1,14 @@
Comment,Designator,Footprint,LCSC
"1n","C1","Capacitor_SMD:C_0402_1005Metric","C1523"
"100n","C2","Capacitor_SMD:C_0402_1005Metric","C1525"
"12p","C3,C4","Capacitor_SMD:C_0402_1005Metric","C1547"
"100p","C6","Capacitor_SMD:C_0402_1005Metric","C1546"
"LL4148","D1","Diode_SMD:D_MiniMELF","C9808"
"LED","D2","LED_SMD:LED_0603_1608Metric","C2286"
"MMBT3904","Q1,Q2","Package_TO_SOT_SMD:SOT-23","C20526"
"AO3407","Q3","Package_TO_SOT_SMD:SOT-23","C181093"
"10k","R1,R4,R7,R8","Resistor_SMD:R_0402_1005Metric","C25744"
"1k","R2,R3,R5","Resistor_SMD:R_0402_1005Metric","C11702"
"1M","R6","Resistor_SMD:R_0402_1005Metric","C26083"
"SHTC3","U2","kicad:Sensirion_DFN-4-1EP_2x2mm_P1mm_EP0.7x1.6mm","C194656"
"32.768kHz","Y1","Crystal:Crystal_SMD_3215-2Pin_3.2x1.5mm","C32346"
1 Comment Designator Footprint LCSC
2 1n C1 Capacitor_SMD:C_0402_1005Metric C1523
3 100n C2 Capacitor_SMD:C_0402_1005Metric C1525
4 12p C3,C4 Capacitor_SMD:C_0402_1005Metric C1547
5 100p C6 Capacitor_SMD:C_0402_1005Metric C1546
6 LL4148 D1 Diode_SMD:D_MiniMELF C9808
7 LED D2 LED_SMD:LED_0603_1608Metric C2286
8 MMBT3904 Q1,Q2 Package_TO_SOT_SMD:SOT-23 C20526
9 AO3407 Q3 Package_TO_SOT_SMD:SOT-23 C181093
10 10k R1,R4,R7,R8 Resistor_SMD:R_0402_1005Metric C25744
11 1k R2,R3,R5 Resistor_SMD:R_0402_1005Metric C11702
12 1M R6 Resistor_SMD:R_0402_1005Metric C26083
13 SHTC3 U2 kicad:Sensirion_DFN-4-1EP_2x2mm_P1mm_EP0.7x1.6mm C194656
14 32.768kHz Y1 Crystal:Crystal_SMD_3215-2Pin_3.2x1.5mm C32346

View file

@ -2,7 +2,7 @@
(general
(thickness 1.6)
(drawings 15)
(drawings 18)
(tracks 242)
(zones 0)
(modules 30)
@ -97,7 +97,7 @@
(mirror false)
(drillshape 0)
(scaleselection 1)
(outputdirectory "gerber/"))
(outputdirectory ""))
)
(net 0 "")
@ -131,9 +131,9 @@
(net 28 "Net-(C4-Pad2)")
(net 29 "Net-(U1-Pad43)")
(net 30 "Net-(U1-Pad27)")
(net 31 "Net-(U1-Pad15)")
(net 32 "Net-(U1-Pad17)")
(net 33 "Net-(U2-Pad5)")
(net 31 "Net-(U1-Pad17)")
(net 32 "Net-(U2-Pad5)")
(net 33 "Net-(U1-Pad1)")
(net_class Default "This is the default net class."
(clearance 0.2)
@ -161,8 +161,8 @@
(add_net "Net-(TP1-Pad1)")
(add_net "Net-(TP2-Pad1)")
(add_net "Net-(TP5-Pad1)")
(add_net "Net-(U1-Pad1)")
(add_net "Net-(U1-Pad10)")
(add_net "Net-(U1-Pad15)")
(add_net "Net-(U1-Pad17)")
(add_net "Net-(U1-Pad25)")
(add_net "Net-(U1-Pad27)")
@ -177,7 +177,7 @@
(add_net "Net-(U2-Pad5)")
)
(module Symbol:OSHW-Symbol_6.7x6mm_SilkScreen (layer F.Cu) (tedit 0) (tstamp 604C728B)
(module Symbol:OSHW-Symbol_6.7x6mm_SilkScreen (layer F.Cu) (tedit 0) (tstamp 604C9296)
(at 68 72)
(descr "Open Source Hardware Symbol")
(tags "Logo Symbol OSHW")
@ -307,7 +307,7 @@
(pad "" smd roundrect (at -1.025 0.5 180) (size 0.55 0.35) (layers F.Paste) (roundrect_rratio 0.25))
(pad "" smd roundrect (at -1.025 -0.5 180) (size 0.55 0.35) (layers F.Paste) (roundrect_rratio 0.25))
(pad 5 smd roundrect (at 0 0 180) (size 0.7 1.6) (layers F.Cu F.Mask) (roundrect_rratio 0.25)
(net 33 "Net-(U2-Pad5)"))
(net 32 "Net-(U2-Pad5)"))
(pad 4 smd roundrect (at 0.925 -0.5 180) (size 0.55 0.35) (layers F.Cu F.Mask) (roundrect_rratio 0.25)
(net 1 GND))
(pad 3 smd roundrect (at 0.925 0.5 180) (size 0.55 0.35) (layers F.Cu F.Mask) (roundrect_rratio 0.25)
@ -358,7 +358,7 @@
(pad 2 smd rect (at 12.76 -6.119 90) (size 0.65 1) (layers F.Cu F.Paste F.Mask)
(net 12 /FAST_DISCH_EN))
(pad 1 smd rect (at 14.03 -6.119 90) (size 0.65 1) (layers F.Cu F.Paste F.Mask)
(net 3 /PWM))
(net 33 "Net-(U1-Pad1)"))
(pad 31 smd rect (at 6.41 6.119 90) (size 0.65 1) (layers F.Cu F.Paste F.Mask)
(net 17 "Net-(U1-Pad31)"))
(pad 43 smd rect (at 14.03 6.119 90) (size 0.65 1) (layers F.Cu F.Paste F.Mask)
@ -388,9 +388,9 @@
(pad 13 smd rect (at 0.381 -3.2 180) (size 0.65 1) (layers F.Cu F.Paste F.Mask)
(net 28 "Net-(C4-Pad2)"))
(pad 15 smd rect (at 0.381 -1.93 180) (size 0.65 1) (layers F.Cu F.Paste F.Mask)
(net 31 "Net-(U1-Pad15)"))
(net 3 /PWM))
(pad 17 smd rect (at 0.381 -0.66 180) (size 0.65 1) (layers F.Cu F.Paste F.Mask)
(net 32 "Net-(U1-Pad17)"))
(net 31 "Net-(U1-Pad17)"))
(pad 25 smd rect (at 0.381 4.42 180) (size 0.65 1) (layers F.Cu F.Paste F.Mask)
(net 19 "Net-(U1-Pad25)"))
(pad 19 smd rect (at 0.381 0.61 180) (size 0.65 1) (layers F.Cu F.Paste F.Mask)
@ -785,7 +785,7 @@
(fp_text reference Q3 (at 1.4 -1.3 180) (layer F.SilkS)
(effects (font (size 0.7 0.7) (thickness 0.12)))
)
(fp_text value AO3407A (at 0 2.5 90) (layer F.Fab)
(fp_text value AO3407 (at 0 2.5 90) (layer F.Fab)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_line (start 0.76 1.58) (end -0.7 1.58) (layer F.SilkS) (width 0.12))
@ -1218,7 +1218,7 @@
(tags capacitor)
(path /6016579E)
(attr smd)
(fp_text reference par (at 2.2 0 180) (layer F.SilkS)
(fp_text reference Cpara1 (at 2.2 0 180) (layer F.SilkS)
(effects (font (size 0.7 0.7) (thickness 0.12)))
)
(fp_text value 5p (at 0 1.65 90) (layer F.Fab)
@ -1313,6 +1313,13 @@
(net 8 /SENS_OUT))
)
(gr_text + (at 61 53) (layer F.SilkS) (tstamp 604C9415)
(effects (font (size 0.7 0.7) (thickness 0.12)))
)
(gr_text + (at 71 53.7) (layer F.SilkS)
(effects (font (size 0.7 0.7) (thickness 0.12)))
)
(gr_circle (center 74.2 51.7) (end 74.3 51.7) (layer F.SilkS) (width 0.12))
(dimension 111 (width 0.12) (layer Dwgs.User) (tstamp 604C7800)
(gr_text "111.000 mm" (at 88.27 82.5 90) (layer Dwgs.User) (tstamp 604C7801)
(effects (font (size 1 1) (thickness 0.15)))
@ -1377,9 +1384,6 @@
(segment (start 65.75 59.7) (end 65.75 61.05) (width 0.25) (layer F.Cu) (net 1))
(segment (start 68.7 60.4) (end 69.4 59.7) (width 0.25) (layer F.Cu) (net 1))
(segment (start 68.7 60.7) (end 68.7 60.4) (width 0.25) (layer F.Cu) (net 1))
(segment (start 63.225 38.453998) (end 63.225 39.2) (width 0.25) (layer F.Cu) (net 1))
(segment (start 63.225 38.419) (end 63.225 38.453998) (width 0.25) (layer F.Cu) (net 1))
(segment (start 61.056 36.25) (end 63.225 38.419) (width 0.25) (layer F.Cu) (net 1))
(segment (start 60.881 36.25) (end 61.056 36.25) (width 0.25) (layer F.Cu) (net 1))
(via (at 63.5 38.2) (size 0.8) (drill 0.4) (layers F.Cu B.Cu) (net 1))
(segment (start 63.225 38.275) (end 63.3 38.2) (width 0.25) (layer B.Cu) (net 1))
@ -1389,6 +1393,9 @@
(segment (start 64.5 38.2) (end 65.8 38.2) (width 0.25) (layer F.Cu) (net 1))
(via (at 67.1 38.2) (size 0.8) (drill 0.4) (layers F.Cu B.Cu) (net 1))
(segment (start 65.8 38.2) (end 67.1 38.2) (width 0.25) (layer B.Cu) (net 1))
(segment (start 63.497 38.197) (end 63.5 38.2) (width 0.25) (layer F.Cu) (net 1))
(segment (start 61.056 36.25) (end 63.003 38.197) (width 0.25) (layer F.Cu) (net 1))
(segment (start 63.003 38.197) (end 63.497 38.197) (width 0.25) (layer F.Cu) (net 1))
(segment (start 62.485 54.4) (end 62.485 53.715) (width 0.25) (layer F.Cu) (net 2))
(segment (start 62.8375 53.3625) (end 64.1 53.3625) (width 0.25) (layer F.Cu) (net 2))
(segment (start 62.485 53.715) (end 62.8375 53.3625) (width 0.25) (layer F.Cu) (net 2))
@ -1409,16 +1416,16 @@
(segment (start 69.234168 55.965832) (end 68.9 56.3) (width 0.25) (layer F.Cu) (net 2))
(segment (start 69.234168 55.765832) (end 69.234168 55.965832) (width 0.25) (layer F.Cu) (net 2))
(segment (start 69.34501 55.65499) (end 69.234168 55.765832) (width 0.25) (layer F.Cu) (net 2))
(segment (start 61.515 53.98) (end 61.515 54.4) (width 0.25) (layer F.Cu) (net 3))
(segment (start 58.974999 46.701997) (end 61.19999 48.926988) (width 0.25) (layer F.Cu) (net 3))
(segment (start 61.19999 53.66499) (end 61.515 53.98) (width 0.25) (layer F.Cu) (net 3))
(segment (start 58.974999 32.151999) (end 58.974999 46.701997) (width 0.25) (layer F.Cu) (net 3))
(segment (start 59.956998 31.17) (end 58.974999 32.151999) (width 0.25) (layer F.Cu) (net 3))
(segment (start 61.19999 48.926988) (end 61.19999 53.66499) (width 0.25) (layer F.Cu) (net 3))
(segment (start 60.881 31.17) (end 59.956998 31.17) (width 0.25) (layer F.Cu) (net 3))
(segment (start 61.43 56.4) (end 61.43 58.2) (width 0.25) (layer F.Cu) (net 3))
(segment (start 61.515 56.315) (end 61.43 56.4) (width 0.25) (layer F.Cu) (net 3))
(segment (start 61.515 54.4) (end 61.515 56.315) (width 0.25) (layer F.Cu) (net 3))
(segment (start 61.180832 54.065832) (end 61.515 54.4) (width 0.25) (layer F.Cu) (net 3))
(segment (start 60.174999 45.251999) (end 60.174999 53.059999) (width 0.25) (layer F.Cu) (net 3))
(segment (start 60.174999 53.059999) (end 61.180832 54.065832) (width 0.25) (layer F.Cu) (net 3))
(segment (start 61.432999 43.993999) (end 60.174999 45.251999) (width 0.25) (layer F.Cu) (net 3))
(segment (start 64.419999 43.993999) (end 61.432999 43.993999) (width 0.25) (layer F.Cu) (net 3))
(segment (start 65.07 44.644) (end 64.419999 43.993999) (width 0.25) (layer F.Cu) (net 3))
(segment (start 65.07 44.819) (end 65.07 44.644) (width 0.25) (layer F.Cu) (net 3))
(segment (start 63.85 59.65) (end 62.4 58.2) (width 0.25) (layer F.Cu) (net 4))
(segment (start 63.85 59.7) (end 63.85 59.65) (width 0.25) (layer F.Cu) (net 4))
(segment (start 62.4 58.2) (end 62.4 56.4) (width 0.25) (layer F.Cu) (net 4))
@ -1596,7 +1603,7 @@
(segment (start 67.02 49.63) (end 67.5 49.15) (width 0.25) (layer F.Cu) (net 28))
(segment (start 67 49.63) (end 67.02 49.63) (width 0.25) (layer F.Cu) (net 28))
(zone (net 1) (net_name GND) (layer F.Cu) (tstamp 604C7538) (hatch edge 0.508)
(zone (net 1) (net_name GND) (layer F.Cu) (tstamp 604C92B4) (hatch edge 0.508)
(connect_pads (clearance 0.508))
(min_thickness 0.254)
(fill yes (arc_segments 32) (thermal_gap 0.508) (thermal_bridge_width 0.508))
@ -1809,14 +1816,18 @@
(xy 63.890498 51.93918) (xy 63.949463 52.049494) (xy 64.028815 52.146185) (xy 64.125506 52.225537) (xy 64.146817 52.236928)
(xy 63.64375 52.236928) (xy 63.471715 52.253872) (xy 63.306291 52.304053) (xy 63.153836 52.385542) (xy 63.112704 52.419299)
(xy 63.11 52.28575) (xy 62.95125 52.127) (xy 62.127 52.127) (xy 62.127 52.91375) (xy 62.169225 52.955975)
(xy 61.973998 53.151201) (xy 61.95999 53.162697) (xy 61.95999 51.853) (xy 62.127 51.853) (xy 62.127 51.873)
(xy 62.95125 51.873) (xy 63.11 51.71425) (xy 63.113072 51.5625) (xy 63.100812 51.438018) (xy 63.064502 51.31832)
(xy 63.005537 51.208006) (xy 62.9509 51.14143) (xy 62.968671 51.119775) (xy 63.04785 50.971642) (xy 63.096608 50.810908)
(xy 63.113072 50.64375) (xy 63.113072 50.20625) (xy 63.096608 50.039092) (xy 63.04785 49.878358) (xy 62.968671 49.730225)
(xy 62.862115 49.600385) (xy 62.76 49.516582) (xy 62.76 48.63397) (xy 62.825679 48.55394) (xy 62.898274 48.418125)
(xy 62.942977 48.270757) (xy 62.958072 48.1175) (xy 62.958072 47.8225) (xy 62.942977 47.669243) (xy 62.898274 47.521875)
(xy 62.878564 47.485) (xy 62.898274 47.448125) (xy 62.942977 47.300757) (xy 62.958072 47.1475) (xy 62.958072 46.8525)
(xy 62.942977 46.699243) (xy 62.907505 46.582307)
(xy 61.973998 53.151201) (xy 61.945 53.174999) (xy 61.921202 53.203997) (xy 61.921201 53.203998) (xy 61.850026 53.290724)
(xy 61.779454 53.422754) (xy 61.776996 53.430858) (xy 61.770414 53.452557) (xy 61.6625 53.441928) (xy 61.63173 53.441928)
(xy 61.099865 52.910064) (xy 61.170506 52.968037) (xy 61.28082 53.027002) (xy 61.400518 53.063312) (xy 61.525 53.075572)
(xy 61.71425 53.0725) (xy 61.873 52.91375) (xy 61.873 52.127) (xy 61.853 52.127) (xy 61.853 51.873)
(xy 61.873 51.873) (xy 61.873 51.853) (xy 62.127 51.853) (xy 62.127 51.873) (xy 62.95125 51.873)
(xy 63.11 51.71425) (xy 63.113072 51.5625) (xy 63.100812 51.438018) (xy 63.064502 51.31832) (xy 63.005537 51.208006)
(xy 62.9509 51.14143) (xy 62.968671 51.119775) (xy 63.04785 50.971642) (xy 63.096608 50.810908) (xy 63.113072 50.64375)
(xy 63.113072 50.20625) (xy 63.096608 50.039092) (xy 63.04785 49.878358) (xy 62.968671 49.730225) (xy 62.862115 49.600385)
(xy 62.76 49.516582) (xy 62.76 48.63397) (xy 62.825679 48.55394) (xy 62.898274 48.418125) (xy 62.942977 48.270757)
(xy 62.958072 48.1175) (xy 62.958072 47.8225) (xy 62.942977 47.669243) (xy 62.898274 47.521875) (xy 62.878564 47.485)
(xy 62.898274 47.448125) (xy 62.942977 47.300757) (xy 62.958072 47.1475) (xy 62.958072 46.8525) (xy 62.942977 46.699243)
(xy 62.907505 46.582307)
)
)
(filled_polygon
@ -1824,6 +1835,35 @@
(xy 67.041928 51.2525) (xy 67.041928 51.272998) (xy 66.996252 51.272998) (xy 67.044679 51.224571)
)
)
(filled_polygon
(pts
(xy 59.755188 30.720518) (xy 59.742928 30.845) (xy 59.742928 31.495) (xy 59.755188 31.619482) (xy 59.791498 31.73918)
(xy 59.82668 31.805) (xy 59.791498 31.87082) (xy 59.755188 31.990518) (xy 59.742928 32.115) (xy 59.742928 32.382269)
(xy 59.660197 32.465) (xy 59.59806 32.465) (xy 59.398101 32.504774) (xy 59.209743 32.582795) (xy 59.040225 32.696063)
(xy 58.896062 32.840226) (xy 58.782794 33.009744) (xy 58.704773 33.198102) (xy 58.664999 33.398061) (xy 58.664999 33.601939)
(xy 58.704773 33.801898) (xy 58.782794 33.990256) (xy 58.896062 34.159774) (xy 59.040225 34.303937) (xy 59.209743 34.417205)
(xy 59.398101 34.495226) (xy 59.59806 34.535) (xy 59.754747 34.535) (xy 59.742928 34.655) (xy 59.742928 35.305)
(xy 59.755188 35.429482) (xy 59.791498 35.54918) (xy 59.82668 35.615) (xy 59.791498 35.68082) (xy 59.755188 35.800518)
(xy 59.742928 35.925) (xy 59.746 35.96425) (xy 59.90475 36.123) (xy 60.754 36.123) (xy 60.754 36.103)
(xy 61.008 36.103) (xy 61.008 36.123) (xy 61.028 36.123) (xy 61.028 36.377) (xy 61.008 36.377)
(xy 61.008 36.397) (xy 60.754 36.397) (xy 60.754 36.377) (xy 59.90475 36.377) (xy 59.746 36.53575)
(xy 59.742928 36.575) (xy 59.755188 36.699482) (xy 59.791498 36.81918) (xy 59.82668 36.885) (xy 59.791498 36.95082)
(xy 59.755188 37.070518) (xy 59.742928 37.195) (xy 59.742928 37.845) (xy 59.755188 37.969482) (xy 59.791498 38.08918)
(xy 59.82668 38.155) (xy 59.791498 38.22082) (xy 59.755188 38.340518) (xy 59.742928 38.465) (xy 59.742928 39.115)
(xy 59.755188 39.239482) (xy 59.791498 39.35918) (xy 59.82668 39.425) (xy 59.791498 39.49082) (xy 59.755188 39.610518)
(xy 59.742928 39.735) (xy 59.742928 40.385) (xy 59.755188 40.509482) (xy 59.791498 40.62918) (xy 59.82668 40.695)
(xy 59.791498 40.76082) (xy 59.755188 40.880518) (xy 59.742928 41.005) (xy 59.742928 41.655) (xy 59.755188 41.779482)
(xy 59.791498 41.89918) (xy 59.82668 41.965) (xy 59.791498 42.03082) (xy 59.755188 42.150518) (xy 59.742928 42.275)
(xy 59.742928 42.925) (xy 59.755188 43.049482) (xy 59.791498 43.16918) (xy 59.850463 43.279494) (xy 59.929815 43.376185)
(xy 60.026506 43.455537) (xy 60.13682 43.514502) (xy 60.256518 43.550812) (xy 60.381 43.563072) (xy 60.789124 43.563072)
(xy 59.664002 44.688195) (xy 59.634998 44.711998) (xy 59.600529 44.753999) (xy 59.540025 44.827723) (xy 59.479558 44.940848)
(xy 59.469453 44.959753) (xy 59.425996 45.103014) (xy 59.414999 45.214667) (xy 59.414999 45.214677) (xy 59.411323 45.251999)
(xy 59.414999 45.289321) (xy 59.415 50.197512) (xy 59.395226 50.098102) (xy 59.317205 49.909744) (xy 59.203937 49.740226)
(xy 59.059774 49.596063) (xy 58.890256 49.482795) (xy 58.701898 49.404774) (xy 58.501939 49.365) (xy 58.298061 49.365)
(xy 58.098102 49.404774) (xy 57.909744 49.482795) (xy 57.740226 49.596063) (xy 57.66 49.676289) (xy 57.66 30.721891)
(xy 59.757575 30.71265)
)
)
(filled_polygon
(pts
(xy 71.993188 30.720518) (xy 71.980928 30.845) (xy 71.980928 31.495) (xy 71.993188 31.619482) (xy 72.029498 31.73918)
@ -1861,54 +1901,30 @@
(xy 67.854685 43.04741) (xy 67.70094 43.129588) (xy 67.566182 43.240182) (xy 67.538465 43.273955) (xy 67.101255 43.711165)
(xy 67.04082 43.729498) (xy 66.975 43.76468) (xy 66.90918 43.729498) (xy 66.789482 43.693188) (xy 66.665 43.680928)
(xy 66.015 43.680928) (xy 65.890518 43.693188) (xy 65.77082 43.729498) (xy 65.705 43.76468) (xy 65.63918 43.729498)
(xy 65.519482 43.693188) (xy 65.395 43.680928) (xy 64.745 43.680928) (xy 64.620518 43.693188) (xy 64.50082 43.729498)
(xy 64.435 43.76468) (xy 64.36918 43.729498) (xy 64.249482 43.693188) (xy 64.125 43.680928) (xy 63.475 43.680928)
(xy 63.350518 43.693188) (xy 63.23082 43.729498) (xy 63.165 43.76468) (xy 63.09918 43.729498) (xy 62.979482 43.693188)
(xy 62.855 43.680928) (xy 62.205 43.680928) (xy 62.080518 43.693188) (xy 61.96082 43.729498) (xy 61.850506 43.788463)
(xy 61.753815 43.867815) (xy 61.674463 43.964506) (xy 61.615498 44.07482) (xy 61.579188 44.194518) (xy 61.566928 44.319)
(xy 61.566928 44.803217) (xy 61.559774 44.796063) (xy 61.390256 44.682795) (xy 61.201898 44.604774) (xy 61.001939 44.565)
(xy 60.798061 44.565) (xy 60.598102 44.604774) (xy 60.409744 44.682795) (xy 60.240226 44.796063) (xy 60.096063 44.940226)
(xy 59.982795 45.109744) (xy 59.904774 45.298102) (xy 59.865 45.498061) (xy 59.865 45.701939) (xy 59.904774 45.901898)
(xy 59.982795 46.090256) (xy 60.096063 46.259774) (xy 60.240226 46.403937) (xy 60.409744 46.517205) (xy 60.598102 46.595226)
(xy 60.798061 46.635) (xy 60.860199 46.635) (xy 61.045135 46.819937) (xy 61.041928 46.8525) (xy 61.041928 47.1475)
(xy 61.057023 47.300757) (xy 61.101726 47.448125) (xy 61.121436 47.485) (xy 61.101726 47.521875) (xy 61.057023 47.669243)
(xy 61.053439 47.705634) (xy 59.734999 46.387196) (xy 59.734999 34.535) (xy 59.754747 34.535) (xy 59.742928 34.655)
(xy 59.742928 35.305) (xy 59.755188 35.429482) (xy 59.791498 35.54918) (xy 59.82668 35.615) (xy 59.791498 35.68082)
(xy 59.755188 35.800518) (xy 59.742928 35.925) (xy 59.746 35.96425) (xy 59.90475 36.123) (xy 60.754 36.123)
(xy 60.754 36.103) (xy 61.008 36.103) (xy 61.008 36.123) (xy 61.028 36.123) (xy 61.028 36.377)
(xy 61.008 36.377) (xy 61.008 36.397) (xy 60.754 36.397) (xy 60.754 36.377) (xy 59.90475 36.377)
(xy 59.746 36.53575) (xy 59.742928 36.575) (xy 59.755188 36.699482) (xy 59.791498 36.81918) (xy 59.82668 36.885)
(xy 59.791498 36.95082) (xy 59.755188 37.070518) (xy 59.742928 37.195) (xy 59.742928 37.845) (xy 59.755188 37.969482)
(xy 59.791498 38.08918) (xy 59.82668 38.155) (xy 59.791498 38.22082) (xy 59.755188 38.340518) (xy 59.742928 38.465)
(xy 59.742928 39.115) (xy 59.755188 39.239482) (xy 59.791498 39.35918) (xy 59.82668 39.425) (xy 59.791498 39.49082)
(xy 59.755188 39.610518) (xy 59.742928 39.735) (xy 59.742928 40.385) (xy 59.755188 40.509482) (xy 59.791498 40.62918)
(xy 59.82668 40.695) (xy 59.791498 40.76082) (xy 59.755188 40.880518) (xy 59.742928 41.005) (xy 59.742928 41.655)
(xy 59.755188 41.779482) (xy 59.791498 41.89918) (xy 59.82668 41.965) (xy 59.791498 42.03082) (xy 59.755188 42.150518)
(xy 59.742928 42.275) (xy 59.742928 42.925) (xy 59.755188 43.049482) (xy 59.791498 43.16918) (xy 59.850463 43.279494)
(xy 59.929815 43.376185) (xy 60.026506 43.455537) (xy 60.13682 43.514502) (xy 60.256518 43.550812) (xy 60.381 43.563072)
(xy 61.381 43.563072) (xy 61.505482 43.550812) (xy 61.62518 43.514502) (xy 61.735494 43.455537) (xy 61.832185 43.376185)
(xy 61.911537 43.279494) (xy 61.970502 43.16918) (xy 62.006812 43.049482) (xy 62.019072 42.925) (xy 62.019072 42.275)
(xy 62.006812 42.150518) (xy 61.970502 42.03082) (xy 61.93532 41.965) (xy 61.970502 41.89918) (xy 62.006812 41.779482)
(xy 62.019072 41.655) (xy 62.019072 41.005) (xy 62.006812 40.880518) (xy 61.970502 40.76082) (xy 61.93532 40.695)
(xy 61.970502 40.62918) (xy 62.006812 40.509482) (xy 62.019072 40.385) (xy 62.019072 39.735) (xy 62.006812 39.610518)
(xy 61.970502 39.49082) (xy 61.93532 39.425) (xy 61.970502 39.35918) (xy 62.006812 39.239482) (xy 62.019072 39.115)
(xy 62.019072 38.465) (xy 62.006812 38.340518) (xy 61.970502 38.22082) (xy 61.93532 38.155) (xy 61.970502 38.08918)
(xy 62.006812 37.969482) (xy 62.019072 37.845) (xy 62.019072 37.195) (xy 62.006812 37.070518) (xy 61.970502 36.95082)
(xy 61.93532 36.885) (xy 61.970502 36.81918) (xy 62.006812 36.699482) (xy 62.013163 36.635) (xy 62.201939 36.635)
(xy 62.401898 36.595226) (xy 62.590256 36.517205) (xy 62.759774 36.403937) (xy 62.903937 36.259774) (xy 63.017205 36.090256)
(xy 63.095226 35.901898) (xy 63.135 35.701939) (xy 63.135 35.498061) (xy 63.095226 35.298102) (xy 63.017205 35.109744)
(xy 62.903937 34.940226) (xy 62.774042 34.810331) (xy 62.898061 34.835) (xy 63.101939 34.835) (xy 63.301898 34.795226)
(xy 63.490256 34.717205) (xy 63.659774 34.603937) (xy 63.803937 34.459774) (xy 63.917205 34.290256) (xy 63.995226 34.101898)
(xy 64.035 33.901939) (xy 64.035 33.698061) (xy 63.995226 33.498102) (xy 63.917205 33.309744) (xy 63.803937 33.140226)
(xy 63.659774 32.996063) (xy 63.490256 32.882795) (xy 63.301898 32.804774) (xy 63.101939 32.765) (xy 62.898061 32.765)
(xy 62.698102 32.804774) (xy 62.509744 32.882795) (xy 62.409164 32.95) (xy 61.988454 32.95) (xy 62.006812 32.889482)
(xy 62.019072 32.765) (xy 62.019072 32.115) (xy 62.006812 31.990518) (xy 61.970502 31.87082) (xy 61.93532 31.805)
(xy 61.970502 31.73918) (xy 62.006812 31.619482) (xy 62.019072 31.495) (xy 62.019072 30.845) (xy 62.006812 30.720518)
(xy 62.001427 30.702766) (xy 72.01195 30.658667)
(xy 65.519482 43.693188) (xy 65.395 43.680928) (xy 65.181729 43.680928) (xy 64.983802 43.483001) (xy 64.96 43.453998)
(xy 64.844275 43.359025) (xy 64.712246 43.288453) (xy 64.568985 43.244996) (xy 64.457332 43.233999) (xy 64.457321 43.233999)
(xy 64.419999 43.230323) (xy 64.382677 43.233999) (xy 61.935855 43.233999) (xy 61.970502 43.16918) (xy 62.006812 43.049482)
(xy 62.019072 42.925) (xy 62.019072 42.275) (xy 62.006812 42.150518) (xy 61.970502 42.03082) (xy 61.93532 41.965)
(xy 61.970502 41.89918) (xy 62.006812 41.779482) (xy 62.019072 41.655) (xy 62.019072 41.005) (xy 62.006812 40.880518)
(xy 61.970502 40.76082) (xy 61.93532 40.695) (xy 61.970502 40.62918) (xy 62.006812 40.509482) (xy 62.019072 40.385)
(xy 62.019072 39.735) (xy 62.006812 39.610518) (xy 61.970502 39.49082) (xy 61.93532 39.425) (xy 61.970502 39.35918)
(xy 62.006812 39.239482) (xy 62.019072 39.115) (xy 62.019072 38.465) (xy 62.006812 38.340518) (xy 61.970502 38.22082)
(xy 61.93532 38.155) (xy 61.970502 38.08918) (xy 62.006812 37.969482) (xy 62.019072 37.845) (xy 62.019072 37.195)
(xy 62.006812 37.070518) (xy 61.970502 36.95082) (xy 61.93532 36.885) (xy 61.970502 36.81918) (xy 62.006812 36.699482)
(xy 62.013163 36.635) (xy 62.201939 36.635) (xy 62.401898 36.595226) (xy 62.590256 36.517205) (xy 62.759774 36.403937)
(xy 62.903937 36.259774) (xy 63.017205 36.090256) (xy 63.095226 35.901898) (xy 63.135 35.701939) (xy 63.135 35.498061)
(xy 63.095226 35.298102) (xy 63.017205 35.109744) (xy 62.903937 34.940226) (xy 62.774042 34.810331) (xy 62.898061 34.835)
(xy 63.101939 34.835) (xy 63.301898 34.795226) (xy 63.490256 34.717205) (xy 63.659774 34.603937) (xy 63.803937 34.459774)
(xy 63.917205 34.290256) (xy 63.995226 34.101898) (xy 64.035 33.901939) (xy 64.035 33.698061) (xy 63.995226 33.498102)
(xy 63.917205 33.309744) (xy 63.803937 33.140226) (xy 63.659774 32.996063) (xy 63.490256 32.882795) (xy 63.301898 32.804774)
(xy 63.101939 32.765) (xy 62.898061 32.765) (xy 62.698102 32.804774) (xy 62.509744 32.882795) (xy 62.409164 32.95)
(xy 61.988454 32.95) (xy 62.006812 32.889482) (xy 62.019072 32.765) (xy 62.019072 32.115) (xy 62.006812 31.990518)
(xy 61.970502 31.87082) (xy 61.93532 31.805) (xy 61.970502 31.73918) (xy 62.006812 31.619482) (xy 62.019072 31.495)
(xy 62.019072 30.845) (xy 62.006812 30.720518) (xy 62.001427 30.702766) (xy 72.01195 30.658667)
)
)
)
(zone (net 1) (net_name GND) (layer B.Cu) (tstamp 604C7535) (hatch edge 0.508)
(zone (net 1) (net_name GND) (layer B.Cu) (tstamp 604C92B1) (hatch edge 0.508)
(connect_pads (clearance 0.508))
(min_thickness 0.254)
(fill yes (arc_segments 32) (thermal_gap 0.508) (thermal_bridge_width 0.508))

BIN
kicad/parasite.pdf Normal file

Binary file not shown.

View file

@ -323,7 +323,7 @@ Text Notes 725 4150 0 50 ~ 0
Parasitic capacitor sensing
Text Notes 725 5575 0 50 ~ 0
Fast discharge on PWMs low cycle
Text Label 1900 1100 2 50 ~ 0
Text Label 1900 2500 2 50 ~ 0
PWM
Text Label 1900 1300 2 50 ~ 0
SENS_OUT
@ -659,7 +659,7 @@ L AO3407A:AO3407A Q3
U 1 1 604DA824
P 5325 6550
F 0 "Q3" V 5670 6550 50 0000 C CNN
F 1 "AO3407A" V 5579 6550 50 0000 C CNN
F 1 "AO3407" V 5579 6550 50 0000 C CNN
F 2 "Package_TO_SOT_SMD:SOT-23" H 5325 6550 50 0001 L BNN
F 3 "" H 5325 6550 50 0001 L BNN
F 4 "C181093" V 5325 6550 50 0001 C CNN "LCSC"
@ -808,7 +808,7 @@ Wire Wire Line
Wire Wire Line
7125 5025 7175 5025
Wire Wire Line
1900 1100 2025 1100
1900 2500 2025 2500
Wire Wire Line
1900 1200 2025 1200
Wire Wire Line
@ -820,7 +820,6 @@ NoConn ~ 2025 1700
NoConn ~ 2025 1800
NoConn ~ 2025 1900
NoConn ~ 2025 2000
NoConn ~ 2025 2500
NoConn ~ 2025 2700
NoConn ~ 3375 1200
NoConn ~ 3375 1400
@ -833,9 +832,11 @@ F 0 "U2" H 7719 4971 50 0000 L CNN
F 1 "SHTC3" H 7719 4880 50 0000 L CNN
F 2 "kicad:Sensirion_DFN-4-1EP_2x2mm_P1mm_EP0.7x1.6mm" H 7675 4575 50 0001 C CNN
F 3 "https://www.sensirion.com/fileadmin/user_upload/customers/sensirion/Dokumente/0_Datasheets/Humidity/Sensirion_Humidity_Sensors_SHTC3_Datasheet.pdf" H 7175 5375 50 0001 C CNN
F 4 "C194656" H 7475 4925 50 0001 C CNN "LCSC"
1 7475 4925
1 0 0 -1
$EndComp
Wire Wire Line
1400 4550 2050 4550
NoConn ~ 2025 1100
$EndSCHEMATC

698
kicad/parasite.xml Normal file
View file

@ -0,0 +1,698 @@
<?xml version="1.0" encoding="UTF-8"?>
<export version="D">
<design>
<source>/Users/rbaron/dev/parasite/b-parasite/kicad/parasite.sch</source>
<date>2021 March 12, Friday 20:02:36</date>
<tool>Eeschema (5.1.2-1)-1</tool>
<sheet number="1" name="/" tstamps="/">
<title_block>
<title>b-parasite</title>
<company/>
<rev>1.0.0</rev>
<date>2021-03-12</date>
<source>parasite.sch</source>
<comment number="1" value="rbaron.net"/>
<comment number="2" value=""/>
<comment number="3" value=""/>
<comment number="4" value=""/>
</title_block>
</sheet>
</design>
<components>
<comp ref="R1">
<value>10k</value>
<footprint>Resistor_SMD:R_0402_1005Metric</footprint>
<datasheet>~</datasheet>
<fields>
<field name="LCSC">C25744</field>
</fields>
<libsource lib="Device" part="R_Small_US" description="Resistor, small US symbol"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>600E0E7A</tstamp>
</comp>
<comp ref="D1">
<value>LL4148</value>
<footprint>Diode_SMD:D_MiniMELF</footprint>
<datasheet>http://www.vishay.com/docs/85557/ll4148.pdf</datasheet>
<fields>
<field name="LCSC">C9808</field>
</fields>
<libsource lib="Diode" part="LL4148" description="100V 0.15A standard switching diode, MiniMELF"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>600E601E</tstamp>
</comp>
<comp ref="C1">
<value>1n</value>
<footprint>Capacitor_SMD:C_0402_1005Metric</footprint>
<datasheet>~</datasheet>
<fields>
<field name="LCSC">C1523</field>
</fields>
<libsource lib="Device" part="C_Small" description="Unpolarized capacitor, small symbol"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>600E6E5B</tstamp>
</comp>
<comp ref="R6">
<value>1M</value>
<footprint>Resistor_SMD:R_0402_1005Metric</footprint>
<datasheet>~</datasheet>
<fields>
<field name="LCSC">C26083</field>
</fields>
<libsource lib="Device" part="R_Small_US" description="Resistor, small US symbol"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>600E7750</tstamp>
</comp>
<comp ref="R4">
<value>10k</value>
<footprint>Resistor_SMD:R_0402_1005Metric</footprint>
<datasheet>~</datasheet>
<fields>
<field name="LCSC">C25744</field>
</fields>
<libsource lib="Device" part="R_Small_US" description="Resistor, small US symbol"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>600FFF47</tstamp>
</comp>
<comp ref="R3">
<value>1k</value>
<footprint>Resistor_SMD:R_0402_1005Metric</footprint>
<datasheet>~</datasheet>
<fields>
<field name="LCSC">C11702</field>
</fields>
<libsource lib="Device" part="R_Small_US" description="Resistor, small US symbol"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>601057D9</tstamp>
</comp>
<comp ref="R5">
<value>1k</value>
<footprint>Resistor_SMD:R_0402_1005Metric</footprint>
<datasheet>~</datasheet>
<fields>
<field name="LCSC">C11702</field>
</fields>
<libsource lib="Device" part="R_Small_US" description="Resistor, small US symbol"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>601113E2</tstamp>
</comp>
<comp ref="C6">
<value>100p</value>
<footprint>Capacitor_SMD:C_0402_1005Metric</footprint>
<datasheet>~</datasheet>
<fields>
<field name="LCSC">C1546</field>
</fields>
<libsource lib="Device" part="C_Small" description="Unpolarized capacitor, small symbol"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>600D105B</tstamp>
</comp>
<comp ref="TP4">
<value>Vsen_out</value>
<footprint>TestPoint:TestPoint_Pad_D1.0mm</footprint>
<datasheet>~</datasheet>
<libsource lib="Connector" part="TestPoint" description="test point"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>60145A9D</tstamp>
</comp>
<comp ref="Cpara1">
<value>5p</value>
<footprint>Capacitor_SMD:C_0805_2012Metric</footprint>
<datasheet>~</datasheet>
<libsource lib="Device" part="C_Small" description="Unpolarized capacitor, small symbol"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>6016579E</tstamp>
</comp>
<comp ref="Q1">
<value>MMBT3904</value>
<footprint>Package_TO_SOT_SMD:SOT-23</footprint>
<datasheet>https://www.fairchildsemi.com/datasheets/2N/2N3904.pdf</datasheet>
<fields>
<field name="LCSC">C20526</field>
</fields>
<libsource lib="Transistor_BJT" part="MMBT3904" description="0.2A Ic, 40V Vce, Small Signal NPN Transistor, SOT-23"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>60188253</tstamp>
</comp>
<comp ref="Q2">
<value>MMBT3904</value>
<footprint>Package_TO_SOT_SMD:SOT-23</footprint>
<datasheet>https://www.fairchildsemi.com/datasheets/2N/2N3904.pdf</datasheet>
<fields>
<field name="LCSC">C20526</field>
</fields>
<libsource lib="Transistor_BJT" part="MMBT3904" description="0.2A Ic, 40V Vce, Small Signal NPN Transistor, SOT-23"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>601897A7</tstamp>
</comp>
<comp ref="TP2">
<value>CLK</value>
<footprint>TestPoint:TestPoint_Pad_D1.0mm</footprint>
<datasheet>~</datasheet>
<libsource lib="Connector" part="TestPoint" description="test point"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>6035D56E</tstamp>
</comp>
<comp ref="TP1">
<value>IO</value>
<footprint>TestPoint:TestPoint_Pad_D1.0mm</footprint>
<datasheet>~</datasheet>
<libsource lib="Connector" part="TestPoint" description="test point"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>6035E763</tstamp>
</comp>
<comp ref="TP7">
<value>VCC</value>
<footprint>TestPoint:TestPoint_Pad_D1.0mm</footprint>
<datasheet>~</datasheet>
<libsource lib="Connector" part="TestPoint" description="test point"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>6037D82C</tstamp>
</comp>
<comp ref="TP6">
<value>GND</value>
<footprint>TestPoint:TestPoint_Pad_D1.0mm</footprint>
<datasheet>~</datasheet>
<libsource lib="Connector" part="TestPoint" description="test point"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>6037E819</tstamp>
</comp>
<comp ref="R2">
<value>1k</value>
<footprint>Resistor_SMD:R_0402_1005Metric</footprint>
<datasheet>~</datasheet>
<fields>
<field name="LCSC">C11702</field>
</fields>
<libsource lib="Device" part="R_Small_US" description="Resistor, small US symbol"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>6037FE48</tstamp>
</comp>
<comp ref="D2">
<value>LED</value>
<footprint>LED_SMD:LED_0603_1608Metric</footprint>
<datasheet>~</datasheet>
<fields>
<field name="LCSC">C2286</field>
</fields>
<libsource lib="Device" part="LED" description="Light emitting diode"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>6038131F</tstamp>
</comp>
<comp ref="BT1">
<value>Battery_Cell</value>
<footprint>kicad:BatteryHolder_Keystone_3002_1x2032</footprint>
<datasheet>~</datasheet>
<libsource lib="Device" part="Battery_Cell" description="Single-cell battery"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>60386A6F</tstamp>
</comp>
<comp ref="TP5">
<value>RST</value>
<footprint>TestPoint:TestPoint_Pad_D1.0mm</footprint>
<datasheet>~</datasheet>
<libsource lib="Connector" part="TestPoint" description="test point"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>6039FE47</tstamp>
</comp>
<comp ref="C2">
<value>100n</value>
<footprint>Capacitor_SMD:C_0402_1005Metric</footprint>
<datasheet>~</datasheet>
<fields>
<field name="LCSC">C1525</field>
</fields>
<libsource lib="Device" part="C_Small" description="Unpolarized capacitor, small symbol"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>6036F153</tstamp>
</comp>
<comp ref="R8">
<value>10k</value>
<footprint>Resistor_SMD:R_0402_1005Metric</footprint>
<datasheet>~</datasheet>
<fields>
<field name="LCSC">C25744</field>
</fields>
<libsource lib="Device" part="R_Small_US" description="Resistor, small US symbol"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>60372D0F</tstamp>
</comp>
<comp ref="R7">
<value>10k</value>
<footprint>Resistor_SMD:R_0402_1005Metric</footprint>
<datasheet>~</datasheet>
<fields>
<field name="LCSC">C25744</field>
</fields>
<libsource lib="Device" part="R_Small_US" description="Resistor, small US symbol"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>6037481E</tstamp>
</comp>
<comp ref="U1">
<value>E73-2G4M08S1C-52840</value>
<footprint>nrfmicro:E73-2G4M08S1C-52840</footprint>
<libsource lib="nrfmicro" part="E73-2G4M08S1C-52840" description=""/>
<sheetpath names="/" tstamps="/"/>
<tstamp>604C2391</tstamp>
</comp>
<comp ref="Q3">
<value>AO3407</value>
<footprint>Package_TO_SOT_SMD:SOT-23</footprint>
<fields>
<field name="LCSC">C181093</field>
</fields>
<libsource lib="AO3407A" part="AO3407A" description=""/>
<sheetpath names="/" tstamps="/"/>
<tstamp>604DA824</tstamp>
</comp>
<comp ref="Y1">
<value>32.768kHz</value>
<footprint>Crystal:Crystal_SMD_3215-2Pin_3.2x1.5mm</footprint>
<datasheet>~</datasheet>
<fields>
<field name="LCSC">C32346</field>
</fields>
<libsource lib="Device" part="Crystal" description="Two pin crystal"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>604E7179</tstamp>
</comp>
<comp ref="C3">
<value>12p</value>
<footprint>Capacitor_SMD:C_0402_1005Metric</footprint>
<datasheet>~</datasheet>
<fields>
<field name="LCSC">C1547</field>
</fields>
<libsource lib="Device" part="C_Small" description="Unpolarized capacitor, small symbol"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>604EDBDB</tstamp>
</comp>
<comp ref="C4">
<value>12p</value>
<footprint>Capacitor_SMD:C_0402_1005Metric</footprint>
<datasheet>~</datasheet>
<fields>
<field name="LCSC">C1547</field>
</fields>
<libsource lib="Device" part="C_Small" description="Unpolarized capacitor, small symbol"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>604EE953</tstamp>
</comp>
<comp ref="U2">
<value>SHTC3</value>
<footprint>kicad:Sensirion_DFN-4-1EP_2x2mm_P1mm_EP0.7x1.6mm</footprint>
<datasheet>https://www.sensirion.com/fileadmin/user_upload/customers/sensirion/Dokumente/0_Datasheets/Humidity/Sensirion_Humidity_Sensors_SHTC3_Datasheet.pdf</datasheet>
<fields>
<field name="LCSC">C194656</field>
</fields>
<libsource lib="Sensor_Humidity" part="SHTC3" description="Humidity and Temperature Sensor, +/-2%RH, +/-0.2degC, I2C, 1.62-3.6V, DFN-4"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>6052CFBE</tstamp>
</comp>
</components>
<libparts>
<libpart lib="AO3407A" part="AO3407A">
<fields>
<field name="Reference">Q</field>
<field name="Value">AO3407A</field>
<field name="Footprint">SOT95P280X125-3N</field>
<field name="STANDARD">IPC-7351B</field>
<field name="PARTREV">5</field>
<field name="MANUFACTURER">Alpha and Omega Semiconductor</field>
</fields>
<pins>
<pin num="1" name="~" type="passive"/>
<pin num="2" name="~" type="passive"/>
<pin num="3" name="~" type="passive"/>
</pins>
</libpart>
<libpart lib="Connector" part="TestPoint">
<description>test point</description>
<docs>~</docs>
<footprints>
<fp>Pin*</fp>
<fp>Test*</fp>
</footprints>
<fields>
<field name="Reference">TP</field>
<field name="Value">TestPoint</field>
</fields>
<pins>
<pin num="1" name="1" type="passive"/>
</pins>
</libpart>
<libpart lib="Device" part="Battery_Cell">
<description>Single-cell battery</description>
<docs>~</docs>
<fields>
<field name="Reference">BT</field>
<field name="Value">Battery_Cell</field>
</fields>
<pins>
<pin num="1" name="+" type="power_out"/>
<pin num="2" name="-" type="power_out"/>
</pins>
</libpart>
<libpart lib="Device" part="C_Small">
<description>Unpolarized capacitor, small symbol</description>
<docs>~</docs>
<footprints>
<fp>C_*</fp>
</footprints>
<fields>
<field name="Reference">C</field>
<field name="Value">C_Small</field>
</fields>
<pins>
<pin num="1" name="~" type="passive"/>
<pin num="2" name="~" type="passive"/>
</pins>
</libpart>
<libpart lib="Device" part="Crystal">
<description>Two pin crystal</description>
<docs>~</docs>
<footprints>
<fp>Crystal*</fp>
</footprints>
<fields>
<field name="Reference">Y</field>
<field name="Value">Crystal</field>
</fields>
<pins>
<pin num="1" name="1" type="passive"/>
<pin num="2" name="2" type="passive"/>
</pins>
</libpart>
<libpart lib="Device" part="LED">
<description>Light emitting diode</description>
<docs>~</docs>
<footprints>
<fp>LED*</fp>
<fp>LED_SMD:*</fp>
<fp>LED_THT:*</fp>
</footprints>
<fields>
<field name="Reference">D</field>
<field name="Value">LED</field>
</fields>
<pins>
<pin num="1" name="K" type="passive"/>
<pin num="2" name="A" type="passive"/>
</pins>
</libpart>
<libpart lib="Device" part="R_Small_US">
<description>Resistor, small US symbol</description>
<docs>~</docs>
<footprints>
<fp>R_*</fp>
</footprints>
<fields>
<field name="Reference">R</field>
<field name="Value">R_Small_US</field>
</fields>
<pins>
<pin num="1" name="~" type="passive"/>
<pin num="2" name="~" type="passive"/>
</pins>
</libpart>
<libpart lib="Diode" part="LL4148">
<aliases>
<alias>LL4448</alias>
</aliases>
<description>100V 0.15A standard switching diode, MiniMELF</description>
<docs>http://www.vishay.com/docs/85557/ll4148.pdf</docs>
<footprints>
<fp>D*MiniMELF*</fp>
</footprints>
<fields>
<field name="Reference">D</field>
<field name="Value">LL4148</field>
<field name="Footprint">Diode_SMD:D_MiniMELF</field>
</fields>
<pins>
<pin num="1" name="K" type="passive"/>
<pin num="2" name="A" type="passive"/>
</pins>
</libpart>
<libpart lib="Sensor_Humidity" part="SHTC1">
<aliases>
<alias>SHTC3</alias>
</aliases>
<description>Humidity and Temperature Sensor, +/-3%RH, +/-0.3degC, I2C, 1.62-1.98V, DFN-4</description>
<docs>https://www.sensirion.com/fileadmin/user_upload/customers/sensirion/Dokumente/0_Datasheets/Humidity/Sensirion_Humidity_Sensors_SHTC1_Datasheet.pdf</docs>
<footprints>
<fp>Sensirion*DFN*1EP*2x2mm*P1mm*EP0.7x1.6mm*</fp>
</footprints>
<fields>
<field name="Reference">U</field>
<field name="Value">SHTC1</field>
<field name="Footprint">Sensor_Humidity:Sensirion_DFN-4-1EP_2x2mm_P1mm_EP0.7x1.6mm</field>
</fields>
<pins>
<pin num="1" name="VDD" type="power_in"/>
<pin num="2" name="SCL" type="input"/>
<pin num="3" name="SDA" type="BiDi"/>
<pin num="4" name="VSS" type="power_in"/>
<pin num="5" name="NC" type="NotConnected"/>
</pins>
</libpart>
<libpart lib="Transistor_BJT" part="BC817">
<aliases>
<alias>BC818</alias>
<alias>BC847</alias>
<alias>BC848</alias>
<alias>BC849</alias>
<alias>BC850</alias>
<alias>MMBT3904</alias>
<alias>MMBT5550L</alias>
<alias>MMBT5551L</alias>
</aliases>
<description>0.8A Ic, 45V Vce, NPN Transistor, SOT-23</description>
<docs>http://www.fairchildsemi.com/ds/BC/BC817.pdf</docs>
<footprints>
<fp>SOT?23*</fp>
</footprints>
<fields>
<field name="Reference">Q</field>
<field name="Value">BC817</field>
<field name="Footprint">Package_TO_SOT_SMD:SOT-23</field>
</fields>
<pins>
<pin num="1" name="B" type="input"/>
<pin num="2" name="E" type="passive"/>
<pin num="3" name="C" type="passive"/>
</pins>
</libpart>
<libpart lib="nrfmicro" part="E73-2G4M08S1C-52840">
<fields>
<field name="Reference">U</field>
<field name="Value">E73-2G4M08S1C-52840</field>
</fields>
<pins>
<pin num="1" name="P1.11" type="input"/>
<pin num="2" name="P1.10" type="input"/>
<pin num="3" name="P0.03/AIN1" type="input"/>
<pin num="4" name="P0.28/AIN4" type="input"/>
<pin num="5" name="GND" type="power_in"/>
<pin num="6" name="P1.13" type="input"/>
<pin num="7" name="P0.02/AIN0" type="input"/>
<pin num="8" name="P0.29/AIN5" type="input"/>
<pin num="9" name="P0.31/AIN7" type="input"/>
<pin num="10" name="P0.30/AIN6" type="input"/>
<pin num="11" name="P0.00/XL1" type="input"/>
<pin num="13" name="P0.01/XL2" type="input"/>
<pin num="15" name="P0.05/AIN3" type="input"/>
<pin num="17" name="P1.09" type="input"/>
<pin num="19" name="VDD" type="power_in"/>
<pin num="21" name="GND" type="power_in"/>
<pin num="23" name="VDDH" type="power_in"/>
<pin num="25" name="DCCH" type="power_out"/>
<pin num="26" name="P0.18/RESET" type="input"/>
<pin num="27" name="VBUS" type="power_in"/>
<pin num="29" name="USB_D-" type="input"/>
<pin num="31" name="USB_D+" type="input"/>
<pin num="33" name="P0.13" type="input"/>
<pin num="35" name="P0.24" type="input"/>
<pin num="37" name="SWDIO" type="input"/>
<pin num="39" name="SWDCLK" type="input"/>
<pin num="41" name="P0.09/NFC1" type="input"/>
<pin num="43" name="P0.10/NFC2" type="input"/>
</pins>
</libpart>
</libparts>
<libraries>
<library logical="AO3407A">
<uri>/Users/rbaron/dev/parasite/b-parasite/kicad/lib/snapeda/AO3407A.lib</uri>
</library>
<library logical="Connector">
<uri>/Library/Application Support/kicad/library/Connector.lib</uri>
</library>
<library logical="Device">
<uri>/Library/Application Support/kicad/library/Device.lib</uri>
</library>
<library logical="Diode">
<uri>/Library/Application Support/kicad/library/Diode.lib</uri>
</library>
<library logical="Sensor_Humidity">
<uri>/Users/rbaron/dev/parasite/b-parasite/kicad/lib/kicad/Sensor_Humidity.lib</uri>
</library>
<library logical="Transistor_BJT">
<uri>/Library/Application Support/kicad/library/Transistor_BJT.lib</uri>
</library>
<library logical="nrfmicro">
<uri>/Users/rbaron/dev/parasite/b-parasite/kicad/lib/nrfmicro/nrfmicro.lib</uri>
</library>
</libraries>
<nets>
<net code="1" name="/PWM">
<node ref="R1" pin="1"/>
<node ref="U1" pin="15"/>
<node ref="C6" pin="2"/>
<node ref="R4" pin="2"/>
</net>
<net code="2" name="GND">
<node ref="R6" pin="2"/>
<node ref="U1" pin="21"/>
<node ref="U1" pin="5"/>
<node ref="Q3" pin="1"/>
<node ref="C3" pin="2"/>
<node ref="C2" pin="2"/>
<node ref="C1" pin="2"/>
<node ref="C4" pin="1"/>
<node ref="Cpara1" pin="1"/>
<node ref="BT1" pin="2"/>
<node ref="Q1" pin="2"/>
<node ref="Q2" pin="2"/>
<node ref="D2" pin="1"/>
<node ref="TP6" pin="1"/>
<node ref="U2" pin="4"/>
</net>
<net code="3" name="/SENS_OUT">
<node ref="U1" pin="3"/>
<node ref="R6" pin="1"/>
<node ref="C1" pin="1"/>
<node ref="D1" pin="1"/>
<node ref="TP4" pin="1"/>
</net>
<net code="4" name="/Csen+">
<node ref="R1" pin="2"/>
<node ref="Cpara1" pin="2"/>
<node ref="D1" pin="2"/>
<node ref="R5" pin="1"/>
</net>
<net code="5" name="/FAST_DISCH_EN">
<node ref="U1" pin="2"/>
<node ref="R3" pin="1"/>
</net>
<net code="6" name="Net-(Q1-Pad3)">
<node ref="Q1" pin="3"/>
<node ref="R3" pin="2"/>
<node ref="Q2" pin="1"/>
</net>
<net code="7" name="Net-(Q2-Pad3)">
<node ref="R5" pin="2"/>
<node ref="Q2" pin="3"/>
</net>
<net code="8" name="Net-(C6-Pad1)">
<node ref="R4" pin="1"/>
<node ref="C6" pin="1"/>
<node ref="Q1" pin="1"/>
</net>
<net code="9" name="Net-(D2-Pad2)">
<node ref="R2" pin="2"/>
<node ref="D2" pin="2"/>
</net>
<net code="10" name="Net-(BT1-Pad1)">
<node ref="Q3" pin="3"/>
<node ref="BT1" pin="1"/>
</net>
<net code="12" name="Net-(U1-Pad1)">
<node ref="U1" pin="1"/>
</net>
<net code="13" name="Net-(U1-Pad10)">
<node ref="U1" pin="10"/>
</net>
<net code="14" name="Net-(U1-Pad17)">
<node ref="U1" pin="17"/>
</net>
<net code="15" name="+3V0">
<node ref="U2" pin="1"/>
<node ref="R8" pin="1"/>
<node ref="C2" pin="1"/>
<node ref="U1" pin="19"/>
<node ref="U1" pin="23"/>
<node ref="TP7" pin="1"/>
<node ref="Q3" pin="2"/>
<node ref="R7" pin="2"/>
</net>
<net code="16" name="Net-(U1-Pad25)">
<node ref="U1" pin="25"/>
</net>
<net code="17" name="Net-(TP5-Pad1)">
<node ref="U1" pin="26"/>
<node ref="TP5" pin="1"/>
</net>
<net code="18" name="Net-(U1-Pad27)">
<node ref="U1" pin="27"/>
</net>
<net code="19" name="Net-(U1-Pad29)">
<node ref="U1" pin="29"/>
</net>
<net code="20" name="Net-(U1-Pad31)">
<node ref="U1" pin="31"/>
</net>
<net code="21" name="/SCL">
<node ref="R8" pin="2"/>
<node ref="U1" pin="33"/>
<node ref="U2" pin="2"/>
</net>
<net code="22" name="/SDA">
<node ref="R7" pin="1"/>
<node ref="U2" pin="3"/>
<node ref="U1" pin="35"/>
</net>
<net code="23" name="Net-(TP1-Pad1)">
<node ref="TP1" pin="1"/>
<node ref="U1" pin="37"/>
</net>
<net code="24" name="Net-(TP2-Pad1)">
<node ref="TP2" pin="1"/>
<node ref="U1" pin="39"/>
</net>
<net code="25" name="/LED">
<node ref="R2" pin="1"/>
<node ref="U1" pin="4"/>
</net>
<net code="26" name="Net-(U1-Pad41)">
<node ref="U1" pin="41"/>
</net>
<net code="27" name="Net-(U1-Pad43)">
<node ref="U1" pin="43"/>
</net>
<net code="28" name="Net-(U1-Pad6)">
<node ref="U1" pin="6"/>
</net>
<net code="29" name="Net-(U1-Pad7)">
<node ref="U1" pin="7"/>
</net>
<net code="30" name="Net-(U1-Pad8)">
<node ref="U1" pin="8"/>
</net>
<net code="31" name="Net-(U1-Pad9)">
<node ref="U1" pin="9"/>
</net>
<net code="32" name="Net-(C3-Pad1)">
<node ref="Y1" pin="1"/>
<node ref="U1" pin="11"/>
<node ref="C3" pin="1"/>
</net>
<net code="33" name="Net-(C4-Pad2)">
<node ref="Y1" pin="2"/>
<node ref="U1" pin="13"/>
<node ref="C4" pin="2"/>
</net>
<net code="34" name="Net-(U2-Pad5)">
<node ref="U2" pin="5"/>
</net>
</nets>
</export>

View file

@ -0,0 +1,104 @@
<!--XSL style sheet to convert EESCHEMA XML Partlist Format to grouped CSV BOM Format
Copyright (C) 2014, Wolf Walter.
Copyright (C) 2013, Stefan Helmert.
Copyright (C) 2018, Kicad developers.
Copyright (C) 2019, arturo182.
GPL v2.
Functionality:
Generation of JLCPCB PCBA compatible BOM
How to use this is explained in eeschema.pdf chapter 14. You enter a command line into the
netlist exporter using a new (custom) tab in the netlist export dialog.
The command line is
xsltproc -o "%O.csv" "FullPathToFile/bom2grouped_csv_jlcpcb.xsl" "%I"
-->
<!--
@package
Generates a JLCPCB PCBA service compatible BOM
Functionality:
* Generate a comma separated value BOM list (csv file type).
* Components are sorted by ref and grouped by same value+footprint
One value per line
Fields are
Comment,Designator,Footprint,LCSC
The command line is
xsltproc -o "%O.csv" "full_path/bom2grouped_csv_jlcpcb.xsl" "%I"
-->
<!DOCTYPE xsl:stylesheet [
<!ENTITY nl "&#xd;&#xa;"> <!--new line CR, LF, or LF, your choice -->
]>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:output method="text"/>
<xsl:variable name="digits" select="'1234567890'" />
<!-- for matching grouping of footprint and value combination -->
<xsl:key name="partTypeByValueAndFootprint" match="comp" use="concat(footprint, '-', value)" />
<!-- for table head and empty table fields-->
<xsl:key name="headentr" match="field" use="@name"/>
<!-- main part -->
<xsl:template match="/export">
<xsl:text>Comment,Designator,Footprint,LCSC</xsl:text>
<!-- all table entries -->
<xsl:apply-templates select="components"/>
</xsl:template>
<xsl:template match="components">
<!-- for Muenchian grouping of footprint and value combination -->
<xsl:for-each select="comp[count(. | key('partTypeByValueAndFootprint', concat(footprint, '-', value))[1]) = 1]">
<xsl:sort select="@ref" />
<xsl:text>&nl;</xsl:text>
<xsl:text>"</xsl:text><xsl:value-of select="value"/><xsl:text>","</xsl:text>
<!-- list of all references -->
<xsl:for-each select="key('partTypeByValueAndFootprint', concat(footprint, '-', value))">
<!-- strip non-digits from reference and sort based on remaining number -->
<xsl:sort select="translate(@ref, translate(@ref, $digits, ''), '')" data-type="number" />
<xsl:value-of select="@ref"/>
<xsl:if test="position() != last()"><xsl:text>,</xsl:text></xsl:if>
</xsl:for-each>
<xsl:text>","</xsl:text>
<xsl:value-of select="footprint"/><xsl:text>","</xsl:text>
<xsl:value-of select="fields/field[@name='LCSC']"/><xsl:text>"</xsl:text>
</xsl:for-each>
</xsl:template>
<!-- table entries with dynamic table head -->
<xsl:template match="fields">
<!-- remember current fields section -->
<xsl:variable name="fieldvar" select="field"/>
<!-- for all existing head entries -->
<xsl:for-each select="/export/components/comp/fields/field[generate-id(.) = generate-id(key('headentr',@name)[1])]">
<xsl:variable name="allnames" select="@name"/>
<xsl:text>,"</xsl:text>
<!-- for all field entries in the remembered fields section -->
<xsl:for-each select="$fieldvar">
<!-- only if this field entry exists in this fields section -->
<xsl:if test="@name=$allnames">
<!-- content of the field -->
<xsl:value-of select="."/>
</xsl:if>
<!--
If it does not exist, use an empty cell in output for this row.
Every non-blank entry is assigned to its proper column.
-->
</xsl:for-each>
<xsl:text>"</xsl:text>
</xsl:for-each>
</xsl:template>
</xsl:stylesheet>