Add power flags to fix ERC errors

This commit is contained in:
pjht 2023-04-03 08:50:09 -05:00
parent 11346d894e
commit 75c16d51ca
Signed by: pjht
GPG Key ID: 7B5F6AFBEC7EE78E
2 changed files with 174 additions and 9 deletions

View File

@ -129,7 +129,7 @@
(net 30 "/IO_23")
(net 31 "/IO_24")
(net 32 "Net-(D2-A)")
(net 33 "Net-(J3-Pin_2)")
(net 33 "Net-(#FLG02-pwr)")
(net 34 "Net-(J3-Pin_3)")
(net 35 "Net-(J3-Pin_4)")
(net 36 "/IO_25")
@ -678,7 +678,7 @@
(pad "1" smd roundrect (at -1.5 -2 270) (size 0.6 1.55) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25)
(net 1 "GND") (pinfunction "Pin_1") (pintype "passive") (tstamp d2d57c19-6b69-4aad-ab8b-b7726074ae49))
(pad "2" smd roundrect (at -0.5 -2 270) (size 0.6 1.55) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25)
(net 33 "Net-(J3-Pin_2)") (pinfunction "Pin_2") (pintype "passive") (tstamp 9bdf0683-a212-4743-bf49-698bec1e7580))
(net 33 "Net-(#FLG02-pwr)") (pinfunction "Pin_2") (pintype "passive") (tstamp 9bdf0683-a212-4743-bf49-698bec1e7580))
(pad "3" smd roundrect (at 0.5 -2 270) (size 0.6 1.55) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25)
(net 34 "Net-(J3-Pin_3)") (pinfunction "Pin_3") (pintype "passive") (tstamp c37afcb6-e5a4-47dd-ba5f-e5e90179cca6))
(pad "4" smd roundrect (at 1.5 -2 270) (size 0.6 1.55) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25)
@ -1038,7 +1038,7 @@
(pad "1" smd roundrect (at -2.575 -1.905) (size 1.75 0.6) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25)
(net 1 "GND") (pinfunction "GND") (pintype "power_in") (tstamp 2e824997-555b-40db-9046-3b1f97d8dfe7))
(pad "2" smd roundrect (at -2.575 -0.635) (size 1.75 0.6) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25)
(net 33 "Net-(J3-Pin_2)") (pinfunction "VREF1") (pintype "power_in") (tstamp 5eb3fb0a-1a63-41a9-8457-5fdd30d3aa89))
(net 33 "Net-(#FLG02-pwr)") (pinfunction "VREF1") (pintype "power_in") (tstamp 5eb3fb0a-1a63-41a9-8457-5fdd30d3aa89))
(pad "3" smd roundrect (at -2.575 0.635) (size 1.75 0.6) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25)
(net 35 "Net-(J3-Pin_4)") (pinfunction "SCL1") (pintype "bidirectional") (tstamp b60061a1-1dce-4414-81cd-a1703e1f5ae3))
(pad "4" smd roundrect (at -2.575 1.905) (size 1.75 0.6) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25)
@ -1127,7 +1127,7 @@
(width 0) (fill yes))
) (tstamp 9fa0f487-19c9-457b-b46b-e88f5823dd53))
(pad "2" smd custom (at 0.65 0 90) (size 1 0.5) (layers "F.Cu" "F.Mask")
(net 33 "Net-(J3-Pin_2)") (pinfunction "B") (pintype "passive") (zone_connect 2) (thermal_bridge_angle 45)
(net 33 "Net-(#FLG02-pwr)") (pinfunction "B") (pintype "passive") (zone_connect 2) (thermal_bridge_angle 45)
(options (clearance outline) (anchor rect))
(primitives
(gr_circle (center 0 0.25) (end 0.5 0.25) (width 0) (fill yes))
@ -1388,7 +1388,7 @@
(fp_line (start 1 0.625) (end -1 0.625)
(stroke (width 0.1) (type solid)) (layer "F.Fab") (tstamp ac2bd1d3-9523-467c-a12e-cce27942af5c))
(pad "1" smd roundrect (at -0.9125 0 270) (size 1.025 1.4) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.243902439)
(net 33 "Net-(J3-Pin_2)") (pintype "passive") (tstamp 044dd05f-e2cf-481d-bf1d-3c573f5b6952))
(net 33 "Net-(#FLG02-pwr)") (pintype "passive") (tstamp 044dd05f-e2cf-481d-bf1d-3c573f5b6952))
(pad "2" smd roundrect (at 0.9125 0 270) (size 1.025 1.4) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.243902439)
(net 34 "Net-(J3-Pin_3)") (pintype "passive") (tstamp 378b70c9-55f3-4512-abb1-a71567c1b344))
(model "${KICAD6_3DMODEL_DIR}/Resistor_SMD.3dshapes/R_0805_2012Metric.wrl"
@ -1550,7 +1550,7 @@
(fp_line (start 1 0.625) (end -1 0.625)
(stroke (width 0.1) (type solid)) (layer "F.Fab") (tstamp 2c3482ee-5ca9-48ea-b985-05cb7d73b042))
(pad "1" smd roundrect (at -0.9125 0 270) (size 1.025 1.4) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.243902439)
(net 33 "Net-(J3-Pin_2)") (pintype "passive") (tstamp f2de37e4-b9f2-4654-b18b-f9dfff2b849f))
(net 33 "Net-(#FLG02-pwr)") (pintype "passive") (tstamp f2de37e4-b9f2-4654-b18b-f9dfff2b849f))
(pad "2" smd roundrect (at 0.9125 0 270) (size 1.025 1.4) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.243902439)
(net 35 "Net-(J3-Pin_4)") (pintype "passive") (tstamp d73b3e6a-de86-40bf-a989-5d9a8e19045c))
(model "${KICAD6_3DMODEL_DIR}/Resistor_SMD.3dshapes/R_0805_2012Metric.wrl"
@ -1616,7 +1616,7 @@
(pad "1" thru_hole rect (at 0 0 90) (size 1.7 1.7) (drill 1) (layers "*.Cu" "*.Mask")
(net 10 "VCC") (pinfunction "A") (pintype "passive") (tstamp 549ab6fa-c75f-4b6b-a6a5-40a828a03364))
(pad "2" thru_hole oval (at 0 2.54 90) (size 1.7 1.7) (drill 1) (layers "*.Cu" "*.Mask")
(net 33 "Net-(J3-Pin_2)") (pinfunction "B") (pintype "passive") (tstamp 6d346ec7-b870-41b1-91fc-80bdc5eabf64))
(net 33 "Net-(#FLG02-pwr)") (pinfunction "B") (pintype "passive") (tstamp 6d346ec7-b870-41b1-91fc-80bdc5eabf64))
(model "${KICAD6_3DMODEL_DIR}/Connector_PinHeader_2.54mm.3dshapes/PinHeader_1x02_P2.54mm_Vertical.wrl"
(offset (xyz 0 0 0))
(scale (xyz 1 1 1))
@ -1854,7 +1854,7 @@
(pad "1" thru_hole rect (at 0 0) (size 1.7 1.7) (drill 1) (layers "*.Cu" "*.Mask")
(net 1 "GND") (pinfunction "Pin_1") (pintype "passive") (tstamp df51a31c-3d17-4e92-9b84-4e4212916032))
(pad "2" thru_hole oval (at 0 2.54) (size 1.7 1.7) (drill 1) (layers "*.Cu" "*.Mask")
(net 33 "Net-(J3-Pin_2)") (pinfunction "Pin_2") (pintype "passive") (tstamp 0d426bc7-f203-4537-b077-310fc120c878))
(net 33 "Net-(#FLG02-pwr)") (pinfunction "Pin_2") (pintype "passive") (tstamp 0d426bc7-f203-4537-b077-310fc120c878))
(pad "3" thru_hole oval (at 0 5.08) (size 1.7 1.7) (drill 1) (layers "*.Cu" "*.Mask")
(net 34 "Net-(J3-Pin_3)") (pinfunction "Pin_3") (pintype "passive") (tstamp 13f918ce-c5c1-4a8c-84cf-bfaf90763de4))
(pad "4" thru_hole oval (at 0 7.62) (size 1.7 1.7) (drill 1) (layers "*.Cu" "*.Mask")
@ -2440,7 +2440,7 @@
(pad "1" smd roundrect (at -1.5 -2 270) (size 0.6 1.55) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25)
(net 1 "GND") (pinfunction "Pin_1") (pintype "passive") (tstamp dcd6ca9b-24ca-44c0-b746-2d652bc02760))
(pad "2" smd roundrect (at -0.5 -2 270) (size 0.6 1.55) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25)
(net 33 "Net-(J3-Pin_2)") (pinfunction "Pin_2") (pintype "passive") (tstamp e3f96758-bf38-480f-9a81-caad0ecaadd1))
(net 33 "Net-(#FLG02-pwr)") (pinfunction "Pin_2") (pintype "passive") (tstamp e3f96758-bf38-480f-9a81-caad0ecaadd1))
(pad "3" smd roundrect (at 0.5 -2 270) (size 0.6 1.55) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25)
(net 34 "Net-(J3-Pin_3)") (pinfunction "Pin_3") (pintype "passive") (tstamp 5e738347-6e5e-454f-ba5f-ca85267e0d5c))
(pad "4" smd roundrect (at 1.5 -2 270) (size 0.6 1.55) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25)

