From 6ae68e22095f9bbe72155242861a63537fdb3f09 Mon Sep 17 00:00:00 2001 From: Oskar Date: Thu, 24 Nov 2022 01:07:11 +0100 Subject: [PATCH] Fix #9 by moving LED to 12V SDC in signal --- sdcl-hardware/SDCL.kicad_sch | 16 ++-- sdcl-hardware/connections.kicad_sch | 144 +++++++++++++++++++++++++++- sdcl-hardware/cu.kicad_sch | 4 +- sdcl-hardware/npl.kicad_sch | 66 +------------ 4 files changed, 154 insertions(+), 76 deletions(-) diff --git a/sdcl-hardware/SDCL.kicad_sch b/sdcl-hardware/SDCL.kicad_sch index f204e9f..d6ba29a 100644 --- a/sdcl-hardware/SDCL.kicad_sch +++ b/sdcl-hardware/SDCL.kicad_sch @@ -678,9 +678,6 @@ (path "/00000000-0000-0000-0000-000061bba8ea/00000000-0000-0000-0000-000061bdc493" (reference "#PWR0164") (unit 1) (value "GND") (footprint "") ) - (path "/00000000-0000-0000-0000-000061a897b7/00000000-0000-0000-0000-000061d457c9" - (reference "#PWR0166") (unit 1) (value "GND") (footprint "") - ) (path "/00000000-0000-0000-0000-000061bba8ea/0c9965bf-d700-4f1b-b92b-391ed6b70e26" (reference "#PWR?") (unit 1) (value "GND") (footprint "") ) @@ -702,6 +699,9 @@ (path "/ef87f248-300e-4271-887f-f4d38b41fe25/d9e1eadb-f1e9-4dac-a25f-5a0b53d72c11" (reference "#PWR?") (unit 1) (value "GND") (footprint "") ) + (path "/00000000-0000-0000-0000-000061bba8ea/f42d7465-9e12-4af1-a1d0-c713491bd188" + (reference "#PWR?") (unit 1) (value "GND") (footprint "") + ) (path "/ef87f248-300e-4271-887f-f4d38b41fe25/3dd3720f-6b63-46eb-a7d2-e91d25955005" (reference "AMC") (unit 1) (value "SW_Push") (footprint "") ) @@ -810,8 +810,8 @@ (path "/00000000-0000-0000-0000-000061a897b7/00000000-0000-0000-0000-000061ba7667" (reference "D13") (unit 1) (value "Green LED") (footprint "Diode_SMD:D_0603_1608Metric_Pad1.05x0.95mm_HandSolder") ) - (path "/00000000-0000-0000-0000-000061a897b7/00000000-0000-0000-0000-000061d457c3" - (reference "D14") (unit 1) (value "Green LED") (footprint "Diode_SMD:D_0603_1608Metric_Pad1.05x0.95mm_HandSolder") + (path "/00000000-0000-0000-0000-000061bba8ea/57ed3a79-1dcc-473d-8295-1fa4f11cb112" + (reference "D?") (unit 1) (value "Green LED") (footprint "Diode_SMD:D_0603_1608Metric_Pad1.05x0.95mm_HandSolder") ) (path "/00000000-0000-0000-0000-000061bba8ea/00000000-0000-0000-0000-000061bd2819" (reference "H1") (unit 1) (value "MountingHole") (footprint "MountingHole:MountingHole_3.2mm_M3") @@ -855,9 +855,6 @@ (path "/00000000-0000-0000-0000-000061bce4f2/00000000-0000-0000-0000-000061b519d5" (reference "R12") (unit 1) (value "10k") (footprint "Resistor_SMD:R_0603_1608Metric_Pad1.05x0.95mm_HandSolder") ) - (path "/00000000-0000-0000-0000-000061a897b7/00000000-0000-0000-0000-000061d457cf" - (reference "R13") (unit 1) (value "510") (footprint "Resistor_SMD:R_0603_1608Metric_Pad1.05x0.95mm_HandSolder") - ) (path "/00000000-0000-0000-0000-000061ad63d5/00000000-0000-0000-0000-000061b9b7fb" (reference "R14") (unit 1) (value "300") (footprint "Resistor_SMD:R_0603_1608Metric_Pad1.05x0.95mm_HandSolder") ) @@ -885,6 +882,9 @@ (path "/00000000-0000-0000-0000-000061a897b7/00000000-0000-0000-0000-000061ba766d" (reference "R22") (unit 1) (value "510") (footprint "Resistor_SMD:R_0603_1608Metric_Pad1.05x0.95mm_HandSolder") ) + (path "/00000000-0000-0000-0000-000061bba8ea/01f00752-1abe-4c69-a0b9-58a7e1f8b4df" + (reference "R?") (unit 1) (value "5k") (footprint "Resistor_SMD:R_0603_1608Metric_Pad1.05x0.95mm_HandSolder") + ) (path "/00000000-0000-0000-0000-000061bba8ea/1e0a3f6d-c460-4b8f-8462-179cb02b89ae" (reference "R?") (unit 1) (value "24k") (footprint "Resistor_SMD:R_0603_1608Metric_Pad1.05x0.95mm_HandSolder") ) diff --git a/sdcl-hardware/connections.kicad_sch b/sdcl-hardware/connections.kicad_sch index bdab368..ec51a8e 100644 --- a/sdcl-hardware/connections.kicad_sch +++ b/sdcl-hardware/connections.kicad_sch @@ -578,6 +578,89 @@ ) ) ) + (symbol "Device:LED" (pin_numbers hide) (pin_names (offset 1.016) hide) (in_bom yes) (on_board yes) + (property "Reference" "D" (id 0) (at 0 2.54 0) + (effects (font (size 1.27 1.27))) + ) + (property "Value" "LED" (id 1) (at 0 -2.54 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" "LED diode" (id 4) (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "ki_description" "Light emitting diode" (id 5) (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "ki_fp_filters" "LED* LED_SMD:* LED_THT:*" (id 6) (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + (symbol "LED_0_1" + (polyline + (pts + (xy -1.27 -1.27) + (xy -1.27 1.27) + ) + (stroke (width 0.254) (type default) (color 0 0 0 0)) + (fill (type none)) + ) + (polyline + (pts + (xy -1.27 0) + (xy 1.27 0) + ) + (stroke (width 0) (type default) (color 0 0 0 0)) + (fill (type none)) + ) + (polyline + (pts + (xy 1.27 -1.27) + (xy 1.27 1.27) + (xy -1.27 0) + (xy 1.27 -1.27) + ) + (stroke (width 0.254) (type default) (color 0 0 0 0)) + (fill (type none)) + ) + (polyline + (pts + (xy -3.048 -0.762) + (xy -4.572 -2.286) + (xy -3.81 -2.286) + (xy -4.572 -2.286) + (xy -4.572 -1.524) + ) + (stroke (width 0) (type default) (color 0 0 0 0)) + (fill (type none)) + ) + (polyline + (pts + (xy -1.778 -0.762) + (xy -3.302 -2.286) + (xy -2.54 -2.286) + (xy -3.302 -2.286) + (xy -3.302 -1.524) + ) + (stroke (width 0) (type default) (color 0 0 0 0)) + (fill (type none)) + ) + ) + (symbol "LED_1_1" + (pin passive line (at -3.81 0 0) (length 2.54) + (name "K" (effects (font (size 1.27 1.27)))) + (number "1" (effects (font (size 1.27 1.27)))) + ) + (pin passive line (at 3.81 0 180) (length 2.54) + (name "A" (effects (font (size 1.27 1.27)))) + (number "2" (effects (font (size 1.27 1.27)))) + ) + ) + ) (symbol "Device:R" (pin_numbers hide) (pin_names (offset 0)) (in_bom yes) (on_board yes) (property "Reference" "R" (id 0) (at 2.032 0 90) (effects (font (size 1.27 1.27))) @@ -804,6 +887,9 @@ (junction (at 110.49 46.99) (diameter 0) (color 0 0 0 0) (uuid 68926cbb-0a1d-4a8f-8dec-6a8e3a0fc301) ) + (junction (at 198.755 99.06) (diameter 0) (color 0 0 0 0) + (uuid 6b9d4946-4925-43b4-b889-ab443dc7a13a) + ) (junction (at 223.52 99.06) (diameter 0) (color 0 0 0 0) (uuid d2ee952c-c4e5-4364-8439-c590a7978ed4) ) @@ -845,6 +931,10 @@ (stroke (width 0) (type default) (color 0 0 0 0)) (uuid 299aeee2-da77-48e1-ab64-63e891d8ce73) ) + (wire (pts (xy 198.755 99.06) (xy 204.47 99.06)) + (stroke (width 0) (type default) (color 0 0 0 0)) + (uuid 2c43fdd8-dba3-4f70-8b5d-65242325c274) + ) (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) @@ -853,7 +943,7 @@ (stroke (width 0) (type default) (color 0 0 0 0)) (uuid 31a68b24-bdb0-4aa8-b34b-04c3d72bdee7) ) - (wire (pts (xy 201.93 99.06) (xy 204.47 99.06)) + (wire (pts (xy 193.04 99.06) (xy 198.755 99.06)) (stroke (width 0) (type default) (color 0 0 0 0)) (uuid 46e72b1c-e7ea-4eec-9a43-e6f8dc611c14) ) @@ -1010,7 +1100,7 @@ (effects (font (size 1.27 1.27)) (justify left)) (uuid b46ca16a-209e-4add-82e0-f7de22a34289) ) - (hierarchical_label "SDC_in" (shape input) (at 201.93 99.06 180) + (hierarchical_label "SDC_in" (shape input) (at 193.04 99.06 180) (effects (font (size 1.27 1.27)) (justify right)) (uuid c2e8a21a-2297-4c25-a615-e85b06fb407f) ) @@ -1321,6 +1411,21 @@ (pin "2" (uuid d61957ad-e908-46fe-b36a-4ea291e48ab6)) ) + (symbol (lib_id "Device:R") (at 198.755 102.87 180) (unit 1) + (in_bom yes) (on_board yes) + (uuid 01f00752-1abe-4c69-a0b9-58a7e1f8b4df) + (property "Reference" "R?" (id 0) (at 193.4972 102.87 90)) + (property "Value" "5k" (id 1) (at 195.8086 102.87 90)) + (property "Footprint" "Resistor_SMD:R_0603_1608Metric_Pad1.05x0.95mm_HandSolder" (id 2) (at 200.533 102.87 90) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Datasheet" "~" (id 3) (at 198.755 102.87 0) + (effects (font (size 1.27 1.27)) hide) + ) + (pin "1" (uuid a88317ff-c514-4ebd-9d31-fa3021413b88)) + (pin "2" (uuid a6146e7c-2e91-4a3f-aca0-33fc723bd605)) + ) + (symbol (lib_id "power:GND") (at 110.49 73.66 0) (mirror y) (unit 1) (in_bom yes) (on_board yes) (uuid 0c9965bf-d700-4f1b-b92b-391ed6b70e26) @@ -1356,6 +1461,25 @@ (pin "2" (uuid 540238f6-a47e-417d-b37c-57fcc7822e3d)) ) + (symbol (lib_id "Device:LED") (at 198.755 110.49 90) (unit 1) + (in_bom yes) (on_board yes) + (uuid 57ed3a79-1dcc-473d-8295-1fa4f11cb112) + (property "Reference" "D?" (id 0) (at 201.7522 109.4994 90) + (effects (font (size 1.27 1.27)) (justify right)) + ) + (property "Value" "Green LED" (id 1) (at 201.7522 111.8108 90) + (effects (font (size 1.27 1.27)) (justify right)) + ) + (property "Footprint" "Diode_SMD:D_0603_1608Metric_Pad1.05x0.95mm_HandSolder" (id 2) (at 198.755 110.49 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Datasheet" "~" (id 3) (at 198.755 110.49 0) + (effects (font (size 1.27 1.27)) hide) + ) + (pin "1" (uuid 248a3e2d-c47a-4da8-bbe0-46390c122253)) + (pin "2" (uuid 913e1471-a6e2-42d7-b9b2-a53324898df8)) + ) + (symbol (lib_id "Device:R") (at 110.49 69.85 0) (mirror y) (unit 1) (in_bom yes) (on_board yes) (uuid 5d0e5009-d528-458e-ad56-111ba719b4c5) @@ -1451,4 +1575,20 @@ (pin "5" (uuid 2f78a602-64fd-496b-a226-7f4bf0483d70)) (pin "6" (uuid 905dc057-820e-4b6a-8a32-4c50ca397997)) ) + + (symbol (lib_id "power:GND") (at 198.755 114.3 0) (unit 1) + (in_bom yes) (on_board yes) + (uuid f42d7465-9e12-4af1-a1d0-c713491bd188) + (property "Reference" "#PWR?" (id 0) (at 198.755 120.65 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Value" "GND" (id 1) (at 198.882 118.6942 0)) + (property "Footprint" "" (id 2) (at 198.755 114.3 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Datasheet" "" (id 3) (at 198.755 114.3 0) + (effects (font (size 1.27 1.27)) hide) + ) + (pin "1" (uuid 19c5d50c-1ef4-4d70-a995-fcdcd9918375)) + ) ) diff --git a/sdcl-hardware/cu.kicad_sch b/sdcl-hardware/cu.kicad_sch index 34de93f..b5c1de2 100644 --- a/sdcl-hardware/cu.kicad_sch +++ b/sdcl-hardware/cu.kicad_sch @@ -490,8 +490,8 @@ (no_connect (at 138.43 80.01) (uuid 88f59470-efba-4c4b-95be-a8f8e8790ba9)) (no_connect (at 138.43 90.17) (uuid aef97233-4eea-4239-be55-62c6b714a82d)) (no_connect (at 138.43 97.79) (uuid b24aa471-644a-4bec-a600-adea7e5626a5)) - (no_connect (at 138.43 100.33) (uuid b24aa471-644a-4bec-a600-adea7e5626a5)) - (no_connect (at 138.43 102.87) (uuid b24aa471-644a-4bec-a600-adea7e5626a5)) + (no_connect (at 138.43 100.33) (uuid b24aa471-644a-4bec-a600-adea7e5626a6)) + (no_connect (at 138.43 102.87) (uuid b24aa471-644a-4bec-a600-adea7e5626a7)) (no_connect (at 171.45 113.03) (uuid b2f2f29d-195f-4923-b132-ea5125810272)) (no_connect (at 138.43 130.81) (uuid b78ba89b-1997-4bac-aae1-9bd7326cf79a)) (no_connect (at 138.43 107.95) (uuid d4f3b602-cab7-4dfe-930e-0ee07158beb7)) diff --git a/sdcl-hardware/npl.kicad_sch b/sdcl-hardware/npl.kicad_sch index f8826f3..45db135 100644 --- a/sdcl-hardware/npl.kicad_sch +++ b/sdcl-hardware/npl.kicad_sch @@ -1223,9 +1223,6 @@ (junction (at 106.68 50.8) (diameter 0) (color 0 0 0 0) (uuid 8bbf0283-8032-433c-a53d-b5a9e503518d) ) - (junction (at 142.24 127) (diameter 0) (color 0 0 0 0) - (uuid 967af0b8-37c9-462b-9ac4-1195b9d78fa7) - ) (junction (at 254 133.35) (diameter 0) (color 0 0 0 0) (uuid a48552e3-381d-4eee-b7ae-acb745be8ea9) ) @@ -1259,7 +1256,7 @@ (stroke (width 0) (type default) (color 0 0 0 0)) (uuid 05090b39-e3ad-4c4b-b667-1484694735e5) ) - (wire (pts (xy 142.24 127) (xy 144.78 127)) + (wire (pts (xy 140.335 127) (xy 144.78 127)) (stroke (width 0) (type default) (color 0 0 0 0)) (uuid 0fbee36c-e54d-4ba5-aca6-4f76858c0774) ) @@ -1303,10 +1300,6 @@ (stroke (width 0) (type default) (color 0 0 0 0)) (uuid 3c4020e3-b3cb-4314-8d0f-95cd0ed22d76) ) - (wire (pts (xy 138.43 127) (xy 142.24 127)) - (stroke (width 0) (type default) (color 0 0 0 0)) - (uuid 491e87d6-f5fe-4fc2-9ec8-a47e4f52eb8c) - ) (wire (pts (xy 224.79 93.98) (xy 224.79 77.47)) (stroke (width 0) (type default) (color 0 0 0 0)) (uuid 50350130-8969-45f0-84a1-27eef7283e87) @@ -1492,11 +1485,6 @@ (effects (font (size 1.27 1.27)) (justify left bottom)) (uuid 42180a2f-84e8-4ca4-b9b4-fb4f238169e4) ) - (text "This LED breaks the SDC's 12V\nto 3V3 conversion. It is not\nplaced in the final product.\nThis may work if the series\nresistor is made bigger, but\nthat sounds like a pain to do\naccurately." - (at 110.49 152.4 0) - (effects (font (size 1.27 1.27)) (justify left bottom)) - (uuid 63fb8179-ff0d-485c-8593-abb2387306f8) - ) (text "HIGH if autonomous / ASMS on" (at 71.12 44.45 180) (effects (font (size 1.27 1.27)) (justify right bottom)) (uuid 6fcc41f5-86b4-4f8d-ba55-add28542e773) @@ -1559,7 +1547,7 @@ (uuid fd862b97-bc59-43ae-97c9-bf49c97ff6b4) ) - (hierarchical_label "SDC_in_3V3" (shape input) (at 138.43 127 180) + (hierarchical_label "SDC_in_3V3" (shape input) (at 140.335 127 180) (effects (font (size 1.27 1.27)) (justify right)) (uuid 1e5effb6-4427-4d83-9020-853fc3da73e7) ) @@ -2917,54 +2905,4 @@ ) (pin "1" (uuid d35438f4-f88a-4521-9a5e-3679a33879db)) ) - - (symbol (lib_id "Device:LED") (at 144.78 138.43 90) (unit 1) - (in_bom yes) (on_board yes) - (uuid 00000000-0000-0000-0000-000061d457c3) - (property "Reference" "D14" (id 0) (at 147.7772 137.4394 90) - (effects (font (size 1.27 1.27)) (justify right)) - ) - (property "Value" "Green LED" (id 1) (at 147.7772 139.7508 90) - (effects (font (size 1.27 1.27)) (justify right)) - ) - (property "Footprint" "Diode_SMD:D_0603_1608Metric_Pad1.05x0.95mm_HandSolder" (id 2) (at 144.78 138.43 0) - (effects (font (size 1.27 1.27)) hide) - ) - (property "Datasheet" "~" (id 3) (at 144.78 138.43 0) - (effects (font (size 1.27 1.27)) hide) - ) - (pin "1" (uuid a92f9228-6773-456f-885c-821dac3d75d0)) - (pin "2" (uuid 499e4bcb-acae-429b-a43a-58f490ffc861)) - ) - - (symbol (lib_id "power:GND") (at 142.24 142.24 0) (unit 1) - (in_bom yes) (on_board yes) - (uuid 00000000-0000-0000-0000-000061d457c9) - (property "Reference" "#PWR0166" (id 0) (at 142.24 148.59 0) - (effects (font (size 1.27 1.27)) hide) - ) - (property "Value" "GND" (id 1) (at 142.367 146.6342 0)) - (property "Footprint" "" (id 2) (at 142.24 142.24 0) - (effects (font (size 1.27 1.27)) hide) - ) - (property "Datasheet" "" (id 3) (at 142.24 142.24 0) - (effects (font (size 1.27 1.27)) hide) - ) - (pin "1" (uuid 69e51c61-70e2-47e2-adcd-b95403afc67a)) - ) - - (symbol (lib_id "Device:R") (at 142.24 130.81 180) (unit 1) - (in_bom yes) (on_board yes) - (uuid 00000000-0000-0000-0000-000061d457cf) - (property "Reference" "R13" (id 0) (at 136.9822 130.81 90)) - (property "Value" "510" (id 1) (at 139.2936 130.81 90)) - (property "Footprint" "Resistor_SMD:R_0603_1608Metric_Pad1.05x0.95mm_HandSolder" (id 2) (at 144.018 130.81 90) - (effects (font (size 1.27 1.27)) hide) - ) - (property "Datasheet" "~" (id 3) (at 142.24 130.81 0) - (effects (font (size 1.27 1.27)) hide) - ) - (pin "1" (uuid 961ab277-0a41-4925-9618-90fb07062a1b)) - (pin "2" (uuid 21369111-687b-4650-bc52-ccf52fa76b41)) - ) )