aj0070/bms-3s

A 3S Li-ion BMS PCB featuring a BQ76920 battery monitor/protection IC, charge/discharge MOSFETs, cell-balancing circuits, current sensing, I²C GPIO/ADC interfaces, and thermistor inputs.

Version
1.0.0
License
unset
Stars
0

Use with the tscircuit CLI

tsci is the tscircuit CLI. Install it with npm install -g tscircuit.

tsci clone aj0070/bms-3s  # download the package files into ./bms-3s
tsci add aj0070/bms-3s    # add it to your project as @tsci/aj0070.bms-3s

In a cloned or new (tsci init) project: tsci dev starts a local preview, tsci build outputs Circuit JSON, and tsci push publishes to tscircuit.com.

index.circuit.tsx

PCBPCB preview for index.circuit.tsx
SchematicSchematic preview for index.circuit.tsx
import React from "react"
import { BQ7692003PWR } from "./imports/BQ7692003PWR"

const expanderPinLabels = {
  pin1: "A0",
  pin2: "A1",
  pin3: "A2",
  pin4: "P0",
  pin5: "P1",
  pin6: "P2",
  pin7: "P3",
  pin8: "GND",
  pin9: "P4",
  pin10: "P5",
  pin11: "P6",
  pin12: "P7",
  pin13: "INT",
  pin14: "SCL",
  pin15: "SDA",
  pin16: "VDD",
} as const

const adcPinLabels = {
  pin1: "ADDR",
  pin2: "ALERT_RDY",
  pin3: "GND",
  pin4: "AIN0",
  pin5: "AIN1",
  pin6: "AIN2",
  pin7: "AIN3",
  pin8: "VDD",
  pin9: "SDA",
  pin10: "SCL",
} as const

const nfetPinLabels = {
  pin1: "gate",
  pin2: "source",
  pin3: "drain",
} as const

const dpakPinLabels = {
  pin1: "gate",
  pin2: "drain",
  pin3: "source",
} as const

const pfetPinLabels = {
  pin1: "gate",
  pin2: "source",
  pin3: "drain",
} as const

