add void switch libs

This commit is contained in:
MReenen 2022-11-22 16:50:27 +01:00
parent 0594711012
commit 0a73dda89b
6 changed files with 414 additions and 0 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
/HR_ANE10-2_PCB2-backups

3
.gitmodules vendored Normal file
View File

@ -0,0 +1,3 @@
[submodule "libs/void_switch"]
path = libs/void_switch
url = https://github.com/riskable/void_switch_kicad.git

View File

@ -5,6 +5,55 @@
(paper "A4") (paper "A4")
(lib_symbols (lib_symbols
(symbol "49e:Hall_Sensor" (pin_names (offset 1.016)) (in_bom yes) (on_board yes)
(property "Reference" "U?" (id 0) (at -4.5212 0.9652 0)
(effects (font (size 1.27 1.27)) (justify right))
)
(property "Value" "Hall_Sensor" (id 1) (at -4.5212 -1.143 0)
(effects (font (size 0.9906 0.9906)) (justify right) hide)
)
(property "Footprint" "Package_TO_SOT_SMD:SOT-23" (id 2) (at -1.27 6.35 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "" (id 3) (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "LCSC Part" "C266230" (id 4) (at 8.89 -6.35 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "MPN" "GH39FKSW" (id 5) (at 8.89 -3.81 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Notes" "Alternate part: OH49E-S (C85573)" (id 6) (at 17.78 -8.89 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "ki_keywords" "linear analog hall effect magnetic" (id 7) (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "ki_description" "3-pin Linear Hall Effect Sensor" (id 8) (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(symbol "Hall_Sensor_0_1"
(rectangle (start -3.81 5.08) (end 2.54 -5.08)
(stroke (width 0) (type default) (color 0 0 0 0))
(fill (type background))
)
)
(symbol "Hall_Sensor_1_1"
(pin power_in line (at -2.54 7.62 270) (length 2.54)
(name "VDD" (effects (font (size 0.9906 0.9906))))
(number "1" (effects (font (size 0.9906 0.9906))))
)
(pin output line (at 5.08 0 180) (length 2.54)
(name "OUT" (effects (font (size 0.9906 0.9906))))
(number "2" (effects (font (size 0.9906 0.9906))))
)
(pin power_in line (at -2.54 -7.62 90) (length 2.54)
(name "GND" (effects (font (size 0.9906 0.9906))))
(number "3" (effects (font (size 0.9906 0.9906))))
)
)
)
(symbol "HEF4067BT_653:HEF4067BT,653" (pin_names (offset 0.762)) (in_bom yes) (on_board yes) (symbol "HEF4067BT_653:HEF4067BT,653" (pin_names (offset 0.762)) (in_bom yes) (on_board yes)
(property "Reference" "IC" (id 0) (at 21.59 7.62 0) (property "Reference" "IC" (id 0) (at 21.59 7.62 0)
(effects (font (size 1.27 1.27)) (justify left)) (effects (font (size 1.27 1.27)) (justify left))
@ -163,9 +212,261 @@
) )
) )
) )
(symbol "power:+5V" (power) (pin_names (offset 0)) (in_bom yes) (on_board yes)
(property "Reference" "#PWR" (id 0) (at 0 -3.81 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Value" "+5V" (id 1) (at 0 3.556 0)
(effects (font (size 1.27 1.27)))
)
(property "Footprint" "" (id 2) (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "" (id 3) (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "ki_keywords" "power-flag" (id 4) (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "ki_description" "Power symbol creates a global label with name \"+5V\"" (id 5) (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(symbol "+5V_0_1"
(polyline
(pts
(xy -0.762 1.27)
(xy 0 2.54)
)
(stroke (width 0) (type default) (color 0 0 0 0))
(fill (type none))
)
(polyline
(pts
(xy 0 0)
(xy 0 2.54)
)
(stroke (width 0) (type default) (color 0 0 0 0))
(fill (type none))
)
(polyline
(pts
(xy 0 2.54)
(xy 0.762 1.27)
)
(stroke (width 0) (type default) (color 0 0 0 0))
(fill (type none))
)
)
(symbol "+5V_1_1"
(pin power_in line (at 0 0 90) (length 0) hide
(name "+5V" (effects (font (size 1.27 1.27))))
(number "1" (effects (font (size 1.27 1.27))))
)
)
)
(symbol "power:GND" (power) (pin_names (offset 0)) (in_bom yes) (on_board yes)
(property "Reference" "#PWR" (id 0) (at 0 -6.35 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Value" "GND" (id 1) (at 0 -3.81 0)
(effects (font (size 1.27 1.27)))
)
(property "Footprint" "" (id 2) (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "" (id 3) (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "ki_keywords" "power-flag" (id 4) (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "ki_description" "Power symbol creates a global label with name \"GND\" , ground" (id 5) (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(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) (color 0 0 0 0))
(fill (type none))
)
)
(symbol "GND_1_1"
(pin power_in line (at 0 0 270) (length 0) hide
(name "GND" (effects (font (size 1.27 1.27))))
(number "1" (effects (font (size 1.27 1.27))))
)
)
)
(symbol "voidswitch:VoidSwitch" (pin_names (offset 1.016)) (in_bom no) (on_board yes)
(property "Reference" "AM0:0" (id 0) (at 0 -2.54 0)
(effects (font (size 1.27 1.27)))
)
(property "Value" "VoidSwitch" (id 1) (at 0 2.54 0)
(effects (font (size 0.9906 0.9906)))
)
(property "Footprint" "void_switch:VoidSwitch_1u_SMD" (id 2) (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "" (id 3) (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "NOTE" "Replace \"AM0:0\" with the actual MUX pin" (id 4) (at 0 -7.62 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "ki_keywords" "void switch magnetic key unit" (id 5) (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "ki_description" "Symbol placeholder for the VoidSwitch footprints so they don't accidentally get removed" (id 6) (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(symbol "VoidSwitch_0_1"
(rectangle (start -6.35 6.35) (end 6.35 -6.35)
(stroke (width 0) (type default) (color 0 0 0 0))
(fill (type background))
)
)
)
) )
(wire (pts (xy 207.01 129.54) (xy 199.39 129.54))
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid 14cbcbc6-548a-4d0c-970c-a4c897c5c0ad)
)
(wire (pts (xy 182.88 129.54) (xy 175.26 129.54))
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid 1aa153e7-2f43-457b-98f0-20d060519620)
)
(wire (pts (xy 191.77 137.16) (xy 191.77 139.7))
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid 320d9e58-4ee1-4b86-a865-002994d555db)
)
(wire (pts (xy 167.64 119.38) (xy 167.64 121.92))
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid 84f29692-0453-4779-bbc7-6d2cc62ca4fe)
)
(wire (pts (xy 167.64 137.16) (xy 167.64 139.7))
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid 90d4a899-4945-4075-aec0-f38ff46832ed)
)
(wire (pts (xy 191.77 119.38) (xy 191.77 121.92))
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid 9f284fb8-2158-4d7d-af95-18a0f7b0bca3)
)
(wire (pts (xy 177.8 62.23) (xy 185.42 62.23))
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid ecfd50c1-1355-42cb-a16d-b8f0772f14a7)
)
(wire (pts (xy 177.8 64.77) (xy 185.42 64.77))
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid ed59a76f-53d9-45fa-af2a-eba9afc174ac)
)
(label "AM0:1" (at 207.01 129.54 180)
(effects (font (size 1.27 1.27)) (justify right bottom))
(uuid 2200e6cb-8e74-4674-ba0a-a1c2db59f553)
)
(label "AM0:0" (at 182.88 129.54 180)
(effects (font (size 1.27 1.27)) (justify right bottom))
(uuid 6c2b48af-9109-4c7f-b6bb-216862fcf30a)
)
(label "AM0:1" (at 177.8 62.23 0)
(effects (font (size 1.27 1.27)) (justify left bottom))
(uuid 79691f17-ba13-456e-b429-2bdf3f8054bd)
)
(label "AM0:0" (at 177.8 64.77 0)
(effects (font (size 1.27 1.27)) (justify left bottom))
(uuid b898688e-1afa-496e-84c0-0c7bc69e0f8e)
)
(symbol (lib_id "voidswitch:VoidSwitch") (at 196.85 100.33 0) (unit 1)
(in_bom no) (on_board yes) (fields_autoplaced)
(uuid 29d1a862-7e66-4b1c-ba67-f0390adbfd1f)
(property "Reference" "AM0:1" (id 0) (at 204.47 99.6949 0)
(effects (font (size 1.27 1.27)) (justify left))
)
(property "Value" "VoidSwitch" (id 1) (at 204.47 102.2349 0)
(effects (font (size 0.9906 0.9906)) (justify left))
)
(property "Footprint" "void_switch:VoidSwitch_1u_SMD" (id 2) (at 196.85 100.33 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "" (id 3) (at 196.85 100.33 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "NOTE" "Replace \"AM0:0\" with the actual MUX pin" (id 4) (at 196.85 107.95 0)
(effects (font (size 1.27 1.27)) hide)
)
)
(symbol (lib_id "power:+5V") (at 167.64 119.38 0) (unit 1)
(in_bom yes) (on_board yes) (fields_autoplaced)
(uuid 2cb0b1a5-c777-42d4-a9e9-58434d3bf24f)
(property "Reference" "#PWR?" (id 0) (at 167.64 123.19 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Value" "+5V" (id 1) (at 167.64 114.3 0))
(property "Footprint" "" (id 2) (at 167.64 119.38 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "" (id 3) (at 167.64 119.38 0)
(effects (font (size 1.27 1.27)) hide)
)
(pin "1" (uuid 352f4d16-2f52-46b0-9b40-74b71ca53f15))
)
(symbol (lib_id "power:GND") (at 167.64 139.7 0) (unit 1)
(in_bom yes) (on_board yes) (fields_autoplaced)
(uuid 36815487-1cce-4af3-ac9a-fa9084a6dcc1)
(property "Reference" "#PWR?" (id 0) (at 167.64 146.05 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Value" "GND" (id 1) (at 167.64 144.78 0))
(property "Footprint" "" (id 2) (at 167.64 139.7 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "" (id 3) (at 167.64 139.7 0)
(effects (font (size 1.27 1.27)) hide)
)
(pin "1" (uuid dc2f1d52-052d-48f9-9ad4-94155645ef93))
)
(symbol (lib_id "49e:Hall_Sensor") (at 194.31 129.54 0) (unit 1)
(in_bom yes) (on_board yes) (fields_autoplaced)
(uuid 4c3a2dd3-1bc8-4df3-a541-3abbbf396873)
(property "Reference" "U?" (id 0) (at 189.23 129.5399 0)
(effects (font (size 1.27 1.27)) (justify right))
)
(property "Value" "Hall_Sensor" (id 1) (at 189.7888 130.683 0)
(effects (font (size 0.9906 0.9906)) (justify right) hide)
)
(property "Footprint" "Package_TO_SOT_SMD:SOT-23" (id 2) (at 193.04 123.19 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "" (id 3) (at 194.31 129.54 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "LCSC Part" "C266230" (id 4) (at 203.2 135.89 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "MPN" "GH39FKSW" (id 5) (at 203.2 133.35 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Notes" "Alternate part: OH49E-S (C85573)" (id 6) (at 212.09 138.43 0)
(effects (font (size 1.27 1.27)) hide)
)
(pin "1" (uuid 06d1c931-c2d5-46bd-a5e4-ae69bbe1c3e9))
(pin "2" (uuid 6a52b285-b511-4299-9d73-c0b5505030a4))
(pin "3" (uuid f3b03bd7-5ad2-45e5-89f7-3914945791cf))
)
(symbol (lib_id "HEF4067BT_653:HEF4067BT,653") (at 185.42 44.45 0) (unit 1) (symbol (lib_id "HEF4067BT_653:HEF4067BT,653") (at 185.42 44.45 0) (unit 1)
(in_bom yes) (on_board yes) (fields_autoplaced) (in_bom yes) (on_board yes) (fields_autoplaced)
(uuid 88567be9-b746-455b-af95-710f3b2bbb15) (uuid 88567be9-b746-455b-af95-710f3b2bbb15)
@ -233,6 +534,87 @@
(pin "9" (uuid 8c7ee24d-fec1-455b-b316-543235d67795)) (pin "9" (uuid 8c7ee24d-fec1-455b-b316-543235d67795))
) )
(symbol (lib_id "power:+5V") (at 191.77 119.38 0) (unit 1)
(in_bom yes) (on_board yes) (fields_autoplaced)
(uuid 99078cb8-07eb-4711-b1e3-18e0402fc10f)
(property "Reference" "#PWR?" (id 0) (at 191.77 123.19 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Value" "+5V" (id 1) (at 191.77 114.3 0))
(property "Footprint" "" (id 2) (at 191.77 119.38 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "" (id 3) (at 191.77 119.38 0)
(effects (font (size 1.27 1.27)) hide)
)
(pin "1" (uuid 64149c61-b04c-434f-b5e5-6b591888fa89))
)
(symbol (lib_id "voidswitch:VoidSwitch") (at 170.18 100.33 0) (unit 1)
(in_bom no) (on_board yes) (fields_autoplaced)
(uuid bae74dc1-c11b-4a04-9f63-3cad7a9b8fb7)
(property "Reference" "AM0:0" (id 0) (at 177.8 99.6949 0)
(effects (font (size 1.27 1.27)) (justify left))
)
(property "Value" "VoidSwitch" (id 1) (at 177.8 102.2349 0)
(effects (font (size 0.9906 0.9906)) (justify left))
)
(property "Footprint" "void_switch:VoidSwitch_1u_SMD" (id 2) (at 170.18 100.33 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "" (id 3) (at 170.18 100.33 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "NOTE" "Replace \"AM0:0\" with the actual MUX pin" (id 4) (at 170.18 107.95 0)
(effects (font (size 1.27 1.27)) hide)
)
)
(symbol (lib_id "49e:Hall_Sensor") (at 170.18 129.54 0) (unit 1)
(in_bom yes) (on_board yes) (fields_autoplaced)
(uuid eced26cf-e3dd-4bc4-9e7a-1dc5233622b2)
(property "Reference" "U?" (id 0) (at 165.1 129.5399 0)
(effects (font (size 1.27 1.27)) (justify right))
)
(property "Value" "Hall_Sensor" (id 1) (at 165.6588 130.683 0)
(effects (font (size 0.9906 0.9906)) (justify right) hide)
)
(property "Footprint" "Package_TO_SOT_SMD:SOT-23" (id 2) (at 168.91 123.19 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "" (id 3) (at 170.18 129.54 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "LCSC Part" "C266230" (id 4) (at 179.07 135.89 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "MPN" "GH39FKSW" (id 5) (at 179.07 133.35 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Notes" "Alternate part: OH49E-S (C85573)" (id 6) (at 187.96 138.43 0)
(effects (font (size 1.27 1.27)) hide)
)
(pin "1" (uuid 618009ff-833f-4e43-9feb-dbb9c2859e69))
(pin "2" (uuid c1f1cf27-dbca-4772-9e0b-7411094ee1e8))
(pin "3" (uuid 9acbc04b-e89b-4915-ba01-22a1e12eaa4b))
)
(symbol (lib_id "power:GND") (at 191.77 139.7 0) (unit 1)
(in_bom yes) (on_board yes) (fields_autoplaced)
(uuid f9052d30-aff0-4d32-a937-c6b72aafebf3)
(property "Reference" "#PWR?" (id 0) (at 191.77 146.05 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Value" "GND" (id 1) (at 191.77 144.78 0))
(property "Footprint" "" (id 2) (at 191.77 139.7 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "" (id 3) (at 191.77 139.7 0)
(effects (font (size 1.27 1.27)) hide)
)
(pin "1" (uuid 17f9253f-4241-4cb0-b081-473eb87ee590))
)
(sheet (at 44.45 24.13) (size 64.77 106.68) (fields_autoplaced) (sheet (at 44.45 24.13) (size 64.77 106.68) (fields_autoplaced)
(stroke (width 0.1524) (type solid) (color 0 0 0 0)) (stroke (width 0.1524) (type solid) (color 0 0 0 0))
(fill (color 0 0 0 0.0000)) (fill (color 0 0 0 0.0000))
@ -263,14 +645,38 @@
) )
(symbol_instances (symbol_instances
(path "/2cb0b1a5-c777-42d4-a9e9-58434d3bf24f"
(reference "#PWR?") (unit 1) (value "+5V") (footprint "")
)
(path "/36815487-1cce-4af3-ac9a-fa9084a6dcc1"
(reference "#PWR?") (unit 1) (value "GND") (footprint "")
)
(path "/99e9f4f7-dcf7-46c7-a687-8b19cca2911f/5069ffd5-c2ee-498b-8fe7-62ca38955ace" (path "/99e9f4f7-dcf7-46c7-a687-8b19cca2911f/5069ffd5-c2ee-498b-8fe7-62ca38955ace"
(reference "#PWR?") (unit 1) (value "GND") (footprint "") (reference "#PWR?") (unit 1) (value "GND") (footprint "")
) )
(path "/99078cb8-07eb-4711-b1e3-18e0402fc10f"
(reference "#PWR?") (unit 1) (value "+5V") (footprint "")
)
(path "/f9052d30-aff0-4d32-a937-c6b72aafebf3"
(reference "#PWR?") (unit 1) (value "GND") (footprint "")
)
(path "/bae74dc1-c11b-4a04-9f63-3cad7a9b8fb7"
(reference "AM0:0") (unit 1) (value "VoidSwitch") (footprint "void_switch:VoidSwitch_1u_SMD")
)
(path "/29d1a862-7e66-4b1c-ba67-f0390adbfd1f"
(reference "AM0:1") (unit 1) (value "VoidSwitch") (footprint "void_switch:VoidSwitch_1u_SMD")
)
(path "/88567be9-b746-455b-af95-710f3b2bbb15" (path "/88567be9-b746-455b-af95-710f3b2bbb15"
(reference "IC?") (unit 1) (value "HEF4067BT,653") (footprint "SOIC127P1032X265-24N") (reference "IC?") (unit 1) (value "HEF4067BT,653") (footprint "SOIC127P1032X265-24N")
) )
(path "/4c3a2dd3-1bc8-4df3-a541-3abbbf396873"
(reference "U?") (unit 1) (value "Hall_Sensor") (footprint "Package_TO_SOT_SMD:SOT-23")
)
(path "/99e9f4f7-dcf7-46c7-a687-8b19cca2911f/a87bcbfd-f1a1-4b03-ac04-e8f2a7559cf8" (path "/99e9f4f7-dcf7-46c7-a687-8b19cca2911f/a87bcbfd-f1a1-4b03-ac04-e8f2a7559cf8"
(reference "U?") (unit 1) (value "RP2040") (footprint "Package_DFN_QFN:QFN-56-1EP_7x7mm_P0.4mm_EP3.2x3.2mm") (reference "U?") (unit 1) (value "RP2040") (footprint "Package_DFN_QFN:QFN-56-1EP_7x7mm_P0.4mm_EP3.2x3.2mm")
) )
(path "/eced26cf-e3dd-4bc4-9e7a-1dc5233622b2"
(reference "U?") (unit 1) (value "Hall_Sensor") (footprint "Package_TO_SOT_SMD:SOT-23")
)
) )
) )

View File

@ -1,3 +1,4 @@
(fp_lib_table (fp_lib_table
(lib (name "debux")(type "KiCad")(uri "${KIPRJMOD}/libs/debux")(options "")(descr "")) (lib (name "debux")(type "KiCad")(uri "${KIPRJMOD}/libs/debux")(options "")(descr ""))
(lib (name "footprints")(type "KiCad")(uri "${KIPRJMOD}/libs/void_switch/footprints")(options "")(descr ""))
) )

1
libs/void_switch Submodule

@ -0,0 +1 @@
Subproject commit c960418d3a78a9eee5d32e73d0896b9d881a991c

View File

@ -1,3 +1,5 @@
(sym_lib_table (sym_lib_table
(lib (name "HEF4067BT_653")(type "Legacy")(uri "${KIPRJMOD}/libs/debux/HEF4067BT_653.lib")(options "")(descr "")) (lib (name "HEF4067BT_653")(type "Legacy")(uri "${KIPRJMOD}/libs/debux/HEF4067BT_653.lib")(options "")(descr ""))
(lib (name "49e")(type "KiCad")(uri "${KIPRJMOD}/libs/void_switch/symbols/49e.kicad_sym")(options "")(descr ""))
(lib (name "voidswitch")(type "KiCad")(uri "${KIPRJMOD}/libs/void_switch/symbols/voidswitch.kicad_sym")(options "")(descr ""))
) )