added status leds to the power rails to show if there is power

This commit is contained in:
2026-03-09 20:38:58 +13:00
parent bc0cbfe70e
commit 645ece22b6
2 changed files with 2495 additions and 762 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -1006,6 +1006,174 @@
) )
(embedded_fonts no) (embedded_fonts no)
) )
(symbol "Device:D"
(pin_numbers
(hide yes)
)
(pin_names
(offset 1.016)
(hide yes)
)
(exclude_from_sim no)
(in_bom yes)
(on_board yes)
(property "Reference" "D"
(at 0 2.54 0)
(effects
(font
(size 1.27 1.27)
)
)
)
(property "Value" "D"
(at 0 -2.54 0)
(effects
(font
(size 1.27 1.27)
)
)
)
(property "Footprint" ""
(at 0 0 0)
(effects
(font
(size 1.27 1.27)
)
(hide yes)
)
)
(property "Datasheet" "~"
(at 0 0 0)
(effects
(font
(size 1.27 1.27)
)
(hide yes)
)
)
(property "Description" "Diode"
(at 0 0 0)
(effects
(font
(size 1.27 1.27)
)
(hide yes)
)
)
(property "Sim.Device" "D"
(at 0 0 0)
(effects
(font
(size 1.27 1.27)
)
(hide yes)
)
)
(property "Sim.Pins" "1=K 2=A"
(at 0 0 0)
(effects
(font
(size 1.27 1.27)
)
(hide yes)
)
)
(property "ki_keywords" "diode"
(at 0 0 0)
(effects
(font
(size 1.27 1.27)
)
(hide yes)
)
)
(property "ki_fp_filters" "TO-???* *_Diode_* *SingleDiode* D_*"
(at 0 0 0)
(effects
(font
(size 1.27 1.27)
)
(hide yes)
)
)
(symbol "D_0_1"
(polyline
(pts
(xy -1.27 1.27) (xy -1.27 -1.27)
)
(stroke
(width 0.254)
(type default)
)
(fill
(type none)
)
)
(polyline
(pts
(xy 1.27 1.27) (xy 1.27 -1.27) (xy -1.27 0) (xy 1.27 1.27)
)
(stroke
(width 0.254)
(type default)
)
(fill
(type none)
)
)
(polyline
(pts
(xy 1.27 0) (xy -1.27 0)
)
(stroke
(width 0)
(type default)
)
(fill
(type none)
)
)
)
(symbol "D_1_1"
(pin passive line
(at -3.81 0 0)
(length 2.54)
(name "K"
(effects
(font
(size 1.27 1.27)
)
)
)
(number "1"
(effects
(font
(size 1.27 1.27)
)
)
)
)
(pin passive line
(at 3.81 0 180)
(length 2.54)
(name "A"
(effects
(font
(size 1.27 1.27)
)
)
)
(number "2"
(effects
(font
(size 1.27 1.27)
)
)
)
)
)
(embedded_fonts no)
)
(symbol "Device:D_Zener" (symbol "Device:D_Zener"
(pin_numbers (pin_numbers
(hide yes) (hide yes)
@@ -3572,6 +3740,16 @@
) )
(uuid "4db57b91-2c46-4c0f-b896-0c86dc2b1230") (uuid "4db57b91-2c46-4c0f-b896-0c86dc2b1230")
) )
(text "STATUS LED"
(exclude_from_sim no)
(at 152.146 74.168 0)
(effects
(font
(size 1.27 1.27)
)
)
(uuid "5935633a-ba50-421e-98d2-e2f44e391993")
)
(text "THIS SHOULD ENSURE THE\nPOWER SWITCH CAN ONLY\nBE ENABLED WHEN THE \nBATTERY IS TURN ON" (text "THIS SHOULD ENSURE THE\nPOWER SWITCH CAN ONLY\nBE ENABLED WHEN THE \nBATTERY IS TURN ON"
(exclude_from_sim no) (exclude_from_sim no)
(at 123.19 80.772 0) (at 123.19 80.772 0)
@@ -3594,7 +3772,7 @@
) )
(text "POWER MONITOR" (text "POWER MONITOR"
(exclude_from_sim no) (exclude_from_sim no)
(at 154.94 74.422 0) (at 173.482 74.168 0)
(effects (effects
(font (font
(size 1.27 1.27) (size 1.27 1.27)
@@ -3649,7 +3827,7 @@
(uuid "24f7fe20-45e0-499f-9420-edacaa42a868") (uuid "24f7fe20-45e0-499f-9420-edacaa42a868")
) )
(junction (junction
(at 153.67 90.17) (at 165.1 90.17)
(diameter 0) (diameter 0)
(color 0 0 0 0) (color 0 0 0 0)
(uuid "2a6f559c-bf21-4e1e-9468-7dcfb4f1bd69") (uuid "2a6f559c-bf21-4e1e-9468-7dcfb4f1bd69")
@@ -3667,7 +3845,7 @@
(uuid "4105f836-1652-4fd7-b7b8-19fc6e153845") (uuid "4105f836-1652-4fd7-b7b8-19fc6e153845")
) )
(junction (junction
(at 163.83 90.17) (at 175.26 90.17)
(diameter 0) (diameter 0)
(color 0 0 0 0) (color 0 0 0 0)
(uuid "498f5904-6977-4dac-829c-1505fd0f01ed") (uuid "498f5904-6977-4dac-829c-1505fd0f01ed")
@@ -3714,6 +3892,12 @@
(color 0 0 0 0) (color 0 0 0 0)
(uuid "e042d0d7-99bd-4be6-bca0-880d8f753d1d") (uuid "e042d0d7-99bd-4be6-bca0-880d8f753d1d")
) )
(junction
(at 154.94 90.17)
(diameter 0)
(color 0 0 0 0)
(uuid "ee2c495a-e641-4d53-9123-0a36a2d55276")
)
(junction (junction
(at 241.3 69.85) (at 241.3 69.85)
(diameter 0) (diameter 0)
@@ -3730,6 +3914,16 @@
(at 124.46 96.52) (at 124.46 96.52)
(uuid "51669a87-58c1-4ab4-847e-875442d683d6") (uuid "51669a87-58c1-4ab4-847e-875442d683d6")
) )
(polyline
(pts
(xy 163.83 72.39) (xy 163.83 132.08)
)
(stroke
(width 0)
(type dot)
)
(uuid "00128135-41a9-4118-913e-ae0fb7363aff")
)
(wire (wire
(pts (pts
(xy 109.22 99.06) (xy 114.3 99.06) (xy 109.22 99.06) (xy 114.3 99.06)
@@ -3752,7 +3946,7 @@
) )
(wire (wire
(pts (pts
(xy 162.56 90.17) (xy 163.83 90.17) (xy 173.99 90.17) (xy 175.26 90.17)
) )
(stroke (stroke
(width 0) (width 0)
@@ -3772,7 +3966,7 @@
) )
(wire (wire
(pts (pts
(xy 109.22 90.17) (xy 153.67 90.17) (xy 109.22 90.17) (xy 154.94 90.17)
) )
(stroke (stroke
(width 0) (width 0)
@@ -3802,7 +3996,7 @@
) )
(wire (wire
(pts (pts
(xy 153.67 90.17) (xy 153.67 100.33) (xy 165.1 90.17) (xy 165.1 100.33)
) )
(stroke (stroke
(width 0) (width 0)
@@ -3842,7 +4036,7 @@
) )
(wire (wire
(pts (pts
(xy 163.83 97.79) (xy 166.37 97.79) (xy 175.26 97.79) (xy 177.8 97.79)
) )
(stroke (stroke
(width 0) (width 0)
@@ -3892,7 +4086,7 @@
) )
(polyline (polyline
(pts (pts
(xy 181.61 132.08) (xy 139.7 132.08) (xy 193.04 132.08) (xy 139.7 132.08)
) )
(stroke (stroke
(width 0) (width 0)
@@ -3932,7 +4126,7 @@
) )
(wire (wire
(pts (pts
(xy 170.18 90.17) (xy 170.18 88.9) (xy 181.61 90.17) (xy 181.61 88.9)
) )
(stroke (stroke
(width 0) (width 0)
@@ -3952,7 +4146,7 @@
) )
(wire (wire
(pts (pts
(xy 163.83 90.17) (xy 170.18 90.17) (xy 175.26 90.17) (xy 181.61 90.17)
) )
(stroke (stroke
(width 0) (width 0)
@@ -3992,7 +4186,7 @@
) )
(wire (wire
(pts (pts
(xy 163.83 90.17) (xy 163.83 97.79) (xy 175.26 90.17) (xy 175.26 97.79)
) )
(stroke (stroke
(width 0) (width 0)
@@ -4002,7 +4196,7 @@
) )
(polyline (polyline
(pts (pts
(xy 181.61 72.39) (xy 181.61 132.08) (xy 193.04 72.39) (xy 193.04 132.08)
) )
(stroke (stroke
(width 0) (width 0)
@@ -4112,7 +4306,7 @@
) )
(polyline (polyline
(pts (pts
(xy 181.61 132.08) (xy 147.32 132.08) (xy 193.04 132.08) (xy 147.32 132.08)
) )
(stroke (stroke
(width 0) (width 0)
@@ -4202,7 +4396,7 @@
) )
(wire (wire
(pts (pts
(xy 153.67 90.17) (xy 154.94 90.17) (xy 165.1 90.17) (xy 166.37 90.17)
) )
(stroke (stroke
(width 0) (width 0)
@@ -4242,7 +4436,7 @@
) )
(polyline (polyline
(pts (pts
(xy 181.61 132.08) (xy 21.59 132.08) (xy 193.04 132.08) (xy 21.59 132.08)
) )
(stroke (stroke
(width 0) (width 0)
@@ -4262,7 +4456,7 @@
) )
(wire (wire
(pts (pts
(xy 153.67 100.33) (xy 166.37 100.33) (xy 165.1 100.33) (xy 177.8 100.33)
) )
(stroke (stroke
(width 0) (width 0)
@@ -4280,6 +4474,16 @@
) )
(uuid "d428c866-53bc-42a4-9a33-6afad371fe8d") (uuid "d428c866-53bc-42a4-9a33-6afad371fe8d")
) )
(wire
(pts
(xy 154.94 90.17) (xy 165.1 90.17)
)
(stroke
(width 0)
(type default)
)
(uuid "dd0aebb3-e831-4a5a-a7a4-df008b10bc8f")
)
(wire (wire
(pts (pts
(xy 228.6 87.63) (xy 228.6 90.17) (xy 228.6 87.63) (xy 228.6 90.17)
@@ -4302,7 +4506,7 @@
) )
(polyline (polyline
(pts (pts
(xy 21.59 72.39) (xy 181.61 72.39) (xy 21.59 72.39) (xy 193.04 72.39)
) )
(stroke (stroke
(width 0) (width 0)
@@ -4382,7 +4586,7 @@
) )
(hierarchical_label "BATT_SHUNT+" (hierarchical_label "BATT_SHUNT+"
(shape output) (shape output)
(at 166.37 100.33 0) (at 177.8 100.33 0)
(effects (effects
(font (font
(size 1.27 1.27) (size 1.27 1.27)
@@ -4404,7 +4608,7 @@
) )
(hierarchical_label "BATT_SHUNT-" (hierarchical_label "BATT_SHUNT-"
(shape input) (shape input)
(at 166.37 97.79 0) (at 177.8 97.79 0)
(effects (effects
(font (font
(size 1.27 1.27) (size 1.27 1.27)
@@ -4779,6 +4983,76 @@
) )
) )
) )
(symbol
(lib_id "Device:R")
(at 154.94 101.6 0)
(mirror y)
(unit 1)
(exclude_from_sim no)
(in_bom yes)
(on_board yes)
(dnp no)
(uuid "3dae6e0d-46fa-4608-a4da-e5ca3f13a4dc")
(property "Reference" "R77"
(at 161.29 100.584 0)
(effects
(font
(size 1.27 1.27)
)
(justify left)
)
)
(property "Value" "3.3k"
(at 161.29 103.124 0)
(effects
(font
(size 1.27 1.27)
)
(justify left)
)
)
(property "Footprint" ""
(at 156.718 101.6 90)
(effects
(font
(size 1.27 1.27)
)
(hide yes)
)
)
(property "Datasheet" "~"
(at 154.94 101.6 0)
(effects
(font
(size 1.27 1.27)
)
(hide yes)
)
)
(property "Description" "Resistor"
(at 154.94 101.6 0)
(effects
(font
(size 1.27 1.27)
)
(hide yes)
)
)
(pin "1"
(uuid "66ab9a9a-e3fa-4213-8931-94a95f1fbe51")
)
(pin "2"
(uuid "cee3445b-d61c-4600-85c2-87217deb6b92")
)
(instances
(project "esp32-racer"
(path "/1d580319-54a9-438f-a4a3-ea2f61f357b8/12408af9-30e9-42ec-a388-fbb9bc2a9d16/f13cf5e8-979b-4d0e-bcd6-7791c921a7bc"
(reference "R77")
(unit 1)
)
)
)
)
(symbol (symbol
(lib_id "Jumper:Jumper_2_Open") (lib_id "Jumper:Jumper_2_Open")
(at 43.18 90.17 0) (at 43.18 90.17 0)
@@ -5057,7 +5331,7 @@
) )
(symbol (symbol
(lib_id "power:+VSW") (lib_id "power:+VSW")
(at 170.18 88.9 0) (at 181.61 88.9 0)
(mirror y) (mirror y)
(unit 1) (unit 1)
(exclude_from_sim no) (exclude_from_sim no)
@@ -5067,7 +5341,7 @@
(fields_autoplaced yes) (fields_autoplaced yes)
(uuid "56fb0471-b642-45fd-ad7e-fcd83159b8a2") (uuid "56fb0471-b642-45fd-ad7e-fcd83159b8a2")
(property "Reference" "#PWR040" (property "Reference" "#PWR040"
(at 170.18 92.71 0) (at 181.61 92.71 0)
(effects (effects
(font (font
(size 1.27 1.27) (size 1.27 1.27)
@@ -5076,7 +5350,7 @@
) )
) )
(property "Value" "+VBAT" (property "Value" "+VBAT"
(at 170.18 83.82 0) (at 181.61 83.82 0)
(effects (effects
(font (font
(size 1.27 1.27) (size 1.27 1.27)
@@ -5084,7 +5358,7 @@
) )
) )
(property "Footprint" "" (property "Footprint" ""
(at 170.18 88.9 0) (at 181.61 88.9 0)
(effects (effects
(font (font
(size 1.27 1.27) (size 1.27 1.27)
@@ -5093,7 +5367,7 @@
) )
) )
(property "Datasheet" "" (property "Datasheet" ""
(at 170.18 88.9 0) (at 181.61 88.9 0)
(effects (effects
(font (font
(size 1.27 1.27) (size 1.27 1.27)
@@ -5102,7 +5376,7 @@
) )
) )
(property "Description" "Power symbol creates a global label with name \"+VSW\"" (property "Description" "Power symbol creates a global label with name \"+VSW\""
(at 170.18 88.9 0) (at 181.61 88.9 0)
(effects (effects
(font (font
(size 1.27 1.27) (size 1.27 1.27)
@@ -5420,6 +5694,94 @@
) )
) )
) )
(symbol
(lib_id "Device:D")
(at 154.94 93.98 270)
(mirror x)
(unit 1)
(exclude_from_sim no)
(in_bom yes)
(on_board yes)
(dnp no)
(uuid "65dd0a4c-ab7e-4a9d-8772-421c015ad96c")
(property "Reference" "D35"
(at 160.528 93.218 90)
(effects
(font
(size 1.27 1.27)
)
(justify right)
)
)
(property "Value" "RED"
(at 160.528 95.504 90)
(effects
(font
(size 1.27 1.27)
)
(justify right)
)
)
(property "Footprint" ""
(at 154.94 93.98 0)
(effects
(font
(size 1.27 1.27)
)
(hide yes)
)
)
(property "Datasheet" "~"
(at 154.94 93.98 0)
(effects
(font
(size 1.27 1.27)
)
(hide yes)
)
)
(property "Description" "Diode"
(at 154.94 93.98 0)
(effects
(font
(size 1.27 1.27)
)
(hide yes)
)
)
(property "Sim.Device" "D"
(at 154.94 93.98 0)
(effects
(font
(size 1.27 1.27)
)
(hide yes)
)
)
(property "Sim.Pins" "1=K 2=A"
(at 154.94 93.98 0)
(effects
(font
(size 1.27 1.27)
)
(hide yes)
)
)
(pin "2"
(uuid "092bd734-5c30-4bc4-bbb6-f6051f9fdf03")
)
(pin "1"
(uuid "34679d4c-4aba-4145-b8d1-36bfbdce01dd")
)
(instances
(project "esp32-racer"
(path "/1d580319-54a9-438f-a4a3-ea2f61f357b8/12408af9-30e9-42ec-a388-fbb9bc2a9d16/f13cf5e8-979b-4d0e-bcd6-7791c921a7bc"
(reference "D35")
(unit 1)
)
)
)
)
(symbol (symbol
(lib_id "power:GND") (lib_id "power:GND")
(at 251.46 123.19 0) (at 251.46 123.19 0)
@@ -5831,7 +6193,7 @@
) )
(symbol (symbol
(lib_id "Device:R") (lib_id "Device:R")
(at 158.75 90.17 90) (at 170.18 90.17 90)
(mirror x) (mirror x)
(unit 1) (unit 1)
(exclude_from_sim no) (exclude_from_sim no)
@@ -5840,7 +6202,7 @@
(dnp no) (dnp no)
(uuid "7db311e2-e9e3-4b02-8bdb-1b1d646fb251") (uuid "7db311e2-e9e3-4b02-8bdb-1b1d646fb251")
(property "Reference" "R20" (property "Reference" "R20"
(at 160.528 85.852 90) (at 171.958 85.852 90)
(effects (effects
(font (font
(size 1.27 1.27) (size 1.27 1.27)
@@ -5849,7 +6211,7 @@
) )
) )
(property "Value" "25m" (property "Value" "25m"
(at 161.036 87.884 90) (at 172.466 87.884 90)
(effects (effects
(font (font
(size 1.27 1.27) (size 1.27 1.27)
@@ -5858,7 +6220,7 @@
) )
) )
(property "Footprint" "" (property "Footprint" ""
(at 158.75 88.392 90) (at 170.18 88.392 90)
(effects (effects
(font (font
(size 1.27 1.27) (size 1.27 1.27)
@@ -5867,7 +6229,7 @@
) )
) )
(property "Datasheet" "~" (property "Datasheet" "~"
(at 158.75 90.17 0) (at 170.18 90.17 0)
(effects (effects
(font (font
(size 1.27 1.27) (size 1.27 1.27)
@@ -5876,7 +6238,7 @@
) )
) )
(property "Description" "Resistor" (property "Description" "Resistor"
(at 158.75 90.17 0) (at 170.18 90.17 0)
(effects (effects
(font (font
(size 1.27 1.27) (size 1.27 1.27)
@@ -5974,6 +6336,72 @@
) )
) )
) )
(symbol
(lib_id "power:GND")
(at 154.94 105.41 0)
(mirror y)
(unit 1)
(exclude_from_sim no)
(in_bom yes)
(on_board yes)
(dnp no)
(uuid "8e158f25-49dc-4d5f-a78c-cd3b8150cf5a")
(property "Reference" "#PWR0221"
(at 154.94 111.76 0)
(effects
(font
(size 1.27 1.27)
)
(hide yes)
)
)
(property "Value" "GND"
(at 154.94 109.728 0)
(effects
(font
(size 1.27 1.27)
)
)
)
(property "Footprint" ""
(at 154.94 105.41 0)
(effects
(font
(size 1.27 1.27)
)
(hide yes)
)
)
(property "Datasheet" ""
(at 154.94 105.41 0)
(effects
(font
(size 1.27 1.27)
)
(hide yes)
)
)
(property "Description" "Power symbol creates a global label with name \"GND\" , ground"
(at 154.94 105.41 0)
(effects
(font
(size 1.27 1.27)
)
(hide yes)
)
)
(pin "1"
(uuid "29bf2fac-7824-4b0e-994c-ca991caac2ab")
)
(instances
(project "esp32-racer"
(path "/1d580319-54a9-438f-a4a3-ea2f61f357b8/12408af9-30e9-42ec-a388-fbb9bc2a9d16/f13cf5e8-979b-4d0e-bcd6-7791c921a7bc"
(reference "#PWR0221")
(unit 1)
)
)
)
)
(symbol (symbol
(lib_id "Device:Fuse") (lib_id "Device:Fuse")
(at 60.96 90.17 90) (at 60.96 90.17 90)