From 6938437d3ff24dd8c5405a2886b404b078a5a9f6 Mon Sep 17 00:00:00 2001 From: Oskar Date: Wed, 23 Nov 2022 23:12:52 +0100 Subject: [PATCH] Resolve #2 by using standard header According to [Podio](https://podio.com/fasttubede/modulubergreifend/apps/tech-tutorials/items/52) --- sdcl-hardware/SDCL.kicad_sch | 4 +- sdcl-hardware/connections.kicad_sch | 158 ++++++++++++++++------------ 2 files changed, 93 insertions(+), 69 deletions(-) diff --git a/sdcl-hardware/SDCL.kicad_sch b/sdcl-hardware/SDCL.kicad_sch index d2512cd..5161edb 100644 --- a/sdcl-hardware/SDCL.kicad_sch +++ b/sdcl-hardware/SDCL.kicad_sch @@ -823,8 +823,8 @@ (path "/00000000-0000-0000-0000-000061bba8ea/00000000-0000-0000-0000-000061bd2d0b" (reference "H3") (unit 1) (value "MountingHole") (footprint "MountingHole:MountingHole_3.2mm_M3") ) - (path "/00000000-0000-0000-0000-000061bba8ea/00000000-0000-0000-0000-000061bdc487" - (reference "J1") (unit 1) (value "Debug_Connector") (footprint "Connector_PinHeader_2.54mm:PinHeader_2x03_P2.54mm_Horizontal") + (path "/00000000-0000-0000-0000-000061bba8ea/dbe2a649-f639-40ee-a279-bcfb7f4df9e9" + (reference "J1") (unit 1) (value "Debug_Connector") (footprint "") ) (path "/00000000-0000-0000-0000-000061bba8ea/00000000-0000-0000-0000-000061cd6444" (reference "J2") (unit 1) (value "Binder-M12-12P") (footprint "Custom:Binder_M12-A_12P_Female_NoSilk") diff --git a/sdcl-hardware/connections.kicad_sch b/sdcl-hardware/connections.kicad_sch index 26cf467..9bfeff0 100644 --- a/sdcl-hardware/connections.kicad_sch +++ b/sdcl-hardware/connections.kicad_sch @@ -15,11 +15,11 @@ ) (lib_symbols - (symbol "Connector_Generic:Conn_02x03_Odd_Even" (pin_names (offset 1.016) hide) (in_bom yes) (on_board yes) - (property "Reference" "J" (id 0) (at 1.27 5.08 0) + (symbol "Connector_Generic:Conn_01x06" (pin_names (offset 1.016) hide) (in_bom yes) (on_board yes) + (property "Reference" "J" (id 0) (at 0 7.62 0) (effects (font (size 1.27 1.27))) ) - (property "Value" "Conn_02x03_Odd_Even" (id 1) (at 1.27 -5.08 0) + (property "Value" "Conn_01x06" (id 1) (at 0 -10.16 0) (effects (font (size 1.27 1.27))) ) (property "Footprint" "" (id 2) (at 0 0 0) @@ -31,13 +31,21 @@ (property "ki_keywords" "connector" (id 4) (at 0 0 0) (effects (font (size 1.27 1.27)) hide) ) - (property "ki_description" "Generic connector, double row, 02x03, odd/even pin numbering scheme (row 1 odd numbers, row 2 even numbers), script generated (kicad-library-utils/schlib/autogen/connector/)" (id 5) (at 0 0 0) + (property "ki_description" "Generic connector, single row, 01x06, script generated (kicad-library-utils/schlib/autogen/connector/)" (id 5) (at 0 0 0) (effects (font (size 1.27 1.27)) hide) ) - (property "ki_fp_filters" "Connector*:*_2x??_*" (id 6) (at 0 0 0) + (property "ki_fp_filters" "Connector*:*_1x??_*" (id 6) (at 0 0 0) (effects (font (size 1.27 1.27)) hide) ) - (symbol "Conn_02x03_Odd_Even_1_1" + (symbol "Conn_01x06_1_1" + (rectangle (start -1.27 -7.493) (end 0 -7.747) + (stroke (width 0.1524) (type default) (color 0 0 0 0)) + (fill (type none)) + ) + (rectangle (start -1.27 -4.953) (end 0 -5.207) + (stroke (width 0.1524) (type default) (color 0 0 0 0)) + (fill (type none)) + ) (rectangle (start -1.27 -2.413) (end 0 -2.667) (stroke (width 0.1524) (type default) (color 0 0 0 0)) (fill (type none)) @@ -50,27 +58,19 @@ (stroke (width 0.1524) (type default) (color 0 0 0 0)) (fill (type none)) ) - (rectangle (start -1.27 3.81) (end 3.81 -3.81) + (rectangle (start -1.27 5.207) (end 0 4.953) + (stroke (width 0.1524) (type default) (color 0 0 0 0)) + (fill (type none)) + ) + (rectangle (start -1.27 6.35) (end 1.27 -8.89) (stroke (width 0.254) (type default) (color 0 0 0 0)) (fill (type background)) ) - (rectangle (start 3.81 -2.413) (end 2.54 -2.667) - (stroke (width 0.1524) (type default) (color 0 0 0 0)) - (fill (type none)) - ) - (rectangle (start 3.81 0.127) (end 2.54 -0.127) - (stroke (width 0.1524) (type default) (color 0 0 0 0)) - (fill (type none)) - ) - (rectangle (start 3.81 2.667) (end 2.54 2.413) - (stroke (width 0.1524) (type default) (color 0 0 0 0)) - (fill (type none)) - ) - (pin passive line (at -5.08 2.54 0) (length 3.81) + (pin passive line (at -5.08 5.08 0) (length 3.81) (name "Pin_1" (effects (font (size 1.27 1.27)))) (number "1" (effects (font (size 1.27 1.27)))) ) - (pin passive line (at 7.62 2.54 180) (length 3.81) + (pin passive line (at -5.08 2.54 0) (length 3.81) (name "Pin_2" (effects (font (size 1.27 1.27)))) (number "2" (effects (font (size 1.27 1.27)))) ) @@ -78,15 +78,15 @@ (name "Pin_3" (effects (font (size 1.27 1.27)))) (number "3" (effects (font (size 1.27 1.27)))) ) - (pin passive line (at 7.62 0 180) (length 3.81) + (pin passive line (at -5.08 -2.54 0) (length 3.81) (name "Pin_4" (effects (font (size 1.27 1.27)))) (number "4" (effects (font (size 1.27 1.27)))) ) - (pin passive line (at -5.08 -2.54 0) (length 3.81) + (pin passive line (at -5.08 -5.08 0) (length 3.81) (name "Pin_5" (effects (font (size 1.27 1.27)))) (number "5" (effects (font (size 1.27 1.27)))) ) - (pin passive line (at 7.62 -2.54 180) (length 3.81) + (pin passive line (at -5.08 -7.62 0) (length 3.81) (name "Pin_6" (effects (font (size 1.27 1.27)))) (number "6" (effects (font (size 1.27 1.27)))) ) @@ -810,10 +810,22 @@ (no_connect (at 139.7 177.8) (uuid 31844567-f20b-4f5f-ae7b-76b394fc91da)) (no_connect (at 139.7 182.88) (uuid 8538d3d2-c625-4779-9d4d-c5375d32ee5c)) + (wire (pts (xy 68.58 101.6) (xy 71.12 101.6)) + (stroke (width 0) (type default) (color 0 0 0 0)) + (uuid 035af4a1-8e5b-42be-b901-af9e10e6a35e) + ) + (wire (pts (xy 68.58 106.68) (xy 71.12 106.68)) + (stroke (width 0) (type default) (color 0 0 0 0)) + (uuid 08b138e6-1faf-4194-a5bc-3d9d1a7d10c2) + ) (wire (pts (xy 215.9 99.06) (xy 223.52 99.06)) (stroke (width 0) (type default) (color 0 0 0 0)) (uuid 09b6340a-377f-464f-be4a-7c279cfea079) ) + (wire (pts (xy 67.31 104.14) (xy 71.12 104.14)) + (stroke (width 0) (type default) (color 0 0 0 0)) + (uuid 0eff8d40-367c-4635-b915-d374311df146) + ) (wire (pts (xy 134.62 58.42) (xy 138.43 58.42)) (stroke (width 0) (type default) (color 0 0 0 0)) (uuid 1021ff65-e8c4-4f78-9612-2e9d36f85576) @@ -830,6 +842,10 @@ (stroke (width 0) (type default) (color 0 0 0 0)) (uuid 1cf966bf-37a7-4fdc-813b-93a4c9945627) ) + (wire (pts (xy 57.15 93.98) (xy 71.12 93.98)) + (stroke (width 0) (type default) (color 0 0 0 0)) + (uuid 2d2f1abe-1634-45cd-b7a2-53992fe6a584) + ) (wire (pts (xy 139.7 177.8) (xy 152.4 177.8)) (stroke (width 0) (type default) (color 0 0 0 0)) (uuid 31a68b24-bdb0-4aa8-b34b-04c3d72bdee7) @@ -850,6 +866,10 @@ (stroke (width 0) (type default) (color 0 0 0 0)) (uuid 5f57887d-10ff-49b7-b7e8-1f56d46bd863) ) + (wire (pts (xy 57.15 99.06) (xy 71.12 99.06)) + (stroke (width 0) (type default) (color 0 0 0 0)) + (uuid 71354938-bd85-41f6-bf14-9a7ee2a0e15b) + ) (wire (pts (xy 127 64.77) (xy 127 66.04)) (stroke (width 0) (type default) (color 0 0 0 0)) (uuid 844a89c0-aebe-4ade-9746-b23be356e9fa) @@ -878,6 +898,10 @@ (stroke (width 0) (type default) (color 0 0 0 0)) (uuid bec4930c-8b18-40ad-8ef4-3517685ba14e) ) + (wire (pts (xy 67.31 96.52) (xy 71.12 96.52)) + (stroke (width 0) (type default) (color 0 0 0 0)) + (uuid ce52f129-8544-4418-a98b-f8a65da9267a) + ) (wire (pts (xy 231.14 99.06) (xy 240.03 99.06)) (stroke (width 0) (type default) (color 0 0 0 0)) (uuid d180e530-1383-4bba-b9e5-212bbf81387d) @@ -886,10 +910,6 @@ (stroke (width 0) (type default) (color 0 0 0 0)) (uuid d5f726f2-f679-4a17-850f-526a2f0baf48) ) - (wire (pts (xy 69.85 100.33) (xy 68.58 100.33)) - (stroke (width 0) (type default) (color 0 0 0 0)) - (uuid df96ed10-c2fc-4ca9-8fab-09455f301b2b) - ) (wire (pts (xy 139.7 182.88) (xy 152.4 182.88)) (stroke (width 0) (type default) (color 0 0 0 0)) (uuid e34c6525-151d-49af-b3d7-856255b08626) @@ -920,31 +940,31 @@ (uuid a05b870a-10cb-4ae9-96a8-364bf392cd3c) ) - (global_label "TRACESWO" (shape input) (at 68.58 95.25 0) (fields_autoplaced) - (effects (font (size 1.27 1.27)) (justify left)) + (global_label "TRACESWO" (shape input) (at 68.58 106.68 180) (fields_autoplaced) + (effects (font (size 1.27 1.27)) (justify right)) (uuid 8350e6a4-99cc-4690-b924-c5bf86c6e7cc) - (property "Intersheet References" "${INTERSHEET_REFS}" (id 0) (at 0 0 0) + (property "Intersheet References" "${INTERSHEET_REFS}" (id 0) (at 137.16 201.93 0) (effects (font (size 1.27 1.27)) hide) ) ) - (global_label "NRST" (shape output) (at 55.88 97.79 180) (fields_autoplaced) + (global_label "NRST" (shape output) (at 67.31 104.14 180) (fields_autoplaced) (effects (font (size 1.27 1.27)) (justify right)) (uuid be08dc4c-c738-4d6b-bdd5-b039c9373a3e) - (property "Intersheet References" "${INTERSHEET_REFS}" (id 0) (at 0 0 0) + (property "Intersheet References" "${INTERSHEET_REFS}" (id 0) (at 11.43 6.35 0) (effects (font (size 1.27 1.27)) hide) ) ) - (global_label "SWCLK" (shape output) (at 68.58 97.79 0) (fields_autoplaced) - (effects (font (size 1.27 1.27)) (justify left)) + (global_label "SWCLK" (shape output) (at 67.31 96.52 180) (fields_autoplaced) + (effects (font (size 1.27 1.27)) (justify right)) (uuid dc4d3271-93b1-4825-b700-a444dde4ba42) - (property "Intersheet References" "${INTERSHEET_REFS}" (id 0) (at 0 0 0) + (property "Intersheet References" "${INTERSHEET_REFS}" (id 0) (at 135.89 194.31 0) (effects (font (size 1.27 1.27)) hide) ) ) - (global_label "SWDIO" (shape bidirectional) (at 55.88 95.25 180) (fields_autoplaced) + (global_label "SWDIO" (shape bidirectional) (at 68.58 101.6 180) (fields_autoplaced) (effects (font (size 1.27 1.27)) (justify right)) (uuid e61cbee1-890f-43ca-9f8e-dfbda2b01f76) - (property "Intersheet References" "${INTERSHEET_REFS}" (id 0) (at 0 0 0) + (property "Intersheet References" "${INTERSHEET_REFS}" (id 0) (at 12.7 6.35 0) (effects (font (size 1.27 1.27)) hide) ) ) @@ -1186,52 +1206,33 @@ (pin "1" (uuid 97ce7052-fa7a-476d-9a1a-75d77fb0a6d3)) ) - (symbol (lib_id "Connector_Generic:Conn_02x03_Odd_Even") (at 63.5 97.79 180) (unit 1) - (in_bom yes) (on_board yes) - (uuid 00000000-0000-0000-0000-000061bdc487) - (property "Reference" "J1" (id 0) (at 62.23 102.87 0)) - (property "Value" "Debug_Connector" (id 1) (at 62.23 91.44 0)) - (property "Footprint" "Connector_PinHeader_2.54mm:PinHeader_2x03_P2.54mm_Horizontal" (id 2) (at 63.5 97.79 0) - (effects (font (size 1.27 1.27)) hide) - ) - (property "Datasheet" "~" (id 3) (at 63.5 97.79 0) - (effects (font (size 1.27 1.27)) hide) - ) - (pin "1" (uuid 096e3a8d-2e08-40d9-91c5-6bab41178b30)) - (pin "2" (uuid 0f6ec4d6-840f-49be-b34a-db1062ea0021)) - (pin "3" (uuid 19d9bfba-584e-4d9c-b67e-3ee1d6610b50)) - (pin "4" (uuid 9e3781c9-4b2f-4d44-854b-d54120f6658c)) - (pin "5" (uuid dbe35b61-35be-4f8b-8387-0c639981acce)) - (pin "6" (uuid e2f47474-60b1-43c1-9642-a50294fb2e53)) - ) - - (symbol (lib_id "power:+3.3V") (at 55.88 100.33 0) (mirror x) (unit 1) + (symbol (lib_id "power:+3.3V") (at 57.15 93.98 0) (mirror y) (unit 1) (in_bom yes) (on_board yes) (uuid 00000000-0000-0000-0000-000061bdc48d) - (property "Reference" "#PWR0141" (id 0) (at 55.88 96.52 0) + (property "Reference" "#PWR0141" (id 0) (at 57.15 97.79 0) (effects (font (size 1.27 1.27)) hide) ) - (property "Value" "+3.3V" (id 1) (at 56.261 104.7242 0)) - (property "Footprint" "" (id 2) (at 55.88 100.33 0) + (property "Value" "+3.3V" (id 1) (at 56.769 89.5858 0)) + (property "Footprint" "" (id 2) (at 57.15 93.98 0) (effects (font (size 1.27 1.27)) hide) ) - (property "Datasheet" "" (id 3) (at 55.88 100.33 0) + (property "Datasheet" "" (id 3) (at 57.15 93.98 0) (effects (font (size 1.27 1.27)) hide) ) (pin "1" (uuid 965ee51b-06fe-4d5e-b928-f1e6e6c8ed6a)) ) - (symbol (lib_id "power:GND") (at 69.85 100.33 0) (mirror y) (unit 1) + (symbol (lib_id "power:GND") (at 57.15 99.06 0) (mirror y) (unit 1) (in_bom yes) (on_board yes) (uuid 00000000-0000-0000-0000-000061bdc493) - (property "Reference" "#PWR0164" (id 0) (at 69.85 106.68 0) + (property "Reference" "#PWR0164" (id 0) (at 57.15 105.41 0) (effects (font (size 1.27 1.27)) hide) ) - (property "Value" "GND" (id 1) (at 69.723 104.7242 0)) - (property "Footprint" "" (id 2) (at 69.85 100.33 0) + (property "Value" "GND" (id 1) (at 57.023 103.4542 0)) + (property "Footprint" "" (id 2) (at 57.15 99.06 0) (effects (font (size 1.27 1.27)) hide) ) - (property "Datasheet" "" (id 3) (at 69.85 100.33 0) + (property "Datasheet" "" (id 3) (at 57.15 99.06 0) (effects (font (size 1.27 1.27)) hide) ) (pin "1" (uuid 661f1b6d-08ed-4fad-9484-3c3bdac1edc0)) @@ -1350,4 +1351,27 @@ (pin "1" (uuid 2bcba98f-bf10-499c-91c3-f99d0ede000e)) (pin "2" (uuid d61957ad-e908-46fe-b36a-4ea291e48ab6)) ) + + (symbol (lib_id "Connector_Generic:Conn_01x06") (at 76.2 99.06 0) (unit 1) + (in_bom yes) (on_board yes) (fields_autoplaced) + (uuid dbe2a649-f639-40ee-a279-bcfb7f4df9e9) + (property "Reference" "J1" (id 0) (at 78.74 99.0599 0) + (effects (font (size 1.27 1.27)) (justify left)) + ) + (property "Value" "Debug_Connector" (id 1) (at 78.74 101.5999 0) + (effects (font (size 1.27 1.27)) (justify left)) + ) + (property "Footprint" "" (id 2) (at 76.2 99.06 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Datasheet" "~" (id 3) (at 76.2 99.06 0) + (effects (font (size 1.27 1.27)) hide) + ) + (pin "1" (uuid 2bd93d2f-419c-450b-8303-0ea3c1a95ea1)) + (pin "2" (uuid df78b579-6945-432b-8e70-8e877adb48ed)) + (pin "3" (uuid e9edc03e-9216-4ccb-8a0c-103c4f2dd792)) + (pin "4" (uuid af68a625-0ca4-44d3-9630-2695b07e3445)) + (pin "5" (uuid 2f78a602-64fd-496b-a226-7f4bf0483d70)) + (pin "6" (uuid 905dc057-820e-4b6a-8a32-4c50ca397997)) + ) )