kicad-source/qa/data/eeschema/ground_pin_test_error.kicad_sch
Seth Hillbrand d8a99ea38f ADDED: New ERC test for mis-match GND pins
If you have a pin with a label containing the letters "GND" in it and it
is not connected to a net with a label also containing "GND" AND there
is another pin on your symbol that _is_ connected to a net containing
"GND", then there is a likelihood that you have accidentally mixed up
your connections to the GND pin
2025-08-07 15:42:56 -07:00

1075 lines
16 KiB
Plaintext

(kicad_sch
(version 20250610)
(generator "eeschema")
(generator_version "9.99")
(uuid "12345678-1234-1234-1234-123456789abc")
(paper "A4")
(lib_symbols
(symbol "Device:R"
(pin_numbers
(hide yes)
)
(pin_names
(offset 0)
)
(exclude_from_sim no)
(in_bom yes)
(on_board yes)
(duplicate_pin_numbers_are_jumpers no)
(property "Reference" "R"
(at 2.032 0 90)
(effects
(font
(size 1.27 1.27)
)
)
)
(property "Value" "R"
(at 0 0 90)
(effects
(font
(size 1.27 1.27)
)
)
)
(property "Footprint" ""
(at -1.778 0 90)
(hide yes)
(effects
(font
(size 1.27 1.27)
)
)
)
(property "Datasheet" ""
(at 0 0 0)
(hide yes)
(effects
(font
(size 1.27 1.27)
)
)
)
(property "Description" ""
(at 0 0 0)
(hide yes)
(effects
(font
(size 1.27 1.27)
)
)
)
(symbol "R_0_1"
(rectangle
(start -1.016 -2.54)
(end 1.016 2.54)
(stroke
(width 0.254)
(type default)
)
(fill
(type none)
)
)
)
(symbol "R_1_1"
(pin passive line
(at 0 3.81 270)
(length 1.27)
(name ""
(effects
(font
(size 1.27 1.27)
)
)
)
(number "1"
(effects
(font
(size 1.27 1.27)
)
)
)
)
(pin passive line
(at 0 -3.81 90)
(length 1.27)
(name ""
(effects
(font
(size 1.27 1.27)
)
)
)
(number "2"
(effects
(font
(size 1.27 1.27)
)
)
)
)
)
(embedded_fonts no)
)
(symbol "Test:Test_Symbol_GND"
(pin_numbers
(hide yes)
)
(pin_names
(offset 0.254)
)
(exclude_from_sim no)
(in_bom yes)
(on_board yes)
(duplicate_pin_numbers_are_jumpers no)
(property "Reference" "U?"
(at 0 -2.54 0)
(effects
(font
(size 1.27 1.27)
)
)
)
(property "Value" "Test_Symbol_GND"
(at 0 2.54 0)
(effects
(font
(size 1.27 1.27)
)
)
)
(property "Footprint" ""
(at 0 0 0)
(hide yes)
(effects
(font
(size 1.27 1.27)
)
)
)
(property "Datasheet" ""
(at 0 0 0)
(effects
(font
(size 1.27 1.27)
)
)
)
(property "Description" ""
(at 0 0 0)
(effects
(font
(size 1.27 1.27)
)
)
)
(symbol "Test_Symbol_GND_0_1"
(rectangle
(start -5.08 3.81)
(end 5.08 -3.81)
(stroke
(width 0.254)
(type default)
)
(fill
(type background)
)
)
)
(symbol "Test_Symbol_GND_1_1"
(pin power_in line
(at -7.62 0 0)
(length 2.54)
(name "VCC"
(effects
(font
(size 1.27 1.27)
)
)
)
(number "1"
(effects
(font
(size 1.27 1.27)
)
)
)
)
(pin power_in line
(at 7.62 0 180)
(length 2.54)
(name "GND"
(effects
(font
(size 1.27 1.27)
)
)
)
(number "2"
(effects
(font
(size 1.27 1.27)
)
)
)
)
)
(embedded_fonts no)
)
(symbol "power:+5V"
(power global)
(pin_names
(offset 0)
)
(exclude_from_sim no)
(in_bom yes)
(on_board yes)
(duplicate_pin_numbers_are_jumpers no)
(property "Reference" "#PWR"
(at 0 -3.81 0)
(hide yes)
(effects
(font
(size 1.27 1.27)
)
)
)
(property "Value" "+5V"
(at 0 3.556 0)
(effects
(font
(size 1.27 1.27)
)
)
)
(property "Footprint" ""
(at 0 0 0)
(hide yes)
(effects
(font
(size 1.27 1.27)
)
)
)
(property "Datasheet" ""
(at 0 0 0)
(hide yes)
(effects
(font
(size 1.27 1.27)
)
)
)
(property "Description" ""
(at 0 0 0)
(hide yes)
(effects
(font
(size 1.27 1.27)
)
)
)
(symbol "+5V_0_1"
(polyline
(pts
(xy -0.762 1.27) (xy 0 2.54)
)
(stroke
(width 0)
(type default)
)
(fill
(type none)
)
)
(polyline
(pts
(xy 0 2.54) (xy 0.762 1.27)
)
(stroke
(width 0)
(type default)
)
(fill
(type none)
)
)
(polyline
(pts
(xy 0 0) (xy 0 2.54)
)
(stroke
(width 0)
(type default)
)
(fill
(type none)
)
)
)
(symbol "+5V_1_1"
(pin power_in line
(at 0 0 90)
(length 0)
(hide yes)
(name ""
(effects
(font
(size 1.27 1.27)
)
)
)
(number "1"
(effects
(font
(size 1.27 1.27)
)
)
)
)
)
(embedded_fonts no)
)
(symbol "power:GND"
(power global)
(pin_names
(offset 0)
)
(exclude_from_sim no)
(in_bom yes)
(on_board yes)
(duplicate_pin_numbers_are_jumpers no)
(property "Reference" "#PWR"
(at 0 -6.35 0)
(hide yes)
(effects
(font
(size 1.27 1.27)
)
)
)
(property "Value" "GND"
(at 0 -3.81 0)
(effects
(font
(size 1.27 1.27)
)
)
)
(property "Footprint" ""
(at 0 0 0)
(hide yes)
(effects
(font
(size 1.27 1.27)
)
)
)
(property "Datasheet" ""
(at 0 0 0)
(hide yes)
(effects
(font
(size 1.27 1.27)
)
)
)
(property "Description" ""
(at 0 0 0)
(hide yes)
(effects
(font
(size 1.27 1.27)
)
)
)
(symbol "GND_0_1"
(polyline
(pts
(xy 0 0) (xy 0 -1.27) (xy 1.27 -1.27) (xy 0 -2.54) (xy -1.27 -1.27) (xy 0 -1.27)
)
(stroke
(width 0)
(type default)
)
(fill
(type none)
)
)
)
(symbol "GND_1_1"
(pin power_in line
(at 0 0 270)
(length 0)
(hide yes)
(name ""
(effects
(font
(size 1.27 1.27)
)
)
)
(number "1"
(effects
(font
(size 1.27 1.27)
)
)
)
)
)
(embedded_fonts no)
)
(symbol "power:PWR_FLAG"
(power global)
(pin_numbers
(hide yes)
)
(pin_names
(offset 0)
(hide yes)
)
(exclude_from_sim no)
(in_bom yes)
(on_board yes)
(duplicate_pin_numbers_are_jumpers no)
(property "Reference" "#FLG"
(at 0 1.905 0)
(hide yes)
(effects
(font
(size 1.27 1.27)
)
)
)
(property "Value" "PWR_FLAG"
(at 0 3.81 0)
(effects
(font
(size 1.27 1.27)
)
)
)
(property "Footprint" ""
(at 0 0 0)
(hide yes)
(effects
(font
(size 1.27 1.27)
)
)
)
(property "Datasheet" ""
(at 0 0 0)
(hide yes)
(effects
(font
(size 1.27 1.27)
)
)
)
(property "Description" "Special symbol for telling ERC where power comes from"
(at 0 0 0)
(hide yes)
(effects
(font
(size 1.27 1.27)
)
)
)
(property "ki_keywords" "flag power"
(at 0 0 0)
(hide yes)
(effects
(font
(size 1.27 1.27)
)
)
)
(symbol "PWR_FLAG_0_0"
(pin power_out line
(at 0 0 90)
(length 0)
(name ""
(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)
)
)
)
(embedded_fonts no)
)
)
(junction
(at 109.22 76.2)
(diameter 0)
(color 0 0 0 0)
(uuid "28993e6b-bbe8-4c93-ba9e-0a66a89a5db7")
)
(junction
(at 129.54 76.2)
(diameter 0)
(color 0 0 0 0)
(uuid "609fdf68-8d4a-4574-b1ca-23ed4bbec90a")
)
(junction
(at 134.62 76.2)
(diameter 0)
(color 0 0 0 0)
(uuid "af553814-2165-4dba-b9d7-ffc8a373ef96")
)
(wire
(pts
(xy 105.41 73.66) (xy 105.41 76.2)
)
(stroke
(width 0)
(type default)
)
(uuid "048a4148-ed26-428f-8e92-7489c044f15b")
)
(wire
(pts
(xy 127 76.2) (xy 129.54 76.2)
)
(stroke
(width 0)
(type default)
)
(uuid "558558c9-dd4c-45da-bb3b-eb3082fcedbc")
)
(wire
(pts
(xy 134.62 76.2) (xy 134.62 83.82)
)
(stroke
(width 0)
(type default)
)
(uuid "7c23f0be-33a9-49d9-9c9b-633d20b0cce9")
)
(wire
(pts
(xy 129.54 76.2) (xy 134.62 76.2)
)
(stroke
(width 0)
(type default)
)
(uuid "808874f5-3ae5-47ba-940a-8d7006623158")
)
(wire
(pts
(xy 109.22 76.2) (xy 111.76 76.2)
)
(stroke
(width 0)
(type default)
)
(uuid "ab16eafa-de79-467f-8875-d9b970d5ed66")
)
(wire
(pts
(xy 134.62 64.77) (xy 134.62 68.58)
)
(stroke
(width 0)
(type default)
)
(uuid "f33af61e-3904-4c02-af5e-c3aa8e486c1f")
)
(wire
(pts
(xy 105.41 76.2) (xy 109.22 76.2)
)
(stroke
(width 0)
(type default)
)
(uuid "facfb0b7-1654-44c7-891e-906ec451c299")
)
(symbol
(lib_id "power:PWR_FLAG")
(at 109.22 76.2 180)
(unit 1)
(exclude_from_sim no)
(in_bom yes)
(on_board yes)
(dnp no)
(fields_autoplaced yes)
(uuid "03eebd65-ebed-463a-9dd1-77e551e15a33")
(property "Reference" "#FLG01"
(at 109.22 78.105 0)
(hide yes)
(effects
(font
(size 1.27 1.27)
)
)
)
(property "Value" "PWR_FLAG"
(at 109.22 81.28 0)
(effects
(font
(size 1.27 1.27)
)
)
)
(property "Footprint" ""
(at 109.22 76.2 0)
(hide yes)
(effects
(font
(size 1.27 1.27)
)
)
)
(property "Datasheet" ""
(at 109.22 76.2 0)
(hide yes)
(effects
(font
(size 1.27 1.27)
)
)
)
(property "Description" "Special symbol for telling ERC where power comes from"
(at 109.22 76.2 0)
(hide yes)
(effects
(font
(size 1.27 1.27)
)
)
)
(pin "1"
(uuid "fa21ac0f-00a1-4df7-b55e-290d521e46bf")
)
(instances
(project ""
(path "/12345678-1234-1234-1234-123456789abc"
(reference "#FLG01")
(unit 1)
)
)
)
)
(symbol
(lib_id "Device:R")
(at 134.62 72.39 0)
(unit 1)
(exclude_from_sim no)
(in_bom yes)
(on_board yes)
(dnp no)
(fields_autoplaced yes)
(uuid "327d3d8c-ca60-4e4e-a526-a01b4689b0ef")
(property "Reference" "R1"
(at 136.652 72.39 90)
(effects
(font
(size 1.27 1.27)
)
)
)
(property "Value" "1k"
(at 134.62 72.39 90)
(effects
(font
(size 1.27 1.27)
)
)
)
(property "Footprint" ""
(at 132.842 72.39 90)
(hide yes)
(effects
(font
(size 1.27 1.27)
)
)
)
(property "Datasheet" ""
(at 134.62 72.39 0)
(effects
(font
(size 1.27 1.27)
)
)
)
(property "Description" ""
(at 134.62 72.39 0)
(effects
(font
(size 1.27 1.27)
)
)
)
(pin "1"
(uuid "af0da904-0cba-49b1-8e38-b46991b5b1ff")
)
(pin "2"
(uuid "76daac01-8c5e-4ac1-85b3-3fedddbe3a30")
)
(instances
(project "ground_pin_test_error"
(path "/12345678-1234-1234-1234-123456789abc"
(reference "R1")
(unit 1)
)
)
)
)
(symbol
(lib_id "power:+5V")
(at 105.41 73.66 0)
(unit 1)
(exclude_from_sim no)
(in_bom yes)
(on_board yes)
(dnp no)
(uuid "3db5cc34-fba5-4a80-8ee3-386b3535eb12")
(property "Reference" "#PWR01"
(at 105.41 69.85 0)
(hide yes)
(effects
(font
(size 1.27 1.27)
)
)
)
(property "Value" "+5V"
(at 105.41 77.216 0)
(effects
(font
(size 1.27 1.27)
)
)
)
(property "Footprint" ""
(at 105.41 73.66 0)
(hide yes)
(effects
(font
(size 1.27 1.27)
)
)
)
(property "Datasheet" ""
(at 105.41 73.66 0)
(effects
(font
(size 1.27 1.27)
)
)
)
(property "Description" ""
(at 105.41 73.66 0)
(effects
(font
(size 1.27 1.27)
)
)
)
(pin "1"
(uuid "4ff5eb48-d8f2-4a85-8eb6-efb5b3bc134c")
)
(instances
(project "ground_pin_test_error"
(path "/12345678-1234-1234-1234-123456789abc"
(reference "#PWR01")
(unit 1)
)
)
)
)
(symbol
(lib_id "Test:Test_Symbol_GND")
(at 119.38 76.2 0)
(mirror y)
(unit 1)
(exclude_from_sim no)
(in_bom yes)
(on_board yes)
(dnp no)
(uuid "48258c21-137a-4f2d-80e8-50a4ab08c135")
(property "Reference" "U1"
(at 119.38 67.31 0)
(effects
(font
(size 1.27 1.27)
)
)
)
(property "Value" "Test_Symbol_GND"
(at 119.38 69.85 0)
(effects
(font
(size 1.27 1.27)
)
)
)
(property "Footprint" ""
(at 119.38 76.2 0)
(hide yes)
(effects
(font
(size 1.27 1.27)
)
)
)
(property "Datasheet" ""
(at 119.38 76.2 0)
(effects
(font
(size 1.27 1.27)
)
)
)
(property "Description" ""
(at 119.38 76.2 0)
(effects
(font
(size 1.27 1.27)
)
)
)
(pin "1"
(uuid "5806f75f-a6f0-44cd-9681-3430d858d3de")
)
(pin "2"
(uuid "fe8ccf61-97b6-4164-8811-8c6f90f09261")
)
(instances
(project "ground_pin_test_error"
(path "/12345678-1234-1234-1234-123456789abc"
(reference "U1")
(unit 1)
)
)
)
)
(symbol
(lib_id "power:+5V")
(at 134.62 64.77 0)
(unit 1)
(exclude_from_sim no)
(in_bom yes)
(on_board yes)
(dnp no)
(uuid "ca747ea5-d719-4106-8f62-49820c59ac7c")
(property "Reference" "#PWR02"
(at 134.62 60.96 0)
(hide yes)
(effects
(font
(size 1.27 1.27)
)
)
)
(property "Value" "+5V"
(at 134.62 68.326 0)
(effects
(font
(size 1.27 1.27)
)
)
)
(property "Footprint" ""
(at 134.62 64.77 0)
(hide yes)
(effects
(font
(size 1.27 1.27)
)
)
)
(property "Datasheet" ""
(at 134.62 64.77 0)
(effects
(font
(size 1.27 1.27)
)
)
)
(property "Description" ""
(at 134.62 64.77 0)
(effects
(font
(size 1.27 1.27)
)
)
)
(pin "1"
(uuid "3f1e4282-bf8c-4b3d-836f-8d4ec7c97c3f")
)
(instances
(project "ground_pin_test_error"
(path "/12345678-1234-1234-1234-123456789abc"
(reference "#PWR02")
(unit 1)
)
)
)
)
(symbol
(lib_id "power:PWR_FLAG")
(at 129.54 76.2 180)
(unit 1)
(exclude_from_sim no)
(in_bom yes)
(on_board yes)
(dnp no)
(fields_autoplaced yes)
(uuid "d8d81b20-2093-4e20-9611-7d74eef3dfa0")
(property "Reference" "#FLG02"
(at 129.54 78.105 0)
(hide yes)
(effects
(font
(size 1.27 1.27)
)
)
)
(property "Value" "PWR_FLAG"
(at 129.54 81.28 0)
(effects
(font
(size 1.27 1.27)
)
)
)
(property "Footprint" ""
(at 129.54 76.2 0)
(hide yes)
(effects
(font
(size 1.27 1.27)
)
)
)
(property "Datasheet" ""
(at 129.54 76.2 0)
(hide yes)
(effects
(font
(size 1.27 1.27)
)
)
)
(property "Description" "Special symbol for telling ERC where power comes from"
(at 129.54 76.2 0)
(hide yes)
(effects
(font
(size 1.27 1.27)
)
)
)
(pin "1"
(uuid "fa21ac0f-00a1-4df7-b55e-290d521e46bf")
)
(instances
(project ""
(path "/12345678-1234-1234-1234-123456789abc"
(reference "#FLG02")
(unit 1)
)
)
)
)
(symbol
(lib_id "power:GND")
(at 134.62 83.82 0)
(unit 1)
(exclude_from_sim no)
(in_bom yes)
(on_board yes)
(dnp no)
(uuid "eb9fdac8-df2b-483b-a781-a8e234010cd9")
(property "Reference" "#PWR03"
(at 134.62 90.17 0)
(hide yes)
(effects
(font
(size 1.27 1.27)
)
)
)
(property "Value" "GND"
(at 134.62 87.63 0)
(effects
(font
(size 1.27 1.27)
)
)
)
(property "Footprint" ""
(at 134.62 83.82 0)
(hide yes)
(effects
(font
(size 1.27 1.27)
)
)
)
(property "Datasheet" ""
(at 134.62 83.82 0)
(effects
(font
(size 1.27 1.27)
)
)
)
(property "Description" ""
(at 134.62 83.82 0)
(effects
(font
(size 1.27 1.27)
)
)
)
(pin "1"
(uuid "1b50163b-6be0-4b83-a654-52503382ce60")
)
(instances
(project "ground_pin_test_error"
(path "/12345678-1234-1234-1234-123456789abc"
(reference "#PWR03")
(unit 1)
)
)
)
)
(sheet_instances
(path "/"
(page "1")
)
)
(embedded_fonts no)
)