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.

dist/index.js

import { jsx, jsxs } from 'react/jsx-runtime';

const pinLabels = {
    pin1: ["DSG"],
    pin2: ["CHG"],
    pin3: ["VSS"],
    pin4: ["SDA"],
    pin5: ["SCL"],
    pin6: ["TS1"],
    pin7: ["CAP1"],
    pin8: ["REGOUT"],
    pin9: ["REGSRC"],
    pin10: ["BAT"],
    pin11: ["NC"],
    pin12: ["VC5"],
    pin13: ["VC4"],
    pin14: ["VC3"],
    pin15: ["VC2"],
    pin16: ["VC1"],
    pin17: ["VC0"],
    pin18: ["SRP"],
    pin19: ["SRN"],
    pin20: ["ALERT"]
};
const pinAttributes = {
    pin3: { requiresGround: true },
    pin11: { doNotConnect: true }
};
const BQ7692003PWR = (props) => {
    return (jsx("chip", { pinLabels: pinLabels, pinAttributes: pinAttributes, supplierPartNumbers: {
            "jlcpcb": [
                "C601650"
            ]
        }, manufacturerPartNumber: "BQ7692003PWR", footprint: "tssop20_p0.65mm_w3.9999mm_pw0.364mm_pl1.742mm_rounded0.182mm_pin1location(leftside,bottom)", cadModel: {
            objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C601650.obj?uuid=f8ba5b4174b9490d8c445fbe2ed40b80",
            stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C601650.step?uuid=f8ba5b4174b9490d8c445fbe2ed40b80",
            pcbRotationOffset: 90,
            modelOriginPosition: { x: 0, y: 0.000012700000070253736, z: -0.019205 },
        }, ...props }));
};

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",
};
const adcPinLabels = {
    pin1: "ADDR",
    pin2: "ALERT_RDY",
    pin3: "GND",
    pin4: "AIN0",
    pin5: "AIN1",
    pin6: "AIN2",
    pin7: "AIN3",
    pin8: "VDD",
    pin9: "SDA",
    pin10: "SCL",
};
const nfetPinLabels = {
    pin1: "gate",
    pin2: "source",
    pin3: "drain",
};
const dpakPinLabels = {
    pin1: "gate",
    pin2: "drain",
    pin3: "source",
};
const pfetPinLabels = {
    pin1: "gate",
    pin2: "source",
    pin3: "drain",
};
var index_circuit = () => (jsxs("board", { width: "70mm", height: "40mm", layers: 2, defaultTraceWidth: "0.2mm", minTraceWidth: "0.15mm", title: "3S Li-ion BMS", schAutoLayoutEnabled: true, children: [jsx("net", { name: "BATT_P", isPowerNet: true, nominalTraceWidth: "2.5mm" }), jsx("net", { name: "BATT_N", nominalTraceWidth: "2mm" }), jsx("net", { name: "VSS", isGroundNet: true, nominalTraceWidth: "2mm" }), jsx("net", { name: "LOAD_N", nominalTraceWidth: "2.5mm" }), jsx("net", { name: "MID", nominalTraceWidth: "2.5mm" }), jsx("net", { name: "V3_3", isPowerNet: true, nominalTraceWidth: "0.4mm" }), jsx("net", { name: "CELL1" }), jsx("net", { name: "CELL2" }), jsx("net", { name: "VC0" }), jsx("net", { name: "VC1" }), jsx("net", { name: "VC2" }), jsx("net", { name: "VC3" }), jsx("net", { name: "VC4" }), jsx("net", { name: "VC5" }), jsx("net", { name: "BAT" }), jsx("net", { name: "REGSRC" }), jsx("net", { name: "CAP1" }), jsx("net", { name: "SDA" }), jsx("net", { name: "SCL" }), jsx("net", { name: "ALERT" }), jsx("net", { name: "INT" }), jsx("net", { name: "SRP" }), jsx("net", { name: "SRN" }), jsx("net", { name: "TS1" }), jsx("net", { name: "AIN0" }), jsx("net", { name: "DSG_AFE" }), jsx("net", { name: "CHG_AFE" }), jsx("net", { name: "GATE_DSG" }), jsx("net", { name: "GATE_CHG" }), jsx("net", { name: "BAL1" }), jsx("net", { name: "BAL2" }), jsx("net", { name: "BAL3" }), jsx("net", { name: "BAL1G" }), jsx("net", { name: "BAL2G" }), jsx("net", { name: "BAL3G" }), jsx("net", { name: "BAL_EN1" }), jsx("net", { name: "BAL_EN2" }), jsx("net", { name: "BAL_EN3" }), jsx("schematicsheet", { name: "cells", displayName: "Cell interface and balancing", sheetIndex: 0 }), jsx("schematicsheet", { name: "power", displayName: "Protection FETs and current sense", sheetIndex: 1 }), jsx("schematicsheet", { name: "host", displayName: "Host I2C and balance control", sheetIndex: 2 }), jsx("schematicsheet", { name: "therm", displayName: "Thermistor inputs", sheetIndex: 3 }), jsx(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",
            } }), jsx("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" }, children: jsx("footprint", { insertionDirection: "from_bottom" }) }), jsx("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 }), jsx("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 }), jsx("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 }), jsx("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 }), jsx("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 }), jsx("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 }), jsx("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 }), jsx("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 }), jsx("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 }), jsx("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 }), jsx("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 }), jsx("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 }), jsx("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 }), jsx("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 }), jsx("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 }), jsx("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 }), jsx("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 }), jsx("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 }), jsx("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 }), jsx("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 }), jsx("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 }), jsx("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 }), jsx("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 }), jsx("trace", { from: "Q3.drain", to: "R7.pin1" }), jsx("trace", { from: "Q4.drain", to: "R8.pin1" }), jsx("trace", { from: "Q5.drain", to: "R9.pin1" }), jsx("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 }), jsx("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 }), jsx("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 }), jsx("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 }), jsx("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 }), jsx("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" }, children: jsx("footprint", { insertionDirection: "from_above" }) }), jsx("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" }, children: jsx("footprint", { insertionDirection: "from_above" }) }), jsx("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 }), jsx("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 }), jsx("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 }), jsx("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 }), jsx("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" } }), jsx("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 }), jsx("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 }), jsx("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 }), jsx("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 }), jsx("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 }), jsx("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 }), jsx("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 }), jsx("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 }), jsx("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 }), jsx("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 }), jsx("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 }), jsx("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 }), jsx("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 }), jsx("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 }), jsx("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" }, children: jsx("footprint", { insertionDirection: "from_above" }) }), jsx("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",
            } }), jsx("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",
            } }), jsx("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" }, children: jsx("footprint", { insertionDirection: "from_bottom" }) }), jsx("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" }, children: jsx("footprint", { insertionDirection: "from_bottom" }) }), jsx("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 }), jsx("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 }), jsx("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 }), jsx("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 }), jsx("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 }), jsx("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 }), jsx("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 }), jsx("hole", { name: "H1", diameter: "2.2mm", pcbX: -33, pcbY: -18.4 }), jsx("hole", { name: "H2", diameter: "2.2mm", pcbX: 33, pcbY: -18.4 })] }));

export { index_circuit as default };