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

// MFF2 eSIM footprint (Murata SC20-FP, NXP SLM97, similar 6-contact 5x6mm SMD)
// Body 6.0×5.0mm. 6 contact pads on bottom, 1.0mm pitch.
// Pin map per ETSI TS 102 671 MFF2:
//   1=VCC   2=RST   3=CLK   4=GND
//   5=VPP   6=I/O

export const esimFootprint = () => (
  <footprint>
    {/* Top row: pins 1-3, y=+1.5mm */}
    {[-2.0, -1.0, 0.0].map((x, i) => (
      <smtpad
        portHints={[String(i + 1)]}
        shape="rect"
        width="0.6mm"
        height="0.8mm"
        pcbX={`${x}mm`}
        pcbY="1.5mm"
        layer="top"
      />
    ))}
    {/* Bottom row: pins 4-6, y=-1.5mm */}
    {[-2.0, -1.0, 0.0].map((x, i) => (
      <smtpad
        portHints={[String(i + 4)]}
        shape="rect"
        width="0.6mm"
        height="0.8mm"
        pcbX={`${x}mm`}
        pcbY="-1.5mm"
        layer="top"
      />
    ))}
    <silkscreenpath
      route={[
        { x: -3.0, y: -2.5 },
        { x: 3.0, y: -2.5 },
        { x: 3.0, y: 2.5 },
        { x: -3.0, y: 2.5 },
        { x: -3.0, y: -2.5 },
      ]}
    />
  </footprint>
)