Change trigger circuit to fixed 50% duty cycle with variable frequency

This commit is contained in:
Gregor Riepl 2023-07-18 01:16:33 +02:00
parent 588bb86ff0
commit 5c6e7b5bdd
2 changed files with 117 additions and 51 deletions

View file

@ -101,7 +101,7 @@
(net 23 "Net-(R8-Pad2)")
(net 24 "Net-(R9-Pad1)")
(net 25 "Net-(Ruum42-A)")
(net 26 "Net-(U2-DIS)")
(net 26 "Net-(R2-Pad2)")
(net 27 "Net-(SW1-Pad10)")
(net 28 "Net-(SW1-Pad11)")
(net 29 "Net-(SW1-Pad12)")
@ -123,6 +123,7 @@
(net 45 "Net-(U1-CLK)")
(net 46 "unconnected-(U2-CV-Pad5)")
(net 47 "unconnected-(U3-Pad11)")
(net 48 "unconnected-(U2-DIS-Pad7)")
(footprint "LED_SMD:LED_RGB_1210" (layer "F.Cu")
(tstamp 19db85ea-0f3c-45d7-ba3b-3cf315d0f8f4)
@ -1285,9 +1286,9 @@
(stroke (width 0.1) (type solid)) (layer "Edge.Cuts") (tstamp dbe35516-6328-4ea9-af7f-8003bff10c51))
(fp_arc (start 14.3 -3.682793) (mid 14.58284 -3.565635) (end 14.7 -3.282793)
(stroke (width 0.1) (type solid)) (layer "Edge.Cuts") (tstamp aebe6bea-1d53-462f-b850-8f4c74f6f997))
(fp_arc (start 14.3 1.68505) (mid 14.582825 1.80221) (end 14.7 2.08505)
(fp_arc (start 14.3 1.68505) (mid 14.58286 1.802204) (end 14.7 2.08505)
(stroke (width 0.1) (type solid)) (layer "Edge.Cuts") (tstamp 5159acbb-b011-4328-9277-2f7a9897cd58))
(fp_arc (start 14.7 -2.08505) (mid 14.582854 -1.80221) (end 14.3 -1.68505)
(fp_arc (start 14.7 -2.08505) (mid 14.58286 -1.802175) (end 14.3 -1.68505)
(stroke (width 0.1) (type solid)) (layer "Edge.Cuts") (tstamp 70e120c3-ef64-4601-921d-3a0fff50c9eb))
(fp_arc (start 14.7 3.285) (mid 14.582843 3.567843) (end 14.3 3.685)
(stroke (width 0.1) (type solid)) (layer "Edge.Cuts") (tstamp 7f4ff399-ce1c-47f2-ba79-278546866fa9))
@ -1327,9 +1328,9 @@
(stroke (width 0.05) (type solid)) (layer "B.CrtYd") (tstamp 4460de39-1a89-4578-a11a-e113e294c730))
(fp_arc (start 10.9 4.65) (mid 0 11.772188) (end -10.9 4.65)
(stroke (width 0.05) (type solid)) (layer "B.CrtYd") (tstamp 24d64c58-65b4-42f9-91e5-eb3d35166fe6))
(fp_arc (start 10.9 4.65) (mid 11.492591 4.141073) (end 12.25 3.95)
(fp_arc (start 10.9 4.65) (mid 11.492593 4.141072) (end 12.25 3.95)
(stroke (width 0.05) (type solid)) (layer "B.CrtYd") (tstamp cce2fceb-7b76-49ae-9e0c-ea389c239abb))
(fp_arc (start 12.25 -3.95) (mid 11.492593 -4.141077) (end 10.9 -4.65)
(fp_arc (start 12.25 -3.95) (mid 11.492602 -4.141084) (end 10.9 -4.65)
(stroke (width 0.05) (type solid)) (layer "B.CrtYd") (tstamp 5fbafe83-24e5-481d-8d32-e6f2340ad775))
(fp_line (start -14.25 -3.5) (end -10.62 -3.5)
(stroke (width 0.1) (type solid)) (layer "B.Fab") (tstamp d92e6280-f4e1-40c7-a96f-45b7f7f6dae1))
@ -1416,6 +1417,60 @@
)
)
(footprint "Resistor_SMD:R_0805_2012Metric" (layer "B.Cu")
(tstamp 677926df-f309-4c35-8dad-339e806c245f)
(at 95.3125 141.4 180)
(descr "Resistor SMD 0805 (2012 Metric), square (rectangular) end terminal, IPC_7351 nominal, (Body size source: IPC-SM-782 page 72, https://www.pcb-3d.com/wordpress/wp-content/uploads/ipc-sm-782a_amendment_1_and_2.pdf), generated with kicad-footprint-generator")
(tags "resistor")
(property "Sheetfile" "badge.kicad_sch")
(property "Sheetname" "")
(property "ki_description" "Resistor")
(property "ki_keywords" "R res resistor")
(path "/7ab46249-4f47-44b6-bf4a-1d9baccc5ae4")
(attr smd)
(fp_text reference "R2" (at 0 1.65) (layer "B.SilkS")
(effects (font (size 1 1) (thickness 0.15)) (justify mirror))
(tstamp 5031f027-1bfd-46bb-8cdc-4ce5dda09b08)
)
(fp_text value "5k6" (at 0 -1.65) (layer "B.Fab")
(effects (font (size 1 1) (thickness 0.15)) (justify mirror))
(tstamp 4025f3b1-048b-4f4a-ac86-8514d4fa53f8)
)
(fp_text user "${REFERENCE}" (at 0 0) (layer "B.Fab")
(effects (font (size 0.5 0.5) (thickness 0.08)) (justify mirror))
(tstamp 64d6f0d7-e94d-4376-9ca3-34bce6938116)
)
(fp_line (start -0.227064 -0.735) (end 0.227064 -0.735)
(stroke (width 0.12) (type solid)) (layer "B.SilkS") (tstamp 1121c6b7-57d9-40be-9c2f-9893121d928c))
(fp_line (start -0.227064 0.735) (end 0.227064 0.735)
(stroke (width 0.12) (type solid)) (layer "B.SilkS") (tstamp 16ba953c-84a1-4e5b-ac75-ab3e7878e3a7))
(fp_line (start -1.68 -0.95) (end -1.68 0.95)
(stroke (width 0.05) (type solid)) (layer "B.CrtYd") (tstamp 0c24be61-ff16-4194-977c-c541d932fe3b))
(fp_line (start -1.68 0.95) (end 1.68 0.95)
(stroke (width 0.05) (type solid)) (layer "B.CrtYd") (tstamp 39856917-3729-467e-a905-b746358fff79))
(fp_line (start 1.68 -0.95) (end -1.68 -0.95)
(stroke (width 0.05) (type solid)) (layer "B.CrtYd") (tstamp 1601ac70-a88d-4923-9fd6-01015fc494c3))
(fp_line (start 1.68 0.95) (end 1.68 -0.95)
(stroke (width 0.05) (type solid)) (layer "B.CrtYd") (tstamp 3c88211d-f40f-407c-8bce-ccd019b2b65a))
(fp_line (start -1 -0.625) (end -1 0.625)
(stroke (width 0.1) (type solid)) (layer "B.Fab") (tstamp 941c05e3-2fa7-479a-8671-2cb147c71de2))
(fp_line (start -1 0.625) (end 1 0.625)
(stroke (width 0.1) (type solid)) (layer "B.Fab") (tstamp 9651d0f9-eeae-4693-a317-f500f2ad43fe))
(fp_line (start 1 -0.625) (end -1 -0.625)
(stroke (width 0.1) (type solid)) (layer "B.Fab") (tstamp f168a178-2d8f-478e-8ea3-7098a9ff113a))
(fp_line (start 1 0.625) (end 1 -0.625)
(stroke (width 0.1) (type solid)) (layer "B.Fab") (tstamp f83222fb-1736-45b1-b39d-e557d318cb46))
(pad "1" smd roundrect (at -0.9125 0 180) (size 1.025 1.4) (layers "B.Cu" "B.Paste" "B.Mask") (roundrect_rratio 0.243902)
(net 45 "Net-(U1-CLK)") (pintype "passive") (tstamp 878750e1-c2e7-48b5-8fd2-bfaa96d4e177))
(pad "2" smd roundrect (at 0.9125 0 180) (size 1.025 1.4) (layers "B.Cu" "B.Paste" "B.Mask") (roundrect_rratio 0.243902)
(net 26 "Net-(R2-Pad2)") (pintype "passive") (tstamp 24d516ea-e146-4730-8fab-706f604dccb9))
(model "${KICAD6_3DMODEL_DIR}/Resistor_SMD.3dshapes/R_0805_2012Metric.wrl"
(offset (xyz 0 0 0))
(scale (xyz 1 1 1))
(rotate (xyz 0 0 0))
)
)
(footprint "Resistor_SMD:R_0805_2012Metric" (layer "B.Cu")
(tstamp 6aef4d3f-7f73-48b5-a08e-3a48a6b470a8)
(at 86.3 108.3 180)
@ -1623,7 +1678,7 @@
(effects (font (size 1 1) (thickness 0.15)) (justify mirror))
(tstamp 6c06a98e-372b-49d8-9eb8-d45852951f3b)
)
(fp_text value "10k" (at 0 -3.5) (layer "B.Fab")
(fp_text value "100k" (at 0 -3.5) (layer "B.Fab")
(effects (font (size 1 1) (thickness 0.15)) (justify mirror))
(tstamp afad1dd7-72af-4488-9de3-190d68cb662c)
)
@ -1668,9 +1723,9 @@
(fp_circle (center -1.2 -0.65) (end -0.45 -0.65)
(stroke (width 0.1) (type solid)) (fill none) (layer "B.Fab") (tstamp 0e139dfe-6b22-4780-bdd9-d93089c4632c))
(pad "1" smd rect (at 1.25 1.45 180) (size 1.3 1.6) (layers "B.Cu" "B.Paste" "B.Mask")
(net 7 "VCCQ") (pinfunction "1") (pintype "passive") (tstamp e68d1bd2-a13d-4465-bd0d-46fdf5fcec41))
(net 26 "Net-(R2-Pad2)") (pinfunction "1") (pintype "passive") (tstamp e68d1bd2-a13d-4465-bd0d-46fdf5fcec41))
(pad "2" smd rect (at 0 -1.45 180) (size 2 1.6) (layers "B.Cu" "B.Paste" "B.Mask")
(net 26 "Net-(U2-DIS)") (pinfunction "2") (pintype "passive") (tstamp 43a004fb-e5a5-4079-bcfa-2ea39cad6ee9))
(net 8 "Net-(U2-THR)") (pinfunction "2") (pintype "passive") (tstamp 43a004fb-e5a5-4079-bcfa-2ea39cad6ee9))
(pad "3" smd rect (at -1.25 1.45 180) (size 1.3 1.6) (layers "B.Cu" "B.Paste" "B.Mask")
(net 8 "Net-(U2-THR)") (pinfunction "3") (pintype "passive") (tstamp 793a540e-7e57-45e3-a01b-64b5056232d8))
(model "${KICAD6_3DMODEL_DIR}/Potentiometer_SMD.3dshapes/Potentiometer_Bourns_3214W_Vertical.wrl"
@ -2352,7 +2407,7 @@
(pad "6" smd roundrect (at 2.475 -0.635 180) (size 1.95 0.6) (layers "B.Cu" "B.Paste" "B.Mask") (roundrect_rratio 0.25)
(net 8 "Net-(U2-THR)") (pinfunction "THR") (pintype "input") (tstamp 3b856781-fa32-4a16-9908-f13310f728ff))
(pad "7" smd roundrect (at 2.475 0.635 180) (size 1.95 0.6) (layers "B.Cu" "B.Paste" "B.Mask") (roundrect_rratio 0.25)
(net 26 "Net-(U2-DIS)") (pinfunction "DIS") (pintype "input") (tstamp d8a6db5b-401a-4f5a-88a8-f78fcddffe5b))
(net 48 "unconnected-(U2-DIS-Pad7)") (pinfunction "DIS") (pintype "input") (tstamp d8a6db5b-401a-4f5a-88a8-f78fcddffe5b))
(pad "8" smd roundrect (at 2.475 1.905 180) (size 1.95 0.6) (layers "B.Cu" "B.Paste" "B.Mask") (roundrect_rratio 0.25)
(net 7 "VCCQ") (pinfunction "VCC") (pintype "power_in") (tstamp 02b96af6-e981-494e-aacb-ae76debc747b))
(model "${KICAD6_3DMODEL_DIR}/Package_SO.3dshapes/SOIC-8_3.9x4.9mm_P1.27mm.wrl"

View file

@ -1786,6 +1786,9 @@
(junction (at 110.49 17.78) (diameter 0) (color 0 0 0 0)
(uuid 71bf75fc-333e-4390-b631-4a6dcc918f9a)
)
(junction (at 155.575 159.385) (diameter 0) (color 0 0 0 0)
(uuid 72a62cf8-e6da-453b-930a-769d6139470f)
)
(junction (at 155.575 174.625) (diameter 0) (color 0 0 0 0)
(uuid 77168e89-1744-421c-b645-ebaf3b1679bf)
)
@ -1795,6 +1798,9 @@
(junction (at 39.37 154.305) (diameter 0) (color 0 0 0 0)
(uuid 87db8009-0799-46c7-a83c-a56978ad633a)
)
(junction (at 151.765 174.625) (diameter 0) (color 0 0 0 0)
(uuid 8866a717-416a-4b99-8fe0-a1ff729a0d6c)
)
(junction (at 43.18 186.055) (diameter 0) (color 0 0 0 0)
(uuid 8d0aea16-7536-446e-bb80-3b3a7a76d526)
)
@ -1882,10 +1888,6 @@
(stroke (width 0) (type default))
(uuid 0378fb5c-7091-4729-a6c7-6e04972b1872)
)
(wire (pts (xy 255.905 160.655) (xy 136.525 160.655))
(stroke (width 0) (type default))
(uuid 04406560-9485-41cf-86ec-4b0b53fa7bf4)
)
(wire (pts (xy 137.16 70.485) (xy 137.16 81.28))
(stroke (width 0) (type default))
(uuid 04d48cd3-cad6-4998-aa2e-2651dc7f605b)
@ -1914,6 +1916,10 @@
(stroke (width 0) (type default))
(uuid 106debfd-4eea-453b-8324-bb07551ab3a4)
)
(wire (pts (xy 151.765 170.815) (xy 151.765 174.625))
(stroke (width 0) (type default))
(uuid 10a181ac-aa22-464a-8b4a-6d6d9a3cd25b)
)
(wire (pts (xy 92.71 121.285) (xy 92.71 127.635))
(stroke (width 0) (type default))
(uuid 11afaeb4-55a2-40d7-bc6a-8c73a5a5cefd)
@ -2002,14 +2008,14 @@
(stroke (width 0) (type default))
(uuid 348d6dcd-0f83-48ec-a290-c95bc90a7b1a)
)
(wire (pts (xy 155.575 159.385) (xy 255.905 159.385))
(stroke (width 0) (type default))
(uuid 36ebad49-aa4e-4098-97f2-c88087b0e894)
)
(wire (pts (xy 173.99 118.745) (xy 173.99 126.365))
(stroke (width 0) (type default))
(uuid 3a6eae2d-1adc-45f7-a444-53230d2527dc)
)
(wire (pts (xy 136.525 169.545) (xy 136.525 170.815))
(stroke (width 0) (type default))
(uuid 3b105ed5-4dd8-45a7-adcb-b196007e6925)
)
(wire (pts (xy 39.37 128.905) (xy 48.895 128.905))
(stroke (width 0) (type default))
(uuid 3b3962b8-ad37-4b14-b9bc-fff9713465ac)
@ -2194,7 +2200,7 @@
(stroke (width 0) (type default))
(uuid 80689d3f-68d3-4c18-89ea-ddbc8c60c2e1)
)
(wire (pts (xy 255.905 62.865) (xy 255.905 160.655))
(wire (pts (xy 255.905 62.865) (xy 255.905 159.385))
(stroke (width 0) (type default))
(uuid 8503bc83-111f-47ec-a4b5-15afceb4fdea)
)
@ -2222,6 +2228,10 @@
(stroke (width 0) (type default))
(uuid 926721da-3f5c-45f3-b4a5-48322fec1f5a)
)
(wire (pts (xy 136.525 159.385) (xy 155.575 159.385))
(stroke (width 0) (type default))
(uuid 9315407c-00fb-4fde-a805-2d957c0002f4)
)
(wire (pts (xy 102.235 184.785) (xy 136.525 184.785))
(stroke (width 0) (type default))
(uuid 9554bdba-55ab-4ad0-aa0c-341b979935b4)
@ -2230,7 +2240,7 @@
(stroke (width 0) (type default))
(uuid 9c7ed645-e11b-4321-afef-559d0e83f090)
)
(wire (pts (xy 136.525 160.655) (xy 136.525 164.465))
(wire (pts (xy 136.525 159.385) (xy 136.525 164.465))
(stroke (width 0) (type default))
(uuid 9d0b1a6d-5c6d-4479-b3ad-39c82b01fa9d)
)
@ -2318,7 +2328,7 @@
(stroke (width 0) (type default))
(uuid c3292333-0a51-406b-8b81-e47dcaa33ded)
)
(wire (pts (xy 136.525 174.625) (xy 155.575 174.625))
(wire (pts (xy 136.525 174.625) (xy 151.765 174.625))
(stroke (width 0) (type default))
(uuid c3ead112-a6e0-4602-b0f1-ebffdee516cd)
)
@ -2390,10 +2400,6 @@
(stroke (width 0) (type default))
(uuid f1de256b-7000-4c38-873b-59eb6a5965fe)
)
(wire (pts (xy 136.525 170.815) (xy 151.765 170.815))
(stroke (width 0) (type default))
(uuid f1ecaa9a-a6e7-41b1-a8ca-c3e0115d2b36)
)
(wire (pts (xy 142.24 70.485) (xy 142.24 81.28))
(stroke (width 0) (type default))
(uuid f28134af-7237-455e-a8bc-8e7cef5d57d2)
@ -2418,6 +2424,10 @@
(stroke (width 0) (type default))
(uuid f9f3e3d5-e5a0-44e1-8ffa-9d7037caf366)
)
(wire (pts (xy 151.765 174.625) (xy 155.575 174.625))
(stroke (width 0) (type default))
(uuid fcc39f41-795d-489c-8fe6-7e95edab7c09)
)
(wire (pts (xy 110.49 97.79) (xy 110.49 96.52))
(stroke (width 0) (type default))
(uuid fe69e03a-dc27-4edd-a5c9-ea9168db11b9)
@ -2492,31 +2502,6 @@
)
)
(symbol (lib_id "power:VCCQ") (at 155.575 167.005 0) (unit 1)
(in_bom yes) (on_board yes) (dnp no) (fields_autoplaced)
(uuid 0b0a58c0-f557-4328-8d66-8f37ad9f5101)
(property "Reference" "#PWR024" (at 155.575 170.815 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Value" "VCCQ" (at 155.575 163.06 0)
(effects (font (size 1.27 1.27)))
)
(property "Footprint" "" (at 155.575 167.005 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "" (at 155.575 167.005 0)
(effects (font (size 1.27 1.27)) hide)
)
(pin "1" (uuid e44607da-9ab2-4a4a-ae84-f746e7bca9b0))
(instances
(project "badge"
(path "/7f7385c9-4a96-43bc-98d8-990d184815c1"
(reference "#PWR024") (unit 1)
)
)
)
)
(symbol (lib_id "Device:C") (at 244.475 55.245 90) (unit 1)
(in_bom yes) (on_board yes) (dnp no) (fields_autoplaced)
(uuid 0c06ad6a-643b-4c23-9058-2d866ea59690)
@ -2689,10 +2674,10 @@
(symbol (lib_id "Device:R_Potentiometer") (at 155.575 170.815 0) (mirror y) (unit 1)
(in_bom yes) (on_board yes) (dnp no) (fields_autoplaced)
(uuid 54028bf3-4a07-42b5-84fd-74f8af05e24d)
(property "Reference" "RV1" (at 157.3529 169.791 0)
(property "Reference" "RV1" (at 157.353 169.791 0)
(effects (font (size 1.27 1.27)) (justify right))
)
(property "Value" "10k" (at 157.3529 171.839 0)
(property "Value" "100k" (at 157.353 171.839 0)
(effects (font (size 1.27 1.27)) (justify right))
)
(property "Footprint" "Potentiometer_SMD:Potentiometer_Bourns_3214W_Vertical" (at 155.575 170.815 0)
@ -2960,6 +2945,32 @@
)
)
(symbol (lib_id "Device:R") (at 155.575 163.195 0) (unit 1)
(in_bom yes) (on_board yes) (dnp no) (fields_autoplaced)
(uuid 7ab46249-4f47-44b6-bf4a-1d9baccc5ae4)
(property "Reference" "R2" (at 157.353 162.171 0)
(effects (font (size 1.27 1.27)) (justify left))
)
(property "Value" "5k6" (at 157.353 164.219 0)
(effects (font (size 1.27 1.27)) (justify left))
)
(property "Footprint" "Resistor_SMD:R_0805_2012Metric" (at 153.797 163.195 90)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "~" (at 155.575 163.195 0)
(effects (font (size 1.27 1.27)) hide)
)
(pin "1" (uuid c0cba606-7512-4bec-9c48-c4d1d64976ab))
(pin "2" (uuid ca99de6e-7506-4a30-bb57-69a5db8246bc))
(instances
(project "badge"
(path "/7f7385c9-4a96-43bc-98d8-990d184815c1"
(reference "R2") (unit 1)
)
)
)
)
(symbol (lib_id "Device:C") (at 129.54 154.305 90) (unit 1)
(in_bom yes) (on_board yes) (dnp no) (fields_autoplaced)
(uuid 7b26d083-8c6d-4be8-91aa-397e68252103)