View File

@ -1231,6 +1231,46 @@
)
)
)
(symbol "power:PWR_FLAG" (power) (pin_numbers hide) (pin_names (offset 0) hide) (in_bom yes) (on_board yes)
(property "Reference" "#FLG" (at 0 1.905 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Value" "PWR_FLAG" (at 0 3.81 0)
(effects (font (size 1.27 1.27)))
)
(property "Footprint" "" (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "~" (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "ki_keywords" "flag power" (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "ki_description" "Special symbol for telling ERC where power comes from" (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(symbol "PWR_FLAG_0_0"
(pin power_out line (at 0 0 90) (length 0)
(name "pwr" (effects (font (size 1.27 1.27))))
(number "1" (effects (font (size 1.27 1.27))))
)
)
(symbol "PWR_FLAG_0_1"
(polyline
(pts
(xy 0 0)
(xy 0 1.27)
(xy -1.016 1.905)
(xy 0 2.54)
(xy 1.016 1.905)
(xy 0 1.27)
)
(stroke (width 0) (type default))
(fill (type none))
)
)
)
(symbol "power:VCC" (power) (pin_names (offset 0)) (in_bom yes) (on_board yes)
(property "Reference" "#PWR" (at 0 -3.81 0)
(effects (font (size 1.27 1.27)) hide)
@ -2670,6 +2710,31 @@
)
)
(symbol (lib_id "power:VCC") (at 29.21 33.02 180) (unit 1)
(in_bom yes) (on_board yes) (dnp no) (fields_autoplaced)
(uuid 3e4ede86-3bea-4231-8878-6207e0a9923d)
(property "Reference" "#PWR010" (at 29.21 29.21 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Value" "VCC" (at 29.21 38.1 0)
(effects (font (size 1.27 1.27)))
)
(property "Footprint" "" (at 29.21 33.02 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "" (at 29.21 33.02 0)
(effects (font (size 1.27 1.27)) hide)
)
(pin "1" (uuid 5e86f9ff-0ad1-445b-8c98-ed98dc8a76a3))
(instances
(project "stencil_trainer_1"
(path "/03a71bf2-9e21-4702-a329-1c23d5bf73d4"
(reference "#PWR010") (unit 1)
)
)
)
)
(symbol (lib_id "Interface_Expansion:PCA9555D") (at 127 161.29 0) (unit 1)
(in_bom yes) (on_board yes) (dnp no) (fields_autoplaced)
(uuid 3ef183c7-4c56-4eb5-8037-0865ebf72342)
@ -3134,6 +3199,31 @@
)
)
(symbol (lib_id "power:GND") (at 39.37 33.02 0) (unit 1)
(in_bom yes) (on_board yes) (dnp no) (fields_autoplaced)
(uuid 8b18983c-104c-40b0-84b4-bb2917955faa)
(property "Reference" "#PWR011" (at 39.37 39.37 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Value" "GND" (at 39.37 38.1 0)
(effects (font (size 1.27 1.27)))
)
(property "Footprint" "" (at 39.37 33.02 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "" (at 39.37 33.02 0)
(effects (font (size 1.27 1.27)) hide)
)
(pin "1" (uuid 44413fbe-ca5e-406c-bcff-a0b828b4b72a))
(instances
(project "stencil_trainer_1"
(path "/03a71bf2-9e21-4702-a329-1c23d5bf73d4"
(reference "#PWR011") (unit 1)
)
)
)
)
(symbol (lib_id "Device:R_Small_US") (at 73.66 69.85 0) (unit 1)
(in_bom yes) (on_board yes) (dnp no)
(uuid 8dfafa36-a850-44f4-8b60-9e98c328d36e)
@ -3900,6 +3990,31 @@
)
)
(symbol (lib_id "power:PWR_FLAG") (at 29.21 33.02 0) (unit 1)
(in_bom yes) (on_board yes) (dnp no) (fields_autoplaced)
(uuid dd344352-8b58-48ef-a4e1-9b02eea0e8b9)
(property "Reference" "#FLG01" (at 29.21 31.115 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Value" "PWR_FLAG" (at 29.21 29.21 0)
(effects (font (size 1.27 1.27)))
)
(property "Footprint" "" (at 29.21 33.02 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "~" (at 29.21 33.02 0)
(effects (font (size 1.27 1.27)) hide)
)
(pin "1" (uuid 2506ac43-a12b-4bc7-9d6c-10b35a8bd9f7))
(instances
(project "stencil_trainer_1"
(path "/03a71bf2-9e21-4702-a329-1c23d5bf73d4"
(reference "#FLG01") (unit 1)
)
)
)
)
(symbol (lib_id "power:GND") (at 49.53 111.76 0) (unit 1)
(in_bom yes) (on_board yes) (dnp no) (fields_autoplaced)
(uuid e298feaf-b598-4c7a-9e88-b1926429240e)
@ -4097,6 +4212,31 @@
)
)
(symbol (lib_id "power:PWR_FLAG") (at 34.29 64.77 0) (unit 1)
(in_bom yes) (on_board yes) (dnp no) (fields_autoplaced)
(uuid ef478429-90d2-49db-9f9e-ecc51c5f9525)
(property "Reference" "#FLG02" (at 34.29 62.865 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Value" "PWR_FLAG" (at 34.29 60.96 0)
(effects (font (size 1.27 1.27)))
)
(property "Footprint" "" (at 34.29 64.77 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "~" (at 34.29 64.77 0)
(effects (font (size 1.27 1.27)) hide)
)
(pin "1" (uuid 2591dff3-80bb-46c2-b914-d1dbbc120534))
(instances
(project "stencil_trainer_1"
(path "/03a71bf2-9e21-4702-a329-1c23d5bf73d4"
(reference "#FLG02") (unit 1)
)
)
)
)
(symbol (lib_id "Device:R_Small_US") (at 165.1 113.03 90) (unit 1)
(in_bom yes) (on_board yes) (dnp no)
(uuid f168e7e0-0f74-4c06-acc1-3d66d4efe1fa)
@ -4149,6 +4289,31 @@
)
)
(symbol (lib_id "power:PWR_FLAG") (at 39.37 33.02 0) (unit 1)
(in_bom yes) (on_board yes) (dnp no) (fields_autoplaced)
(uuid f6c935a6-80fb-41c3-a1fd-45588bdb90e5)
(property "Reference" "#FLG03" (at 39.37 31.115 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Value" "PWR_FLAG" (at 39.37 29.21 0)
(effects (font (size 1.27 1.27)))
)
(property "Footprint" "" (at 39.37 33.02 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "~" (at 39.37 33.02 0)
(effects (font (size 1.27 1.27)) hide)
)
(pin "1" (uuid a18b616d-a53c-4ee6-8935-a933c15f44d2))
(instances
(project "stencil_trainer_1"
(path "/03a71bf2-9e21-4702-a329-1c23d5bf73d4"
(reference "#FLG03") (unit 1)
)
)
)
)
(symbol (lib_id "Device:R_Small_US") (at 195.58 113.03 90) (unit 1)
(in_bom yes) (on_board yes) (dnp no)
(uuid f831bb7e-cec1-4bec-aa81-f012a6c457f9)