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/bq25180.tsx

// BQ25180 WCSP9 / DSBGA-9, 1.4×1.4mm body, 0.4mm ball pitch
// 3×3 array. Pin 1 = A1 = top-left (x=-0.4, y=+0.4)
// Per TI SLUSDP3 ball assignment:
//   A1=IN     A2=PMID   A3=BAT
//   B1=GND    B2=SYS    B3=SCL
//   C1=TS     C2=INT    C3=SDA

export const bq25180Footprint = () => (
  <footprint>
    {/* Row A (top) */}
    <smtpad portHints={["1", "A1"]} shape="rect" width="0.22mm" height="0.22mm" pcbX="-0.4mm" pcbY="0.4mm" layer="top" />
    <smtpad portHints={["2", "A2"]} shape="rect" width="0.22mm" height="0.22mm" pcbX="0mm" pcbY="0.4mm" layer="top" />
    <smtpad portHints={["3", "A3"]} shape="rect" width="0.22mm" height="0.22mm" pcbX="0.4mm" pcbY="0.4mm" layer="top" />
    {/* Row B (mid) */}
    <smtpad portHints={["4", "B1"]} shape="rect" width="0.22mm" height="0.22mm" pcbX="-0.4mm" pcbY="0mm" layer="top" />
    <smtpad portHints={["5", "B2"]} shape="rect" width="0.22mm" height="0.22mm" pcbX="0mm" pcbY="0mm" layer="top" />
    <smtpad portHints={["6", "B3"]} shape="rect" width="0.22mm" height="0.22mm" pcbX="0.4mm" pcbY="0mm" layer="top" />
    {/* Row C (bottom) */}
    <smtpad portHints={["7", "C1"]} shape="rect" width="0.22mm" height="0.22mm" pcbX="-0.4mm" pcbY="-0.4mm" layer="top" />
    <smtpad portHints={["8", "C2"]} shape="rect" width="0.22mm" height="0.22mm" pcbX="0mm" pcbY="-0.4mm" layer="top" />
    <smtpad portHints={["9", "C3"]} shape="rect" width="0.22mm" height="0.22mm" pcbX="0.4mm" pcbY="-0.4mm" layer="top" />

    <silkscreenpath
      route={[
        { x: -0.7, y: -0.7 },
        { x: 0.7, y: -0.7 },
        { x: 0.7, y: 0.7 },
        { x: -0.7, y: 0.7 },
        { x: -0.7, y: -0.7 },
      ]}
    />
  </footprint>
)