seveibar/smd-usb-c
This code defines a USB Type-C connector component with associated pin configurations, 3D model, and PCB footprint layout for electronic hardware design.
Usage: To import and use the USB-C SMD component in a tscircuit project: 1. Import the component: ```tsx import { SmdUsbC } from "@tsci/seveibar.smd-usb-c" ``` 2. Use the component in a board: ```tsx <board> <SmdUsbC name="USB1" /> </board> ``` Key features: - Available pins include: GND1, VBUS1, CC1, DP1, DM1, SBU1, etc. - Supports accessing specific pins via `sel.USB1.VBUS1` - Includes CAD model and footprint details - Manufacturer part number: TYPE-C-31-M-12
- Version
- 0.0.2
- License
- unset
- Stars
- 2
dist/pcb.svg
PCB
Schematic
<svg xmlns="http://www.w3.org/2000/svg" width="800" height="600" data-software-used-string="@tscircuit/core@0.0.1024"><style></style><rect class="boundary" x="0" y="0" fill="#000" width="800" height="600" data-type="pcb_background" data-pcb-layer="global"/><rect class="pcb-boundary" fill="none" stroke="#fff" stroke-width="0.3" x="137.52708884329826" y="58.718856142589914" width="524.9458223134034" height="482.5622877148201" data-type="pcb_boundary" data-pcb-layer="global"/><rect class="pcb-pad" fill="rgb(200, 52, 52)" x="288.3710094555191" y="58.71885614258991" width="17.615621611463304" height="76.33436031634098" data-type="pcb_smtpad" data-pcb-layer="top"/><rect class="pcb-pad" fill="rgb(200, 52, 52)" x="317.73783610269606" y="58.71885614258991" width="17.615621611463304" height="76.33436031634098" data-type="pcb_smtpad" data-pcb-layer="top"/><rect class="pcb-pad" fill="rgb(200, 52, 52)" x="347.08974816040376" y="58.71885614258991" width="17.615621611463304" height="76.33436031634098" data-type="pcb_smtpad" data-pcb-layer="top"/><rect class="pcb-pad" fill="rgb(200, 52, 52)" x="376.45657480757404" y="58.71885614258991" width="17.615621611463304" height="76.33436031634098" data-type="pcb_smtpad" data-pcb-layer="top"/><rect class="pcb-pad" fill="rgb(200, 52, 52)" x="405.8084868652751" y="58.71885614258991" width="17.615621611463304" height="76.33436031634098" data-type="pcb_smtpad" data-pcb-layer="top"/><rect class="pcb-pad" fill="rgb(200, 52, 52)" x="435.17531351244537" y="58.71885614258991" width="17.615621611463304" height="76.33436031634098" data-type="pcb_smtpad" data-pcb-layer="top"/><rect class="pcb-pad" fill="rgb(200, 52, 52)" x="464.5123109806904" y="58.71885614258991" width="17.615621611463304" height="76.33436031634098" data-type="pcb_smtpad" data-pcb-layer="top"/><rect class="pcb-pad" fill="rgb(200, 52, 52)" x="493.89405221733006" y="58.71885614258991" width="17.615621611463304" height="76.33436031634098" data-type="pcb_smtpad" data-pcb-layer="top"/><rect class="pcb-pad" fill="rgb(200, 52, 52)" x="194.42401044561086" y="58.71885614258991" width="17.615621611463304" height="76.33436031634098" data-type="pcb_smtpad" data-pcb-layer="top"/><rect class="pcb-pad" fill="rgb(200, 52, 52)" x="212.03814059812933" y="58.71885614258991" width="17.615621611463304" height="76.33436031634098" data-type="pcb_smtpad" data-pcb-layer="top"/><rect class="pcb-pad" fill="rgb(200, 52, 52)" x="241.40496724529962" y="58.71885614258991" width="17.615621611463304" height="76.33436031634098" data-type="pcb_smtpad" data-pcb-layer="top"/><rect class="pcb-pad" fill="rgb(200, 52, 52)" x="259.01909739781144" y="58.71885614258991" width="17.615621611463304" height="76.33436031634098" data-type="pcb_smtpad" data-pcb-layer="top"/><rect class="pcb-pad" fill="rgb(200, 52, 52)" x="523.2459642750377" y="58.71885614258991" width="17.615621611463304" height="76.33436031634098" data-type="pcb_smtpad" data-pcb-layer="top"/><rect class="pcb-pad" fill="rgb(200, 52, 52)" x="540.8750090170122" y="58.71885614258991" width="17.615621611463304" height="76.33436031634098" data-type="pcb_smtpad" data-pcb-layer="top"/><rect class="pcb-pad" fill="rgb(200, 52, 52)" x="570.2269210747265" y="58.71885614258991" width="17.615621611463304" height="76.33436031634098" data-type="pcb_smtpad" data-pcb-layer="top"/><rect class="pcb-pad" fill="rgb(200, 52, 52)" x="587.8410512272383" y="58.71885614258991" width="17.615621611463304" height="76.33436031634098" data-type="pcb_smtpad" data-pcb-layer="top"/><path class="pcb-silkscreen pcb-silkscreen-top" d="M 137.52708884329826 322.941994372439 L 137.52708884329826 213.55392089437092" fill="none" stroke="#f2eda1" stroke-width="5.871885614258997" stroke-linecap="round" stroke-linejoin="round" data-pcb-component-id="pcb_component_0" data-pcb-silkscreen-path-id="pcb_silkscreen_path_0" data-type="pcb_silkscreen_path" data-pcb-layer="top"/><path class="pcb-silkscreen pcb-silkscreen-top" d="M 662.4729111567017 541.28114385741 L 137.52708884329826 541.28114385741 L 137.52708884329826 454.3007495843626" fill="none" stroke="#f2eda1" stroke-width="5.871885614258997" stroke-linecap="round" stroke-linejoin="round" data-pcb-component-id="pcb_component_0" data-pcb-silkscreen-path-id="pcb_silkscreen_path_1" data-type="pcb_silkscreen_path" data-pcb-layer="top"/><path class="pcb-silkscreen pcb-silkscreen-top" d="M 662.4729111567017 322.96287479768534 L 662.4729111567017 213.5330404691179" fill="none" stroke="#f2eda1" stroke-width="5.871885614258997" stroke-linecap="round" stroke-linejoin="round" data-pcb-component-id="pcb_component_0" data-pcb-silkscreen-path-id="pcb_silkscreen_path_2" data-type="pcb_silkscreen_path" data-pcb-layer="top"/><path class="pcb-silkscreen pcb-silkscreen-top" d="M 662.4729111567017 541.28114385741 L 662.4729111567017 454.27986915912965" fill="none" stroke="#f2eda1" stroke-width="5.871885614258997" stroke-linecap="round" stroke-linejoin="round" data-pcb-component-id="pcb_component_0" data-pcb-silkscreen-path-id="pcb_silkscreen_path_3" data-type="pcb_silkscreen_path" data-pcb-layer="top"/><g data-type="pcb_plated_hole" data-pcb-layer="through"><path class="pcb-hole-outer" fill="rgb(200, 52, 52)" d="M35.23124322292661,-17.615621611463304 v35.23124322292661 a35.23124322292661,35.23124322292661 0 0 1 -70.46248644585322,0 v-35.23124322292661 a35.23124322292661,35.23124322292661 0 0 1 70.46248644585322,0 z" transform="translate(653.9059709707452 403.58480378315335)" data-type="pcb_plated_hole" data-pcb-layer="top"/><path class="pcb-hole-inner" fill="#FF26E2" d="M23.487495481951072,-17.61562161146331 v35.23124322292662 a23.487495481951072,23.487495481951072 0 0 1 -46.974990963902144,0 v-35.23124322292662 a23.487495481951072,23.487495481951072 0 0 1 46.974990963902144,0 z" transform="translate(653.9059709707452 403.58480378315335)" data-type="pcb_plated_hole_drill" data-pcb-layer="drill"/></g><g data-type="pcb_plated_hole" data-pcb-layer="through"><path class="pcb-hole-outer" fill="rgb(200, 52, 52)" d="M35.23124322292661,-23.487495481951072 v46.974990963902144 a35.23124322292661,35.23124322292661 0 0 1 -70.46248644585322,0 v-46.974990963902144 a35.23124322292661,35.23124322292661 0 0 1 70.46248644585322,0 z" transform="translate(653.9059709707452 158.1503196258186)" data-type="pcb_plated_hole" data-pcb-layer="top"/><path class="pcb-hole-inner" fill="#FF26E2" d="M23.487495481951072,-23.48749548195108 v46.97499096390216 a23.487495481951072,23.487495481951072 0 0 1 -46.974990963902144,0 v-46.97499096390216 a23.487495481951072,23.487495481951072 0 0 1 46.974990963902144,0 z" transform="translate(653.9059709707452 158.1503196258186)" data-type="pcb_plated_hole_drill" data-pcb-layer="drill"/></g><g data-type="pcb_plated_hole" data-pcb-layer="through"><path class="pcb-hole-outer" fill="rgb(200, 52, 52)" d="M35.23124322292661,-23.487495481951072 v46.974990963902144 a35.23124322292661,35.23124322292661 0 0 1 -70.46248644585322,0 v-46.974990963902144 a35.23124322292661,35.23124322292661 0 0 1 70.46248644585322,0 z" transform="translate(145.9747123135672 158.1503196258186)" data-type="pcb_plated_hole" data-pcb-layer="top"/><path class="pcb-hole-inner" fill="#FF26E2" d="M23.487495481951072,-23.48749548195108 v46.97499096390216 a23.487495481951072,23.487495481951072 0 0 1 -46.974990963902144,0 v-46.97499096390216 a23.487495481951072,23.487495481951072 0 0 1 46.974990963902144,0 z" transform="translate(145.9747123135672 158.1503196258186)" data-type="pcb_plated_hole_drill" data-pcb-layer="drill"/></g><g data-type="pcb_plated_hole" data-pcb-layer="through"><path class="pcb-hole-outer" fill="rgb(200, 52, 52)" d="M35.23124322292661,-17.615621611463304 v35.23124322292661 a35.23124322292661,35.23124322292661 0 0 1 -70.46248644585322,0 v-35.23124322292661 a35.23124322292661,35.23124322292661 0 0 1 70.46248644585322,0 z" transform="translate(145.9747123135672 403.58480378315335)" data-type="pcb_plated_hole" data-pcb-layer="top"/><path class="pcb-hole-inner" fill="#FF26E2" d="M23.487495481951072,-17.61562161146331 v35.23124322292662 a23.487495481951072,23.487495481951072 0 0 1 -46.974990963902144,0 v-35.23124322292662 a23.487495481951072,23.487495481951072 0 0 1 46.974990963902144,0 z" transform="translate(145.9747123135672 403.58480378315335)" data-type="pcb_plated_hole_drill" data-pcb-layer="drill"/></g><circle class="pcb-hole" cx="229.66047377484486" cy="171.36949606508625" r="22.019899879065633" fill="#FF26E2" data-type="pcb_hole" data-pcb-layer="drill"/><circle class="pcb-hole" cx="570.2202095094676" cy="171.36949606508625" r="22.019899879065633" fill="#FF26E2" data-type="pcb_hole" data-pcb-layer="drill"/></svg>