Consistent power switch on/off direction.

This commit is contained in:
Peter Johanson
2022-10-12 03:30:57 -04:00
parent ab775b63e5
commit cadf305a34
2 changed files with 78 additions and 47 deletions

View File

@@ -286,11 +286,11 @@
)
)
)
(symbol "Switch:SW_SPST" (pin_names (offset 0) hide) (in_bom yes) (on_board yes)
(property "Reference" "SW" (id 0) (at 0 3.175 0)
(symbol "Switch:SW_SPDT" (pin_names (offset 0) hide) (in_bom yes) (on_board yes)
(property "Reference" "SW" (id 0) (at 0 4.318 0)
(effects (font (size 1.27 1.27)))
)
(property "Value" "SW_SPST" (id 1) (at 0 -2.54 0)
(property "Value" "SW_SPDT" (id 1) (at 0 -5.08 0)
(effects (font (size 1.27 1.27)))
)
(property "Footprint" "" (id 2) (at 0 0 0)
@@ -299,39 +299,49 @@
(property "Datasheet" "~" (id 3) (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "ki_keywords" "switch lever" (id 4) (at 0 0 0)
(property "ki_keywords" "switch single-pole double-throw spdt ON-ON" (id 4) (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "ki_description" "Single Pole Single Throw (SPST) switch" (id 5) (at 0 0 0)
(property "ki_description" "Switch, single pole double throw" (id 5) (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(symbol "SW_SPST_0_0"
(symbol "SW_SPDT_0_0"
(circle (center -2.032 0) (radius 0.508)
(stroke (width 0) (type default) (color 0 0 0 0))
(fill (type none))
)
(polyline
(pts
(xy -1.524 0.254)
(xy 1.524 1.778)
)
(stroke (width 0) (type default) (color 0 0 0 0))
(fill (type none))
)
(circle (center 2.032 0) (radius 0.508)
(circle (center 2.032 -2.54) (radius 0.508)
(stroke (width 0) (type default) (color 0 0 0 0))
(fill (type none))
)
)
(symbol "SW_SPST_1_1"
(pin passive line (at -5.08 0 0) (length 2.54)
(symbol "SW_SPDT_0_1"
(polyline
(pts
(xy -1.524 0.254)
(xy 1.651 2.286)
)
(stroke (width 0) (type default) (color 0 0 0 0))
(fill (type none))
)
(circle (center 2.032 2.54) (radius 0.508)
(stroke (width 0) (type default) (color 0 0 0 0))
(fill (type none))
)
)
(symbol "SW_SPDT_1_1"
(pin passive line (at 5.08 2.54 180) (length 2.54)
(name "A" (effects (font (size 1.27 1.27))))
(number "1" (effects (font (size 1.27 1.27))))
)
(pin passive line (at 5.08 0 180) (length 2.54)
(pin passive line (at -5.08 0 0) (length 2.54)
(name "B" (effects (font (size 1.27 1.27))))
(number "2" (effects (font (size 1.27 1.27))))
)
(pin passive line (at 5.08 -2.54 180) (length 2.54)
(name "C" (effects (font (size 1.27 1.27))))
(number "3" (effects (font (size 1.27 1.27))))
)
)
)
(symbol "kbd:ProMicro" (pin_names (offset 1.016)) (in_bom yes) (on_board yes)
@@ -973,6 +983,7 @@
(uuid facea53d-5e4c-47b4-b270-4269f81c1066)
)
(no_connect (at 211.455 55.88) (uuid 2b18f530-7f8a-4338-8c67-e0ff3b6befcb))
(no_connect (at 175.895 47.625) (uuid 874fd467-b047-414d-ba86-34a0e69c6b83))
(no_connect (at 140.335 123.19) (uuid 98d43275-d3e6-4955-a19f-630478cb402c))
(no_connect (at 175.895 123.19) (uuid a3411903-5fee-4baf-bbe4-963e4c02c86d))
@@ -980,6 +991,7 @@
(no_connect (at 140.335 50.165) (uuid bcf1db48-6361-49e0-b808-3cf2e05b467b))
(no_connect (at 175.895 50.165) (uuid c1a1de2d-1d06-4fb7-ae6b-199a23923693))
(no_connect (at 140.335 120.65) (uuid daec39d4-dc42-4980-9e91-38c9dd2a3e94))
(no_connect (at 204.47 121.285) (uuid e6f59047-1b43-4ba0-a686-45f67ec666ff))
(no_connect (at 175.895 120.65) (uuid f4833148-784a-422c-931f-9f7ca959f2df))
(wire (pts (xy 104.775 54.61) (xy 104.775 69.85))
@@ -1034,10 +1046,6 @@
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid 22d20687-a9ae-4d52-b416-8012ad862cd3)
)
(wire (pts (xy 214.63 118.745) (xy 219.71 118.745))
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid 23ad1e54-2e53-457e-bc55-0a2319770a9d)
)
(wire (pts (xy 66.675 31.75) (xy 84.455 31.75))
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid 247c010b-684d-4f42-865a-7c001ca43b5b)
@@ -1078,6 +1086,10 @@
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid 37bccd72-d082-43e3-b413-cef4863b6c61)
)
(wire (pts (xy 219.71 116.205) (xy 219.71 118.745))
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid 3aa7f653-1f03-4a4b-b07b-d57cd97c726f)
)
(wire (pts (xy 102.235 62.23) (xy 120.015 62.23))
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid 3d06a3f0-aabe-41a8-af78-a92bf9e49fdc)
@@ -1154,6 +1166,10 @@
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid 6acf2d9f-0d4a-4f8e-b153-8c7c8a30880a)
)
(wire (pts (xy 211.455 58.42) (xy 211.455 60.96))
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid 6c22acf5-7397-4b64-9427-deb4765e37ea)
)
(wire (pts (xy 175.895 95.25) (xy 186.055 95.25))
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid 6c332bc6-3f9f-4027-bb95-1899c82c23ba)
@@ -1194,6 +1210,10 @@
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid 807f58e3-b739-4872-9502-0483b81ee8d5)
)
(wire (pts (xy 214.63 118.745) (xy 219.71 118.745))
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid 8490b0a5-3da6-4598-952f-5d9955932eb1)
)
(wire (pts (xy 33.655 20.32) (xy 33.655 24.13))
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid 856d51e2-aeaf-457a-941b-e161a679aaef)
@@ -1390,6 +1410,10 @@
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid e0add515-0adb-404c-a090-2fb984e08703)
)
(wire (pts (xy 214.63 116.205) (xy 219.71 116.205))
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid e55ac4ac-c704-4169-865f-820fcbf36466)
)
(wire (pts (xy 85.09 114.3) (xy 102.87 114.3))
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid e674577d-d8db-44d2-bdce-3ca0fb185c3b)
@@ -3560,11 +3584,11 @@
(pin "1" (uuid b5aec6b4-38d8-4632-816f-e7e7165bbe1d))
)
(symbol (lib_id "Switch:SW_SPST") (at 206.375 58.42 0) (unit 1)
(symbol (lib_id "Switch:SW_SPDT") (at 206.375 58.42 0) (unit 1)
(in_bom yes) (on_board yes) (fields_autoplaced)
(uuid 2c5bd6d0-044f-48cc-8551-672fbb4708bc)
(property "Reference" "PSW1" (id 0) (at 206.375 53.0692 0))
(property "Value" "SW_SPST" (id 1) (at 206.375 55.6061 0))
(property "Reference" "PSW1" (id 0) (at 206.375 51.7992 0))
(property "Value" "SW_SPST" (id 1) (at 206.375 54.3361 0))
(property "Footprint" "Button_Switch_SMD:SW_SPDT_PCM12" (id 2) (at 206.375 58.42 0)
(effects (font (size 1.27 1.27)) hide)
)
@@ -3573,6 +3597,7 @@
)
(pin "1" (uuid fc1d31ae-2035-4b03-9596-fae83de222a5))
(pin "2" (uuid b68fffe4-a7ba-4a18-9cb2-645a483f4404))
(pin "3" (uuid 1fd9c7a8-0eab-4710-8215-ad7e0b1b7f8d))
)
(symbol (lib_id "Connector:TestPoint") (at 195.58 142.24 90) (unit 1)
@@ -3589,11 +3614,11 @@
(pin "1" (uuid 2fecf775-41c5-4aa2-bc4c-3fcb30b98a9c))
)
(symbol (lib_id "Switch:SW_SPST") (at 209.55 118.745 0) (unit 1)
(symbol (lib_id "Switch:SW_SPDT") (at 209.55 118.745 0) (mirror y) (unit 1)
(in_bom yes) (on_board yes) (fields_autoplaced)
(uuid 2f5b3198-65b6-4623-8c8d-6eb34322a1f9)
(property "Reference" "PSW2" (id 0) (at 209.55 113.3942 0))
(property "Value" "SW_SPST" (id 1) (at 209.55 115.9311 0))
(property "Reference" "PSW2" (id 0) (at 209.55 112.1242 0))
(property "Value" "SW_SPST" (id 1) (at 209.55 114.6611 0))
(property "Footprint" "Button_Switch_SMD:SW_SPDT_PCM12" (id 2) (at 209.55 118.745 0)
(effects (font (size 1.27 1.27)) hide)
)
@@ -3602,6 +3627,7 @@
)
(pin "1" (uuid 21ec176f-b8fb-4a0d-af3c-f03e89ae9da5))
(pin "2" (uuid 5217104d-28cd-476d-8b44-19eced01ccae))
(pin "3" (uuid dd08f53c-3762-4124-8c69-ea9e42340974))
)
(symbol (lib_id "power:+BATT") (at 259.08 17.78 0) (unit 1)
@@ -3765,19 +3791,19 @@
(pin "1" (uuid 507a81e6-bc69-417f-98d5-6bd72f5e2a35))
)
(symbol (lib_name "+BATT_2") (lib_id "power:+BATT") (at 204.47 118.745 90) (unit 1)
(symbol (lib_name "+BATT_2") (lib_id "power:+BATT") (at 204.47 116.205 90) (unit 1)
(in_bom yes) (on_board yes)
(uuid 93de473b-261a-4bc9-a9c3-6e28e411041c)
(property "Reference" "#PWRR02" (id 0) (at 200.66 118.745 0)
(property "Reference" "#PWRR02" (id 0) (at 200.66 116.205 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Value" "+BATTA" (id 1) (at 198.12 121.285 90)
(property "Value" "+BATTA" (id 1) (at 198.12 118.745 90)
(effects (font (size 1.27 1.27)) (justify right))
)
(property "Footprint" "" (id 2) (at 204.47 118.745 0)
(property "Footprint" "" (id 2) (at 204.47 116.205 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "" (id 3) (at 204.47 118.745 0)
(property "Datasheet" "" (id 3) (at 204.47 116.205 0)
(effects (font (size 1.27 1.27)) hide)
)
(pin "1" (uuid 4b45b1b2-1561-41b4-bb17-2d0c870156cf))