export default () => (
  <board
    width="70mm"
    height="40mm"
    layers={2}
    defaultTraceWidth="0.2mm"
    minTraceWidth="0.15mm"
    title="3S Li-ion BMS"
    schAutoLayoutEnabled
  >
    <net name="BATT_P" isPowerNet nominalTraceWidth="2.5mm" />
    <net name="BATT_N" nominalTraceWidth="2mm" />
    <net name="VSS" isGroundNet nominalTraceWidth="2mm" />
    <net name="LOAD_N" nominalTraceWidth="2.5mm" />
    <net name="MID" nominalTraceWidth="2.5mm" />
    <net name="V3_3" isPowerNet nominalTraceWidth="0.4mm" />
    <net name="CELL1" />
    <net name="CELL2" />
    <net name="VC0" />
    <net name="VC1" />
    <net name="VC2" />
    <net name="VC3" />
    <net name="VC4" />
    <net name="VC5" />
    <net name="BAT" />
    <net name="REGSRC" />
    <net name="CAP1" />
    <net name="SDA" />
    <net name="SCL" />
    <net name="ALERT" />
    <net name="INT" />
    <net name="SRP" />
    <net name="SRN" />
    <net name="TS1" />
    <net name="AIN0" />
    <net name="DSG_AFE" />
    <net name="CHG_AFE" />
    <net name="GATE_DSG" />
    <net name="GATE_CHG" />
    <net name="BAL1" />
    <net name="BAL2" />
    <net name="BAL3" />
    <net name="BAL1G" />
    <net name="BAL2G" />
    <net name="BAL3G" />
    <net name="BAL_EN1" />
    <net name="BAL_EN2" />
    <net name="BAL_EN3" />

    <schematicsheet name="cells" displayName="Cell interface and balancing" sheetIndex={0} />
    <schematicsheet name="power" displayName="Protection FETs and current sense" sheetIndex={1} />
    <schematicsheet name="host" displayName="Host I2C and balance control" sheetIndex={2} />
    <schematicsheet name="therm" displayName="Thermistor inputs" sheetIndex={3} />

    <BQ7692003PWR
      name="U1"
      schSheetName="cells"
      schX={7}
      schY={-1}
      schWidth={2.245}
      schHeight={2.2}
      pcbX={-4}
      pcbY={7}
      pcbRotation={0}
      connections={{
        DSG: "net.DSG_AFE",
        CHG: "net.CHG_AFE",
        VSS: "net.VSS",
        SDA: "net.SDA",
        SCL: "net.SCL",
        TS1: "net.TS1",
        CAP1: "net.CAP1",
        REGOUT: "net.V3_3",
        REGSRC: "net.REGSRC",
        BAT: "net.BAT",
        VC5: "net.VC5",
        VC4: "net.VC4",
        VC3: "net.VC3",
        VC2: "net.VC2",
        VC1: "net.VC1",
        VC0: "net.VC0",
        SRP: "net.SRP",
        SRN: "net.SRN",
        ALERT: "net.ALERT",
      }}
    />

    <connector
      name="J2"
      footprint="jst4_p2.5mm_xh"
      pinLabels={{ pin1: "B0", pin2: "B1", pin3: "B2", pin4: "B3" }}
      schSheetName="cells"
      schX={-12}
      schY={8}
      schWidth={0.9}
      pcbX={-27}
      pcbY={16}
      pcbRotation={180}
      connections={{ B0: "net.BATT_N", B1: "net.CELL1", B2: "net.CELL2", B3: "net.BATT_P" }}
    >
      <footprint insertionDirection="from_bottom" />
    </connector>

    <resistor name="R1" resistance="100" footprint="0603" schSheetName="cells" schX={-13} schY={5} schRotation={270} pcbX={-18.5} pcbY={12.5} connections={{ pin1: "net.BATT_N", pin2: "net.VC0" }} pcbRotation={0} />
    <capacitor name="C1" capacitance="100nF" footprint="0603" schSheetName="cells" schX={6.5} schY={6} schRotation={270} pcbX={-22} pcbY={10.7} connections={{ pin1: "net.VC0", pin2: "net.VSS" }} pcbRotation={0} />
    <resistor name="R2" resistance="100" footprint="0603" schSheetName="cells" schX={-13} schY={3} schRotation={270} pcbX={-15} pcbY={12.5} connections={{ pin1: "net.CELL1", pin2: "net.VC1" }} pcbRotation={0} />
    <capacitor name="C2" capacitance="100nF" footprint="0603" schSheetName="cells" schX={-10.5} schY={3} schRotation={270} pcbX={-18} pcbY={10.7} connections={{ pin1: "net.VC1", pin2: "net.VC0" }} pcbRotation={0} />
    <resistor name="R3" resistance="100" footprint="0603" schSheetName="cells" schX={-13} schY={1} schRotation={270} pcbX={-11.5} pcbY={12.5} connections={{ pin1: "net.CELL2", pin2: "net.VC2" }} pcbRotation={0} />
    <capacitor name="C3" capacitance="100nF" footprint="0603" schSheetName="cells" schX={-10.5} schY={1} schRotation={270} pcbX={-14} pcbY={10.7} connections={{ pin1: "net.VC2", pin2: "net.VC1" }} pcbRotation={180} />
    <resistor name="R4" resistance="100" footprint="0603" schSheetName="cells" schX={-13} schY={-1} schRotation={270} pcbX={-8} pcbY={12.5} connections={{ pin1: "net.BATT_P", pin2: "net.VC3" }} pcbRotation={0} />
    <capacitor name="C4" capacitance="100nF" footprint="0603" schSheetName="cells" schX={-10.5} schY={-1} schRotation={270} pcbX={-10} pcbY={10.7} connections={{ pin1: "net.VC3", pin2: "net.VC2" }} pcbRotation={180} />
    <resistor name="R5" resistance="100" footprint="0603" schSheetName="cells" schX={-13} schY={-3} schRotation={270} pcbX={-4.5} pcbY={12.5} connections={{ pin1: "net.VC3", pin2: "net.VC4" }} pcbRotation={0} />
    <resistor name="R6" resistance="100" footprint="0603" schSheetName="cells" schX={-13} schY={-5} schRotation={270} pcbX={-1} pcbY={12.5} connections={{ pin1: "net.VC4", pin2: "net.VC5" }} pcbRotation={0} />

    <mosfet name="Q3" channelType="p" mosfetMode="enhancement" footprint="sot23" manufacturerPartNumber="AO3401A" pinLabels={pfetPinLabels} schSheetName="cells" schX={-7} schY={7} pcbX={-28} pcbY={7.8} connections={{ gate: "net.BAL1", source: "net.CELL1" }} pcbRotation={0} />
    <resistor name="R7" resistance="100" footprint="1206" schSheetName="cells" schX={-4.5} schY={7} schRotation={90} pcbX={-26} pcbY={3.2} connections={{ pin2: "net.BATT_N" }} pcbRotation={90} />
    <resistor name="R10" resistance="100k" footprint="0603" schSheetName="cells" schX={-9.5} schY={7} schRotation={270} pcbX={-33.5} pcbY={10} connections={{ pin1: "net.BAL1", pin2: "net.CELL1" }} pcbRotation={90} />

    <mosfet name="Q4" channelType="p" mosfetMode="enhancement" footprint="sot23" manufacturerPartNumber="AO3401A" pinLabels={pfetPinLabels} schSheetName="cells" schX={-7} schY={4} pcbX={-22} pcbY={7.8} connections={{ gate: "net.BAL2", source: "net.CELL2" }} pcbRotation={0} />
    <resistor name="R8" resistance="100" footprint="1206" schSheetName="cells" schX={-4.5} schY={4} schRotation={270} pcbX={-20} pcbY={3.2} connections={{ pin2: "net.CELL1" }} pcbRotation={90} />
    <resistor name="R11" resistance="100k" footprint="0603" schSheetName="cells" schX={-9.5} schY={4} schRotation={270} pcbX={-33.5} pcbY={6.5} connections={{ pin1: "net.BAL2", pin2: "net.CELL2" }} pcbRotation={90} />

    <mosfet name="Q5" channelType="p" mosfetMode="enhancement" footprint="sot23" manufacturerPartNumber="AO3401A" pinLabels={pfetPinLabels} schSheetName="cells" schX={-7} schY={1} pcbX={-16} pcbY={7.8} connections={{ gate: "net.BAL3", source: "net.BATT_P" }} pcbRotation={0} />
    <resistor name="R9" resistance="100" footprint="1206" schSheetName="cells" schX={-4.5} schY={1} schRotation={270} pcbX={-16} pcbY={3.2} connections={{ pin2: "net.CELL2" }} pcbRotation={90} />
    <resistor name="R12" resistance="100k" footprint="0603" schSheetName="cells" schX={-9} schY={2} schRotation={270} pcbX={-33.5} pcbY={3} connections={{ pin1: "net.BAL3", pin2: "net.BATT_P" }} pcbRotation={270} />

    <mosfet name="Q6" channelType="n" mosfetMode="enhancement" footprint="sot23" manufacturerPartNumber="BSS138" pinLabels={nfetPinLabels} schSheetName="cells" schX={2} schY={7} pcbX={-12} pcbY={0} connections={{ gate: "net.BAL1G", drain: "net.BAL1", source: "net.VSS" }} pcbRotation={0} />
    <resistor name="R13" resistance="1k" footprint="0603" schSheetName="cells" schX={4.5} schY={7} pcbX={-12} pcbY={-4} connections={{ pin1: "net.BAL_EN1", pin2: "net.BAL1G" }} pcbRotation={180} />
    <resistor name="R16" resistance="100k" footprint="0603" schSheetName="cells" schX={0.5} schY={7} schRotation={270} pcbX={-12} pcbY={-7.5} connections={{ pin1: "net.BAL1G", pin2: "net.VSS" }} pcbRotation={0} />

    <mosfet name="Q7" channelType="n" mosfetMode="enhancement" footprint="sot23" manufacturerPartNumber="BSS138" pinLabels={nfetPinLabels} schSheetName="cells" schX={2} schY={4} pcbX={-7} pcbY={0} connections={{ gate: "net.BAL2G", drain: "net.BAL2", source: "net.VSS" }} pcbRotation={0} />
    <trace from="Q3.drain" to="R7.pin1" />
    <trace from="Q4.drain" to="R8.pin1" />
    <trace from="Q5.drain" to="R9.pin1" />

    <resistor name="R14" resistance="1k" footprint="0603" schSheetName="cells" schX={4.5} schY={4} pcbX={-7} pcbY={-4} connections={{ pin1: "net.BAL_EN2", pin2: "net.BAL2G" }} pcbRotation={180} />
    <resistor name="R17" resistance="100k" footprint="0603" schSheetName="cells" schX={0.5} schY={4} schRotation={270} pcbX={-7} pcbY={-7.5} connections={{ pin1: "net.BAL2G", pin2: "net.VSS" }} pcbRotation={0} />

    <mosfet name="Q8" channelType="n" mosfetMode="enhancement" footprint="sot23" manufacturerPartNumber="BSS138" pinLabels={nfetPinLabels} schSheetName="cells" schX={2} schY={1} pcbX={-2} pcbY={0} connections={{ gate: "net.BAL3G", drain: "net.BAL3", source: "net.VSS" }} pcbRotation={0} />
    <resistor name="R15" resistance="1k" footprint="0603" schSheetName="cells" schX={4.5} schY={1} pcbX={-2} pcbY={-4} connections={{ pin1: "net.BAL_EN3", pin2: "net.BAL3G" }} pcbRotation={180} />
    <resistor name="R18" resistance="100k" footprint="0603" schSheetName="cells" schX={0.5} schY={1} schRotation={270} pcbX={-2} pcbY={-7.5} connections={{ pin1: "net.BAL3G", pin2: "net.VSS" }} pcbRotation={0} />

    <connector
      name="J5"
      footprint="pinrow2_p5.08mm"
      pinLabels={{ pin1: "PACK_N", pin2: "PACK_P" }}
      schPinArrangement={{ topSide: ["PACK_P"], bottomSide: ["PACK_N"] }}
      schSheetName="power"
      schX={-12}
      schY={7}
      pcbX={-31}
      pcbY={-6}
      pcbRotation={90}
      connections={{ PACK_N: "net.BATT_N", PACK_P: "net.BATT_P" }}
    >
      <footprint insertionDirection="from_above" />
    </connector>

    <connector
      name="J6"
      footprint="pinrow2_p5.08mm"
      pinLabels={{ pin1: "LOAD_N", pin2: "LOAD_P" }}
      schPinArrangement={{ topSide: ["LOAD_P"], bottomSide: ["LOAD_N"] }}
      schSheetName="power"
      schX={12}
      schY={7}
      pcbX={31}
      pcbY={-4}
      pcbRotation={90}
      connections={{ LOAD_N: "net.LOAD_N", LOAD_P: "net.BATT_P" }}
    >
      <footprint insertionDirection="from_above" />
    </connector>

    <resistor name="R23" resistance="0.001" footprint="2512" schSheetName="power" schX={0} schY={2} schRotation={270} pcbX={2} pcbY={-13.5} connections={{ pin1: "net.BATT_N", pin2: "net.VSS" }} pcbRotation={0} />
    <resistor name="R24" resistance="100" footprint="0603" schSheetName="power" schX={-3} schY={2} schRotation={270} pcbX={-4.5} pcbY={-9.5} connections={{ pin1: "net.BATT_N", pin2: "net.SRP" }} pcbRotation={90} />
    <resistor name="R25" resistance="100" footprint="0603" schSheetName="power" schX={-3} schY={0} schRotation={270} pcbX={12} pcbY={-8} connections={{ pin1: "net.VSS", pin2: "net.SRN" }} pcbRotation={270} />
    <capacitor name="C5" capacitance="100nF" footprint="0603" schSheetName="power" schX={-6} schY={1} schRotation={270} pcbX={-5} pcbY={-13} connections={{ pin1: "net.SRP", pin2: "net.SRN" }} pcbRotation={0} />

    <mosfet name="Q1" channelType="n" mosfetMode="enhancement" footprint="to252" manufacturerPartNumber="AOD4184A" pinLabels={dpakPinLabels} schSheetName="power" schX={5} schY={0} pcbX={14} pcbY={-13} pcbRotation={180} connections={{ gate: "net.GATE_DSG", drain: "net.VSS", source: "net.MID" }} />
    <mosfet name="Q2" channelType="n" mosfetMode="enhancement" footprint="to252" manufacturerPartNumber="AOD4184A" pinLabels={dpakPinLabels} schSheetName="power" schX={9} schY={0} pcbX={26.5} pcbY={-13.5} connections={{ gate: "net.GATE_CHG", drain: "net.LOAD_N", source: "net.MID" }} pcbRotation={0} />
    <resistor name="R19" resistance="1k" footprint="0603" schSheetName="power" schX={2} schY={5} schRotation={270} pcbX={17} pcbY={-17.5} connections={{ pin1: "net.DSG_AFE", pin2: "net.GATE_DSG" }} pcbRotation={0} />
    <resistor name="R20" resistance="1k" footprint="0603" schSheetName="power" schX={6} schY={5} pcbX={22} pcbY={-4} connections={{ pin1: "net.CHG_AFE", pin2: "net.GATE_CHG" }} pcbRotation={0} />
    <resistor name="R21" resistance="1M" footprint="0603" schSheetName="power" schX={9} schY={4} pcbX={15} pcbY={-8} connections={{ pin1: "net.GATE_DSG", pin2: "net.MID" }} pcbRotation={180} />
    <resistor name="R22" resistance="1M" footprint="0603" schSheetName="power" schX={11} schY={4} pcbX={25} pcbY={-8} connections={{ pin1: "net.GATE_CHG", pin2: "net.MID" }} pcbRotation={0} />

    <resistor name="R26" resistance="100" footprint="0603" schSheetName="power" schX={-9} schY={3} schRotation={270} pcbX={3} pcbY={7.5} connections={{ pin1: "net.BATT_P", pin2: "net.BAT" }} pcbRotation={180} />
    <capacitor name="C6" capacitance="1uF" footprint="0603" schSheetName="power" schX={-9} schY={1} schRotation={270} pcbX={3} pcbY={10.5} connections={{ pin1: "net.BAT", pin2: "net.VSS" }} pcbRotation={0} />
    <resistor name="R27" resistance="100" footprint="0603" schSheetName="power" schX={-9} schY={-1} schRotation={270} pcbX={10} pcbY={7.5} connections={{ pin1: "net.BATT_P", pin2: "net.REGSRC" }} pcbRotation={0} />
    <capacitor name="C7" capacitance="1uF" footprint="0603" schSheetName="power" schX={-9} schY={-3} schRotation={270} pcbX={6.5} pcbY={10.5} connections={{ pin1: "net.REGSRC", pin2: "net.VSS" }} pcbRotation={180} />
    <capacitor name="C8" capacitance="1uF" footprint="0603" schSheetName="power" schX={-12} schY={-1} schRotation={270} pcbX={13.5} pcbY={10.5} connections={{ pin1: "net.CAP1", pin2: "net.VSS" }} pcbRotation={0} />
    <capacitor name="C9" capacitance="1uF" footprint="0603" schSheetName="power" schX={-12} schY={-3} schRotation={270} pcbX={17} pcbY={10.5} connections={{ pin1: "net.V3_3", pin2: "net.VSS" }} pcbRotation={180} />
    <capacitor name="C10" capacitance="100nF" footprint="0603" schSheetName="power" schX={-12} schY={-4.2} schRotation={270} pcbX={-24} pcbY={-16} connections={{ pin1: "net.V3_3", pin2: "net.VSS" }} pcbRotation={0} />
    <resistor name="R28" resistance="10k" footprint="0603" schSheetName="power" schX={-6} schY={6} schRotation={270} pcbX={3} pcbY={4} connections={{ pin1: "net.V3_3", pin2: "net.ALERT" }} pcbRotation={90} />
    <testpoint name="TP1" footprintVariant="pad" padShape="circle" padDiameter="1.2mm" schSheetName="power" schX={-3} schY={6} pcbX={1.5} pcbY={14} connections={{ pin1: "net.ALERT" }} pcbRotation={0} />

    <connector
      name="J1"
      footprint="pinrow4_p2.54mm"
      pinLabels={{ pin1: "GND", pin2: "3V3", pin3: "SDA", pin4: "SCL" }}
      schSheetName="host"
      schX={-12.11}
      schY={7}
      pcbX={-3}
      pcbY={16.8}
      pcbRotation={0}
      connections={{ GND: "net.VSS", "3V3": "net.V3_3", SDA: "net.SDA", SCL: "net.SCL" }}
    >
      <footprint insertionDirection="from_above" />
    </connector>

    <chip
      name="U3"
      footprint="tssop16_p0.65mm"
      manufacturerPartNumber="PCA9534PW"
      pinLabels={expanderPinLabels}
      noConnect={["P3", "P4", "P5", "P6", "P7"]}
      schSheetName="host"
      schX={-9.53}
      schY={4}
      schWidth={1.7}
      schHeight={1.8}
      pcbX={4}
      pcbY={-6.5}
      pcbRotation={0}
      connections={{
        A0: "net.VSS",
        A1: "net.VSS",
        A2: "net.VSS",
        P0: "net.BAL_EN1",
        P1: "net.BAL_EN2",
        P2: "net.BAL_EN3",
        GND: "net.VSS",
        INT: "net.INT",
        SCL: "net.SCL",
        SDA: "net.SDA",
        VDD: "net.V3_3",
      }}
    />

    <chip
      name="U4"
      footprint="vssop10_p0.5mm"
      manufacturerPartNumber="ADS1015IDGS"
      pinLabels={adcPinLabels}
      noConnect={["ALERT_RDY", "AIN1", "AIN2", "AIN3"]}
      schSheetName="therm"
      schX={-6.2}
      schY={4}
      schWidth={2}
      schHeight={1.2}
      pcbX={18}
      pcbY={5}
      pcbRotation={0}
      connections={{
        ADDR: "net.VSS",
        GND: "net.VSS",
        AIN0: "net.AIN0",
        VDD: "net.V3_3",
        SDA: "net.SDA",
        SCL: "net.SCL",
      }}
    />

    <connector
      name="J3"
      footprint="jst2_p2.5mm_xh"
      pinLabels={{ pin1: "TS", pin2: "GND" }}
      schPinArrangement={{ topSide: ["TS"], bottomSide: ["GND"] }}
      schSheetName="therm"
      schX={-12}
      schY={2}
      pcbX={10}
      pcbY={16}
      pcbRotation={180}
      connections={{ TS: "net.TS1", GND: "net.VSS" }}
    >
      <footprint insertionDirection="from_bottom" />
    </connector>

    <connector
      name="J4"
      footprint="jst2_p2.5mm_xh"
      pinLabels={{ pin1: "NTC", pin2: "GND" }}
      schPinArrangement={{ topSide: ["NTC"], bottomSide: ["GND"] }}
      schSheetName="therm"
      schX={-10.58}
      schY={2.5}
      pcbX={20}
      pcbY={16}
      pcbRotation={180}
      connections={{ NTC: "net.AIN0", GND: "net.VSS" }}
    >
      <footprint insertionDirection="from_bottom" />
    </connector>

    <resistor name="R29" resistance="4.7k" footprint="0603" schSheetName="host" schX={-9.88} schY={7} schRotation={270} pcbX={-25} pcbY={-12} connections={{ pin1: "net.V3_3", pin2: "net.SDA" }} pcbRotation={90} />
    <resistor name="R30" resistance="4.7k" footprint="0603" schSheetName="host" schX={-8.4} schY={7} schRotation={270} pcbX={-22} pcbY={-12} connections={{ pin1: "net.V3_3", pin2: "net.SCL" }} pcbRotation={90} />
    <resistor name="R31" resistance="10k" footprint="0603" schSheetName="host" schX={-6.8} schY={7} schRotation={270} pcbX={1.2} pcbY={1.5} connections={{ pin1: "net.V3_3", pin2: "net.INT" }} pcbRotation={270} />
    <resistor name="R32" resistance="10k" footprint="0603" schSheetName="therm" schX={-4} schY={5} schRotation={270} pcbX={17} pcbY={1} connections={{ pin1: "net.V3_3", pin2: "net.AIN0" }} pcbRotation={90} />
    <capacitor name="C11" capacitance="100nF" footprint="0603" schSheetName="therm" schX={-4} schY={2} schRotation={270} pcbX={13} pcbY={1} connections={{ pin1: "net.AIN0", pin2: "net.VSS" }} pcbRotation={90} />
    <capacitor name="C12" capacitance="100nF" footprint="0603" schSheetName="host" schX={-9.6} schY={0.5} schRotation={270} pcbX={9} pcbY={-6.5} connections={{ pin1: "net.V3_3", pin2: "net.VSS" }} pcbRotation={270} />
    <capacitor name="C13" capacitance="100nF" footprint="0603" schSheetName="therm" schX={-8.36} schY={0.5} schRotation={270} pcbX={24} pcbY={5} connections={{ pin1: "net.V3_3", pin2: "net.VSS" }} pcbRotation={90} />

    <hole name="H1" diameter="2.2mm" pcbX={-33} pcbY={-18.4} />
    <hole name="H2" diameter="2.2mm" pcbX={33} pcbY={-18.4} />
  </board>
)