From 35594de3f8f9b6fbf01f9a28f6a836ef11cbdf1a Mon Sep 17 00:00:00 2001 From: lonkaars Date: Fri, 24 Mar 2023 18:21:07 +0100 Subject: add power source toggle switch to hardware schematics --- docs/hardware/hardware.kicad_sch | 239 ++++++++++++++++++++++++++++++--------- 1 file changed, 185 insertions(+), 54 deletions(-) (limited to 'docs/hardware/hardware.kicad_sch') diff --git a/docs/hardware/hardware.kicad_sch b/docs/hardware/hardware.kicad_sch index 6d2b9d4..91d767c 100644 --- a/docs/hardware/hardware.kicad_sch +++ b/docs/hardware/hardware.kicad_sch @@ -594,6 +594,64 @@ ) ) ) + (symbol "Switch:SW_SPDT" (pin_names (offset 0) hide) (in_bom yes) (on_board yes) + (property "Reference" "SW" (at 0 4.318 0) + (effects (font (size 1.27 1.27))) + ) + (property "Value" "SW_SPDT" (at 0 -5.08 0) + (effects (font (size 1.27 1.27))) + ) + (property "Footprint" "" (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Datasheet" "~" (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "ki_keywords" "switch single-pole double-throw spdt ON-ON" (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "ki_description" "Switch, single pole double throw" (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + (symbol "SW_SPDT_0_0" + (circle (center -2.032 0) (radius 0.508) + (stroke (width 0) (type default)) + (fill (type none)) + ) + (circle (center 2.032 -2.54) (radius 0.508) + (stroke (width 0) (type default)) + (fill (type none)) + ) + ) + (symbol "SW_SPDT_0_1" + (polyline + (pts + (xy -1.524 0.254) + (xy 1.651 2.286) + ) + (stroke (width 0) (type default)) + (fill (type none)) + ) + (circle (center 2.032 2.54) (radius 0.508) + (stroke (width 0) (type default)) + (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 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 "power:GND" (power) (pin_names (offset 0)) (in_bom yes) (on_board yes) (property "Reference" "#PWR" (at 0 -6.35 0) (effects (font (size 1.27 1.27)) hide) @@ -694,36 +752,41 @@ (junction (at 182.88 52.07) (diameter 0) (color 0 0 0 0) (uuid 0c233170-6154-4f79-acdf-3beff8462c46) ) - (junction (at 107.95 57.15) (diameter 0) (color 0 0 0 0) + (junction (at 106.68 57.15) (diameter 0) (color 0 0 0 0) (uuid 187f32a7-5614-462c-84d1-e820dde3c496) ) - (junction (at 138.43 57.15) (diameter 0) (color 0 0 0 0) + (junction (at 135.89 57.15) (diameter 0) (color 0 0 0 0) (uuid 2174cb6b-c79f-4d1c-96d8-b1adb3b7338d) ) (junction (at 43.18 72.39) (diameter 0) (color 0 0 0 0) (uuid 28058d45-2416-4bed-894d-3b8746e17ac3) ) + (junction (at 91.44 59.69) (diameter 0) (color 0 0 0 0) + (uuid 2a65d105-1d31-4fbd-9121-f50e11d148c1) + ) (junction (at 198.12 57.15) (diameter 0) (color 0 0 0 0) (uuid 6a1708f3-813e-401c-b56f-c8f3202ae3ee) ) (junction (at 182.88 40.64) (diameter 0) (color 0 0 0 0) (uuid 85f57cc9-0615-4399-bcd6-7eddba943091) ) - (junction (at 138.43 46.99) (diameter 0) (color 0 0 0 0) + (junction (at 135.89 46.99) (diameter 0) (color 0 0 0 0) (uuid 8e37b9b4-e2c5-440a-907e-32c8e287d602) ) (junction (at 226.06 52.07) (diameter 0) (color 0 0 0 0) (uuid 92660bf0-e238-491d-b145-d29ffae46cfb) ) - (junction (at 127 57.15) (diameter 0) (color 0 0 0 0) + (junction (at 124.46 57.15) (diameter 0) (color 0 0 0 0) (uuid f9346bcf-bcee-4066-9d7e-5f218a6106bc) ) + (no_connect (at 76.2 62.23) (uuid 0c613add-7daa-424e-b621-5e6ee9d213c3)) + (wire (pts (xy 195.58 35.56) (xy 198.12 35.56)) (stroke (width 0) (type default)) (uuid 16285005-f8b0-46e4-8909-077c4ab4000d) ) - (wire (pts (xy 138.43 57.15) (xy 138.43 55.88)) + (wire (pts (xy 135.89 57.15) (xy 135.89 55.88)) (stroke (width 0) (type default)) (uuid 18f87e4d-7d47-4be2-8b86-ac34c86eeddc) ) @@ -731,15 +794,19 @@ (stroke (width 0) (type default)) (uuid 2dd41dc3-6917-4de7-a1d0-4ca3bf5d20dd) ) - (wire (pts (xy 87.63 57.15) (xy 91.44 57.15)) + (wire (pts (xy 88.9 57.15) (xy 91.44 57.15)) (stroke (width 0) (type default)) (uuid 33605525-db96-4fc4-83db-762a9917be6a) ) - (wire (pts (xy 127 57.15) (xy 127 62.23)) + (wire (pts (xy 91.44 62.23) (xy 91.44 59.69)) + (stroke (width 0) (type default)) + (uuid 35bb4d6d-8452-40d3-845e-5b5e3c8e88df) + ) + (wire (pts (xy 124.46 57.15) (xy 124.46 62.23)) (stroke (width 0) (type default)) (uuid 3635d179-f84b-4254-a3d9-74230330d7ca) ) - (wire (pts (xy 137.16 46.99) (xy 138.43 46.99)) + (wire (pts (xy 134.62 46.99) (xy 135.89 46.99)) (stroke (width 0) (type default)) (uuid 37b0f2c3-b47b-4fa0-91c8-f959a6123d1a) ) @@ -747,7 +814,7 @@ (stroke (width 0) (type default)) (uuid 3d78f865-b244-4467-85a5-f134a6fe7a8b) ) - (wire (pts (xy 107.95 57.15) (xy 107.95 63.5)) + (wire (pts (xy 106.68 57.15) (xy 106.68 62.23)) (stroke (width 0) (type default)) (uuid 441703d7-220a-4fd3-842e-3e872a353b0f) ) @@ -755,7 +822,7 @@ (stroke (width 0) (type default)) (uuid 46da50f0-86f5-4f8b-8cc1-b68830c8a1ff) ) - (wire (pts (xy 138.43 48.26) (xy 138.43 46.99)) + (wire (pts (xy 135.89 48.26) (xy 135.89 46.99)) (stroke (width 0) (type default)) (uuid 4b12ac7b-e0d9-45b4-940d-e5c4a5788c9f) ) @@ -763,6 +830,10 @@ (stroke (width 0) (type default)) (uuid 4b2f3238-b398-4e80-838a-331b52023870) ) + (wire (pts (xy 86.36 59.69) (xy 91.44 59.69)) + (stroke (width 0) (type default)) + (uuid 587edda2-e3d1-4765-8960-bf0ec6a14c8d) + ) (wire (pts (xy 210.82 38.1) (xy 215.9 38.1)) (stroke (width 0) (type default)) (uuid 59e2d274-24b2-47fa-8f47-53e2ab0fda23) @@ -787,7 +858,7 @@ (stroke (width 0) (type default)) (uuid 6b60a3c2-f6e1-4ace-b7a4-4ccfedb6e858) ) - (wire (pts (xy 138.43 57.15) (xy 147.32 57.15)) + (wire (pts (xy 135.89 57.15) (xy 144.78 57.15)) (stroke (width 0) (type default)) (uuid 7002e2ec-74e0-4dab-931f-b453f446fdc0) ) @@ -799,7 +870,11 @@ (stroke (width 0) (type default)) (uuid 7474c9f5-01bd-4d96-9b62-a478f4ef2f1e) ) - (wire (pts (xy 147.32 46.99) (xy 138.43 46.99)) + (wire (pts (xy 104.14 59.69) (xy 104.14 62.23)) + (stroke (width 0) (type default)) + (uuid 767dea16-ef59-4c31-b22e-cf863b1a2acf) + ) + (wire (pts (xy 144.78 46.99) (xy 135.89 46.99)) (stroke (width 0) (type default)) (uuid 7d445739-65e9-43b3-8322-97804387d87c) ) @@ -823,7 +898,7 @@ (stroke (width 0) (type default)) (uuid a5a8d692-848a-403e-b59a-4ea817b451e5) ) - (wire (pts (xy 124.46 46.99) (xy 129.54 46.99)) + (wire (pts (xy 121.92 46.99) (xy 127 46.99)) (stroke (width 0) (type default)) (uuid b056940d-08b7-4eb9-8d4f-941533d27271) ) @@ -839,7 +914,7 @@ (stroke (width 0) (type default)) (uuid c1ccb75d-fe3a-46ba-8728-27d04d458fa3) ) - (wire (pts (xy 127 57.15) (xy 138.43 57.15)) + (wire (pts (xy 124.46 57.15) (xy 135.89 57.15)) (stroke (width 0) (type default)) (uuid c34692e8-e9c5-4e2b-a88a-b5369411831d) ) @@ -851,10 +926,14 @@ (stroke (width 0) (type default)) (uuid ca7a208b-a3bd-40b8-bfc3-1729de7d952e) ) - (wire (pts (xy 107.95 57.15) (xy 111.76 57.15)) + (wire (pts (xy 106.68 57.15) (xy 109.22 57.15)) (stroke (width 0) (type default)) (uuid d064f681-efb4-4435-86f9-1f13b6b2bd3a) ) + (wire (pts (xy 104.14 62.23) (xy 91.44 62.23)) + (stroke (width 0) (type default)) + (uuid d209aac4-ea90-44f6-b831-997f75c692cc) + ) (wire (pts (xy 182.88 29.21) (xy 182.88 40.64)) (stroke (width 0) (type default)) (uuid d279f584-fb21-473a-b4d3-4624732a578a) @@ -867,15 +946,15 @@ (stroke (width 0) (type default)) (uuid d445f0f7-2aab-4e79-98e1-8360cf8d3a7b) ) - (wire (pts (xy 147.32 57.15) (xy 147.32 49.53)) + (wire (pts (xy 144.78 57.15) (xy 144.78 49.53)) (stroke (width 0) (type default)) (uuid d6fe7fd7-07cb-4b0e-b3fc-5762e8fbe616) ) - (wire (pts (xy 87.63 57.15) (xy 87.63 62.23)) + (wire (pts (xy 88.9 57.15) (xy 88.9 62.23)) (stroke (width 0) (type default)) (uuid e31c03ce-f409-4173-851d-158a3ce3f417) ) - (wire (pts (xy 104.14 57.15) (xy 107.95 57.15)) + (wire (pts (xy 104.14 57.15) (xy 106.68 57.15)) (stroke (width 0) (type default)) (uuid f8885bb5-7050-4b23-af4c-f7697c057416) ) @@ -883,7 +962,7 @@ (stroke (width 0) (type default)) (uuid f9db127e-de5f-40c0-83b0-43004a7b3d65) ) - (wire (pts (xy 124.46 57.15) (xy 127 57.15)) + (wire (pts (xy 121.92 57.15) (xy 124.46 57.15)) (stroke (width 0) (type default)) (uuid fc704422-e8f0-485b-a194-0746bf18debc) ) @@ -1099,19 +1178,19 @@ ) ) - (symbol (lib_id "power:GND") (at 127 62.23 0) (unit 1) + (symbol (lib_id "power:GND") (at 124.46 62.23 0) (unit 1) (in_bom yes) (on_board yes) (dnp no) (fields_autoplaced) (uuid 07a3f9f8-a4fe-4dc9-b155-663dc89e5351) - (property "Reference" "#PWR06" (at 127 68.58 0) + (property "Reference" "#PWR06" (at 124.46 68.58 0) (effects (font (size 1.27 1.27)) hide) ) - (property "Value" "GND" (at 127 67.31 0) + (property "Value" "GND" (at 124.46 67.31 0) (effects (font (size 1.27 1.27))) ) - (property "Footprint" "" (at 127 62.23 0) + (property "Footprint" "" (at 124.46 62.23 0) (effects (font (size 1.27 1.27)) hide) ) - (property "Datasheet" "" (at 127 62.23 0) + (property "Datasheet" "" (at 124.46 62.23 0) (effects (font (size 1.27 1.27)) hide) ) (pin "1" (uuid 11696d94-3c2b-413f-b2b8-45f794bb0d41)) @@ -1124,6 +1203,33 @@ ) ) + (symbol (lib_id "Switch:SW_SPDT") (at 81.28 59.69 0) (mirror y) (unit 1) + (in_bom yes) (on_board yes) (dnp no) + (uuid 105049d1-1340-44f8-ae8e-8ec4a4f135fd) + (property "Reference" "SW7" (at 82.55 63.5 0) + (effects (font (size 1.27 1.27))) + ) + (property "Value" "STM_PWR_SOURCE" (at 76.2 66.04 0) + (effects (font (size 1.27 1.27))) + ) + (property "Footprint" "Button_Switch_THT:SW_Slide_1P2T_CK_OS102011MS2Q" (at 81.28 59.69 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Datasheet" "~" (at 81.28 59.69 0) + (effects (font (size 1.27 1.27)) hide) + ) + (pin "1" (uuid ebb572e7-818a-4da9-bbc0-952e916fe1eb)) + (pin "2" (uuid 5e4fb4d0-a64e-4064-ab6d-ee35fb21a62e)) + (pin "3" (uuid 747d6c3e-53d4-473b-aeb7-e3c32e2abc5f)) + (instances + (project "hardware" + (path "/9c6bd711-93fb-4327-8ec4-bcfe43c3c3c8" + (reference "SW7") (unit 1) + ) + ) + ) + ) + (symbol (lib_id "Switch:SW_Push_SPDT") (at 220.98 29.21 0) (mirror y) (unit 1) (in_bom yes) (on_board yes) (dnp no) (uuid 1425e690-937f-4e6f-9aa7-93a468f68098) @@ -1201,19 +1307,19 @@ ) ) - (symbol (lib_id "Connector_Audio:AudioJack2") (at 152.4 49.53 0) (mirror y) (unit 1) + (symbol (lib_id "Connector_Audio:AudioJack2") (at 149.86 49.53 0) (mirror y) (unit 1) (in_bom yes) (on_board yes) (dnp no) (fields_autoplaced) (uuid 3e67b72a-3d20-484f-a9eb-aef187654a16) - (property "Reference" "J2" (at 157.48 48.26 0) + (property "Reference" "J2" (at 154.94 48.26 0) (effects (font (size 1.27 1.27)) (justify right)) ) - (property "Value" "AudioJack2" (at 157.48 50.8 0) + (property "Value" "AudioJack2" (at 154.94 50.8 0) (effects (font (size 1.27 1.27)) (justify right)) ) - (property "Footprint" "Connector_Audio:Jack_3.5mm_CUI_SJ1-3523N_Horizontal" (at 152.4 49.53 0) + (property "Footprint" "Connector_Audio:Jack_3.5mm_CUI_SJ1-3523N_Horizontal" (at 149.86 49.53 0) (effects (font (size 1.27 1.27)) hide) ) - (property "Datasheet" "~" (at 152.4 49.53 0) + (property "Datasheet" "~" (at 149.86 49.53 0) (effects (font (size 1.27 1.27)) hide) ) (pin "S" (uuid 5f04d31a-cbcd-498b-825b-4ee78022c589)) @@ -1337,6 +1443,31 @@ ) ) + (symbol (lib_id "power:VCC") (at 76.2 57.15 0) (unit 1) + (in_bom yes) (on_board yes) (dnp no) (fields_autoplaced) + (uuid 5f479914-e4f7-4815-8e01-a9a78c526859) + (property "Reference" "#PWR08" (at 76.2 60.96 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Value" "VCC" (at 76.2 53.34 0) + (effects (font (size 1.27 1.27))) + ) + (property "Footprint" "" (at 76.2 57.15 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Datasheet" "" (at 76.2 57.15 0) + (effects (font (size 1.27 1.27)) hide) + ) + (pin "1" (uuid 9e547581-a05c-4726-811a-fa0bd731c40a)) + (instances + (project "hardware" + (path "/9c6bd711-93fb-4327-8ec4-bcfe43c3c3c8" + (reference "#PWR08") (unit 1) + ) + ) + ) + ) + (symbol (lib_id "Connector_Generic:Conn_02x06_Top_Bottom") (at 96.52 52.07 0) (unit 1) (in_bom yes) (on_board yes) (dnp no) (fields_autoplaced) (uuid 62426352-bbab-485a-87e4-f269b920c8e7) @@ -1373,19 +1504,19 @@ ) ) - (symbol (lib_id "Device:R") (at 133.35 46.99 90) (unit 1) + (symbol (lib_id "Device:R") (at 130.81 46.99 90) (unit 1) (in_bom yes) (on_board yes) (dnp no) (fields_autoplaced) (uuid 764d0f2f-e00d-4d6e-82b0-da17c8d83559) - (property "Reference" "R1" (at 133.35 41.91 90) + (property "Reference" "R1" (at 130.81 41.91 90) (effects (font (size 1.27 1.27))) ) - (property "Value" "R" (at 133.35 44.45 90) + (property "Value" "R" (at 130.81 44.45 90) (effects (font (size 1.27 1.27))) ) - (property "Footprint" "Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_Horizontal" (at 133.35 48.768 90) + (property "Footprint" "Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_Horizontal" (at 130.81 48.768 90) (effects (font (size 1.27 1.27)) hide) ) - (property "Datasheet" "~" (at 133.35 46.99 0) + (property "Datasheet" "~" (at 130.81 46.99 0) (effects (font (size 1.27 1.27)) hide) ) (pin "1" (uuid efe7aa07-cc4f-4dd5-abcd-f0f48bd60b88)) @@ -1399,19 +1530,19 @@ ) ) - (symbol (lib_id "power:GND") (at 107.95 63.5 0) (unit 1) + (symbol (lib_id "power:GND") (at 106.68 62.23 0) (unit 1) (in_bom yes) (on_board yes) (dnp no) (fields_autoplaced) (uuid 7d38a0b2-21d4-409f-9477-120c1087fb75) - (property "Reference" "#PWR07" (at 107.95 69.85 0) + (property "Reference" "#PWR07" (at 106.68 68.58 0) (effects (font (size 1.27 1.27)) hide) ) - (property "Value" "GND" (at 107.95 68.58 0) + (property "Value" "GND" (at 106.68 67.31 0) (effects (font (size 1.27 1.27))) ) - (property "Footprint" "" (at 107.95 63.5 0) + (property "Footprint" "" (at 106.68 62.23 0) (effects (font (size 1.27 1.27)) hide) ) - (property "Datasheet" "" (at 107.95 63.5 0) + (property "Datasheet" "" (at 106.68 62.23 0) (effects (font (size 1.27 1.27)) hide) ) (pin "1" (uuid 4b35c9a6-1fac-47b4-8558-16e87598963f)) @@ -1424,19 +1555,19 @@ ) ) - (symbol (lib_id "Device:C") (at 138.43 52.07 0) (unit 1) + (symbol (lib_id "Device:C") (at 135.89 52.07 0) (unit 1) (in_bom yes) (on_board yes) (dnp no) (fields_autoplaced) (uuid 88616a98-32a9-45a4-ad80-7b1dbb105eda) - (property "Reference" "C1" (at 142.24 51.435 0) + (property "Reference" "C1" (at 139.7 51.435 0) (effects (font (size 1.27 1.27)) (justify left)) ) - (property "Value" "C" (at 142.24 53.975 0) + (property "Value" "C" (at 139.7 53.975 0) (effects (font (size 1.27 1.27)) (justify left)) ) - (property "Footprint" "Capacitor_THT:C_Disc_D6.0mm_W2.5mm_P5.00mm" (at 139.3952 55.88 0) + (property "Footprint" "Capacitor_THT:C_Disc_D6.0mm_W2.5mm_P5.00mm" (at 136.8552 55.88 0) (effects (font (size 1.27 1.27)) hide) ) - (property "Datasheet" "~" (at 138.43 52.07 0) + (property "Datasheet" "~" (at 135.89 52.07 0) (effects (font (size 1.27 1.27)) hide) ) (pin "1" (uuid 2e4adc0b-f7e2-4883-97a8-f94df64dbd8a)) @@ -1677,19 +1808,19 @@ ) ) - (symbol (lib_id "power:GND") (at 87.63 62.23 0) (unit 1) + (symbol (lib_id "power:GND") (at 88.9 62.23 0) (unit 1) (in_bom yes) (on_board yes) (dnp no) (fields_autoplaced) (uuid fc17c221-25c0-4f40-b58b-a20f0652bf18) - (property "Reference" "#PWR05" (at 87.63 68.58 0) + (property "Reference" "#PWR05" (at 88.9 68.58 0) (effects (font (size 1.27 1.27)) hide) ) - (property "Value" "GND" (at 87.63 67.31 0) + (property "Value" "GND" (at 88.9 67.31 0) (effects (font (size 1.27 1.27))) ) - (property "Footprint" "" (at 87.63 62.23 0) + (property "Footprint" "" (at 88.9 62.23 0) (effects (font (size 1.27 1.27)) hide) ) - (property "Datasheet" "" (at 87.63 62.23 0) + (property "Datasheet" "" (at 88.9 62.23 0) (effects (font (size 1.27 1.27)) hide) ) (pin "1" (uuid 00533e7a-0505-41b6-b5e2-f52df8bab4fb)) @@ -1702,19 +1833,19 @@ ) ) - (symbol (lib_id "Connector_Generic:Conn_02x06_Top_Bottom") (at 116.84 52.07 0) (unit 1) + (symbol (lib_id "Connector_Generic:Conn_02x06_Top_Bottom") (at 114.3 52.07 0) (unit 1) (in_bom yes) (on_board yes) (dnp no) (fields_autoplaced) (uuid fe7b1f01-3f0e-49f0-9674-7a7e79bae509) - (property "Reference" "J6" (at 118.11 41.91 0) + (property "Reference" "J6" (at 115.57 41.91 0) (effects (font (size 1.27 1.27))) ) - (property "Value" "BASYS_JB" (at 118.11 44.45 0) + (property "Value" "BASYS_JB" (at 115.57 44.45 0) (effects (font (size 1.27 1.27))) ) - (property "Footprint" "Connector_PinHeader_2.54mm:PinHeader_2x06_P2.54mm_Vertical" (at 116.84 52.07 0) + (property "Footprint" "Connector_PinHeader_2.54mm:PinHeader_2x06_P2.54mm_Vertical" (at 114.3 52.07 0) (effects (font (size 1.27 1.27)) hide) ) - (property "Datasheet" "~" (at 116.84 52.07 0) + (property "Datasheet" "~" (at 114.3 52.07 0) (effects (font (size 1.27 1.27)) hide) ) (pin "1" (uuid 0321aaf6-2626-45de-b511-1c2c91087b99)) -- cgit v1.2.3