pcb refactor

This commit is contained in:
thek4n 2026-07-25 14:42:00 +03:00
parent 7abfec5e0e
commit c605839c48
5 changed files with 1870 additions and 494 deletions

1
.gitignore vendored
View File

@ -6,3 +6,4 @@ main/setup_frontend.h
main/favicon_svg.h
managed_components/
pcb/.history/
*.lck

File diff suppressed because it is too large Load Diff

View File

@ -1,6 +1,6 @@
{
"board": {
"active_layer": 5,
"active_layer": 0,
"active_layer_preset": "",
"auto_track_width": true,
"hidden_netclasses": [],

View File

@ -611,12 +611,42 @@
"label": "Datasheet",
"name": "Datasheet",
"show": true
},
{
"group_by": false,
"label": "Specifications",
"name": "Specifications",
"show": false
},
{
"group_by": false,
"label": "Description",
"name": "Description",
"show": false
},
{
"group_by": false,
"label": "Part Number",
"name": "Part Number",
"show": false
},
{
"group_by": false,
"label": "#",
"name": "${ITEM_NUMBER}",
"show": false
},
{
"group_by": false,
"label": "Manufacturer",
"name": "Manufacturer",
"show": false
}
],
"filter_string": "",
"group_symbols": true,
"include_excluded_from_bom": true,
"name": "Default Editing",
"name": "",
"sort_asc": true,
"sort_field": "Reference"
},
@ -661,7 +691,7 @@
"uuid": "3afd4178-24a0-4325-8280-3aca3edf1068"
}
],
"used_designators": "C1-2,A1,U1-2,#PWR1-10,J1-4",
"used_designators": "SW1,R1,C1-2,A1,U1-2,#PWR1-12,J1-4",
"variants": []
},
"sheets": [

View File

@ -1623,6 +1623,407 @@
)
(embedded_fonts no)
)
(symbol "PCM_Resistor_AKL:R_1206"
(body_styles demorgan)
(pin_numbers
(hide yes)
)
(pin_names
(offset 0)
)
(exclude_from_sim no)
(in_bom yes)
(on_board yes)
(in_pos_files yes)
(duplicate_pin_numbers_are_jumpers no)
(property "Reference" "R"
(at 2.54 1.27 0)
(show_name no)
(do_not_autoplace no)
(effects
(font
(size 1.27 1.27)
)
(justify left)
)
)
(property "Value" "R_1206"
(at 2.54 -1.27 0)
(show_name no)
(do_not_autoplace no)
(effects
(font
(size 1.27 1.27)
)
(justify left)
)
)
(property "Footprint" "PCM_Resistor_SMD_AKL:R_1206_3216Metric"
(at 0 -11.43 0)
(show_name no)
(do_not_autoplace no)
(hide yes)
(effects
(font
(size 1.27 1.27)
)
)
)
(property "Datasheet" ""
(at 0 0 0)
(show_name no)
(do_not_autoplace no)
(hide yes)
(effects
(font
(size 1.27 1.27)
)
)
)
(property "Description" "SMD 1206 Chip Resistor, European Symbol, Alternate KiCad Library"
(at 0 0 0)
(show_name no)
(do_not_autoplace no)
(hide yes)
(effects
(font
(size 1.27 1.27)
)
)
)
(property "ki_keywords" "R res resistor eu smd 1206"
(at 0 0 0)
(show_name no)
(do_not_autoplace no)
(hide yes)
(effects
(font
(size 1.27 1.27)
)
)
)
(property "ki_fp_filters" "R_*"
(at 0 0 0)
(show_name no)
(do_not_autoplace no)
(hide yes)
(effects
(font
(size 1.27 1.27)
)
)
)
(symbol "R_1206_0_1"
(rectangle
(start -1.016 2.54)
(end 1.016 -2.54)
(stroke
(width 0.254)
(type default)
)
(fill
(type none)
)
)
)
(symbol "R_1206_0_2"
(polyline
(pts
(xy -2.54 -2.54) (xy -1.524 -1.524)
)
(stroke
(width 0)
(type default)
)
(fill
(type none)
)
)
(polyline
(pts
(xy 1.524 1.524) (xy 2.54 2.54)
)
(stroke
(width 0)
(type default)
)
(fill
(type none)
)
)
(polyline
(pts
(xy 1.524 1.524) (xy 0.889 2.159) (xy -2.159 -0.889) (xy -0.889 -2.159) (xy 2.159 0.889) (xy 1.524 1.524)
)
(stroke
(width 0.254)
(type default)
)
(fill
(type none)
)
)
)
(symbol "R_1206_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)
)
)
)
)
)
(symbol "R_1206_1_2"
(pin passive line
(at 2.54 2.54 180)
(length 0)
(name ""
(effects
(font
(size 1.27 1.27)
)
)
)
(number "1"
(effects
(font
(size 1.27 1.27)
)
)
)
)
(pin passive line
(at -2.54 -2.54 0)
(length 0)
(name ""
(effects
(font
(size 1.27 1.27)
)
)
)
(number "2"
(effects
(font
(size 1.27 1.27)
)
)
)
)
)
(embedded_fonts no)
)
(symbol "PCM_SL_Devices:Push_Button"
(exclude_from_sim no)
(in_bom yes)
(on_board yes)
(in_pos_files yes)
(duplicate_pin_numbers_are_jumpers no)
(property "Reference" "SW"
(at 0 6.35 0)
(show_name no)
(do_not_autoplace no)
(effects
(font
(size 1.27 1.27)
)
)
)
(property "Value" "Push_Button"
(at 0 4.445 0)
(show_name no)
(do_not_autoplace no)
(effects
(font
(size 1.27 1.27)
)
)
)
(property "Footprint" "Button_Switch_THT:SW_PUSH_6mm"
(at -0.127 -3.175 0)
(show_name no)
(do_not_autoplace no)
(hide yes)
(effects
(font
(size 1.27 1.27)
)
)
)
(property "Datasheet" ""
(at 0 0 0)
(show_name no)
(do_not_autoplace no)
(hide yes)
(effects
(font
(size 1.27 1.27)
)
)
)
(property "Description" "Common 6mmx6mm Push Button"
(at 0 0 0)
(show_name no)
(do_not_autoplace no)
(hide yes)
(effects
(font
(size 1.27 1.27)
)
)
)
(property "ki_keywords" "Switch"
(at 0 0 0)
(show_name no)
(do_not_autoplace no)
(hide yes)
(effects
(font
(size 1.27 1.27)
)
)
)
(symbol "Push_Button_0_1"
(polyline
(pts
(xy -3.175 0) (xy -1.778 0)
)
(stroke
(width 0)
(type default)
)
(fill
(type none)
)
)
(polyline
(pts
(xy -1.905 1.27) (xy 1.905 1.27)
)
(stroke
(width 0)
(type default)
)
(fill
(type none)
)
)
(circle
(center -1.27 0)
(radius 0.4579)
(stroke
(width 0)
(type default)
)
(fill
(type outline)
)
)
(polyline
(pts
(xy 0 1.27) (xy 0 3.175)
)
(stroke
(width 0)
(type default)
)
(fill
(type none)
)
)
(circle
(center 1.27 0)
(radius 0.4579)
(stroke
(width 0)
(type default)
)
(fill
(type outline)
)
)
(polyline
(pts
(xy 1.778 0) (xy 3.175 0)
)
(stroke
(width 0)
(type default)
)
(fill
(type none)
)
)
)
(symbol "Push_Button_1_1"
(pin passive line
(at -5.08 0 0)
(length 2)
(name ""
(effects
(font
(size 1.27 1.27)
)
)
)
(number "1"
(effects
(font
(size 1 1)
)
)
)
)
(pin passive line
(at 5.08 0 180)
(length 2)
(name ""
(effects
(font
(size 1.27 1.27)
)
)
)
(number "2"
(effects
(font
(size 1 1)
)
)
)
)
)
(embedded_fonts no)
)
(symbol "PCM_Voltage_Regulator_AKL:ZLDO1117G33TA"
(exclude_from_sim no)
(in_bom yes)
@ -1785,6 +2186,12 @@
(color 0 0 0 0)
(uuid "617f8287-0c8a-4d3e-9d2e-9462b70df379")
)
(junction
(at 88.9 95.25)
(diameter 0)
(color 0 0 0 0)
(uuid "9e121f6e-d958-4f1b-abbf-a50c70178a0f")
)
(junction
(at 187.96 110.49)
(diameter 0)
@ -1847,6 +2254,16 @@
)
(uuid "2366ef36-5e3c-422a-8957-53743c9d4d5a")
)
(wire
(pts
(xy 88.9 95.25) (xy 92.71 95.25)
)
(stroke
(width 0)
(type default)
)
(uuid "30a77d6c-71ff-48e1-9958-38cb8d4c1e91")
)
(wire
(pts
(xy 158.75 69.85) (xy 171.45 69.85)
@ -1977,6 +2394,85 @@
)
(uuid "ca75316d-8f59-4930-909c-2a24b136c882")
)
(symbol
(lib_id "PCM_4ms_Power-symbol:+3.3V")
(at 81.28 95.25 90)
(unit 1)
(body_style 1)
(exclude_from_sim no)
(in_bom yes)
(on_board yes)
(in_pos_files yes)
(dnp no)
(fields_autoplaced yes)
(uuid "00596a86-0e2a-474d-8659-2982c9794208")
(property "Reference" "#PWR011"
(at 85.09 95.25 0)
(hide yes)
(show_name no)
(do_not_autoplace no)
(effects
(font
(size 1.27 1.27)
)
)
)
(property "Value" "+3.3V"
(at 77.47 95.2499 90)
(show_name no)
(do_not_autoplace no)
(effects
(font
(size 1.27 1.27)
)
(justify left)
)
)
(property "Footprint" ""
(at 81.28 95.25 0)
(hide yes)
(show_name no)
(do_not_autoplace no)
(effects
(font
(size 1.27 1.27)
)
)
)
(property "Datasheet" ""
(at 81.28 95.25 0)
(hide yes)
(show_name no)
(do_not_autoplace no)
(effects
(font
(size 1.27 1.27)
)
)
)
(property "Description" ""
(at 81.28 95.25 0)
(hide yes)
(show_name no)
(do_not_autoplace no)
(effects
(font
(size 1.27 1.27)
)
)
)
(pin "1"
(uuid "bbcdbb2a-43ad-44fc-89fc-2804e264ab95")
)
(instances
(project "pcb"
(path "/3afd4178-24a0-4325-8280-3aca3edf1068"
(reference "#PWR011")
(unit 1)
)
)
)
)
(symbol
(lib_id "PCM_4ms_Power-symbol:GND")
(at 173.99 100.33 180)
@ -2306,6 +2802,86 @@
)
)
)
(symbol
(lib_id "PCM_Resistor_AKL:R_1206")
(at 85.09 95.25 90)
(unit 1)
(body_style 1)
(exclude_from_sim no)
(in_bom yes)
(on_board yes)
(in_pos_files yes)
(dnp no)
(fields_autoplaced yes)
(uuid "3407fdb9-4b0f-4882-ac04-1054ef24ebf5")
(property "Reference" "R1"
(at 85.09 88.9 90)
(show_name no)
(do_not_autoplace no)
(effects
(font
(size 1.27 1.27)
)
)
)
(property "Value" "R_1206"
(at 85.09 91.44 90)
(show_name no)
(do_not_autoplace no)
(effects
(font
(size 1.27 1.27)
)
)
)
(property "Footprint" "PCM_Resistor_SMD_AKL:R_1206_3216Metric"
(at 96.52 95.25 0)
(hide yes)
(show_name no)
(do_not_autoplace no)
(effects
(font
(size 1.27 1.27)
)
)
)
(property "Datasheet" ""
(at 85.09 95.25 0)
(hide yes)
(show_name no)
(do_not_autoplace no)
(effects
(font
(size 1.27 1.27)
)
)
)
(property "Description" "SMD 1206 Chip Resistor, European Symbol, Alternate KiCad Library"
(at 85.09 95.25 0)
(hide yes)
(show_name no)
(do_not_autoplace no)
(effects
(font
(size 1.27 1.27)
)
)
)
(pin "2"
(uuid "09bfc7ad-8da1-49db-b077-1ae23eb7fad8")
)
(pin "1"
(uuid "1c591d1f-a85d-4d9a-94ae-a3eb7d3c1d30")
)
(instances
(project "pcb"
(path "/3afd4178-24a0-4325-8280-3aca3edf1068"
(reference "R1")
(unit 1)
)
)
)
)
(symbol
(lib_id "PCM_4ms_Connector:Conn_01x04")
(at 166.37 74.93 180)
@ -2508,6 +3084,88 @@
)
)
)
(symbol
(lib_id "PCM_SL_Devices:Push_Button")
(at 88.9 100.33 90)
(unit 1)
(body_style 1)
(exclude_from_sim no)
(in_bom yes)
(on_board yes)
(in_pos_files yes)
(dnp no)
(fields_autoplaced yes)
(uuid "539f9ec2-3760-4bd5-a095-d93c76cac2d4")
(property "Reference" "SW1"
(at 90.17 99.0599 90)
(show_name no)
(do_not_autoplace no)
(effects
(font
(size 1.27 1.27)
)
(justify right)
)
)
(property "Value" "Push_Button"
(at 90.17 101.5999 90)
(show_name no)
(do_not_autoplace no)
(effects
(font
(size 1.27 1.27)
)
(justify right)
)
)
(property "Footprint" "PCM_4ms_Switch:Button_Tact_Sqkg"
(at 92.075 100.457 0)
(hide yes)
(show_name no)
(do_not_autoplace no)
(effects
(font
(size 1.27 1.27)
)
)
)
(property "Datasheet" ""
(at 88.9 100.33 0)
(hide yes)
(show_name no)
(do_not_autoplace no)
(effects
(font
(size 1.27 1.27)
)
)
)
(property "Description" "Common 6mmx6mm Push Button"
(at 88.9 100.33 0)
(hide yes)
(show_name no)
(do_not_autoplace no)
(effects
(font
(size 1.27 1.27)
)
)
)
(pin "2"
(uuid "2199795d-d6e9-4513-a9f2-930510d5448a")
)
(pin "1"
(uuid "7c556309-ca8c-4834-9541-3ca77db2282f")
)
(instances
(project "pcb"
(path "/3afd4178-24a0-4325-8280-3aca3edf1068"
(reference "SW1")
(unit 1)
)
)
)
)
(symbol
(lib_id "PCM_4ms_Connector:Conn_01x02")
(at 199.39 110.49 0)
@ -3492,6 +4150,84 @@
)
)
)
(symbol
(lib_id "PCM_4ms_Power-symbol:GND")
(at 88.9 105.41 0)
(unit 1)
(body_style 1)
(exclude_from_sim no)
(in_bom yes)
(on_board yes)
(in_pos_files yes)
(dnp no)
(fields_autoplaced yes)
(uuid "e7b42683-e413-46de-80b0-ec773d8de005")
(property "Reference" "#PWR012"
(at 88.9 111.76 0)
(hide yes)
(show_name no)
(do_not_autoplace no)
(effects
(font
(size 1.27 1.27)
)
)
)
(property "Value" "GND"
(at 88.9 110.49 0)
(show_name no)
(do_not_autoplace no)
(effects
(font
(size 1.27 1.27)
)
)
)
(property "Footprint" ""
(at 88.9 105.41 0)
(hide yes)
(show_name no)
(do_not_autoplace no)
(effects
(font
(size 1.27 1.27)
)
)
)
(property "Datasheet" ""
(at 88.9 105.41 0)
(hide yes)
(show_name no)
(do_not_autoplace no)
(effects
(font
(size 1.27 1.27)
)
)
)
(property "Description" ""
(at 88.9 105.41 0)
(hide yes)
(show_name no)
(do_not_autoplace no)
(effects
(font
(size 1.27 1.27)
)
)
)
(pin "1"
(uuid "28a68c8a-22f5-47dc-8a26-7c79e413914d")
)
(instances
(project "pcb"
(path "/3afd4178-24a0-4325-8280-3aca3edf1068"
(reference "#PWR012")
(unit 1)
)
)
)
)
(symbol
(lib_id "PCM_4ms_Power-symbol:+3.3V")
(at 171.45 74.93 270)