aj0070/thermocouple-logger
A 70×45 mm USB‑C powered ESP32‑C3 data logger with 3.3 V regulation, microSD storage, status/button UI, and four MAX31856 thermocouple measurement channels with filtering and SPI control.
- Version
- 1.0.1
- License
- unset
- Stars
- 0
Use with the tscircuit CLI
tsci is the tscircuit CLI. Install it with npm install -g tscircuit.
tsci clone aj0070/thermocouple-logger # download the package files into ./thermocouple-logger
tsci add aj0070/thermocouple-logger # add it to your project as @tsci/aj0070.thermocouple-loggerIn 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, Fragment } from 'react/jsx-runtime';
const pinLabels$5 = {
pin1: ["AGND"],
pin2: ["BIAS"],
pin3: ["T_NEG"],
pin4: ["T_POS"],
pin5: ["AVDD"],
pin6: ["DNC"],
pin7: ["N_DRDY"],
pin8: ["DVDD"],
pin9: ["N_CS"],
pin10: ["SCK"],
pin11: ["SDO"],
pin12: ["SDI"],
pin13: ["N_FAULT"],
pin14: ["DGND"]
};
const pinAttributes$5 = {
pin1: { requiresGround: true }
};
const MAX31856MUD_T = (props) => {
return (jsx("chip", { pinLabels: pinLabels$5, pinAttributes: pinAttributes$5, supplierPartNumbers: {
"jlcpcb": [
"C2653162"
]
}, manufacturerPartNumber: "MAX31856MUD+T", footprint: "tssop14_p0.65mm_w3.9mm_pw0.4mm_pl1.7mm", cadModel: {
objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C2653162.obj?uuid=5377177da492449fa1a3111d646cac17",
stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C2653162.step?uuid=5377177da492449fa1a3111d646cac17",
pcbRotationOffset: 90,
modelOriginPosition: { x: -12700000013410317e-21, y: 0, z: -0.069083 },
}, ...props }));
};
const pinLabels$4 = {
pin1: ["pin1"],
pin2: ["pin2"]
};
const pinAttributes$4 = {
pin1: { isPassive: true },
pin2: { isPassive: true }
};
const BLM18PG121SN1D = (props) => {
return (jsx("chip", { pinLabels: pinLabels$4, pinAttributes: pinAttributes$4, symbol: jsxs("symbol", { children: [jsx("port", { name: "pin2", pinNumber: 2, aliases: ["2"], direction: "right", schX: 0.4, schY: 0, schStemLength: 0.06 }), jsx("port", { name: "pin1", pinNumber: 1, aliases: ["1"], direction: "left", schX: -0.4, schY: 0, schStemLength: 0.06 }), jsx("schematicpath", { svgPath: "M -0.33766 0.00136 A 0.08 0.078 0 1 0 -0.17836 0.00128", strokeColor: "#880000" }), jsx("schematicpath", { svgPath: "M -0.168 0.00142 A 0.08 0.078 0 1 0 -0.0087 0.00132", strokeColor: "#880000" }), jsx("schematicpath", { svgPath: "M 0.00134 0.00142 A 0.08 0.078 0 1 0 0.16064 0.00132", strokeColor: "#880000" }), jsx("schematicpath", { svgPath: "M 0.174 0.00138 A 0.08 0.078 0 1 0 0.3333 0.00128", strokeColor: "#880000" }), jsx("schematictext", { schX: 0, schY: 0.286, text: "{NAME}", fontSize: 0.2, anchor: "bottom_center" })] }), supplierPartNumbers: {
"jlcpcb": [
"C14709"
]
}, manufacturerPartNumber: "BLM18PG121SN1D", footprint: "smdpads2_p1.3998mm_pw0.8mm_ph0.864mm_cyw2.6998mm_cyh1.364mm", cadModel: {
objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C14709.obj?uuid=a7f84688c5004aa68dbcbddc99bd5473",
stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C14709.step?uuid=a7f84688c5004aa68dbcbddc99bd5473",
pcbRotationOffset: 180,
modelOriginPosition: { x: 0.0023875999999063424, y: 0.015976600000044527, z: -0.25 },
}, ...props }));
};
const tcPinAttributes = {
AGND: { requiresGround: true, mustBeConnected: true },
AVDD: { requiresPower: true, mustBeConnected: true },
DVDD: { requiresPower: true, mustBeConnected: true },
DGND: { requiresGround: true, mustBeConnected: true },
T_POS: { mustBeConnected: true },
T_NEG: { mustBeConnected: true },
BIAS: { mustBeConnected: true },
N_CS: { mustBeConnected: true },
SCK: { mustBeConnected: true },
SDO: { mustBeConnected: true },
SDI: { mustBeConnected: true },
};
const TCChannel = ({ ch, xc, csNet, schX, schY, sheet, section, }) => {
const p = `T${ch}`;
return (jsxs(Fragment, { children: [jsx("connector", { name: `J${ch}`, footprint: "jst2_p2mm_ph", pinLabels: { pin1: "T_POS", pin2: "T_NEG" }, schPinArrangement: { topSide: ["T_POS"], bottomSide: ["T_NEG"] }, schSheetName: sheet, schSectionName: section, schX: schX - 4.3, schY: schY - 2.6, pcbX: xc, pcbY: -19.6, pcbRotation: 180, children: jsx("footprint", { insertionDirection: "from_above" }) }), jsx(MAX31856MUD_T, { name: `U${ch}`, pinAttributes: tcPinAttributes, noConnect: ["DNC", "N_DRDY", "N_FAULT"], schPinArrangement: {
leftSide: {
pins: ["T_POS", "T_NEG", "BIAS", "AVDD", "AGND"],
direction: "top-to-bottom",
},
rightSide: {
pins: ["DVDD", "DGND", "N_CS", "SCK", "SDI", "SDO"],
direction: "top-to-bottom",
},
}, schSheetName: sheet, schSectionName: section, schX: schX, schY: schY + 0.6, pcbX: xc, pcbY: -6.2, pcbRotation: 90 }), jsx(BLM18PG121SN1D, { name: `FB${ch}P`, schSheetName: sheet, schSectionName: section, schX: schX - 2.0, schY: schY - 2.2, pcbX: xc + 1.5, pcbY: -14.3, pcbRotation: 90 }), jsx(BLM18PG121SN1D, { name: `FB${ch}N`, schSheetName: sheet, schSectionName: section, schX: schX - 0.4, schY: schY - 2.2, pcbX: xc - 1.5, pcbY: -14.3, pcbRotation: 90 }), jsx("capacitor", { name: `CD${ch}`, capacitance: "100nF", footprint: "0402", schSheetName: sheet, schSectionName: section, schX: schX + 0.8, schY: schY - 2.2, pcbX: xc, pcbY: -11.4, pcbRotation: 90 }), jsx("capacitor", { name: `CP${ch}`, capacitance: "10nF", footprint: "0402", schSheetName: sheet, schSectionName: section, schRotation: 270, schX: schX + 2.0, schY: schY - 2.6, pcbX: xc - 1.7, pcbY: -11.4, pcbRotation: 90 }), jsx("capacitor", { name: `CN${ch}`, capacitance: "10nF", footprint: "0402", schSheetName: sheet, schSectionName: section, schRotation: 270, schX: schX + 3.2, schY: schY - 2.6, pcbX: xc + 1.7, pcbY: -11.4, pcbRotation: 90 }), jsx("capacitor", { name: `CB${ch}`, capacitance: "100nF", footprint: "0402", schSheetName: sheet, schSectionName: section, schRotation: 270, schX: schX - 3.0, schY: schY - 2.6, pcbX: xc - 3.4, pcbY: -11.4, pcbRotation: 90 }), jsx("capacitor", { name: `CA${ch}`, capacitance: "100nF", footprint: "0402", schSheetName: sheet, schSectionName: section, schRotation: 270, schX: schX + 4.4, schY: schY - 2.6, pcbX: xc + 3.4, pcbY: -11.4, pcbRotation: 90 }), jsx("capacitor", { name: `CDD${ch}`, capacitance: "100nF", footprint: "0402", schSheetName: sheet, schSectionName: section, schRotation: 270, schX: schX + 5.6, schY: schY - 2.6, pcbX: xc + 2.6, pcbY: -1.2, pcbRotation: 90 }), jsx("trace", { from: `J${ch}.T_POS`, to: `FB${ch}P.pin1` }), jsx("trace", { from: `J${ch}.T_NEG`, to: `FB${ch}N.pin1` }), jsx("trace", { from: `FB${ch}P.pin2`, to: `net.${p}_P` }), jsx("trace", { from: `FB${ch}N.pin2`, to: `net.${p}_N` }), jsx("trace", { from: `net.${p}_P`, to: `U${ch}.T_POS` }), jsx("trace", { from: `net.${p}_N`, to: `U${ch}.T_NEG` }), jsx("trace", { from: `CD${ch}.pin1`, to: `net.${p}_N` }), jsx("trace", { from: `CD${ch}.pin2`, to: `net.${p}_P` }), jsx("trace", { from: `CP${ch}.pin1`, to: `net.${p}_N` }), jsx("trace", { from: `CP${ch}.pin2`, to: "net.GND" }), jsx("trace", { from: `CN${ch}.pin1`, to: `net.${p}_P` }), jsx("trace", { from: `CN${ch}.pin2`, to: "net.GND" }), jsx("trace", { from: `CB${ch}.pin1`, to: `U${ch}.BIAS` }), jsx("trace", { from: `CB${ch}.pin2`, to: "net.GND" }), jsx("trace", { from: `CA${ch}.pin1`, to: "net.V3_3" }), jsx("trace", { from: `CA${ch}.pin2`, to: "net.GND" }), jsx("trace", { from: `CDD${ch}.pin1`, to: "net.V3_3" }), jsx("trace", { from: `CDD${ch}.pin2`, to: "net.GND" }), jsx("trace", { from: `U${ch}.AGND`, to: "net.GND" }), jsx("trace", { from: `U${ch}.DGND`, to: "net.GND" }), jsx("trace", { from: `U${ch}.AVDD`, to: "net.V3_3" }), jsx("trace", { from: `U${ch}.DVDD`, to: "net.V3_3" }), jsx("trace", { from: `U${ch}.N_CS`, to: `net.${csNet}` }), jsx("trace", { from: `U${ch}.SCK`, to: "net.SCK" }), jsx("trace", { from: `U${ch}.SDI`, to: "net.MOSI" }), jsx("trace", { from: `U${ch}.SDO`, to: "net.MISO" })] }));
};
const pinLabels$3 = {
pin1: ["GND"],
pin2: ["VOUT1"],
pin3: ["VIN"],
pin4: ["VOUT2"]
};
const pinAttributes$3 = {
pin1: { capabilities: [], requiresGround: true, requiresVoltage: 0, mustBeConnected: true },
pin3: { isInput: true, capabilities: [], requiresPower: true, mustBeConnected: true, shouldHaveDecouplingCapacitor: true },
pin2: { isOutput: true, capabilities: [], providesPower: true, providesVoltage: 3.3, shouldHaveDecouplingCapacitor: true, recommendedDecouplingCapacitorCapacitance: "22uF" },
pin4: { isOutput: true, capabilities: [], providesPower: true, providesVoltage: 3.3 }
};
const AMS1117_3_3 = (props) => {
return (jsx("chip", { pinLabels: pinLabels$3, pinAttributes: pinAttributes$3, supplierPartNumbers: {
"jlcpcb": [
"C6186"
]
}, manufacturerPartNumber: "AMS1117-3.3", footprint: "sot223_w8.0599mm_p2.3mm_pl2.5mm_pw1.1mm_tabpl2.34mm_tabpw3.6mm_taboffset0.08mm_rounded0_pin1location(rightside,bottom)", cadModel: {
objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C6186.obj?uuid=e80246a9471445bfb635be848806a22e",
stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C6186.step?uuid=e80246a9471445bfb635be848806a22e",
pcbRotationOffset: 180,
modelOriginPosition: { x: -0.14002385000003414, y: -12700000070253736e-21, z: -0.049394 },
}, ...props }));
};
const pinLabels$2 = {
pin1: ["EH2"],
pin2: ["EH1"],
pin3: ["EH4"],
pin4: ["EH3"],
pin5: ["SBU2", "B8"],
pin6: ["CC1", "A5"],
pin7: ["DN2", "B7"],
pin8: ["DP1", "A6"],
pin9: ["DN1", "A7"],
pin10: ["DP2", "B6"],
pin11: ["SBU1", "A8"],
pin12: ["CC2", "B5"],
pin13: ["GND1", "A1B12"],
pin14: ["GND2", "B1A12"],
pin15: ["VBUS1", "B4A9"],
pin16: ["VBUS2", "A4B9"]
};
const pinAttributes$2 = {
pin5: { isPassive: true },
pin6: { isPassive: true },
pin7: { isPassive: true },
pin8: { isPassive: true },
pin9: { isPassive: true },
pin10: { isPassive: true },
pin11: { isPassive: true },
pin12: { isPassive: true }
};
const TYPE_C_31_M_12 = (props) => {
return (jsx("chip", { pinLabels: pinLabels$2, pinAttributes: pinAttributes$2, supplierPartNumbers: {
"jlcpcb": [
"C165948"
]
}, manufacturerPartNumber: "TYPE-C-31-M-12", footprint: jsxs("footprint", { children: [jsx("hole", { pcbX: "-2.899918mm", pcbY: "0.9055672mm", diameter: "0.5999988mm" }), jsx("hole", { pcbX: "2.899918mm", pcbY: "0.9055672mm", diameter: "0.5999988mm" }), jsx("platedhole", { portHints: ["pin2"], pcbX: "4.325112mm", pcbY: "-2.7741308mm", holeWidth: "0.7999984mm", holeHeight: "1.1999976mm", outerWidth: "1.1999976mm", outerHeight: "1.7999964mm", shape: "pill" }), jsx("platedhole", { portHints: ["pin1"], pcbX: "4.325112mm", pcbY: "1.4056932mm", holeWidth: "0.7999984mm", holeHeight: "1.499997mm", outerWidth: "1.1999976mm", outerHeight: "1.999996mm", shape: "pill" }), jsx("platedhole", { portHints: ["pin4"], pcbX: "-4.325112mm", pcbY: "1.4056932mm", holeWidth: "0.7999984mm", holeHeight: "1.499997mm", outerWidth: "1.1999976mm", outerHeight: "1.999996mm", shape: "pill" }), jsx("platedhole", { portHints: ["pin3"], pcbX: "-4.325112mm", pcbY: "-2.7741308mm", holeWidth: "0.7999984mm", holeHeight: "1.1999976mm", outerWidth: "1.1999976mm", outerHeight: "1.7999964mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin5"], pcbX: "-1.75006mm", pcbY: "2.1740432mm", width: "0.2999994mm", height: "1.2999974mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin6"], pcbX: "-1.249934mm", pcbY: "2.1740432mm", width: "0.2999994mm", height: "1.2999974mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin7"], pcbX: "-0.750062mm", pcbY: "2.1740432mm", width: "0.2999994mm", height: "1.2999974mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin8"], pcbX: "-0.249936mm", pcbY: "2.1740432mm", width: "0.2999994mm", height: "1.2999974mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin9"], pcbX: "0.249936mm", pcbY: "2.1740432mm", width: "0.2999994mm", height: "1.2999974mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin10"], pcbX: "0.750062mm", pcbY: "2.1740432mm", width: "0.2999994mm", height: "1.2999974mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin11"], pcbX: "1.24968mm", pcbY: "2.1740432mm", width: "0.2999994mm", height: "1.2999974mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin12"], pcbX: "1.75006mm", pcbY: "2.1740432mm", width: "0.2999994mm", height: "1.2999974mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin13"], points: [{ x: "-2.8999688mm", y: "1.524108mm" }, { x: "-2.8999688mm", y: "2.8241308mm" }, { x: "-2.8999688mm", y: "2.8241308mm" }, { x: "-3.1999682mm", y: "2.8241308mm" }, { x: "-3.1999682mm", y: "2.8241308mm" }, { x: "-3.1999682mm", y: "2.8239784mm" }, { x: "-3.1999682mm", y: "2.8239784mm" }, { x: "-3.4999422mm", y: "2.8239784mm" }, { x: "-3.4999422mm", y: "2.8239784mm" }, { x: "-3.4999422mm", y: "1.5239556mm" }, { x: "-3.4999422mm", y: "1.5239556mm" }, { x: "-3.1999428mm", y: "1.5239556mm" }, { x: "-3.1999428mm", y: "1.5239556mm" }, { x: "-3.1999428mm", y: "1.524108mm" }, { x: "-3.1999428mm", y: "1.524108mm" }, { x: "-2.8999688mm", y: "1.524108mm" }], shape: "polygon" }), jsx("smtpad", { portHints: ["pin14"], points: [{ x: "2.8999942mm", y: "2.8241308mm" }, { x: "2.8999942mm", y: "1.5241588mm" }, { x: "2.8999942mm", y: "1.5241588mm" }, { x: "3.1999936mm", y: "1.5241588mm" }, { x: "3.1999936mm", y: "1.5241588mm" }, { x: "3.200019mm", y: "1.5241588mm" }, { x: "3.200019mm", y: "1.5241588mm" }, { x: "3.5000184mm", y: "1.5241588mm" }, { x: "3.5000184mm", y: "1.5241588mm" }, { x: "3.5000184mm", y: "2.8241308mm" }, { x: "3.5000184mm", y: "2.8241308mm" }, { x: "3.200019mm", y: "2.8241308mm" }, { x: "3.200019mm", y: "2.8241308mm" }, { x: "3.1999936mm", y: "2.8241308mm" }, { x: "3.1999936mm", y: "2.8241308mm" }, { x: "2.8999942mm", y: "2.8241308mm" }], shape: "polygon" }), jsx("smtpad", { portHints: ["pin15"], points: [{ x: "2.7001724mm", y: "1.5241588mm" }, { x: "2.7001724mm", y: "2.8241308mm" }, { x: "2.7001724mm", y: "2.8241308mm" }, { x: "2.400173mm", y: "2.8241308mm" }, { x: "2.400173mm", y: "2.8241308mm" }, { x: "2.4001476mm", y: "2.8241308mm" }, { x: "2.4001476mm", y: "2.8241308mm" }, { x: "2.1001482mm", y: "2.8241308mm" }, { x: "2.1001482mm", y: "2.8241308mm" }, { x: "2.1001482mm", y: "1.5241588mm" }, { x: "2.1001482mm", y: "1.5241588mm" }, { x: "2.4001476mm", y: "1.5241588mm" }, { x: "2.4001476mm", y: "1.5241588mm" }, { x: "2.400173mm", y: "1.5241588mm" }, { x: "2.400173mm", y: "1.5241588mm" }, { x: "2.7001724mm", y: "1.5241588mm" }], shape: "polygon" }), jsx("smtpad", { portHints: ["pin16"], points: [{ x: "-2.0999704mm", y: "1.5240064mm" }, { x: "-2.0999704mm", y: "2.8239784mm" }, { x: "-2.0999704mm", y: "2.8239784mm" }, { x: "-2.3999952mm", y: "2.8239784mm" }, { x: "-2.3999952mm", y: "2.8239784mm" }, { x: "-2.3999952mm", y: "2.823953mm" }, { x: "-2.3999952mm", y: "2.823953mm" }, { x: "-2.6999438mm", y: "2.823953mm" }, { x: "-2.6999438mm", y: "2.823953mm" }, { x: "-2.6999438mm", y: "1.523981mm" }, { x: "-2.6999438mm", y: "1.523981mm" }, { x: "-2.399919mm", y: "1.523981mm" }, { x: "-2.399919mm", y: "1.523981mm" }, { x: "-2.399919mm", y: "1.5240064mm" }, { x: "-2.399919mm", y: "1.5240064mm" }, { x: "-2.0999704mm", y: "1.5240064mm" }], shape: "polygon" }), jsx("silkscreenpath", { route: [{ "x": -4.4689776000000165, "y": -1.6757585999999947 }, { "x": -4.4689776000000165, "y": 0.18715359999987413 }] }), jsx("silkscreenpath", { route: [{ "x": 4.471009600000116, "y": -5.394140800000059 }, { "x": -4.4689776000000165, "y": -5.394140800000059 }, { "x": -4.4689776000000165, "y": -3.91283820000001 }] }), jsx("silkscreenpath", { route: [{ "x": 4.471009600000116, "y": -1.676114200000029 }, { "x": 4.471009600000116, "y": 0.18750920000002225 }] }), jsx("silkscreenpath", { route: [{ "x": 4.471009600000116, "y": -5.394140800000059 }, { "x": 4.471009600000116, "y": -3.912482600000203 }] }), jsx("silkscreentext", { text: "{NAME}", pcbX: "0.002794mm", pcbY: "3.8286012mm", anchorAlignment: "center", fontSize: "1mm" }), jsx("courtyardoutline", { outline: [{ "x": -5.17511079999997, "y": 3.074130799999921 }, { "x": 5.17511079999997, "y": 3.074130799999921 }, { "x": 5.17511079999997, "y": -5.60002099999997 }, { "x": -5.17511079999997, "y": -5.60002099999997 }, { "x": -5.17511079999997, "y": 3.074130799999921 }] })] }), cadModel: {
objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C165948.obj?uuid=617b05f9bba7410b96c001093d8189e4",
stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C165948.step?uuid=617b05f9bba7410b96c001093d8189e4",
pcbRotationOffset: 180,
modelOriginPosition: { x: 0, y: -2.7500289000000517, z: 0.000010999999999872223 },
}, ...props }));
};
const PowerSection = () => (jsxs(Fragment, { children: [jsx(TYPE_C_31_M_12, { name: "J5", allowOffBoard: true, pcbX: -29.4, pcbY: 9.5, pcbRotation: 270, schSheetName: "Power", schSectionName: "PowerEntry", schX: -9.34, schY: 0, noConnect: ["SBU1", "SBU2"] }), jsx(AMS1117_3_3, { name: "U5", schSheetName: "Power", schSectionName: "Regulator", schX: -1.4, schY: 0.6, pcbX: -22.2, pcbY: 9.5, pcbRotation: 90 }), jsx("resistor", { name: "R1", resistance: "5.1k", footprint: "0402", schSheetName: "Power", schSectionName: "PowerEntry", schRotation: 270, schX: -6.65, schY: -0.9, pcbX: -31.2, pcbY: 3.2, pcbRotation: 180 }), jsx("resistor", { name: "R2", resistance: "5.1k", footprint: "0402", schSheetName: "Power", schSectionName: "PowerEntry", schRotation: 270, schX: -4.9, schY: -2.6, pcbX: -31.2, pcbY: 15.8, pcbRotation: 180 }), jsx("capacitor", { name: "C1", capacitance: "10uF", footprint: "0805", schSheetName: "Power", schSectionName: "PowerEntry", schRotation: 270, schX: -3.2, schY: -1.6, pcbX: -27.4, pcbY: 0.4, pcbRotation: 0 }), jsx("capacitor", { name: "C2", capacitance: "22uF", footprint: "0805", schSheetName: "Power", schSectionName: "Regulator", schRotation: 270, schX: 1.4, schY: -1.6, pcbX: -22.6, pcbY: 1.4, pcbRotation: 0 }), jsx("capacitor", { name: "C3", capacitance: "100nF", footprint: "0402", schSheetName: "Power", schSectionName: "Regulator", schRotation: 270, schX: 2.6, schY: -1.6, pcbX: -19.2, pcbY: 1.4, pcbRotation: 0 }), jsx("trace", { from: "J5.VBUS1", to: "net.VBUS" }), jsx("trace", { from: "J5.VBUS2", to: "net.VBUS" }), jsx("trace", { from: "J5.GND1", to: "net.GND" }), jsx("trace", { from: "J5.GND2", to: "net.GND" }), jsx("trace", { from: "J5.EH1", to: "net.GND" }), jsx("trace", { from: "J5.EH2", to: "net.GND" }), jsx("trace", { from: "J5.EH3", to: "net.GND" }), jsx("trace", { from: "J5.EH4", to: "net.GND" }), jsx("trace", { from: "J5.CC1", to: "R1.pin1" }), jsx("trace", { from: "R1.pin2", to: "net.GND" }), jsx("trace", { from: "J5.CC2", to: "R2.pin1" }), jsx("trace", { from: "R2.pin2", to: "net.GND" }), jsx("trace", { from: "J5.DP1", to: "net.USB_DP" }), jsx("trace", { from: "J5.DP2", to: "net.USB_DP" }), jsx("trace", { from: "J5.DN1", to: "net.USB_DM" }), jsx("trace", { from: "J5.DN2", to: "net.USB_DM" }), jsx("trace", { from: "net.VBUS", to: "C1.pin1" }), jsx("trace", { from: "C1.pin2", to: "net.GND" }), jsx("trace", { from: "net.VBUS", to: "U5.VIN" }), jsx("trace", { from: "U5.GND", to: "net.GND" }), jsx("trace", { from: "U5.VOUT1", to: "net.V3_3" }), jsx("trace", { from: "U5.VOUT2", to: "net.V3_3" }), jsx("trace", { from: "net.V3_3", to: "C2.pin1" }), jsx("trace", { from: "C2.pin2", to: "net.GND" }), jsx("trace", { from: "net.V3_3", to: "C3.pin1" }), jsx("trace", { from: "C3.pin2", to: "net.GND" })] }));
const pinLabels$1 = {
pin1: ["GND1"],
pin2: ["GND2"],
pin3: ["3V3"],
pin4: ["NC1"],
pin5: ["IO2"],
pin6: ["IO3"],
pin7: ["NC2"],
pin8: ["EN"],
pin9: ["NC3"],
pin10: ["NC4"],
pin11: ["GND3"],
pin12: ["IO0"],
pin13: ["IO1"],
pin14: ["GND4"],
pin15: ["NC5"],
pin16: ["IO10"],
pin17: ["NC6"],
pin18: ["IO4"],
pin19: ["IO5"],
pin20: ["IO6"],
pin21: ["IO7"],
pin22: ["IO8"],
pin23: ["IO9"],
pin24: ["NC7"],
pin25: ["NC8"],
pin26: ["IO18"],
pin27: ["IO19"],
pin28: ["NC9"],
pin29: ["NC10"],
pin30: ["RXD0"],
pin31: ["TXD0"],
pin32: ["NC11"],
pin33: ["NC12"],
pin34: ["NC13"],
pin35: ["NC14"],
pin36: ["GND5"],
pin37: ["GND6"],
pin38: ["GND7"],
pin39: ["GND8"],
pin40: ["GND9"],
pin41: ["GND10"],
pin42: ["GND11"],
pin43: ["GND12"],
pin44: ["GND13"],
pin45: ["GND14"],
pin46: ["GND15"],
pin47: ["GND16"],
pin48: ["GND17"],
pin49: ["GND22"],
pin50: ["GND18"],
pin51: ["GND19"],
pin52: ["GND20"],
pin53: ["GND21"]
};
const pinAttributes$1 = {
pin1: { requiresGround: true, mustBeConnected: true },
pin2: { requiresGround: true, mustBeConnected: true },
pin4: { doNotConnect: true },
pin7: { doNotConnect: true },
pin9: { doNotConnect: true },
pin10: { doNotConnect: true },
pin11: { requiresGround: true, mustBeConnected: true },
pin14: { requiresGround: true, mustBeConnected: true },
pin15: { doNotConnect: true },
pin17: { doNotConnect: true },
pin24: { doNotConnect: true },
pin25: { doNotConnect: true },
pin28: { doNotConnect: true },
pin29: { doNotConnect: true },
pin32: { doNotConnect: true },
pin33: { doNotConnect: true },
pin34: { doNotConnect: true },
pin35: { doNotConnect: true },
pin36: { requiresGround: true, mustBeConnected: true },
pin37: { requiresGround: true, mustBeConnected: true },
pin38: { requiresGround: true, mustBeConnected: true },
pin39: { requiresGround: true, mustBeConnected: true },
pin40: { requiresGround: true, mustBeConnected: true },
pin41: { requiresGround: true, mustBeConnected: true },
pin42: { requiresGround: true, mustBeConnected: true },
pin43: { requiresGround: true, mustBeConnected: true },
pin44: { requiresGround: true, mustBeConnected: true },
pin45: { requiresGround: true, mustBeConnected: true },
pin46: { requiresGround: true, mustBeConnected: true },
pin47: { requiresGround: true, mustBeConnected: true },
pin48: { requiresGround: true, mustBeConnected: true },
pin49: { requiresGround: true },
pin50: { requiresGround: true, mustBeConnected: true },
pin51: { requiresGround: true, mustBeConnected: true },
pin52: { requiresGround: true, mustBeConnected: true },
pin53: { requiresGround: true, mustBeConnected: true },
pin3: { requiresPower: true, mustBeConnected: true, shouldHaveDecouplingCapacitor: true },
pin5: { isInput: true, isOutput: true, isBidirectional: true, canUseTriState: true, capabilities: ["i2c_sda", "i2c_scl", "spi_cs", "spi_sck", "spi_mosi", "spi_miso", "uart_tx", "uart_rx"], canUseInternalPullup: true, canUseInternalPulldown: true, isGpio: true },
pin6: { isInput: true, isOutput: true, isBidirectional: true, canUseTriState: true, capabilities: ["i2c_sda", "i2c_scl", "spi_cs", "spi_sck", "spi_mosi", "spi_miso", "uart_tx", "uart_rx"], canUseInternalPullup: true, canUseInternalPulldown: true, isGpio: true },
pin8: { isInput: true, mustBeConnected: true },
pin12: { isInput: true, isOutput: true, isBidirectional: true, canUseTriState: true, capabilities: ["i2c_sda", "i2c_scl", "spi_cs", "spi_sck", "spi_mosi", "spi_miso", "uart_tx", "uart_rx"], canUseInternalPullup: true, canUseInternalPulldown: true, isGpio: true },
pin13: { isInput: true, isOutput: true, isBidirectional: true, canUseTriState: true, capabilities: ["i2c_sda", "i2c_scl", "spi_cs", "spi_sck", "spi_mosi", "spi_miso", "uart_tx", "uart_rx"], canUseInternalPullup: true, canUseInternalPulldown: true, isGpio: true },
pin16: { isInput: true, isOutput: true, isBidirectional: true, canUseTriState: true, capabilities: ["i2c_sda", "i2c_scl", "spi_cs", "spi_sck", "spi_mosi", "spi_miso", "uart_tx", "uart_rx"], canUseInternalPullup: true, canUseInternalPulldown: true, isGpio: true },
pin18: { isInput: true, isOutput: true, isBidirectional: true, canUseTriState: true, capabilities: ["i2c_sda", "i2c_scl", "spi_cs", "spi_sck", "spi_mosi", "spi_miso", "uart_tx", "uart_rx"], canUseInternalPullup: true, canUseInternalPulldown: true, isGpio: true },
pin19: { isInput: true, isOutput: true, isBidirectional: true, canUseTriState: true, capabilities: ["i2c_sda", "i2c_scl", "spi_cs", "spi_sck", "spi_mosi", "spi_miso", "uart_tx", "uart_rx"], canUseInternalPullup: true, canUseInternalPulldown: true, isGpio: true },
pin20: { isInput: true, isOutput: true, isBidirectional: true, canUseTriState: true, capabilities: ["i2c_sda", "i2c_scl", "spi_cs", "spi_sck", "spi_mosi", "spi_miso", "uart_tx", "uart_rx"], canUseInternalPullup: true, canUseInternalPulldown: true, isGpio: true },
pin21: { isInput: true, isOutput: true, isBidirectional: true, canUseTriState: true, capabilities: ["i2c_sda", "i2c_scl", "spi_cs", "spi_sck", "spi_mosi", "spi_miso", "uart_tx", "uart_rx"], canUseInternalPullup: true, canUseInternalPulldown: true, isGpio: true },
pin22: { isInput: true, isOutput: true, isBidirectional: true, canUseTriState: true, capabilities: ["i2c_sda", "i2c_scl", "spi_cs", "spi_sck", "spi_mosi", "spi_miso", "uart_tx", "uart_rx"], canUseInternalPullup: true, canUseInternalPulldown: true, isGpio: true },
pin23: { isInput: true, isOutput: true, isBidirectional: true, canUseTriState: true, capabilities: ["i2c_sda", "i2c_scl", "spi_cs", "spi_sck", "spi_mosi", "spi_miso", "uart_tx", "uart_rx"], canUseInternalPullup: true, canUseInternalPulldown: true, isGpio: true },
pin26: { isInput: true, isOutput: true, isBidirectional: true, canUseTriState: true, capabilities: ["i2c_sda", "i2c_scl", "spi_cs", "spi_sck", "spi_mosi", "spi_miso", "uart_tx", "uart_rx"], canUseInternalPullup: true, canUseInternalPulldown: true, isGpio: true },
pin27: { isInput: true, isOutput: true, isBidirectional: true, canUseTriState: true, capabilities: ["i2c_sda", "i2c_scl", "spi_cs", "spi_sck", "spi_mosi", "spi_miso", "uart_tx", "uart_rx"], canUseInternalPullup: true, canUseInternalPulldown: true, isGpio: true },
pin30: { isInput: true, isOutput: true, isBidirectional: true, canUseTriState: true, capabilities: ["i2c_sda", "i2c_scl", "spi_cs", "spi_sck", "spi_mosi", "spi_miso", "uart_tx", "uart_rx"], canUseInternalPullup: true, canUseInternalPulldown: true, isGpio: true },
pin31: { isInput: true, isOutput: true, isBidirectional: true, canUseTriState: true, capabilities: ["i2c_sda", "i2c_scl", "spi_cs", "spi_sck", "spi_mosi", "spi_miso", "uart_tx", "uart_rx"], canUseInternalPullup: true, canUseInternalPulldown: true, isGpio: true }
};
const ESP32_C3_MINI_1_N4 = (props) => {
return (jsx("chip", { pinLabels: pinLabels$1, pinAttributes: pinAttributes$1, supplierPartNumbers: {
"jlcpcb": [
"C2838502"
]
}, manufacturerPartNumber: "ESP32-C3-MINI-1-N4", footprint: jsxs("footprint", { children: [jsx("smtpad", { portHints: ["pin1"], pcbX: "-5.899912mm", pcbY: "3.999992mm", width: "0.7999984mm", height: "0.3999992mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin2"], pcbX: "-5.899912mm", pcbY: "3.199892mm", width: "0.7999984mm", height: "0.3999992mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin3"], pcbX: "-5.899912mm", pcbY: "2.400046mm", width: "0.7999984mm", height: "0.3999992mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin4"], pcbX: "-5.899912mm", pcbY: "1.599946mm", width: "0.7999984mm", height: "0.3999992mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin5"], pcbX: "-5.899912mm", pcbY: "0.8001mm", width: "0.7999984mm", height: "0.3999992mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin6"], pcbX: "-5.899912mm", pcbY: "0mm", width: "0.7999984mm", height: "0.3999992mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin7"], pcbX: "-5.899912mm", pcbY: "-0.8001mm", width: "0.7999984mm", height: "0.3999992mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin8"], pcbX: "-5.899912mm", pcbY: "-1.599946mm", width: "0.7999984mm", height: "0.3999992mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin9"], pcbX: "-5.899912mm", pcbY: "-2.400046mm", width: "0.7999984mm", height: "0.3999992mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin10"], pcbX: "-5.899912mm", pcbY: "-3.199892mm", width: "0.7999984mm", height: "0.3999992mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin11"], pcbX: "-5.899912mm", pcbY: "-3.999992mm", width: "0.7999984mm", height: "0.3999992mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin12"], pcbX: "-4.800092mm", pcbY: "-4.899914mm", width: "0.3999992mm", height: "0.7999984mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin13"], pcbX: "-3.999992mm", pcbY: "-4.899914mm", width: "0.3999992mm", height: "0.7999984mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin14"], pcbX: "-3.199892mm", pcbY: "-4.899914mm", width: "0.3999992mm", height: "0.7999984mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin15"], pcbX: "-2.400046mm", pcbY: "-4.899914mm", width: "0.3999992mm", height: "0.7999984mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin16"], pcbX: "-1.599946mm", pcbY: "-4.899914mm", width: "0.3999992mm", height: "0.7999984mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin17"], pcbX: "-0.8001mm", pcbY: "-4.899914mm", width: "0.3999992mm", height: "0.7999984mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin18"], pcbX: "0mm", pcbY: "-4.899914mm", width: "0.3999992mm", height: "0.7999984mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin19"], pcbX: "0.8001mm", pcbY: "-4.899914mm", width: "0.3999992mm", height: "0.7999984mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin20"], pcbX: "1.599946mm", pcbY: "-4.899914mm", width: "0.3999992mm", height: "0.7999984mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin21"], pcbX: "2.400046mm", pcbY: "-4.899914mm", width: "0.3999992mm", height: "0.7999984mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin22"], pcbX: "3.199892mm", pcbY: "-4.899914mm", width: "0.3999992mm", height: "0.7999984mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin23"], pcbX: "3.999992mm", pcbY: "-4.899914mm", width: "0.3999992mm", height: "0.7999984mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin24"], pcbX: "4.800092mm", pcbY: "-4.899914mm", width: "0.3999992mm", height: "0.7999984mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin25"], pcbX: "5.899912mm", pcbY: "-3.999992mm", width: "0.7999984mm", height: "0.3999992mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin26"], pcbX: "5.899912mm", pcbY: "-3.199892mm", width: "0.7999984mm", height: "0.3999992mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin27"], pcbX: "5.899912mm", pcbY: "-2.400046mm", width: "0.7999984mm", height: "0.3999992mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin28"], pcbX: "5.899912mm", pcbY: "-1.599946mm", width: "0.7999984mm", height: "0.3999992mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin29"], pcbX: "5.899912mm", pcbY: "-0.8001mm", width: "0.7999984mm", height: "0.3999992mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin30"], pcbX: "5.899912mm", pcbY: "0mm", width: "0.7999984mm", height: "0.3999992mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin31"], pcbX: "5.899912mm", pcbY: "0.8001mm", width: "0.7999984mm", height: "0.3999992mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin32"], pcbX: "5.899912mm", pcbY: "1.599946mm", width: "0.7999984mm", height: "0.3999992mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin33"], pcbX: "5.899912mm", pcbY: "2.400046mm", width: "0.7999984mm", height: "0.3999992mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin34"], pcbX: "5.899912mm", pcbY: "3.199892mm", width: "0.7999984mm", height: "0.3999992mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin35"], pcbX: "5.899912mm", pcbY: "3.999992mm", width: "0.7999984mm", height: "0.3999992mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin36"], pcbX: "4.800092mm", pcbY: "4.899914mm", width: "0.3999992mm", height: "0.7999984mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin37"], pcbX: "3.999992mm", pcbY: "4.899914mm", width: "0.3999992mm", height: "0.7999984mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin38"], pcbX: "3.199892mm", pcbY: "4.899914mm", width: "0.3999992mm", height: "0.7999984mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin39"], pcbX: "2.400046mm", pcbY: "4.899914mm", width: "0.3999992mm", height: "0.7999984mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin40"], pcbX: "1.599946mm", pcbY: "4.899914mm", width: "0.3999992mm", height: "0.7999984mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin41"], pcbX: "0.8001mm", pcbY: "4.899914mm", width: "0.3999992mm", height: "0.7999984mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin42"], pcbX: "0mm", pcbY: "4.899914mm", width: "0.3999992mm", height: "0.7999984mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin43"], pcbX: "-0.8001mm", pcbY: "4.899914mm", width: "0.3999992mm", height: "0.7999984mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin44"], pcbX: "-1.599946mm", pcbY: "4.899914mm", width: "0.3999992mm", height: "0.7999984mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin45"], pcbX: "-2.400046mm", pcbY: "4.899914mm", width: "0.3999992mm", height: "0.7999984mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin46"], pcbX: "-3.199892mm", pcbY: "4.899914mm", width: "0.3999992mm", height: "0.7999984mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin47"], pcbX: "-3.999992mm", pcbY: "4.899914mm", width: "0.3999992mm", height: "0.7999984mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin48"], pcbX: "-4.800092mm", pcbY: "4.899914mm", width: "0.3999992mm", height: "0.7999984mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin50"], pcbX: "5.94995mm", pcbY: "4.949952mm", width: "0.6999986mm", height: "0.6999986mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin51"], pcbX: "5.94995mm", pcbY: "-4.949952mm", width: "0.6999986mm", height: "0.6999986mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin52"], pcbX: "-5.94995mm", pcbY: "-4.949952mm", width: "0.6999986mm", height: "0.6999986mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin53"], pcbX: "-5.94995mm", pcbY: "4.949952mm", width: "0.6999986mm", height: "0.6999986mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin49"], points: [{ x: "-2.7001216mm", y: "2.099945mm" }, { x: "-2.1001228mm", y: "2.6999438mm" }, { x: "-1.2501372mm", y: "2.6999438mm" }, { x: "-1.2501372mm", y: "1.2499594mm" }, { x: "-2.7001216mm", y: "1.2499594mm" }], shape: "polygon" }), jsx("smtpad", { portHints: ["pin49"], pcbX: "1.97485mm", pcbY: "-1.975104mm", width: "1.4500098mm", height: "1.4500098mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin49"], pcbX: "0mm", pcbY: "-1.975104mm", width: "1.4500098mm", height: "1.4500098mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin49"], pcbX: "-1.975104mm", pcbY: "-1.975104mm", width: "1.4500098mm", height: "1.4500098mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin49"], pcbX: "-1.975104mm", pcbY: "0mm", width: "1.4500098mm", height: "1.4500098mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin49"], pcbX: "0mm", pcbY: "1.97485mm", width: "1.4500098mm", height: "1.4500098mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin49"], pcbX: "1.97485mm", pcbY: "1.97485mm", width: "1.4500098mm", height: "1.4500098mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin49"], pcbX: "1.97485mm", pcbY: "0mm", width: "1.4500098mm", height: "1.4500098mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin49"], pcbX: "0mm", pcbY: "0mm", width: "1.4500098mm", height: "1.4500098mm", shape: "rect" }), jsx("silkscreenpath", { route: [{ "x": 6.600012199999924, "y": -5.5999888000000055 }, { "x": 6.6000375999999505, "y": 11.000054200000022 }] }), jsx("silkscreenpath", { route: [{ "x": 6.6000375999999505, "y": 5.599988800000119 }, { "x": -6.6000375999999505, "y": 5.599988800000119 }] }), jsx("silkscreenpath", { route: [{ "x": -6.6000375999999505, "y": 11.000028799999995 }, { "x": 6.6000375999999505, "y": 11.000028799999995 }] }), jsx("silkscreenpath", { route: [{ "x": -6.600012200000037, "y": -5.5999888000000055 }, { "x": -6.6000375999999505, "y": 11.000028799999995 }] }), jsx("silkscreenpath", { route: [{ "x": -6.600012200000037, "y": -5.5999888000000055 }, { "x": 6.600012199999924, "y": -5.5999888000000055 }] }), jsx("silkscreencircle", { pcbX: "-6.999986mm", pcbY: "3.999992mm", radius: "0.100076mm" }), jsx("silkscreentext", { text: "{NAME}", pcbX: "-0.3429mm", pcbY: "12.0998mm", anchorAlignment: "center", fontSize: "1mm" }), jsx("fabricationnotepath", { route: [{ "x": -6.700012000000015, "y": 11.10000320000006 }, { "x": -6.700012000000015, "y": -5.700013999999896 }, { "x": 6.7000119999999015, "y": -5.700013999999896 }, { "x": 6.7000119999999015, "y": 11.10000320000006 }, { "x": -6.600012200000037, "y": 11.10000320000006 }, { "x": -6.50001240000006, "y": 10.900003599999991 }, { "x": 6.50001240000006, "y": 10.900003599999991 }, { "x": 6.50001240000006, "y": -5.500014399999941 }, { "x": -6.50001240000006, "y": -5.500014399999941 }, { "x": -6.50001240000006, "y": 10.900003599999991 }, { "x": -6.700012000000015, "y": 11.10000320000006 }], strokeWidth: "0mm", isFilled: true, hasStroke: false }), jsx("fabricationnotepath", { route: [{ "x": -6.50001240000006, "y": 5.700013999999896 }, { "x": -6.50001240000006, "y": 5.500014400000055 }, { "x": 6.50001240000006, "y": 5.500014400000055 }, { "x": 6.50001240000006, "y": 5.700013999999896 }, { "x": -6.50001240000006, "y": 5.700013999999896 }], strokeWidth: "0mm", isFilled: true, hasStroke: false }), jsx("courtyardoutline", { outline: [{ "x": -6.849986800000124, "y": 11.264989400000104 }, { "x": 6.849986799999897, "y": 11.264989400000104 }, { "x": 6.849986799999897, "y": -5.834977399999957 }, { "x": -6.849986800000124, "y": -5.834977399999957 }, { "x": -6.849986800000124, "y": 11.264989400000104 }] })] }), cadModel: {
objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C2838502.obj?uuid=789e2235438340f8bef14c336f136f9e",
stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C2838502.step?uuid=789e2235438340f8bef14c336f136f9e",
pcbRotationOffset: 0,
modelOriginPosition: { x: 0, y: -2.7150060000000167, z: 0 },
}, ...props }));
};
const McuSection = () => (jsxs(Fragment, { children: [jsx(ESP32_C3_MINI_1_N4, { name: "U6", schSheetName: "Digital", schSectionName: "MCU", schX: -6, schY: 6, pcbX: -8, pcbY: 11.2 }), jsx("resistor", { name: "R3", resistance: "10k", footprint: "0402", schSheetName: "Digital", schSectionName: "MCU", schRotation: 270, schX: 2.2, schY: 0.7, pcbX: -13, pcbY: 3.4, pcbRotation: 90 }), jsx("capacitor", { name: "C4", capacitance: "100nF", footprint: "0402", schSheetName: "Digital", schSectionName: "MCU", schRotation: 270, schX: 2.2, schY: -1.3, pcbX: -15.6, pcbY: 3.4, pcbRotation: 90 }), jsx("capacitor", { name: "C7", capacitance: "100nF", footprint: "0402", schSheetName: "Digital", schSectionName: "MCU", schRotation: 270, schX: -9, schY: 2.4, pcbX: -20.9, pcbY: 17.2, pcbRotation: 270 }), jsx("capacitor", { name: "C8", capacitance: "10uF", footprint: "0805", schSheetName: "Digital", schSectionName: "MCU", schRotation: 270, schX: -7.7, schY: 2.4, pcbX: -20.9, pcbY: 20.3, pcbRotation: 90 }), jsx("resistor", { name: "R4", resistance: "10k", footprint: "0402", schSheetName: "Digital", schSectionName: "MCU", schRotation: 270, schX: -4.6, schY: 2.4, pcbX: -10.5, pcbY: 3.4, pcbRotation: 90 }), jsx("resistor", { name: "R5", resistance: "10k", footprint: "0402", schSheetName: "Digital", schSectionName: "MCU", schRotation: 270, schX: -3.4, schY: 2.4, pcbX: -8.1, pcbY: 3.4, pcbRotation: 90 }), jsx("resistor", { name: "R6", resistance: "10k", footprint: "0402", schSheetName: "Digital", schSectionName: "MCU", schRotation: 270, schX: -2.2, schY: 2.4, pcbX: -5.7, pcbY: 4.435, pcbRotation: 90 }), jsx("resistor", { name: "R7", resistance: "10k", footprint: "0402", schSheetName: "Digital", schSectionName: "MCU", schRotation: 270, schX: -1, schY: 2.4, pcbX: -3.3, pcbY: 4.435, pcbRotation: 90 }), jsx("trace", { from: "U6.3V3", to: "net.V3_3" }), jsx("trace", { from: "U6.GND1", to: "net.GND" }), jsx("trace", { from: "U6.GND2", to: "net.GND" }), jsx("trace", { from: "U6.GND3", to: "net.GND" }), jsx("trace", { from: "U6.GND4", to: "net.GND" }), jsx("trace", { from: "U6.GND5", to: "net.GND" }), jsx("trace", { from: "U6.GND6", to: "net.GND" }), jsx("trace", { from: "U6.GND7", to: "net.GND" }), jsx("trace", { from: "U6.GND8", to: "net.GND" }), jsx("trace", { from: "U6.GND9", to: "net.GND" }), jsx("trace", { from: "U6.GND10", to: "net.GND" }), jsx("trace", { from: "U6.GND11", to: "net.GND" }), jsx("trace", { from: "U6.GND12", to: "net.GND" }), jsx("trace", { from: "U6.GND13", to: "net.GND" }), jsx("trace", { from: "U6.GND14", to: "net.GND" }), jsx("trace", { from: "U6.GND15", to: "net.GND" }), jsx("trace", { from: "U6.GND16", to: "net.GND" }), jsx("trace", { from: "U6.GND17", to: "net.GND" }), jsx("trace", { from: "U6.GND18", to: "net.GND" }), jsx("trace", { from: "U6.GND19", to: "net.GND" }), jsx("trace", { from: "U6.GND20", to: "net.GND" }), jsx("trace", { from: "U6.GND21", to: "net.GND" }), jsx("trace", { from: "U6.GND22", to: "net.GND" }), jsx("trace", { from: "U6.EN", to: "R3.pin1" }), jsx("trace", { from: "R3.pin2", to: "net.V3_3" }), jsx("trace", { from: "U6.EN", to: "C4.pin1" }), jsx("trace", { from: "C4.pin2", to: "net.GND" }), jsx("trace", { from: "net.V3_3", to: "C7.pin1" }), jsx("trace", { from: "C7.pin2", to: "net.GND" }), jsx("trace", { from: "net.V3_3", to: "C8.pin1" }), jsx("trace", { from: "C8.pin2", to: "net.GND" }), jsx("trace", { from: "U6.IO18", to: "net.USB_DM" }), jsx("trace", { from: "U6.IO19", to: "net.USB_DP" }), jsx("trace", { from: "U6.IO4", to: "net.SCK" }), jsx("trace", { from: "U6.IO6", to: "net.MOSI" }), jsx("trace", { from: "U6.IO5", to: "net.MISO" }), jsx("trace", { from: "U6.IO7", to: "net.CS1" }), jsx("trace", { from: "U6.IO10", to: "net.CS2" }), jsx("trace", { from: "U6.IO3", to: "net.CS3" }), jsx("trace", { from: "U6.IO2", to: "net.CS4" }), jsx("trace", { from: "net.CS1", to: "R4.pin1" }), jsx("trace", { from: "R4.pin2", to: "net.V3_3" }), jsx("trace", { from: "net.CS2", to: "R5.pin1" }), jsx("trace", { from: "R5.pin2", to: "net.V3_3" }), jsx("trace", { from: "net.CS3", to: "R6.pin1" }), jsx("trace", { from: "R6.pin2", to: "net.V3_3" }), jsx("trace", { from: "net.CS4", to: "R7.pin1" }), jsx("trace", { from: "R7.pin2", to: "net.V3_3" }), jsx("trace", { from: "U6.TXD0", to: "net.LED_K" }), jsx("trace", { from: "U6.IO9", to: "net.BTN" }), jsx("trace", { from: "U6.IO0", to: "net.SD_DET" }), jsx("trace", { from: "U6.IO1", to: "net.SD_CS" })] }));
const pinLabels = {
pin1: ["DATA2"],
pin2: ["CD1", "DATA3"],
pin3: ["CMD"],
pin4: ["VDD"],
pin5: ["CLK"],
pin6: ["VSS"],
pin7: ["DATA0"],
pin8: ["DATA1"],
pin9: ["CD2"],
pin10: ["CD3"],
pin11: ["GND"]
};
const pinAttributes = {
pin4: { requiresPower: true },
pin6: { requiresGround: true },
pin11: { requiresGround: true }
};
const XKTF_001C = (props) => {
return (jsx("chip", { pinLabels: pinLabels, pinAttributes: pinAttributes, supplierPartNumbers: {
"jlcpcb": [
"C1121870"
]
}, manufacturerPartNumber: "XKTF-001C", footprint: jsxs("footprint", { children: [jsx("smtpad", { portHints: ["pin1"], pcbX: "1.924939mm", pcbY: "-3.09991125mm", width: "0.7999984mm", height: "1.6999966mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin2"], pcbX: "0.824865mm", pcbY: "-2.90001325mm", width: "0.7999984mm", height: "1.6999966mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin3"], pcbX: "-0.274955mm", pcbY: "-3.09991125mm", width: "0.7999984mm", height: "1.6999966mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin4"], pcbX: "-1.375029mm", pcbY: "-3.30006325mm", width: "0.7999984mm", height: "1.6999966mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin5"], pcbX: "-2.475103mm", pcbY: "-3.09991125mm", width: "0.7999984mm", height: "1.6999966mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin6"], pcbX: "-3.575177mm", pcbY: "-3.30006325mm", width: "0.7999984mm", height: "1.6999966mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin7"], pcbX: "-4.674997mm", pcbY: "-3.09991125mm", width: "0.7999984mm", height: "1.6999966mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin8"], pcbX: "-5.775071mm", pcbY: "-3.09991125mm", width: "0.7999984mm", height: "1.6999966mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin9"], pcbX: "-4.974971mm", pcbY: "7.20004275mm", width: "1.7999964mm", height: "1.3999972mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin10"], pcbX: "0.725043mm", pcbY: "7.20004275mm", width: "1.7999964mm", height: "1.3999972mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin11"], pcbX: "-6.574917mm", pcbY: "-5.94979125mm", width: "1.3999972mm", height: "1.8999962mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin11"], pcbX: "6.574917mm", pcbY: "-6.95004325mm", width: "1.3999972mm", height: "1.8999962mm", shape: "rect" }), jsx("silkscreenpath", { route: [{ "x": 1.8561049999998431, "y": 7.872075950000067 }, { "x": 7.238949199999979, "y": 7.872075950000067 }, { "x": 7.238949199999979, "y": -5.768790849999959 }] }), jsx("silkscreenpath", { route: [{ "x": -3.810050799999999, "y": 7.872075950000067 }, { "x": -0.406171400000062, "y": 7.872075950000067 }] }), jsx("silkscreenpath", { route: [{ "x": -7.239050800000086, "y": -7.131018250000011 }, { "x": -7.239050800000086, "y": -7.875924049999867 }, { "x": 5.643803799999887, "y": -7.875924049999867 }] }), jsx("silkscreenpath", { route: [{ "x": -6.1061346000000185, "y": 7.872075950000067 }, { "x": -7.239050800000086, "y": 7.872075950000067 }, { "x": -7.239050800000086, "y": -4.768742049999901 }] }), jsx("silkscreentext", { text: "{NAME}", pcbX: "0.007239mm", pcbY: "8.89828875mm", anchorAlignment: "center", fontSize: "1mm" }), jsx("courtyardoutline", { outline: [{ "x": -7.524915599999986, "y": 8.150041349999924 }, { "x": 7.524915599999872, "y": 8.150041349999924 }, { "x": 7.524915599999872, "y": -8.150041349999924 }, { "x": -7.524915599999986, "y": -8.150041349999924 }, { "x": -7.524915599999986, "y": 8.150041349999924 }] })] }), cadModel: {
objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C1121870.obj?uuid=c33e7e1653e34775b4b22d8d64d4d134",
stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C1121870.step?uuid=c33e7e1653e34775b4b22d8d64d4d134",
pcbRotationOffset: 0,
modelOriginPosition: { x: -0.014960599999881197, y: 0.09193545000000558, z: -0.05 },
}, ...props }));
};
const SdSection = () => (jsxs(Fragment, { children: [jsx(XKTF_001C, { name: "U7", schSheetName: "Digital", schSectionName: "SD", schX: 9, schY: 6, pcbX: 22.0, pcbY: 12.6, pcbRotation: 0 }), jsx("capacitor", { name: "C9", capacitance: "1uF", footprint: "0402", schSheetName: "Digital", schSectionName: "SD", schRotation: 270, schX: -6.4, schY: 1.0, pcbX: 16.4, pcbY: 3.9, pcbRotation: 180 }), jsx("resistor", { name: "R8", resistance: "10k", footprint: "0402", schSheetName: "Digital", schSectionName: "SD", schRotation: 270, schX: 11.8, schY: 2.0, pcbX: 20.4, pcbY: 3.7, pcbRotation: 180 }), jsx("resistor", { name: "R11", resistance: "10k", footprint: "0402", schSheetName: "Digital", schSectionName: "SD", schRotation: 270, schX: 14.2, schY: 2.0, pcbX: 16.4, pcbY: 1.2, pcbRotation: 180 }), jsx("resistor", { name: "R12", resistance: "10k", footprint: "0402", schSheetName: "Digital", schSectionName: "SD", schRotation: 270, schX: 15.4, schY: 2.0, pcbX: 18.6, pcbY: 1.2, pcbRotation: 180 }), jsx("trace", { from: "U7.VDD", to: "net.V3_3" }), jsx("trace", { from: "U7.VSS", to: "net.GND" }), jsx("trace", { from: "U7.GND", to: "net.GND" }), jsx("trace", { from: "U7.CLK", to: "net.SCK" }), jsx("trace", { from: "U7.CMD", to: "net.MOSI" }), jsx("trace", { from: "U7.DATA0", to: "net.MISO" }), jsx("trace", { from: "U7.DATA3", to: "net.SD_CS" }), jsx("trace", { from: "U7.DATA1", to: "net.SD_DAT_PU" }), jsx("trace", { from: "U7.DATA2", to: "net.SD_DAT_PU" }), jsx("trace", { from: "U7.CD2", to: "net.SD_DET" }), jsx("trace", { from: "U7.CD3", to: "net.SD_DET" }), jsx("trace", { from: "net.SD_CS", to: "R8.pin1" }), jsx("trace", { from: "R8.pin2", to: "net.V3_3" }), jsx("trace", { from: "net.SD_DET", to: "R11.pin1" }), jsx("trace", { from: "R11.pin2", to: "net.V3_3" }), jsx("trace", { from: "net.SD_DAT_PU", to: "R12.pin1" }), jsx("trace", { from: "R12.pin2", to: "net.V3_3" }), jsx("trace", { from: "net.V3_3", to: "C9.pin1" }), jsx("trace", { from: "C9.pin2", to: "net.GND" })] }));
const MiscSection = () => (jsxs(Fragment, { children: [jsx("led", { name: "D1", color: "green", footprint: "0603", schSheetName: "Digital", schSectionName: "UI", schRotation: 90, schX: 4.4, schY: 4.9, pcbX: 2.2, pcbY: 3.6, pcbRotation: 180 }), jsx("resistor", { name: "R9", resistance: "1k", footprint: "0402", schSheetName: "Digital", schSectionName: "UI", schRotation: 90, schX: 4.4, schY: 2.9, pcbX: 2.2, pcbY: 6.4, pcbRotation: 0 }), jsx("pushbutton", { name: "SW1", footprint: "smdpushbutton", internallyConnectedPins: [
["pin1", "pin3"],
["pin2", "pin4"],
], pinLabels: { pin1: "BTN", pin2: "GND" }, schSheetName: "Digital", schSectionName: "UI", schX: 3.0, schY: -3.4, pcbX: -1.1, pcbY: 2.4, pcbRotation: 90 }), jsx("resistor", { name: "R10", resistance: "10k", footprint: "0402", schSheetName: "Digital", schSectionName: "UI", schRotation: 270, schX: 0.2, schY: -1.4, pcbX: -4.4, pcbY: 0.2, pcbRotation: 180 }), jsx("trace", { from: "net.V3_3", to: "R9.pin1" }), jsx("trace", { from: "R9.pin2", to: "D1.anode" }), jsx("trace", { from: "D1.cathode", to: "net.LED_K" }), jsx("trace", { from: "SW1.BTN", to: "net.BTN" }), jsx("trace", { from: "SW1.GND", to: "net.GND" }), jsx("trace", { from: "net.BTN", to: "R10.pin1" }), jsx("trace", { from: "R10.pin2", to: "net.V3_3" })] }));
const boardWidth = 70;
const boardHeight = 45;
const chanX = [-25.5, -8.5, 8.5, 25.5];
var index_circuit = () => (jsxs("board", { width: `${boardWidth}mm`, height: `${boardHeight}mm`, layers: 2, children: [jsx("schematicsheet", { name: "Channels", displayName: "Thermocouple channels 1-2", sheetIndex: 0 }), jsx("schematicsheet", { name: "Channels2", displayName: "Thermocouple channels 3-4", sheetIndex: 1 }), jsx("schematicsheet", { name: "Power", displayName: "Power supply", sheetIndex: 2 }), jsx("schematicsheet", { name: "Digital", displayName: "Digital", sheetIndex: 3 }), jsx("net", { name: "VBUS", isPowerNet: true, nominalTraceWidth: 0.6 }), jsx("net", { name: "V3_3", isPowerNet: true, nominalTraceWidth: 0.6 }), jsx("net", { name: "GND", isGroundNet: true }), jsx("net", { name: "SCK" }), jsx("net", { name: "MOSI" }), jsx("net", { name: "MISO" }), jsx("net", { name: "CS1" }), jsx("net", { name: "CS2" }), jsx("net", { name: "CS3" }), jsx("net", { name: "CS4" }), jsx("net", { name: "SD_CS" }), jsx("net", { name: "SD_DET" }), jsx("net", { name: "SD_DAT_PU" }), jsx("net", { name: "LED_K" }), jsx("net", { name: "BTN" }), jsx("net", { name: "USB_DP" }), jsx("net", { name: "USB_DM" }), jsx(PowerSection, {}), jsx(McuSection, {}), jsx(SdSection, {}), jsx(MiscSection, {}), jsx(TCChannel, { ch: 1, xc: chanX[0], csNet: "CS1", schX: -5, schY: 7, sheet: "Channels", section: "TC1" }), jsx(TCChannel, { ch: 2, xc: chanX[1], csNet: "CS2", schX: 7, schY: 7, sheet: "Channels", section: "TC2" }), jsx(TCChannel, { ch: 3, xc: chanX[2], csNet: "CS3", schX: -5, schY: 7, sheet: "Channels2", section: "TC3" }), jsx(TCChannel, { ch: 4, xc: chanX[3], csNet: "CS4", schX: 7, schY: 7, sheet: "Channels2", section: "TC4" })] }));
export { index_circuit as default };