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/bno086.tsx
// BNO086 LGA28 3.2×3.8mm body — 4-row × 7-col pad grid, 0.5mm pitch
// 28 pads, 0.35×0.35mm each
// Numbering: row A (top, y=+0.75) = 1..7 L→R, row D (bottom, y=-0.75) = 22..28
export const bno086Footprint = () => (
<footprint>
{[0.75, 0.25, -0.25, -0.75].map((y, rowIdx) =>
[-1.5, -1.0, -0.5, 0.0, 0.5, 1.0, 1.5].map((x, colIdx) => {
const pinNumber = rowIdx * 7 + colIdx + 1
return (
<smtpad
portHints={[String(pinNumber)]}
shape="rect"
width="0.35mm"
height="0.35mm"
pcbX={`${x}mm`}
pcbY={`${y}mm`}
layer="top"
/>
)
})
)}
<silkscreenpath
route={[
{ x: -1.7, y: -1.0 },
{ x: 1.7, y: -1.0 },
{ x: 1.7, y: 1.0 },
{ x: -1.7, y: 1.0 },
{ x: -1.7, y: -1.0 },
]}
/>
</footprint>
)