aj0070/usb-pd-supply
A 2-layer USB‑C PD power board with STUSB4500 negotiation, SCT2330 synchronous buck conversion using a 10 µH inductor, adjustable VOUT, INA219 shunt current/voltage monitoring over I²C, and status LEDs/connectors.
- 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/usb-pd-supply # download the package files into ./usb-pd-supply
tsci add aj0070/usb-pd-supply # add it to your project as @tsci/aj0070.usb-pd-supplyIn 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.cjs
'use strict';
var jsxRuntime = require('react/jsx-runtime');
const pinLabels$3 = {
pin1: ["CC1DB"],
pin2: ["CC1"],
pin3: ["NC"],
pin4: ["CC2"],
pin5: ["CC2DB"],
pin6: ["RESET"],
pin7: ["SCL"],
pin8: ["SDA"],
pin9: ["DISCH"],
pin10: ["GND"],
pin11: ["ATTACH"],
pin12: ["ADDR0"],
pin13: ["ADDR1"],
pin14: ["POWER_OK3"],
pin15: ["GPIO"],
pin16: ["VBUS_EN_SNK"],
pin17: ["A_B_SIDE"],
pin18: ["VBUS_VS_DISCH"],
pin19: ["ALERT"],
pin20: ["POWER_OK2"],
pin21: ["VREG_1V2"],
pin22: ["VSYS"],
pin23: ["VREG_2V7"],
pin24: ["VDD"],
pin25: ["EP"]
};
const pinAttributes$2 = {
pin3: { doNotConnect: true },
pin10: { requiresGround: true },
pin24: { requiresPower: true },
pin1: { isBidirectional: true },
pin2: { isBidirectional: true },
pin4: { isBidirectional: true },
pin5: { isBidirectional: true },
pin6: { isInput: true },
pin7: { isInput: true, capabilities: ["i2c_scl"], needsExternalPullup: true },
pin8: { isBidirectional: true, capabilities: ["i2c_sda"], needsExternalPullup: true, canUseOpenDrain: true },
pin9: { isBidirectional: true, canUseOpenDrain: true },
pin11: { isOutput: true, needsExternalPullup: true, canUseOpenDrain: true },
pin12: { isInput: true },
pin13: { isInput: true },
pin14: { isOutput: true, needsExternalPullup: true, canUseOpenDrain: true },
pin15: { isOutput: true, needsExternalPullup: true, canUseOpenDrain: true },
pin16: { isOutput: true, needsExternalPullup: true, canUseOpenDrain: true },
pin17: { isOutput: true, needsExternalPullup: true, canUseOpenDrain: true },
pin18: { isBidirectional: true },
pin19: { isOutput: true, needsExternalPullup: true, canUseOpenDrain: true },
pin20: { isOutput: true, needsExternalPullup: true, canUseOpenDrain: true },
pin21: { isOutput: true, providesVoltage: "1.2V", shouldHaveDecouplingCapacitor: true, recommendedDecouplingCapacitorCapacitance: "1uF" },
pin22: { requiresPower: true },
pin23: { isOutput: true, providesVoltage: "2.7V", shouldHaveDecouplingCapacitor: true, recommendedDecouplingCapacitorCapacitance: "1uF" },
pin25: { requiresGround: true }
};
const footprinterPinLabels = {
...pinLabels$3,
"pin25": [...pinLabels$3["pin25"], "thermalpad"],
};
const STUSB4500QTR = (props) => {
return (jsxRuntime.jsx("chip", { pinLabels: footprinterPinLabels, pinAttributes: pinAttributes$2, supplierPartNumbers: {
"jlcpcb": [
"C2678061"
]
}, manufacturerPartNumber: "STUSB4500QTR", footprint: "qfn24_thermalpad2.8mmx2.8mm_pillpads_thermalpadcenteroffsety-0.015mm_h4.9mm_pw0.28mm_pl0.7mm_pin1location(bottomside,left)", cadModel: {
objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C2678061.obj?uuid=f4a3249710724deb990f62f343cd4553",
stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C2678061.step?uuid=f4a3249710724deb990f62f343cd4553",
pcbRotationOffset: 0,
modelOriginPosition: { x: -12699999842880061e-21, y: -12700000070253736e-21, z: 0 },
}, ...props }));
};
const pinLabels$2 = {
pin1: ["FB"],
pin2: ["EN"],
pin3: ["VIN"],
pin4: ["GND"],
pin5: ["SW"],
pin6: ["BST"]
};
const pinAttributes$1 = {
pin3: { requiresPower: true },
pin4: { requiresGround: true }
};
const SCT2330TVBR = (props) => {
return (jsxRuntime.jsx("chip", { pinLabels: pinLabels$2, pinAttributes: pinAttributes$1, supplierPartNumbers: {
"jlcpcb": [
"C509067"
]
}, manufacturerPartNumber: "SCT2330TVBR", footprint: "dfn6_p0.95mm_w3.6mm_pw0.55mm_pl1.2mm_pin1location(leftside,bottom)", cadModel: {
objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C509067.obj?uuid=222e8593009c495bb3d3af0c08fa5e6a",
stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C509067.step?uuid=222e8593009c495bb3d3af0c08fa5e6a",
pcbRotationOffset: 90,
modelOriginPosition: { x: 0, y: 0.000012700000013410317, z: 0.050795 },
}, ...props }));
};
const pinLabels$1 = {
pin1: ["IN_POS"],
pin2: ["IN_NEG"],
pin3: ["GND"],
pin4: ["VS"],
pin5: ["SCL"],
pin6: ["SDA"],
pin7: ["A0"],
pin8: ["A1"]
};
const pinAttributes = {
pin3: { requiresGround: true },
pin1: { isInput: true },
pin2: { isInput: true },
pin4: { requiresPower: true, shouldHaveDecouplingCapacitor: true, recommendedDecouplingCapacitorCapacitance: "100nF" },
pin8: { isInput: true },
pin7: { isInput: true },
pin6: { isBidirectional: true, capabilities: ["i2c_sda"], needsExternalPullup: true, canUseOpenDrain: true },
pin5: { isInput: true, capabilities: ["i2c_scl"], needsExternalPullup: true }
};
const INA219AIDCNR = (props) => {
return (jsxRuntime.jsx("chip", { pinLabels: pinLabels$1, pinAttributes: pinAttributes, supplierPartNumbers: {
"jlcpcb": [
"C87469"
]
}, manufacturerPartNumber: "INA219AIDCNR", footprint: "dfn8_pillpads_p0.65mm_w3.7mm_pw0.36mm_pl1.25mm_pin1location(rightside,bottom)", cadModel: {
objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C87469.obj?uuid=7304035254c941188b587adb626783d8",
stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C87469.step?uuid=7304035254c941188b587adb626783d8",
pcbRotationOffset: 180,
modelOriginPosition: { x: 0, y: -12699999956566899e-21, z: -0.049083 },
}, ...props }));
};
const ANR6045T100M = (props) => {
return (jsxRuntime.jsx("inductor", { inductance: "10uH", supplierPartNumbers: {
"jlcpcb": [
"C6808106"
]
}, manufacturerPartNumber: "ANR6045T100M", footprint: "smdpads2_p4.8mm_pw2mm_ph6mm_cyw7.3mm_cyh6.5mm", cadModel: {
objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C6808106.obj?uuid=f02e643e02f64edeb81508f0c85e4e94",
stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C6808106.step?uuid=f02e643e02f64edeb81508f0c85e4e94",
pcbRotationOffset: 90,
modelOriginPosition: { x: 0, y: 0, z: -0.01 },
}, ...props }));
};
const pinLabels = {
pin1: ["pin1"],
pin2: ["pin2"],
pin3: ["pin3"]
};
const A_3224W_1_503E = (props) => {
return (jsxRuntime.jsx("chip", { pinLabels: pinLabels, symbol: jsxRuntime.jsxs("symbol", { children: [jsxRuntime.jsx("port", { name: "pin1", pinNumber: 1, aliases: ["1"], direction: "up", schX: 0.2, schY: 0.4, schStemLength: 0.2 }), jsxRuntime.jsx("schematicpath", { points: [{ "x": 0.12, "y": -0.2 }, { "x": 0.12, "y": 0.2 }, { "x": 0.32, "y": 0.2 }, { "x": 0.32, "y": -0.2 }, { "x": 0.12, "y": -0.2 }], strokeColor: "#880000" }), jsxRuntime.jsx("port", { name: "pin2", pinNumber: 2, aliases: ["2"], direction: "left", schX: -0.2, schY: 0, schStemLength: 0.2 }), jsxRuntime.jsx("port", { name: "pin3", pinNumber: 3, aliases: ["3"], direction: "down", schX: 0.2, schY: -0.4, schStemLength: 0.2 }), jsxRuntime.jsx("schematicpath", { points: [{ "x": 0.08, "y": 0 }, { "x": -0.02, "y": 0 }], strokeColor: "#880000" }), jsxRuntime.jsx("schematicpath", { points: [{ "x": 0.12, "y": 0 }, { "x": 0.02, "y": -0.04 }, { "x": 0.02, "y": 0.04 }, { "x": 0.12, "y": 0 }], strokeColor: "#880000", isFilled: true, fillColor: "#EFEFEF" }), jsxRuntime.jsx("schematictext", { schX: 0.05, schY: 0.62, text: "{NAME}", fontSize: 0.2, anchor: "bottom_center" })] }), supplierPartNumbers: {
"jlcpcb": [
"C48484"
]
}, manufacturerPartNumber: "3224W-1-503E", footprint: jsxRuntime.jsxs("footprint", { children: [jsxRuntime.jsx("smtpad", { portHints: ["pin1"], pcbX: "-1.249934mm", pcbY: "-1.449959mm", width: "1.2999974mm", height: "1.5999968mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin3"], pcbX: "1.249934mm", pcbY: "-1.449959mm", width: "1.2999974mm", height: "1.5999968mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin2"], pcbX: "0mm", pcbY: "1.449959mm", width: "1.999996mm", height: "1.5999968mm", shape: "rect" }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 2.1310600000000477, "y": -1.7499583999999828 }, { "x": 2.399995199999978, "y": -1.7499583999999828 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -0.36880800000000136, "y": -1.7499837999999954 }, { "x": 0.36880800000000136, "y": -1.7499837999999954 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -2.3991062000000056, "y": -1.7500091999999796 }, { "x": -2.1310854000000177, "y": -1.7500091999999796 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 1.2311379999999872, "y": 1.7499837999999954 }, { "x": 2.399995199999978, "y": 1.7499837999999954 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -2.3991062000000056, "y": 1.749933000000027 }, { "x": -1.2311379999999872, "y": 1.749933000000027 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 2.399995199999978, "y": 1.7499837999999954 }, { "x": 2.399995199999978, "y": -1.7499583999999828 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -2.3991062000000056, "y": 1.749933000000027 }, { "x": -2.3991062000000056, "y": -1.7500091999999796 }] }), jsxRuntime.jsx("silkscreentext", { text: "{NAME}", pcbX: "-0.0254mm", pcbY: "3.237359mm", anchorAlignment: "center", fontSize: "1mm" }), jsxRuntime.jsx("courtyardoutline", { outline: [{ "x": -2.649995199999978, "y": 2.4999573999999996 }, { "x": 2.649995199999978, "y": 2.4999573999999996 }, { "x": 2.649995199999978, "y": -2.4999573999999996 }, { "x": -2.649995199999978, "y": -2.4999573999999996 }, { "x": -2.649995199999978, "y": 2.4999573999999996 }] })] }), cadModel: {
objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C48484.obj?uuid=f9320f329eac4b51b08187751f429450",
stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C48484.step?uuid=f9320f329eac4b51b08187751f429450",
pcbRotationOffset: 180,
modelOriginPosition: { x: 0, y: 0.000012700000013410317, z: -0.2 },
}, ...props }));
};
var index_circuit = () => (jsxRuntime.jsxs("board", { width: "50mm", height: "35mm", layers: 2, defaultTraceWidth: 0.2, children: [jsxRuntime.jsx("net", { name: "VBUS", isPowerNet: true, nominalTraceWidth: 1.5 }), jsxRuntime.jsx("net", { name: "SW", nominalTraceWidth: 1.2 }), jsxRuntime.jsx("net", { name: "VOUT", isPowerNet: true, nominalTraceWidth: 1.5 }), jsxRuntime.jsx("net", { name: "VSHUNT", nominalTraceWidth: 1.2 }), jsxRuntime.jsx("net", { name: "VOUT_TERM", isPowerNet: true, nominalTraceWidth: 1.5 }), jsxRuntime.jsx("net", { name: "VDD_3V3", isPowerNet: true, nominalTraceWidth: 0.5 }), jsxRuntime.jsx("net", { name: "VREG_1V2", nominalTraceWidth: 0.3 }), jsxRuntime.jsx("net", { name: "VREG_2V7", nominalTraceWidth: 0.3 }), jsxRuntime.jsx("net", { name: "GND", isGroundNet: true, nominalTraceWidth: 0.5 }), jsxRuntime.jsx("schematicsheet", { name: "power", displayName: "USB-C PD input and buck", sheetIndex: 0 }), jsxRuntime.jsx("schematicsheet", { name: "sense", displayName: "Current monitor and I2C", sheetIndex: 1 }), jsxRuntime.jsx("schematicsection", { name: "INPUT", displayName: "USB-C input and PD sink" }), jsxRuntime.jsx("schematicsection", { name: "BUCK", displayName: "Synchronous buck" }), jsxRuntime.jsx("schematicsection", { name: "SENSE", displayName: "Current and voltage sense" }), jsxRuntime.jsx("schematicsection", { name: "IO", displayName: "I2C header and status LEDs" }), jsxRuntime.jsx("connector", { name: "J1", standard: "usb_c", pcbX: -19.5, pcbY: 5, pcbRotation: 270, schSheetName: "power", schSectionName: "INPUT", schX: -12, schY: 8, schWidth: 1.575, noConnect: ["DP1", "DM1", "DP2", "DM2", "SBU1", "SBU2"], connections: {
VBUS1: "net.VBUS",
VBUS2: "net.VBUS",
GND1: "net.GND",
GND2: "net.GND",
SHELL1: "net.GND",
SHELL2: "net.GND",
CC1: "net.CC1",
CC2: "net.CC2",
} }), jsxRuntime.jsx("diode", { name: "D1", footprint: "smb", variant: "tvs", manufacturerPartNumber: "SMBJ24A", pcbX: -20.8, pcbY: 14.5, schSheetName: "power", schSectionName: "INPUT", schX: -15, schY: 13, schRotation: 90, connections: { pin1: "net.GND", pin2: "net.VBUS" } }), jsxRuntime.jsx("capacitor", { name: "C1", capacitance: "10uF", maxVoltageRating: "25V", footprint: "cap1210", pcbX: -14.5, pcbY: 14.5, schSheetName: "power", schSectionName: "INPUT", schX: -14, schY: 14, schRotation: 270, connections: { pin1: "net.VBUS", pin2: "net.GND" } }), jsxRuntime.jsx("capacitor", { name: "C2", capacitance: "10uF", maxVoltageRating: "25V", footprint: "cap1210", pcbX: -13.5, pcbY: 11, schSheetName: "power", schSectionName: "INPUT", schX: -12.8, schY: 14, schRotation: 270, connections: { pin1: "net.VBUS", pin2: "net.GND" } }), jsxRuntime.jsx("capacitor", { name: "C3", capacitance: "100nF", footprint: "cap0603", pcbX: -14.5, pcbY: 8.3, schSheetName: "power", schSectionName: "INPUT", schX: -11.6, schY: 14, schRotation: 270, connections: { pin1: "net.VBUS", pin2: "net.GND" } }), jsxRuntime.jsx(STUSB4500QTR, { name: "U1", pcbX: -15, pcbY: -3, schSheetName: "power", schSectionName: "INPUT", schX: -12, schY: 2, noConnect: ["NC", "DISCH", "GPIO", "VBUS_EN_SNK"], connections: {
CC1DB: "net.CC1",
CC1: "net.CC1",
CC2: "net.CC2",
CC2DB: "net.CC2",
RESET: "net.PD_RESET",
SCL: "net.SCL",
SDA: "net.SDA",
GND: "net.GND",
ATTACH: "net.ATTACH",
ADDR0: "net.GND",
ADDR1: "net.GND",
POWER_OK3: "net.PWR_EN",
A_B_SIDE: "net.GND",
VBUS_VS_DISCH: "net.VBUS",
ALERT: "net.ALERT",
POWER_OK2: "net.POK2",
VREG_1V2: "net.VREG_1V2",
VSYS: "net.VBUS",
VREG_2V7: "net.VREG_2V7",
VDD: "net.VDD_3V3",
EP: "net.GND",
} }), jsxRuntime.jsx("capacitor", { name: "C4", capacitance: "1uF", maxVoltageRating: "25V", footprint: "cap0603", pcbX: -19.5, pcbY: -2.9, schSheetName: "power", schSectionName: "INPUT", schX: -10.4, schY: 14, schRotation: 270, connections: { pin1: "net.VBUS", pin2: "net.GND" } }), jsxRuntime.jsx("capacitor", { name: "C5", capacitance: "1uF", footprint: "cap0603", pcbX: -19.5, pcbY: -4.6, schSheetName: "power", schSectionName: "INPUT", schX: -16.43, schY: 0, schRotation: 270, connections: { pin1: "net.VDD_3V3", pin2: "net.GND" } }), jsxRuntime.jsx("capacitor", { name: "C6", capacitance: "100nF", footprint: "cap0603", pcbX: -19.5, pcbY: -6.2, schSheetName: "power", schSectionName: "INPUT", schX: -15.78, schY: 1.2, schRotation: 270, connections: { pin1: "net.VDD_3V3", pin2: "net.GND" } }), jsxRuntime.jsx("capacitor", { name: "C7", capacitance: "1uF", footprint: "cap0603", pcbX: -19.5, pcbY: -1.3, schSheetName: "power", schSectionName: "INPUT", schX: -16.11, schY: 2.6, schRotation: 270, connections: { pin1: "net.VREG_1V2", pin2: "net.GND" } }), jsxRuntime.jsx("capacitor", { name: "C8", capacitance: "1uF", footprint: "cap0603", pcbX: -19.5, pcbY: -8, schSheetName: "power", schSectionName: "INPUT", schX: -15.67, schY: -1.4, schRotation: 270, connections: { pin1: "net.VREG_2V7", pin2: "net.GND" } }), jsxRuntime.jsx("resistor", { name: "R6", resistance: "10k", footprint: "0402", pcbX: -11.2, pcbY: -6.4, pcbRotation: 90, schSheetName: "power", schSectionName: "INPUT", schX: -8.5, schY: 0, schRotation: 270, connections: { pin1: "net.VDD_3V3", pin2: "net.PD_RESET" } }), jsxRuntime.jsx("resistor", { name: "R7", resistance: "10k", footprint: "0402", pcbX: -11.2, pcbY: -4.4, pcbRotation: 90, schSheetName: "power", schSectionName: "INPUT", schX: -8.5, schY: 2, schRotation: 270, connections: { pin1: "net.VDD_3V3", pin2: "net.ATTACH" } }), jsxRuntime.jsx("resistor", { name: "R8", resistance: "10k", footprint: "0402", pcbX: -11.2, pcbY: -2.4, pcbRotation: 90, schSheetName: "power", schSectionName: "INPUT", schX: -8.5, schY: 4, schRotation: 270, connections: { pin1: "net.VDD_3V3", pin2: "net.ALERT" } }), jsxRuntime.jsx("resistor", { name: "R9", resistance: "10k", footprint: "0402", pcbX: -11.2, pcbY: -0.4, pcbRotation: 90, schSheetName: "power", schSectionName: "INPUT", schX: -8.5, schY: 6, schRotation: 270, connections: { pin1: "net.VDD_3V3", pin2: "net.POK2" } }), jsxRuntime.jsx(SCT2330TVBR, { name: "U2", pcbX: -4.6, pcbY: 10, pcbRotation: 270, schSheetName: "power", schSectionName: "BUCK", schX: -4.5, schY: 8, connections: {
VIN: "net.VBUS",
EN: "net.VBUS",
FB: "net.FB",
GND: "net.GND",
SW: "net.SW",
BST: "net.BST",
} }), jsxRuntime.jsx("capacitor", { name: "C9", capacitance: "10uF", maxVoltageRating: "25V", footprint: "cap1210", pcbX: -9, pcbY: 12.5, pcbRotation: 90, schSheetName: "power", schSectionName: "BUCK", schX: -9.2, schY: 13.4, schRotation: 270, connections: { pin1: "net.VBUS", pin2: "net.GND" } }), jsxRuntime.jsx("capacitor", { name: "C10", capacitance: "100nF", footprint: "cap0603", pcbX: -7.5, pcbY: 7.6, pcbRotation: 90, schSheetName: "power", schSectionName: "BUCK", schX: -8, schY: 13.4, schRotation: 270, connections: { pin1: "net.VBUS", pin2: "net.GND" } }), jsxRuntime.jsx("capacitor", { name: "C11", capacitance: "100nF", footprint: "cap0603", pcbX: -4, pcbY: 14.0, pcbRotation: 90, schSheetName: "power", schSectionName: "BUCK", schX: -3, schY: 12, connections: { pin1: "net.BST", pin2: "net.SW" } }), jsxRuntime.jsx(ANR6045T100M, { name: "L1", pcbX: 1.6, pcbY: 11.0, schSheetName: "power", schSectionName: "BUCK", schX: -1, schY: 8, connections: { pin1: "net.SW", pin2: "net.VOUT" } }), jsxRuntime.jsx("mosfet", { name: "Q2", channelType: "p", mosfetMode: "enhancement", footprint: "sot23", manufacturerPartNumber: "AO3407A", pcbX: 8, pcbY: 10, schSheetName: "power", schSectionName: "BUCK", schX: 1.5, schY: 10, connections: { pin1: "net.PWR_EN", pin2: "net.VOUT", pin3: "net.VSHUNT" } }), jsxRuntime.jsx("resistor", { name: "R1", resistance: "100k", footprint: "0402", pcbX: 8.0, pcbY: 12.6, schSheetName: "power", schSectionName: "BUCK", schX: 3.5, schY: 10, schRotation: 270, connections: { pin1: "net.VOUT", pin2: "net.PWR_EN" } }), jsxRuntime.jsx("connector", { name: "J2", footprint: "pinrow2_nosquareplating_p5mm_od2.2mm_id1.4mm", manufacturerPartNumber: "KF301-5.0-2P", pinLabels: { pin1: "VOUT", pin2: "GND" }, schPinArrangement: { topSide: ["VOUT"], bottomSide: ["GND"] }, pcbX: 21.6, pcbY: 10, pcbRotation: 90, schSheetName: "power", schSectionName: "BUCK", schX: 9.5, schY: 6, connections: { VOUT: "net.VOUT_TERM", GND: "net.GND" } }), jsxRuntime.jsx("resistor", { name: "R10", resistance: "82k", footprint: "0603", pcbX: -3, pcbY: 5.6, schSheetName: "power", schSectionName: "BUCK", schX: 1.5, schY: 4, schRotation: 270, connections: { pin1: "net.VOUT", pin2: "net.FB" } }), jsxRuntime.jsx("resistor", { name: "R11", resistance: "5.6k", footprint: "0603", pcbX: -3, pcbY: 3.95, schSheetName: "power", schSectionName: "BUCK", schX: 1.5, schY: 2, connections: { pin1: "net.FB", pin2: "net.FB_POT" } }), jsxRuntime.jsx(A_3224W_1_503E, { name: "RV1", pinAttributes: { pin1: { requiresGround: true }, pin2: { isPassive: true }, pin3: { isPassive: true } }, pcbX: -3, pcbY: 0.6, schSheetName: "power", schSectionName: "BUCK", schX: -0.5, schY: 0, connections: { pin1: "net.GND", pin2: "net.FB_POT", pin3: "net.FB_POT" } }), jsxRuntime.jsx("capacitor", { name: "C15", capacitance: "100pF", footprint: "cap0603", pcbX: -6, pcbY: 5, pcbRotation: 180, schSheetName: "power", schSectionName: "BUCK", schX: 3.5, schY: 4, schRotation: 270, connections: { pin1: "net.VOUT", pin2: "net.FB" } }), jsxRuntime.jsx("capacitor", { name: "C12", capacitance: "22uF", maxVoltageRating: "16V", footprint: "cap1210", pcbX: 5.0, pcbY: 5.3, pcbRotation: 90, schSheetName: "power", schSectionName: "BUCK", schX: 3.5, schY: 8, schRotation: 270, connections: { pin1: "net.VOUT", pin2: "net.GND" } }), jsxRuntime.jsx("capacitor", { name: "C13", capacitance: "22uF", maxVoltageRating: "16V", footprint: "cap1210", pcbX: 8.6, pcbY: 5.3, pcbRotation: 90, schSheetName: "power", schSectionName: "BUCK", schX: 4.7, schY: 8, schRotation: 270, connections: { pin1: "net.VOUT", pin2: "net.GND" } }), jsxRuntime.jsx("capacitor", { name: "C14", capacitance: "100nF", footprint: "cap0603", pcbX: 12.0, pcbY: 5.3, schSheetName: "power", schSectionName: "BUCK", schX: 5.9, schY: 8, schRotation: 270, connections: { pin1: "net.VOUT", pin2: "net.GND" } }), jsxRuntime.jsx(INA219AIDCNR, { name: "U3", pcbX: 13.5, pcbY: 14.8, pcbRotation: 270, schSheetName: "sense", schSectionName: "SENSE", schX: -8, schY: 4, connections: {
IN_POS: "net.VSHUNT",
IN_NEG: "net.VOUT_TERM",
GND: "net.GND",
VS: "net.VDD_3V3",
SCL: "net.SCL",
SDA: "net.SDA",
A0: "net.GND",
A1: "net.GND",
} }), jsxRuntime.jsx("resistor", { name: "RS1", resistance: "0.01", footprint: "2512", manufacturerPartNumber: "RLP2512-0.01R-1%", pcbX: 14.6, pcbY: 10, schSheetName: "sense", schSectionName: "SENSE", schX: -4, schY: 4, connections: { pin1: "net.VSHUNT", pin2: "net.VOUT_TERM" } }), jsxRuntime.jsx("capacitor", { name: "C16", capacitance: "100nF", footprint: "cap0603", pcbX: 16.5, pcbY: 14, pcbRotation: 90, schSheetName: "sense", schSectionName: "SENSE", schX: -6.5, schY: 0.5, schRotation: 270, connections: { pin1: "net.VDD_3V3", pin2: "net.GND" } }), jsxRuntime.jsx("resistor", { name: "R4", resistance: "4.7k", footprint: "0402", pcbX: 10, pcbY: -4, pcbRotation: 90, schSheetName: "sense", schSectionName: "IO", schX: -4.5, schY: 1.5, schRotation: 270, connections: { pin1: "net.VDD_3V3", pin2: "net.SDA" } }), jsxRuntime.jsx("resistor", { name: "R5", resistance: "4.7k", footprint: "0402", pcbX: 12, pcbY: -4, pcbRotation: 90, schSheetName: "sense", schSectionName: "IO", schX: -4.5, schY: -1.5, schRotation: 270, connections: { pin1: "net.VDD_3V3", pin2: "net.SCL" } }), jsxRuntime.jsx("pinheader", { name: "J3", pinCount: 4, pitch: "2.54mm", gender: "male", footprint: "pinrow4_p2.54mm", pinLabels: ["V3V3", "GND", "SDA", "SCL"], schWidth: 0.58, pcbX: 2, pcbY: -4, schSheetName: "sense", schSectionName: "IO", schX: -0.49, schY: 0, connections: { V3V3: "net.VDD_3V3", GND: "net.GND", SDA: "net.SDA", SCL: "net.SCL" } }), jsxRuntime.jsx("resistor", { name: "R12", resistance: "1k", footprint: "0402", pcbX: 6.2, pcbY: -9, pcbRotation: 180, schSheetName: "sense", schSectionName: "IO", schX: 3.5, schY: 4, schRotation: -90, connections: { pin1: "net.VDD_3V3", pin2: "net.LED1_A" } }), jsxRuntime.jsx("led", { name: "LED1", footprint: "0805", color: "red", manufacturerPartNumber: "KT-0805R", pcbX: 3, pcbY: -9, schSheetName: "sense", schSectionName: "IO", schX: 3.5, schY: 1.5, schRotation: -90, connections: { pin1: "net.LED1_A", pin2: "net.GND" } }), jsxRuntime.jsx("resistor", { name: "R13", resistance: "2.2k", footprint: "0402", pcbX: 15.6, pcbY: -9, pcbRotation: 180, schSheetName: "sense", schSectionName: "IO", schX: 3.5, schY: -1.5, schRotation: -90, connections: { pin1: "net.VOUT_TERM", pin2: "net.LED2_A" } }), jsxRuntime.jsx("led", { name: "LED2", footprint: "0805", color: "green", manufacturerPartNumber: "KT-0805G", pcbX: 11.5, pcbY: -9, schSheetName: "sense", schSectionName: "IO", schX: 3.5, schY: -4, schRotation: -90, connections: { pin1: "net.LED2_A", pin2: "net.GND" } })] }));
module.exports = index_circuit;