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
MIT
Stars
6

dist/assembly.svg

PCBPCB preview for dist/assembly.svg
SchematicSchematic preview for dist/assembly.svg
<svg xmlns="http://www.w3.org/2000/svg" width="800" height="600"><style>
              .assembly-component { fill: #fff; stroke: #000; stroke-width: 3; }
              .assembly-board { fill: #f2f2f2; stroke: rgb(0,0,0); stroke-opacity: 0.8; }
              .assembly-component-label { 
                fill: #000; 
                font-family: Arial, serif;
                font-weight: bold;
              }
              .assembly-boundary { fill: none; stroke: #fff; stroke-width: 0.3; }
            </style><rect fill="#fff" x="0" y="0" width="800" height="600"/><rect class="assembly-boundary" x="287.5" y="18.75" width="225" height="562.5"/><g transform="translate(400, 502.26561375000057) rotate(0) scale(1, -1)"><path class="assembly-component" d="M-92.34582749999981,-63.49847156249848 L92.34582749999981,-63.49847156249848 L92.34582749999981,63.49847156249848 L-73.29628603125028,63.49847156249848 L-92.34582749999981,44.44893009374894 Z"/><text x="0" y="5.143376196562376" class="assembly-component-label" text-anchor="middle" dominant-baseline="middle" font-size="41.14700957249901px" transform="scale(1, -1)">unnamed_chip2</text></g><g transform="translate(400, 75) rotate(0) scale(1, -1)"><path class="assembly-component" d="M-22.96875,-8.906249999999993 L22.96875,-8.906249999999993 L22.96875,8.906249999999993 L-20.296875000000004,8.906249999999993 L-22.96875,6.234374999999995 Z"/><text x="0" y="1.2023437499999992" class="assembly-component-label" text-anchor="middle" dominant-baseline="middle" font-size="9.618749999999993px" transform="scale(1, -1)">LED</text></g><g transform="translate(400, 300) rotate(-90) scale(1, -1)"><path class="assembly-component" d="M42.32812499999999,-79.21875 L60.46874999999999,-61.07812500000001 L60.46875000000001,79.21875 L-60.46874999999999,79.21875 L-60.46875000000001,-79.21875 Z"/><text x="0" y="4.89796875" class="assembly-component-label" text-anchor="middle" dominant-baseline="middle" font-size="39.18375px" transform="scale(1, -1)">SW1</text></g><g transform="translate(400, 168.75) rotate(0) scale(1, -1)"><path class="assembly-component" d="M-22.96875,-8.906249999999993 L22.96875,-8.906249999999993 L22.96875,8.906249999999993 L-20.296875000000004,8.906249999999993 L-22.96875,6.234374999999995 Z"/><text x="0" y="1.2023437499999992" class="assembly-component-label" text-anchor="middle" dominant-baseline="middle" font-size="9.618749999999993px" transform="scale(1, -1)">R1</text></g><path class="pcb-board" d="M 287.5 581.25 L 512.5 581.25 L 512.5 18.75 L 287.5 18.75 Z" fill="none" stroke="rgb(0,0,0)" stroke-opacity="0.8" stroke-width="3.75"/></svg>