seveibar/usb-c-flashlight

A compact USB-C powered push button board with a red LED, utilizing a single current-limiting resistor for the LED indicator.

Version
1.0.0
License
unset
Stars
6

dist/pcb.svg

PCBPCB preview for dist/pcb.svg
SchematicSchematic preview for dist/pcb.svg
<svg xmlns="http://www.w3.org/2000/svg" width="800" height="600"><style></style><rect class="boundary" x="0" y="0" fill="#000" width="800" height="600"/><rect class="pcb-boundary" fill="none" stroke="#fff" stroke-width="0.3" x="289.6352034049799" y="18.394132765836673" width="220.7295931900402" height="563.2117344683265"/><path class="pcb-board" d="M 289.6352034049799 570.2181157409373 L 510.3647965950201 570.2181157409373 L 510.3647965950201 18.394132765836673 L 289.6352034049799 18.394132765836673 Z" fill="none" stroke="rgba(255, 255, 255, 0.5)" stroke-width="1.8394132765836684"/><g transform="translate(400, 492.73282042837104) rotate(0) scale(1, -1)"><rect class="pcb-component" x="-90.59314194165594" y="-62.29329687190945" width="181.1862838833119" height="124.5865937438189"/><rect class="pcb-component-outline" x="-90.59314194165594" y="-62.29329687190945" width="181.1862838833119" height="124.5865937438189"/></g><g transform="translate(400, 73.57653106334675) rotate(0) scale(1, -1)"><rect class="pcb-component" x="-22.532812638149938" y="-8.737213063772419" width="45.065625276299876" height="17.474426127544838"/><rect class="pcb-component-outline" x="-22.532812638149938" y="-8.737213063772419" width="45.065625276299876" height="17.474426127544838"/></g><g transform="translate(400, 294.30612425338694) rotate(-90) scale(1, -1)"><rect class="pcb-component" x="-77.71521093565998" y="-59.32107816982331" width="155.43042187131996" height="118.64215633964662"/><rect class="pcb-component-outline" x="-77.71521093565998" y="-59.32107816982331" width="155.43042187131996" height="118.64215633964662"/></g><g transform="translate(400, 165.54719489253014) rotate(0) scale(1, -1)"><rect class="pcb-component" x="-22.532812638149938" y="-8.737213063772419" width="45.065625276299876" height="17.474426127544838"/><rect class="pcb-component-outline" x="-22.532812638149938" y="-8.737213063772419" width="45.065625276299876" height="17.474426127544838"/></g><rect class="pcb-pad" fill="rgb(200, 52, 52)" x="365.0500496151828" y="430.4395235564616" width="5.518228793271345" height="23.912324770842496"/><rect class="pcb-pad" fill="rgb(200, 52, 52)" x="374.2494336588322" y="430.4395235564616" width="5.518228793271345" height="23.912324770842496"/><rect class="pcb-pad" fill="rgb(200, 52, 52)" x="383.4441455927561" y="430.4395235564616" width="5.518228793271345" height="23.912324770842496"/><rect class="pcb-pad" fill="rgb(200, 52, 52)" x="392.6435296364034" y="430.4395235564616" width="5.518228793271345" height="23.912324770842496"/><rect class="pcb-pad" fill="rgb(200, 52, 52)" x="401.8382415703253" y="430.4395235564616" width="5.518228793271345" height="23.912324770842496"/><rect class="pcb-pad" fill="rgb(200, 52, 52)" x="411.0376256139726" y="430.4395235564616" width="5.518228793271345" height="23.912324770842496"/><rect class="pcb-pad" fill="rgb(200, 52, 52)" x="420.2276654381733" y="430.4395235564616" width="5.518228793271345" height="23.912324770842496"/><rect class="pcb-pad" fill="rgb(200, 52, 52)" x="429.4317215915459" y="430.4395235564616" width="5.518228793271345" height="23.912324770842496"/><rect class="pcb-pad" fill="rgb(200, 52, 52)" x="335.6204304730147" y="430.4395235564616" width="5.518228793271345" height="23.912324770842496"/><rect class="pcb-pad" fill="rgb(200, 52, 52)" x="341.13819205531416" y="430.4395235564616" width="5.518228793271345" height="23.912324770842496"/><rect class="pcb-pad" fill="rgb(200, 52, 52)" x="350.33757609896145" y="430.4395235564616" width="5.518228793271345" height="23.912324770842496"/><rect class="pcb-pad" fill="rgb(200, 52, 52)" x="355.85533768125885" y="430.4395235564616" width="5.518228793271345" height="23.912324770842496"/><rect class="pcb-pad" fill="rgb(200, 52, 52)" x="438.62643352546985" y="430.4395235564616" width="5.518228793271345" height="23.912324770842496"/><rect class="pcb-pad" fill="rgb(200, 52, 52)" x="444.14886721749053" y="430.4395235564616" width="5.518228793271345" height="23.912324770842496"/><rect class="pcb-pad" fill="rgb(200, 52, 52)" x="453.3435791514166" y="430.4395235564616" width="5.518228793271345" height="23.912324770842496"/><rect class="pcb-pad" fill="rgb(200, 52, 52)" x="458.861340733714" y="430.4395235564616" width="5.518228793271345" height="23.912324770842496"/><rect class="pcb-pad" fill="rgb(200, 52, 52)" x="377.46718736185005" y="64.83931799957432" width="14.715306212669347" height="17.47442612754485"/><rect class="pcb-pad" fill="rgb(200, 52, 52)" x="407.8175064254806" y="64.83931799957432" width="14.715306212669347" height="17.47442612754485"/><rect class="pcb-pad" fill="rgb(200, 52, 52)" x="377.46718736185005" y="156.8099818287577" width="14.715306212669347" height="17.47442612754485"/><rect class="pcb-pad" fill="rgb(200, 52, 52)" x="407.8175064254806" y="156.8099818287577" width="14.715306212669347" height="17.47442612754485"/><path class="pcb-silkscreen pcb-silkscreen-top" d="M 317.7970326980495 513.2094513732383 L 317.7970326980495 478.94279703534374" fill="none" stroke="#f2eda1" stroke-width="1.8394132765836684" data-pcb-component-id="pcb_component_0" data-pcb-silkscreen-path-id="pcb_silkscreen_path_0"/><path class="pcb-silkscreen pcb-silkscreen-top" d="M 482.24034417973246 581.6058672341633 L 317.7970326980495 581.6058672341633 L 317.7970326980495 554.3585905433833" fill="none" stroke="#f2eda1" stroke-width="1.8394132765836684" data-pcb-component-id="pcb_component_0" data-pcb-silkscreen-path-id="pcb_silkscreen_path_1"/><path class="pcb-silkscreen pcb-silkscreen-top" d="M 482.24034417973246 513.2159923268504 L 482.24034417973246 478.9362560817295" fill="none" stroke="#f2eda1" stroke-width="1.8394132765836684" data-pcb-component-id="pcb_component_0" data-pcb-silkscreen-path-id="pcb_silkscreen_path_2"/><path class="pcb-silkscreen pcb-silkscreen-top" d="M 482.24034417973246 581.6058672341633 L 482.24034417973246 554.3520495897753" fill="none" stroke="#f2eda1" stroke-width="1.8394132765836684" data-pcb-component-id="pcb_component_0" data-pcb-silkscreen-path-id="pcb_silkscreen_path_3"/><path class="pcb-silkscreen pcb-silkscreen-top" d="M 415.17515953181527 57.48166489323964 L 373.78836080868274 57.48166489323964 L 373.78836080868274 89.67139723345383 L 415.17515953181527 89.67139723345383" fill="none" stroke="#f2eda1" stroke-width="1.8394132765836684" data-pcb-component-id="pcb_component_1" data-pcb-silkscreen-path-id="pcb_silkscreen_path_4"/><path class="pcb-silkscreen pcb-silkscreen-top" d="M 459.7809314889692 335.69292297651947 L 340.2190685110308 335.69292297651947" fill="none" stroke="#f2eda1" stroke-width="1.8394132765836684" data-pcb-component-id="pcb_component_2" data-pcb-silkscreen-path-id="pcb_silkscreen_path_5"/><path class="pcb-silkscreen pcb-silkscreen-top" d="M 459.7809314889692 252.9193255302544 L 340.2190685110308 252.9193255302544" fill="none" stroke="#f2eda1" stroke-width="1.8394132765836684" data-pcb-component-id="pcb_component_2" data-pcb-silkscreen-path-id="pcb_silkscreen_path_6"/><path class="pcb-silkscreen pcb-silkscreen-top" d="M 400 335.69292297651947 L 400 310.86084374264 L 385.0547671277577 282.600169841895" fill="none" stroke="#f2eda1" stroke-width="1.8394132765836684" data-pcb-component-id="pcb_component_2" data-pcb-silkscreen-path-id="pcb_silkscreen_path_7"/><path class="pcb-silkscreen pcb-silkscreen-top" d="M 400 252.9193255302544 L 400 277.7514047641339" fill="none" stroke="#f2eda1" stroke-width="1.8394132765836684" data-pcb-component-id="pcb_component_2" data-pcb-silkscreen-path-id="pcb_silkscreen_path_8"/><path class="pcb-silkscreen pcb-silkscreen-top" d="M 395.6358448482431 155.93626052238048 L 404.3641551517569 155.93626052238048" fill="none" stroke="#f2eda1" stroke-width="2.207295931900402" data-pcb-component-id="pcb_component_3" data-pcb-silkscreen-path-id="pcb_silkscreen_path_9"/><path class="pcb-silkscreen pcb-silkscreen-top" d="M 395.6358448482431 175.15812926267984 L 404.3641551517569 175.15812926267984" fill="none" stroke="#f2eda1" stroke-width="2.207295931900402" data-pcb-component-id="pcb_component_3" data-pcb-silkscreen-path-id="pcb_silkscreen_path_10"/><text x="0" y="0" fill="#f2eda1" font-family="Arial, sans-serif" font-size="7.3576531063346735" text-anchor="middle" dominant-baseline="central" transform="matrix(1,0,0,1,400,48.2845985103213)" class="pcb-silkscreen-text pcb-silkscreen-top" data-pcb-silkscreen-text-id="pcb_component_1" stroke="#f2eda1">LED</text><text x="0" y="0" fill="#f2eda1" font-family="Arial, sans-serif" font-size="12.875892936085679" text-anchor="middle" dominant-baseline="central" transform="matrix(6.123233995736766e-17,1,-1,6.123233995736766e-17,332.8614154046961,294.30612425338694)" class="pcb-silkscreen-text pcb-silkscreen-top" data-pcb-silkscreen-text-id="pcb_component_2" stroke="#f2eda1">SW1</text><text x="0" y="0" fill="#f2eda1" font-family="Arial, sans-serif" font-size="7.3576531063346735" text-anchor="middle" dominant-baseline="central" transform="matrix(1,0,0,1,400,140.25526233950472)" class="pcb-silkscreen-text pcb-silkscreen-top" data-pcb-silkscreen-text-id="pcb_component_3" stroke="#f2eda1">R1</text><g><path class="pcb-hole-outer" fill="rgb(200, 52, 52)" d="M468.5202267685706,532.9532021271951 v11.036457586542692 a11.03645758654269,11.03645758654269 0 0 0 22.07291517308538,0 v-11.036457586542692 a11.03645758654269,11.03645758654269 0 0 0 -22.07291517308538,0 z"/><path class="pcb-hole-inner" fill="rgb(255, 38, 226)" d="M472.1990459640848,532.9532021271951 v11.036457586542694 a7.35763839102846,7.35763839102846 0 0 0 14.71527678205692,0 v-11.036457586542694 a7.35763839102846,7.35763839102846 0 0 0 -14.71527678205692,0 z"/></g><g><path class="pcb-hole-outer" fill="rgb(200, 52, 52)" d="M468.5202267685706,454.2295549356106 v14.715276782056922 a11.03645758654269,11.03645758654269 0 0 0 22.07291517308538,0 v-14.715276782056922 a11.03645758654269,11.03645758654269 0 0 0 -22.07291517308538,0 z"/><path class="pcb-hole-inner" fill="rgb(255, 38, 226)" d="M472.1990459640848,454.2295549356106 v14.715276782056923 a7.35763839102846,7.35763839102846 0 0 0 14.71527678205692,0 v-14.715276782056923 a7.35763839102846,7.35763839102846 0 0 0 -14.71527678205692,0 z"/></g><g><path class="pcb-hole-outer" fill="rgb(200, 52, 52)" d="M309.4068580583441,454.2295549356106 v14.715276782056922 a11.03645758654269,11.03645758654269 0 0 0 22.07291517308538,0 v-14.715276782056922 a11.03645758654269,11.03645758654269 0 0 0 -22.07291517308538,0 z"/><path class="pcb-hole-inner" fill="rgb(255, 38, 226)" d="M313.0856772538583,454.2295549356106 v14.715276782056923 a7.35763839102846,7.35763839102846 0 0 0 14.71527678205692,0 v-14.715276782056923 a7.35763839102846,7.35763839102846 0 0 0 -14.71527678205692,0 z"/></g><g><path class="pcb-hole-outer" fill="rgb(200, 52, 52)" d="M309.4068580583441,532.9532021271951 v11.036457586542692 a11.03645758654269,11.03645758654269 0 0 0 22.07291517308538,0 v-11.036457586542692 a11.03645758654269,11.03645758654269 0 0 0 -22.07291517308538,0 z"/><path class="pcb-hole-inner" fill="rgb(255, 38, 226)" d="M313.0856772538583,532.9532021271951 v11.036457586542694 a7.35763839102846,7.35763839102846 0 0 0 14.71527678205692,0 v-11.036457586542694 a7.35763839102846,7.35763839102846 0 0 0 -14.71527678205692,0 z"/></g><g><circle class="pcb-hole-outer" fill="rgb(200, 52, 52)" cx="340.2190685110308" cy="335.69292297651947" r="17.93427944669077"/><circle class="pcb-hole-inner" fill="rgb(255, 38, 226)" cx="340.2190685110308" cy="335.69292297651947" r="11.956186297793845"/></g><g><circle class="pcb-hole-outer" fill="rgb(200, 52, 52)" cx="459.7809314889692" cy="335.69292297651947" r="17.93427944669077"/><circle class="pcb-hole-inner" fill="rgb(255, 38, 226)" cx="459.7809314889692" cy="335.69292297651947" r="11.956186297793845"/></g><g><circle class="pcb-hole-outer" fill="rgb(200, 52, 52)" cx="459.7809314889692" cy="252.9193255302544" r="17.93427944669077"/><circle class="pcb-hole-inner" fill="rgb(255, 38, 226)" cx="459.7809314889692" cy="252.9193255302544" r="11.956186297793845"/></g><g><circle class="pcb-hole-outer" fill="rgb(200, 52, 52)" cx="340.2190685110308" cy="252.9193255302544" r="17.93427944669077"/><circle class="pcb-hole-inner" fill="rgb(255, 38, 226)" cx="340.2190685110308" cy="252.9193255302544" r="11.956186297793845"/></g><circle class="pcb-hole" cx="346.6585232979591" cy="465.72820189615965" r="6.897902794332244" fill="#FF26E2"/><circle class="pcb-hole" cx="453.3414767020409" cy="465.72820189615965" r="6.897902794332244" fill="#FF26E2"/></svg>