fixed 24V

This commit is contained in:
cpu
2026-06-04 14:23:36 +02:00
parent 9488edcddc
commit 1ec56ce169
3 changed files with 17999 additions and 18473 deletions

View File

@@ -2497,18 +2497,6 @@
(color 0 0 0 0) (color 0 0 0 0)
(uuid "11fa7972-e65c-4a03-bf32-89abb667d396") (uuid "11fa7972-e65c-4a03-bf32-89abb667d396")
) )
(junction
(at 129.54 118.11)
(diameter 0)
(color 0 0 0 0)
(uuid "479afc8c-7d59-4044-96ba-f300d6794344")
)
(junction
(at 222.25 132.08)
(diameter 0)
(color 0 0 0 0)
(uuid "47cb9055-a4e1-467e-9353-3094dd1e1781")
)
(junction (junction
(at 163.83 139.7) (at 163.83 139.7)
(diameter 0) (diameter 0)
@@ -2527,6 +2515,18 @@
(color 0 0 0 0) (color 0 0 0 0)
(uuid "962a9d0e-93c0-4332-9629-01a87924705c") (uuid "962a9d0e-93c0-4332-9629-01a87924705c")
) )
(junction
(at 231.14 132.08)
(diameter 0)
(color 0 0 0 0)
(uuid "a07563bd-d5c6-4d96-8cc2-3c5dfae5486f")
)
(junction
(at 219.71 132.08)
(diameter 0)
(color 0 0 0 0)
(uuid "ab06224e-d59e-4d70-b7a9-6ec5ea82f0d4")
)
(junction (junction
(at 55.88 69.85) (at 55.88 69.85)
(diameter 0) (diameter 0)
@@ -2546,10 +2546,10 @@
(uuid "d5e01114-c24b-4ac5-b1f6-383089d2eba0") (uuid "d5e01114-c24b-4ac5-b1f6-383089d2eba0")
) )
(junction (junction
(at 251.46 132.08) (at 254 132.08)
(diameter 0) (diameter 0)
(color 0 0 0 0) (color 0 0 0 0)
(uuid "fe01a8ff-f4e7-4512-82f8-b1a418da402d") (uuid "ec4a726e-c30b-4ca5-a528-a4ac98934939")
) )
(no_connect (no_connect
(at 255.27 64.77) (at 255.27 64.77)
@@ -2571,7 +2571,7 @@
) )
(wire (wire
(pts (pts
(xy 217.17 129.54) (xy 217.17 132.08) (xy 213.36 129.54) (xy 213.36 132.08)
) )
(stroke (stroke
(width 0) (width 0)
@@ -2609,16 +2609,6 @@
) )
(uuid "0e7de930-c30a-4054-a800-723b336182b3") (uuid "0e7de930-c30a-4054-a800-723b336182b3")
) )
(wire
(pts
(xy 222.25 132.08) (xy 229.87 132.08)
)
(stroke
(width 0)
(type default)
)
(uuid "1056afa5-31e7-46c1-9f11-c5576604520a")
)
(wire (wire
(pts (pts
(xy 151.13 73.66) (xy 151.13 77.47) (xy 151.13 73.66) (xy 151.13 77.47)
@@ -2659,6 +2649,16 @@
) )
(uuid "1b1a462d-b815-40ec-aec7-02f2958f2d09") (uuid "1b1a462d-b815-40ec-aec7-02f2958f2d09")
) )
(wire
(pts
(xy 254 132.08) (xy 260.35 132.08)
)
(stroke
(width 0)
(type default)
)
(uuid "1e822aab-04a9-4541-a02f-366ccbf8a2e6")
)
(wire (wire
(pts (pts
(xy 137.16 45.72) (xy 137.16 49.53) (xy 137.16 45.72) (xy 137.16 49.53)
@@ -2669,16 +2669,6 @@
) )
(uuid "1eea7c9c-ca0b-481e-9cae-e9537aa41695") (uuid "1eea7c9c-ca0b-481e-9cae-e9537aa41695")
) )
(wire
(pts
(xy 138.43 118.11) (xy 139.7 118.11)
)
(stroke
(width 0)
(type default)
)
(uuid "1fc0ad71-92e0-4d46-a600-0fce822c99ab")
)
(wire (wire
(pts (pts
(xy 72.39 49.53) (xy 72.39 54.61) (xy 72.39 49.53) (xy 72.39 54.61)
@@ -2689,16 +2679,6 @@
) )
(uuid "262b7d3a-3eaf-4461-8c8d-5b756ef669f1") (uuid "262b7d3a-3eaf-4461-8c8d-5b756ef669f1")
) )
(wire
(pts
(xy 139.7 118.11) (xy 139.7 125.73)
)
(stroke
(width 0)
(type default)
)
(uuid "27fbfe1f-e615-4332-8662-0b14910e1792")
)
(wire (wire
(pts (pts
(xy 247.65 57.15) (xy 255.27 57.15) (xy 247.65 57.15) (xy 255.27 57.15)
@@ -2721,13 +2701,13 @@
) )
(wire (wire
(pts (pts
(xy 256.54 132.08) (xy 251.46 132.08) (xy 231.14 132.08) (xy 231.14 135.89)
) )
(stroke (stroke
(width 0) (width 0)
(type default) (type default)
) )
(uuid "2f7e4c90-58e8-43f9-94ee-62a43316645c") (uuid "2f51d9d6-6e2d-4417-ab6f-a357a1f67d1d")
) )
(wire (wire
(pts (pts
@@ -2741,7 +2721,7 @@
) )
(wire (wire
(pts (pts
(xy 222.25 144.78) (xy 222.25 143.51) (xy 219.71 144.78) (xy 219.71 143.51)
) )
(stroke (stroke
(width 0) (width 0)
@@ -2791,7 +2771,7 @@
) )
(wire (wire
(pts (pts
(xy 256.54 129.54) (xy 256.54 132.08) (xy 260.35 129.54) (xy 260.35 132.08)
) )
(stroke (stroke
(width 0) (width 0)
@@ -2831,7 +2811,7 @@
) )
(wire (wire
(pts (pts
(xy 148.59 130.81) (xy 148.59 139.7) (xy 148.59 135.89) (xy 148.59 139.7)
) )
(stroke (stroke
(width 0) (width 0)
@@ -2841,7 +2821,7 @@
) )
(wire (wire
(pts (pts
(xy 245.11 132.08) (xy 251.46 132.08) (xy 250.19 132.08) (xy 254 132.08)
) )
(stroke (stroke
(width 0) (width 0)
@@ -2881,7 +2861,27 @@
) )
(wire (wire
(pts (pts
(xy 251.46 132.08) (xy 251.46 134.62) (xy 231.14 132.08) (xy 234.95 132.08)
)
(stroke
(width 0)
(type default)
)
(uuid "69f4f416-6b42-4fed-8d01-b031657f0343")
)
(wire
(pts
(xy 219.71 132.08) (xy 231.14 132.08)
)
(stroke
(width 0)
(type default)
)
(uuid "6a3f069e-74bb-4d74-8bb9-007c29fa79b3")
)
(wire
(pts
(xy 254 132.08) (xy 254 135.89)
) )
(stroke (stroke
(width 0) (width 0)
@@ -2889,6 +2889,16 @@
) )
(uuid "6bfd8cea-4233-488a-b02f-1d7824189b11") (uuid "6bfd8cea-4233-488a-b02f-1d7824189b11")
) )
(wire
(pts
(xy 213.36 132.08) (xy 219.71 132.08)
)
(stroke
(width 0)
(type default)
)
(uuid "6db0448b-6019-4021-8473-f3d303fdb2c2")
)
(wire (wire
(pts (pts
(xy 55.88 81.28) (xy 55.88 82.55) (xy 55.88 81.28) (xy 55.88 82.55)
@@ -2911,7 +2921,7 @@
) )
(wire (wire
(pts (pts
(xy 237.49 139.7) (xy 237.49 144.78) (xy 242.57 139.7) (xy 242.57 144.78)
) )
(stroke (stroke
(width 0) (width 0)
@@ -2941,7 +2951,7 @@
) )
(wire (wire
(pts (pts
(xy 129.54 118.11) (xy 129.54 115.57) (xy 129.54 125.73) (xy 129.54 134.62)
) )
(stroke (stroke
(width 0) (width 0)
@@ -2999,16 +3009,6 @@
) )
(uuid "94b86b20-4d63-4aa2-aeaa-fc3011fb7e55") (uuid "94b86b20-4d63-4aa2-aeaa-fc3011fb7e55")
) )
(wire
(pts
(xy 129.54 134.62) (xy 129.54 118.11)
)
(stroke
(width 0)
(type default)
)
(uuid "9f26d980-9e18-4c8d-8be5-b005761512e8")
)
(wire (wire
(pts (pts
(xy 231.14 48.26) (xy 231.14 53.34) (xy 231.14 48.26) (xy 231.14 53.34)
@@ -3071,7 +3071,7 @@
) )
(wire (wire
(pts (pts
(xy 148.59 115.57) (xy 148.59 123.19) (xy 148.59 125.73) (xy 148.59 128.27)
) )
(stroke (stroke
(width 0) (width 0)
@@ -3109,6 +3109,16 @@
) )
(uuid "b4e67290-b749-4c6d-948f-0dfd8e93dbcb") (uuid "b4e67290-b749-4c6d-948f-0dfd8e93dbcb")
) )
(wire
(pts
(xy 231.14 143.51) (xy 231.14 144.78)
)
(stroke
(width 0)
(type default)
)
(uuid "b5a07a66-58d4-4faa-8c0b-4ef8f57e907a")
)
(wire (wire
(pts (pts
(xy 129.54 137.16) (xy 129.54 151.13) (xy 129.54 137.16) (xy 129.54 151.13)
@@ -3151,7 +3161,7 @@
) )
(wire (wire
(pts (pts
(xy 222.25 135.89) (xy 222.25 132.08) (xy 219.71 135.89) (xy 219.71 132.08)
) )
(stroke (stroke
(width 0) (width 0)
@@ -3201,7 +3211,7 @@
) )
(wire (wire
(pts (pts
(xy 251.46 142.24) (xy 251.46 144.78) (xy 254 143.51) (xy 254 144.78)
) )
(stroke (stroke
(width 0) (width 0)
@@ -3249,16 +3259,6 @@
) )
(uuid "e8d0ff7d-5d15-43f6-b58f-f2926ebb1fe0") (uuid "e8d0ff7d-5d15-43f6-b58f-f2926ebb1fe0")
) )
(wire
(pts
(xy 129.54 118.11) (xy 130.81 118.11)
)
(stroke
(width 0)
(type default)
)
(uuid "ef6997f9-fc4d-4f61-b5a7-1e3e17efb198")
)
(wire (wire
(pts (pts
(xy 231.14 78.74) (xy 231.14 81.28) (xy 231.14 78.74) (xy 231.14 81.28)
@@ -3289,16 +3289,6 @@
) )
(uuid "fa892445-355d-44bf-b33f-dd1e8942273f") (uuid "fa892445-355d-44bf-b33f-dd1e8942273f")
) )
(wire
(pts
(xy 217.17 132.08) (xy 222.25 132.08)
)
(stroke
(width 0)
(type default)
)
(uuid "fabb7328-0a7b-4987-a313-1321cb89a960")
)
(label "SWIO" (label "SWIO"
(at 60.96 139.7 180) (at 60.96 139.7 180)
(effects (effects
@@ -3716,7 +3706,7 @@
) )
(symbol (symbol
(lib_id "power:GND") (lib_id "power:GND")
(at 222.25 144.78 0) (at 219.71 144.78 0)
(unit 1) (unit 1)
(exclude_from_sim no) (exclude_from_sim no)
(in_bom yes) (in_bom yes)
@@ -3725,7 +3715,7 @@
(fields_autoplaced yes) (fields_autoplaced yes)
(uuid "0ff15cec-3847-408c-8d66-014000a4acbc") (uuid "0ff15cec-3847-408c-8d66-014000a4acbc")
(property "Reference" "#PWR020" (property "Reference" "#PWR020"
(at 222.25 151.13 0) (at 219.71 151.13 0)
(effects (effects
(font (font
(size 1.27 1.27) (size 1.27 1.27)
@@ -3734,7 +3724,7 @@
) )
) )
(property "Value" "GND" (property "Value" "GND"
(at 222.25 149.86 0) (at 219.71 149.86 0)
(effects (effects
(font (font
(size 1.27 1.27) (size 1.27 1.27)
@@ -3742,7 +3732,7 @@
) )
) )
(property "Footprint" "" (property "Footprint" ""
(at 222.25 144.78 0) (at 219.71 144.78 0)
(effects (effects
(font (font
(size 1.27 1.27) (size 1.27 1.27)
@@ -3751,7 +3741,7 @@
) )
) )
(property "Datasheet" "" (property "Datasheet" ""
(at 222.25 144.78 0) (at 219.71 144.78 0)
(effects (effects
(font (font
(size 1.27 1.27) (size 1.27 1.27)
@@ -3760,7 +3750,7 @@
) )
) )
(property "Description" "Power symbol creates a global label with name \"GND\" , ground" (property "Description" "Power symbol creates a global label with name \"GND\" , ground"
(at 222.25 144.78 0) (at 219.71 144.78 0)
(effects (effects
(font (font
(size 1.27 1.27) (size 1.27 1.27)
@@ -3848,7 +3838,7 @@
) )
(symbol (symbol
(lib_id "power:+5V") (lib_id "power:+5V")
(at 148.59 115.57 0) (at 148.59 125.73 0)
(unit 1) (unit 1)
(exclude_from_sim no) (exclude_from_sim no)
(in_bom yes) (in_bom yes)
@@ -3857,7 +3847,7 @@
(fields_autoplaced yes) (fields_autoplaced yes)
(uuid "1577a4bd-7495-4efe-a3e6-87ca6c131e30") (uuid "1577a4bd-7495-4efe-a3e6-87ca6c131e30")
(property "Reference" "#PWR11" (property "Reference" "#PWR11"
(at 148.59 119.38 0) (at 148.59 129.54 0)
(effects (effects
(font (font
(size 1.27 1.27) (size 1.27 1.27)
@@ -3866,7 +3856,7 @@
) )
) )
(property "Value" "+3.3V" (property "Value" "+3.3V"
(at 148.59 110.49 0) (at 148.59 120.65 0)
(effects (effects
(font (font
(size 1.27 1.27) (size 1.27 1.27)
@@ -3874,7 +3864,7 @@
) )
) )
(property "Footprint" "" (property "Footprint" ""
(at 148.59 115.57 0) (at 148.59 125.73 0)
(effects (effects
(font (font
(size 1.27 1.27) (size 1.27 1.27)
@@ -3883,7 +3873,7 @@
) )
) )
(property "Datasheet" "" (property "Datasheet" ""
(at 148.59 115.57 0) (at 148.59 125.73 0)
(effects (effects
(font (font
(size 1.27 1.27) (size 1.27 1.27)
@@ -3892,7 +3882,7 @@
) )
) )
(property "Description" "Power symbol creates a global label with name \"+5V\"" (property "Description" "Power symbol creates a global label with name \"+5V\""
(at 148.59 115.57 0) (at 148.59 125.73 0)
(effects (effects
(font (font
(size 1.27 1.27) (size 1.27 1.27)
@@ -3914,16 +3904,15 @@
) )
(symbol (symbol
(lib_id "Device:C_Polarized") (lib_id "Device:C_Polarized")
(at 251.46 138.43 0) (at 254 139.7 0)
(unit 1) (unit 1)
(exclude_from_sim no) (exclude_from_sim no)
(in_bom yes) (in_bom yes)
(on_board yes) (on_board yes)
(dnp no) (dnp no)
(fields_autoplaced yes)
(uuid "16ac05e7-a222-4f2b-9890-147336709af3") (uuid "16ac05e7-a222-4f2b-9890-147336709af3")
(property "Reference" "C2" (property "Reference" "C2"
(at 255.27 136.2709 0) (at 257.556 138.684 0)
(effects (effects
(font (font
(size 1.27 1.27) (size 1.27 1.27)
@@ -3932,7 +3921,7 @@
) )
) )
(property "Value" "10u" (property "Value" "10u"
(at 255.27 138.8109 0) (at 257.556 141.224 0)
(effects (effects
(font (font
(size 1.27 1.27) (size 1.27 1.27)
@@ -3941,7 +3930,7 @@
) )
) )
(property "Footprint" "Capacitor_Tantalum_SMD:CP_EIA-3528-21_Kemet-B_HandSolder" (property "Footprint" "Capacitor_Tantalum_SMD:CP_EIA-3528-21_Kemet-B_HandSolder"
(at 252.4252 142.24 0) (at 254.9652 143.51 0)
(effects (effects
(font (font
(size 1.27 1.27) (size 1.27 1.27)
@@ -3950,7 +3939,7 @@
) )
) )
(property "Datasheet" "~" (property "Datasheet" "~"
(at 251.46 138.43 0) (at 254 139.7 0)
(effects (effects
(font (font
(size 1.27 1.27) (size 1.27 1.27)
@@ -3959,7 +3948,7 @@
) )
) )
(property "Description" "Polarized capacitor" (property "Description" "Polarized capacitor"
(at 251.46 138.43 0) (at 254 139.7 0)
(effects (effects
(font (font
(size 1.27 1.27) (size 1.27 1.27)
@@ -4050,7 +4039,7 @@
) )
(symbol (symbol
(lib_id "Device:C") (lib_id "Device:C")
(at 222.25 139.7 180) (at 219.71 139.7 180)
(unit 1) (unit 1)
(exclude_from_sim no) (exclude_from_sim no)
(in_bom yes) (in_bom yes)
@@ -4058,7 +4047,7 @@
(dnp no) (dnp no)
(uuid "2ef830d5-c470-48cb-988a-a453db2cef94") (uuid "2ef830d5-c470-48cb-988a-a453db2cef94")
(property "Reference" "C5" (property "Reference" "C5"
(at 216.916 139.192 0) (at 214.122 138.684 0)
(effects (effects
(font (font
(size 1.27 1.27) (size 1.27 1.27)
@@ -4066,7 +4055,7 @@
) )
) )
(property "Value" "1u" (property "Value" "1u"
(at 217.424 142.24 0) (at 214.376 141.478 0)
(effects (effects
(font (font
(size 1.27 1.27) (size 1.27 1.27)
@@ -4074,7 +4063,7 @@
) )
) )
(property "Footprint" "Capacitor_SMD:C_1206_3216Metric_Pad1.33x1.80mm_HandSolder" (property "Footprint" "Capacitor_SMD:C_1206_3216Metric_Pad1.33x1.80mm_HandSolder"
(at 221.2848 135.89 0) (at 218.7448 135.89 0)
(effects (effects
(font (font
(size 1.27 1.27) (size 1.27 1.27)
@@ -4083,7 +4072,7 @@
) )
) )
(property "Datasheet" "~" (property "Datasheet" "~"
(at 222.25 139.7 0) (at 219.71 139.7 0)
(effects (effects
(font (font
(size 1.27 1.27) (size 1.27 1.27)
@@ -4092,7 +4081,7 @@
) )
) )
(property "Description" "Unpolarized capacitor" (property "Description" "Unpolarized capacitor"
(at 222.25 139.7 0) (at 219.71 139.7 0)
(effects (effects
(font (font
(size 1.27 1.27) (size 1.27 1.27)
@@ -4181,7 +4170,7 @@
) )
(symbol (symbol
(lib_id "Regulator_Linear:TPS71533__SC70") (lib_id "Regulator_Linear:TPS71533__SC70")
(at 237.49 132.08 0) (at 242.57 132.08 0)
(unit 1) (unit 1)
(exclude_from_sim no) (exclude_from_sim no)
(in_bom yes) (in_bom yes)
@@ -4190,7 +4179,7 @@
(fields_autoplaced yes) (fields_autoplaced yes)
(uuid "31e500c4-524f-4232-a15c-aaea8c81a5fc") (uuid "31e500c4-524f-4232-a15c-aaea8c81a5fc")
(property "Reference" "U2" (property "Reference" "U2"
(at 237.49 125.73 0) (at 242.57 125.73 0)
(effects (effects
(font (font
(size 1.27 1.27) (size 1.27 1.27)
@@ -4198,7 +4187,7 @@
) )
) )
(property "Value" "TPS71533__SC70" (property "Value" "TPS71533__SC70"
(at 237.49 128.27 0) (at 242.57 128.27 0)
(effects (effects
(font (font
(size 1.27 1.27) (size 1.27 1.27)
@@ -4206,7 +4195,7 @@
) )
) )
(property "Footprint" "Package_TO_SOT_SMD:SOT-353_SC-70-5" (property "Footprint" "Package_TO_SOT_SMD:SOT-353_SC-70-5"
(at 237.49 126.365 0) (at 242.57 126.365 0)
(effects (effects
(font (font
(size 1.27 1.27) (size 1.27 1.27)
@@ -4215,7 +4204,7 @@
) )
) )
(property "Datasheet" "http://www.ti.com/lit/ds/symlink/tps715.pdf" (property "Datasheet" "http://www.ti.com/lit/ds/symlink/tps715.pdf"
(at 229.87 111.76 0) (at 234.95 111.76 0)
(effects (effects
(font (font
(size 1.27 1.27) (size 1.27 1.27)
@@ -4224,7 +4213,7 @@
) )
) )
(property "Description" "Low-drop Voltage Regulator, Io up to 50mA, Fixed Vo 3.3V, Ignd 3.2uA , SC70." (property "Description" "Low-drop Voltage Regulator, Io up to 50mA, Fixed Vo 3.3V, Ignd 3.2uA , SC70."
(at 237.49 132.08 0) (at 242.57 132.08 0)
(effects (effects
(font (font
(size 1.27 1.27) (size 1.27 1.27)
@@ -4392,7 +4381,7 @@
) )
(symbol (symbol
(lib_id "Device:R") (lib_id "Device:R")
(at 148.59 127 0) (at 148.59 132.08 0)
(unit 1) (unit 1)
(exclude_from_sim no) (exclude_from_sim no)
(in_bom yes) (in_bom yes)
@@ -4401,7 +4390,7 @@
(fields_autoplaced yes) (fields_autoplaced yes)
(uuid "40035241-60d8-4ae0-b9a3-00ddf51419be") (uuid "40035241-60d8-4ae0-b9a3-00ddf51419be")
(property "Reference" "R4" (property "Reference" "R4"
(at 151.13 125.7299 0) (at 151.13 130.8099 0)
(effects (effects
(font (font
(size 1.27 1.27) (size 1.27 1.27)
@@ -4410,7 +4399,7 @@
) )
) )
(property "Value" "10k" (property "Value" "10k"
(at 151.13 128.2699 0) (at 151.13 133.3499 0)
(effects (effects
(font (font
(size 1.27 1.27) (size 1.27 1.27)
@@ -4419,7 +4408,7 @@
) )
) )
(property "Footprint" "Resistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolder" (property "Footprint" "Resistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolder"
(at 146.812 127 90) (at 146.812 132.08 90)
(effects (effects
(font (font
(size 1.27 1.27) (size 1.27 1.27)
@@ -4428,7 +4417,7 @@
) )
) )
(property "Datasheet" "~" (property "Datasheet" "~"
(at 148.59 127 0) (at 148.59 132.08 0)
(effects (effects
(font (font
(size 1.27 1.27) (size 1.27 1.27)
@@ -4437,7 +4426,7 @@
) )
) )
(property "Description" "Resistor" (property "Description" "Resistor"
(at 148.59 127 0) (at 148.59 132.08 0)
(effects (effects
(font (font
(size 1.27 1.27) (size 1.27 1.27)
@@ -4462,7 +4451,7 @@
) )
(symbol (symbol
(lib_id "power:GND") (lib_id "power:GND")
(at 251.46 144.78 0) (at 254 144.78 0)
(unit 1) (unit 1)
(exclude_from_sim no) (exclude_from_sim no)
(in_bom yes) (in_bom yes)
@@ -4471,7 +4460,7 @@
(fields_autoplaced yes) (fields_autoplaced yes)
(uuid "41af2cfd-db04-4863-b63e-77335159bf21") (uuid "41af2cfd-db04-4863-b63e-77335159bf21")
(property "Reference" "#PWR13" (property "Reference" "#PWR13"
(at 251.46 151.13 0) (at 254 151.13 0)
(effects (effects
(font (font
(size 1.27 1.27) (size 1.27 1.27)
@@ -4480,7 +4469,7 @@
) )
) )
(property "Value" "GND" (property "Value" "GND"
(at 251.46 149.86 0) (at 254 149.86 0)
(effects (effects
(font (font
(size 1.27 1.27) (size 1.27 1.27)
@@ -4488,7 +4477,7 @@
) )
) )
(property "Footprint" "" (property "Footprint" ""
(at 251.46 144.78 0) (at 254 144.78 0)
(effects (effects
(font (font
(size 1.27 1.27) (size 1.27 1.27)
@@ -4497,7 +4486,7 @@
) )
) )
(property "Datasheet" "" (property "Datasheet" ""
(at 251.46 144.78 0) (at 254 144.78 0)
(effects (effects
(font (font
(size 1.27 1.27) (size 1.27 1.27)
@@ -4506,7 +4495,7 @@
) )
) )
(property "Description" "Power symbol creates a global label with name \"GND\" , ground" (property "Description" "Power symbol creates a global label with name \"GND\" , ground"
(at 251.46 144.78 0) (at 254 144.78 0)
(effects (effects
(font (font
(size 1.27 1.27) (size 1.27 1.27)
@@ -4681,7 +4670,7 @@
) )
(symbol (symbol
(lib_id "power:GND") (lib_id "power:GND")
(at 139.7 125.73 0) (at 231.14 144.78 0)
(unit 1) (unit 1)
(exclude_from_sim no) (exclude_from_sim no)
(in_bom yes) (in_bom yes)
@@ -4690,7 +4679,7 @@
(fields_autoplaced yes) (fields_autoplaced yes)
(uuid "4d97b432-0502-4dea-8054-4246d11a12a0") (uuid "4d97b432-0502-4dea-8054-4246d11a12a0")
(property "Reference" "#PWR023" (property "Reference" "#PWR023"
(at 139.7 132.08 0) (at 231.14 151.13 0)
(effects (effects
(font (font
(size 1.27 1.27) (size 1.27 1.27)
@@ -4699,7 +4688,7 @@
) )
) )
(property "Value" "GND" (property "Value" "GND"
(at 139.7 130.81 0) (at 231.14 149.86 0)
(effects (effects
(font (font
(size 1.27 1.27) (size 1.27 1.27)
@@ -4707,7 +4696,7 @@
) )
) )
(property "Footprint" "" (property "Footprint" ""
(at 139.7 125.73 0) (at 231.14 144.78 0)
(effects (effects
(font (font
(size 1.27 1.27) (size 1.27 1.27)
@@ -4716,7 +4705,7 @@
) )
) )
(property "Datasheet" "" (property "Datasheet" ""
(at 139.7 125.73 0) (at 231.14 144.78 0)
(effects (effects
(font (font
(size 1.27 1.27) (size 1.27 1.27)
@@ -4725,7 +4714,7 @@
) )
) )
(property "Description" "Power symbol creates a global label with name \"GND\" , ground" (property "Description" "Power symbol creates a global label with name \"GND\" , ground"
(at 139.7 125.73 0) (at 231.14 144.78 0)
(effects (effects
(font (font
(size 1.27 1.27) (size 1.27 1.27)
@@ -5084,7 +5073,7 @@
) )
(symbol (symbol
(lib_id "power:+5V") (lib_id "power:+5V")
(at 217.17 129.54 0) (at 213.36 129.54 0)
(unit 1) (unit 1)
(exclude_from_sim no) (exclude_from_sim no)
(in_bom yes) (in_bom yes)
@@ -5093,7 +5082,7 @@
(fields_autoplaced yes) (fields_autoplaced yes)
(uuid "953a4fec-0463-4de0-ab0f-1513de20a8f9") (uuid "953a4fec-0463-4de0-ab0f-1513de20a8f9")
(property "Reference" "#PWR021" (property "Reference" "#PWR021"
(at 217.17 133.35 0) (at 213.36 133.35 0)
(effects (effects
(font (font
(size 1.27 1.27) (size 1.27 1.27)
@@ -5102,7 +5091,7 @@
) )
) )
(property "Value" "+24V" (property "Value" "+24V"
(at 217.17 124.46 0) (at 213.36 124.46 0)
(effects (effects
(font (font
(size 1.27 1.27) (size 1.27 1.27)
@@ -5110,7 +5099,7 @@
) )
) )
(property "Footprint" "" (property "Footprint" ""
(at 217.17 129.54 0) (at 213.36 129.54 0)
(effects (effects
(font (font
(size 1.27 1.27) (size 1.27 1.27)
@@ -5119,7 +5108,7 @@
) )
) )
(property "Datasheet" "" (property "Datasheet" ""
(at 217.17 129.54 0) (at 213.36 129.54 0)
(effects (effects
(font (font
(size 1.27 1.27) (size 1.27 1.27)
@@ -5128,7 +5117,7 @@
) )
) )
(property "Description" "Power symbol creates a global label with name \"+5V\"" (property "Description" "Power symbol creates a global label with name \"+5V\""
(at 217.17 129.54 0) (at 213.36 129.54 0)
(effects (effects
(font (font
(size 1.27 1.27) (size 1.27 1.27)
@@ -5414,7 +5403,7 @@
) )
(symbol (symbol
(lib_id "power:+3.3V") (lib_id "power:+3.3V")
(at 256.54 129.54 0) (at 260.35 129.54 0)
(unit 1) (unit 1)
(exclude_from_sim no) (exclude_from_sim no)
(in_bom yes) (in_bom yes)
@@ -5423,7 +5412,7 @@
(fields_autoplaced yes) (fields_autoplaced yes)
(uuid "ab3a0bb5-78e0-40c1-9fb4-0be1435f1632") (uuid "ab3a0bb5-78e0-40c1-9fb4-0be1435f1632")
(property "Reference" "#PWR022" (property "Reference" "#PWR022"
(at 256.54 133.35 0) (at 260.35 133.35 0)
(effects (effects
(font (font
(size 1.27 1.27) (size 1.27 1.27)
@@ -5432,7 +5421,7 @@
) )
) )
(property "Value" "+3.3V" (property "Value" "+3.3V"
(at 256.54 124.46 0) (at 260.35 124.46 0)
(effects (effects
(font (font
(size 1.27 1.27) (size 1.27 1.27)
@@ -5440,7 +5429,7 @@
) )
) )
(property "Footprint" "" (property "Footprint" ""
(at 256.54 129.54 0) (at 260.35 129.54 0)
(effects (effects
(font (font
(size 1.27 1.27) (size 1.27 1.27)
@@ -5449,7 +5438,7 @@
) )
) )
(property "Datasheet" "" (property "Datasheet" ""
(at 256.54 129.54 0) (at 260.35 129.54 0)
(effects (effects
(font (font
(size 1.27 1.27) (size 1.27 1.27)
@@ -5458,7 +5447,7 @@
) )
) )
(property "Description" "Power symbol creates a global label with name \"+3.3V\"" (property "Description" "Power symbol creates a global label with name \"+3.3V\""
(at 256.54 129.54 0) (at 260.35 129.54 0)
(effects (effects
(font (font
(size 1.27 1.27) (size 1.27 1.27)
@@ -5480,7 +5469,7 @@
) )
(symbol (symbol
(lib_id "power:+5V") (lib_id "power:+5V")
(at 129.54 115.57 0) (at 129.54 125.73 0)
(unit 1) (unit 1)
(exclude_from_sim no) (exclude_from_sim no)
(in_bom yes) (in_bom yes)
@@ -5489,7 +5478,7 @@
(fields_autoplaced yes) (fields_autoplaced yes)
(uuid "aba03099-142d-4aac-a79f-b06dfded52ff") (uuid "aba03099-142d-4aac-a79f-b06dfded52ff")
(property "Reference" "#PWR8" (property "Reference" "#PWR8"
(at 129.54 119.38 0) (at 129.54 129.54 0)
(effects (effects
(font (font
(size 1.27 1.27) (size 1.27 1.27)
@@ -5498,7 +5487,7 @@
) )
) )
(property "Value" "+24V" (property "Value" "+24V"
(at 129.54 110.49 0) (at 129.54 120.65 0)
(effects (effects
(font (font
(size 1.27 1.27) (size 1.27 1.27)
@@ -5506,7 +5495,7 @@
) )
) )
(property "Footprint" "" (property "Footprint" ""
(at 129.54 115.57 0) (at 129.54 125.73 0)
(effects (effects
(font (font
(size 1.27 1.27) (size 1.27 1.27)
@@ -5515,7 +5504,7 @@
) )
) )
(property "Datasheet" "" (property "Datasheet" ""
(at 129.54 115.57 0) (at 129.54 125.73 0)
(effects (effects
(font (font
(size 1.27 1.27) (size 1.27 1.27)
@@ -5524,7 +5513,7 @@
) )
) )
(property "Description" "Power symbol creates a global label with name \"+5V\"" (property "Description" "Power symbol creates a global label with name \"+5V\""
(at 129.54 115.57 0) (at 129.54 125.73 0)
(effects (effects
(font (font
(size 1.27 1.27) (size 1.27 1.27)
@@ -5681,7 +5670,7 @@
) )
(symbol (symbol
(lib_id "Device:C") (lib_id "Device:C")
(at 134.62 118.11 270) (at 231.14 139.7 180)
(unit 1) (unit 1)
(exclude_from_sim no) (exclude_from_sim no)
(in_bom yes) (in_bom yes)
@@ -5689,7 +5678,7 @@
(dnp no) (dnp no)
(uuid "bb91c197-5784-4efd-a716-6123ee81439d") (uuid "bb91c197-5784-4efd-a716-6123ee81439d")
(property "Reference" "C6" (property "Reference" "C6"
(at 134.874 121.92 90) (at 225.806 138.684 0)
(effects (effects
(font (font
(size 1.27 1.27) (size 1.27 1.27)
@@ -5697,7 +5686,7 @@
) )
) )
(property "Value" "100n" (property "Value" "100n"
(at 134.62 124.714 90) (at 225.552 141.478 0)
(effects (effects
(font (font
(size 1.27 1.27) (size 1.27 1.27)
@@ -5705,7 +5694,7 @@
) )
) )
(property "Footprint" "Capacitor_SMD:C_1206_3216Metric_Pad1.33x1.80mm_HandSolder" (property "Footprint" "Capacitor_SMD:C_1206_3216Metric_Pad1.33x1.80mm_HandSolder"
(at 130.81 119.0752 0) (at 230.1748 135.89 0)
(effects (effects
(font (font
(size 1.27 1.27) (size 1.27 1.27)
@@ -5714,7 +5703,7 @@
) )
) )
(property "Datasheet" "~" (property "Datasheet" "~"
(at 134.62 118.11 0) (at 231.14 139.7 0)
(effects (effects
(font (font
(size 1.27 1.27) (size 1.27 1.27)
@@ -5723,7 +5712,7 @@
) )
) )
(property "Description" "Unpolarized capacitor" (property "Description" "Unpolarized capacitor"
(at 134.62 118.11 0) (at 231.14 139.7 0)
(effects (effects
(font (font
(size 1.27 1.27) (size 1.27 1.27)
@@ -5901,7 +5890,7 @@
) )
(symbol (symbol
(lib_id "power:GND") (lib_id "power:GND")
(at 237.49 144.78 0) (at 242.57 144.78 0)
(unit 1) (unit 1)
(exclude_from_sim no) (exclude_from_sim no)
(in_bom yes) (in_bom yes)
@@ -5910,7 +5899,7 @@
(fields_autoplaced yes) (fields_autoplaced yes)
(uuid "cef0223c-29f8-437f-aba5-302f8f457dbd") (uuid "cef0223c-29f8-437f-aba5-302f8f457dbd")
(property "Reference" "#PWR019" (property "Reference" "#PWR019"
(at 237.49 151.13 0) (at 242.57 151.13 0)
(effects (effects
(font (font
(size 1.27 1.27) (size 1.27 1.27)
@@ -5919,7 +5908,7 @@
) )
) )
(property "Value" "GND" (property "Value" "GND"
(at 237.49 149.86 0) (at 242.57 149.86 0)
(effects (effects
(font (font
(size 1.27 1.27) (size 1.27 1.27)
@@ -5927,7 +5916,7 @@
) )
) )
(property "Footprint" "" (property "Footprint" ""
(at 237.49 144.78 0) (at 242.57 144.78 0)
(effects (effects
(font (font
(size 1.27 1.27) (size 1.27 1.27)
@@ -5936,7 +5925,7 @@
) )
) )
(property "Datasheet" "" (property "Datasheet" ""
(at 237.49 144.78 0) (at 242.57 144.78 0)
(effects (effects
(font (font
(size 1.27 1.27) (size 1.27 1.27)
@@ -5945,7 +5934,7 @@
) )
) )
(property "Description" "Power symbol creates a global label with name \"GND\" , ground" (property "Description" "Power symbol creates a global label with name \"GND\" , ground"
(at 237.49 144.78 0) (at 242.57 144.78 0)
(effects (effects
(font (font
(size 1.27 1.27) (size 1.27 1.27)

View File

@@ -23,12 +23,12 @@ A fail-safe water flow monitoring module designed to protect CNC spindles and la
* **Adjustable Threshold:** 2-button interface (Up/Down) using an analog resistor ladder (ADC) to save MCU pins. * **Adjustable Threshold:** 2-button interface (Up/Down) using an analog resistor ladder (ADC) to save MCU pins.
* **Fail-Safe Output:** N-channel MOSFET (2N7002) acting as an open-drain output. It actively pulls the CNC input to GND during normal operation. If power fails, wires break, or water stops, the connection opens and triggers the CNC alarm. * **Fail-Safe Output:** N-channel MOSFET (2N7002) acting as an open-drain output. It actively pulls the CNC input to GND during normal operation. If power fails, wires break, or water stops, the connection opens and triggers the CNC alarm.
* **EMI Protection:** Hardware RC debouncing and noise filtering on the sensor input. * **EMI Protection:** Hardware RC debouncing and noise filtering on the sensor input.
* **Direct 5V Operation:** Powered directly from the CNC controller's 5V rail. * **Direct 24V Operation:** Powered directly from the CNC controller's 24V rail.
## Hardware Design (KiCad) ## Hardware Design (KiCad)
* **Power:** 5V DC Input (via CNC connector J4). * **Power:** 24V DC Input (via CNC connector J3).
* **Sensor Compatibility:** ZJ-S401 Water flow sensor (plastic valve body, a water rotor and a hall-effect sensor). See [the working principle of the hall water flow sensor](https://www.seeedstudio.com/blog/2020/05/11/how-to-use-water-flow-sensor-with-arduino/). * **Sensor Compatibility:** ZJ-S401 Water flow sensor (plastic valve body, a water rotor and a hall-effect sensor). See [the working principle of the hall water flow sensor](https://www.seeedstudio.com/blog/2020/05/11/how-to-use-water-flow-sensor-with-arduino/).
* **Output:** 3-pin CNC interface (+5V, GND, ALARM_CNC). Connects directly to standard CNC active-low sinking inputs. * **Output:** 3-pin CNC interface (+24V, GND, ALARM_CNC). Connects directly to standard CNC active-low sinking inputs.
## Panel Design and GCode ## Panel Design and GCode
The [scripts](scripts) folder contains a guide to panelize the board (`Flow_Controller_Panel.kicad_pcb`) and howto generate gcode. The [scripts](scripts) folder contains a guide to panelize the board (`Flow_Controller_Panel.kicad_pcb`) and howto generate gcode.
@@ -39,7 +39,7 @@ The [scripts](scripts) folder contains a guide to panelize the board (`Flow_Cont
| 1 | `FLOW_PULSE_MCU` | Input: Pulse counter from Flow Sensor | PD6 | | 1 | `FLOW_PULSE_MCU` | Input: Pulse counter from Flow Sensor | PD6 |
| 2 | `GND` | System Ground (VSS) | VSS | | 2 | `GND` | System Ground (VSS) | VSS |
| 3 | `ALARM_TRIGGER` | Output: Drives the Gate of the 2N7002 | PA2 | | 3 | `ALARM_TRIGGER` | Output: Drives the Gate of the 2N7002 | PA2 |
| 4 | `+5V` | System Power (VDD) | VDD | | 4 | `+24V` | System Power (VDD) | VDD |
| 5 | `I2C_SDA` | I2C Data (OLED Display) | PC1 | | 5 | `I2C_SDA` | I2C Data (OLED Display) | PC1 |
| 6 | `I2C_SCL` | I2C Clock (OLED Display) | PC2 | | 6 | `I2C_SCL` | I2C Clock (OLED Display) | PC2 |
| 7 | `BUTTON_ADC` | ADC Input: 2-Button Resistor Ladder | PC4 | | 7 | `BUTTON_ADC` | ADC Input: 2-Button Resistor Ladder | PC4 |
@@ -56,6 +56,6 @@ The firmware is written in C using the lightweight `ch32fun` framework. All sour
**Step-by-step Setup:** **Step-by-step Setup:**
1. Follow the setup guide in [`firmware`](firmware) to install the RISC-V GCC toolchain and `minichlink`. 1. Follow the setup guide in [`firmware`](firmware) to install the RISC-V GCC toolchain and `minichlink`.
2. Connect your **WCH-LinkE** programmer to the 3-pin SWIO header `J1` (+5V, SWIO, GND). 2. Connect your **WCH-LinkE** programmer to the 3-pin SWIO header `J1` (+3.3V, SWIO, GND).
3. Run `make` to compile the firmware. 3. Run `make` to compile the firmware.
4. Run `make flash` to upload the code to the CH32V003 microcontroller. 4. Run `make flash` to upload the code to the CH32V003 microcontroller.

File diff suppressed because it is too large Load Diff

Before

Width:  |  Height:  |  Size: 571 KiB

After

Width:  |  Height:  |  Size: 562 KiB