runpatrick/sa-sim-pcb
This code defines PCB footprints for various electronic modules, including BG95 cellular modem, BNO086 sensor, BQ25180 battery charger, and BQ27220 power management IC, detailing their physical pad layouts and key external features.
- Version
- 1.0.6
- License
- unset
- Stars
- 0
footprints/usbc.tsx
// USB-C 6-pin SMD power-only receptacle (e.g. GCT USB4085-GF-A)
// Body ~7.3×8.94mm, mid-mount. Pin map for power-only USB-C 6-pin:
// 1=GND 2=VBUS 3=CC1 4=D+ 5=D- 6=VBUS (paired)
// Some 6-pin power-only variants use:
// 1=VBUS 2=GND 3=CC 4=D+ 5=D- 6=SBU (varies by vendor)
// Per GCT USB4085 datasheet pin assignment we use pin labels via pinLabels in the chip.
export const usbcFootprint = () => (
<footprint>
{/* Six SMD signal pads on 0.5mm pitch, 0.6mm wide × 1.4mm long */}
{[-1.25, -0.75, -0.25, 0.25, 0.75, 1.25].map((x, i) => (
<smtpad
portHints={[String(i + 1)]}
shape="rect"
width="0.3mm"
height="1.4mm"
pcbX={`${x}mm`}
pcbY="2.0mm"
layer="top"
/>
))}
{/* Two large shield/mounting pads (not numbered for nets — implicit shield) */}
<smtpad portHints={["S1"]} shape="rect" width="2.0mm" height="1.8mm" pcbX="-3.0mm" pcbY="0.0mm" layer="top" />
<smtpad portHints={["S2"]} shape="rect" width="2.0mm" height="1.8mm" pcbX="3.0mm" pcbY="0.0mm" layer="top" />
<silkscreenpath
route={[
{ x: -3.65, y: 2.8 },
{ x: 3.65, y: 2.8 },
{ x: 3.65, y: -2.5 },
{ x: -3.65, y: -2.5 },
{ x: -3.65, y: 2.8 },
]}
/>
</footprint>
)