tscircuit/motor-controller
This code defines a compact hardware layout with multiple integrated components such as microcontrollers, power regulators, sensors, connectors, and passive elements, all arranged on a PCB for a versatile electronic device.
- Version
- 1.0.14
- License
- unset
- Stars
- 0
dist/index.cjs
PCB
Schematic
'use strict';
var jsxRuntime = require('react/jsx-runtime');
const pinLabels$a = {
pin1: ["EN"],
pin2: ["VIN"],
pin3: ["GND"],
pin4: ["VOUT1"],
pin5: ["VOUT2"],
pin6: ["VOUT_S"],
pin7: ["PG"],
pin8: ["VCC"],
pin9: ["EPAD"],
};
const MPM3612GLQ_Z = (props) => {
return (jsxRuntime.jsx("chip", { pinLabels: pinLabels$a, supplierPartNumbers: {
jlcpcb: ["C27860958"],
}, manufacturerPartNumber: "MPM3612GLQ_Z", footprint: jsxRuntime.jsxs("footprint", { children: [jsxRuntime.jsx("smtpad", { portHints: ["pin1"], pcbX: "-1.113028mm", pcbY: "0.975106mm", width: "0.6249924mm", height: "0.3999992mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin2"], pcbX: "-1.113028mm", pcbY: "0.32512mm", width: "0.6249924mm", height: "0.3999992mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin3"], pcbX: "-1.113028mm", pcbY: "-0.32512mm", width: "0.6249924mm", height: "0.3999992mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin4"], pcbX: "-1.113028mm", pcbY: "-0.975106mm", width: "0.6249924mm", height: "0.3999992mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin5"], pcbX: "1.113028mm", pcbY: "-0.975106mm", width: "0.6249924mm", height: "0.3999992mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin6"], pcbX: "1.113028mm", pcbY: "-0.32512mm", width: "0.6249924mm", height: "0.3999992mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin7"], pcbX: "1.113028mm", pcbY: "0.32512mm", width: "0.6249924mm", height: "0.3999992mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin8"], pcbX: "1.113028mm", pcbY: "0.975106mm", width: "0.6249924mm", height: "0.3999992mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin9"], pcbX: "0mm", pcbY: "0mm", width: "1.0999978mm", height: "1.8999962mm", shape: "rect" }), jsxRuntime.jsx("silkscreenpath", { route: [
{ x: -1.4999969999999934, y: 1.338859400000004 },
{ x: -1.4999969999999934, y: 1.4999970000000218 },
] }), jsxRuntime.jsx("silkscreenpath", { route: [
{ x: 1.4999970000000076, y: -1.3388593999999898 },
{ x: 1.4999970000000076, y: -1.4999970000000076 },
{ x: -1.4999969999999934, y: -1.4999970000000076 },
{ x: -1.4999969999999934, y: -1.3388593999999898 },
] }), jsxRuntime.jsx("silkscreenpath", { route: [
{ x: -1.4999969999999934, y: 1.4999970000000218 },
{ x: 1.4999970000000076, y: 1.4999970000000218 },
{ x: 1.4999970000000076, y: 1.338859400000004 },
] }), jsxRuntime.jsx("silkscreentext", { text: "{NAME}", pcbX: "-0.2794mm", pcbY: "2.524mm", anchorAlignment: "center", fontSize: "1mm" }), jsxRuntime.jsx("courtyardoutline", { outline: [
{ x: -2.3074000000000012, y: 1.774000000000001 },
{ x: 1.7485999999999962, y: 1.774000000000001 },
{ x: 1.7485999999999962, y: -1.7485999999999962 },
{ x: -2.3074000000000012, y: -1.7485999999999962 },
{ x: -2.3074000000000012, y: 1.774000000000001 },
] })] }), ...props }));
};
const Converter3V3Section = () => (jsxRuntime.jsxs("group", { pcbX: -12, pcbY: -18, schX: -18, schY: -13, children: [jsxRuntime.jsx("schematictext", { text: "3V3 Converter", schY: 6, fontSize: 0.5 }), jsxRuntime.jsx(MPM3612GLQ_Z, { name: "U4", pcbX: 0, pcbY: 0, schWidth: 2.8, schPinArrangement: {
leftSide: {
direction: "top-to-bottom",
pins: ["EN", "VIN", "GND", "VOUT1", "VOUT2"],
},
rightSide: {
direction: "top-to-bottom",
pins: ["EPAD", "PG", "VOUT_S"],
},
}, connections: {
VIN: "net.VBUS",
GND: "net.GND",
EPAD: "net.GND",
VOUT1: "net.VCC3",
VOUT2: "net.VCC3",
} }), jsxRuntime.jsx("capacitor", { name: "C16", capacitance: "22uF", footprint: "1206", pcbX: 6, pcbY: 0, connections: {
pin1: "net.VBUS",
pin2: "net.GND",
} }), jsxRuntime.jsx("capacitor", { name: "C15", capacitance: "100nF", footprint: "0402", pcbX: 3, pcbY: -4, connections: {
pin1: "net.VBUS",
pin2: "net.GND",
} }), jsxRuntime.jsx("capacitor", { name: "C17", capacitance: "100nF", footprint: "0402", pcbX: 6, pcbY: 4, connections: {
pin1: "net.VCC3",
pin2: "net.GND",
} }), jsxRuntime.jsx("capacitor", { name: "C18", capacitance: "22uF", footprint: "1206", pcbX: 10, pcbY: 4, connections: {
pin1: "net.VCC3",
pin2: "net.GND",
} }), jsxRuntime.jsx("resistor", { name: "R20", resistance: "100k", footprint: "0402", supplierPartNumbers: { jlcpcb: ["C25741"] }, pcbX: -6, pcbY: 4, connections: {
pin1: "net.VBUS",
pin2: "U4.EN",
} }), jsxRuntime.jsx("resistor", { name: "R22", resistance: "100k", footprint: "0402", supplierPartNumbers: { jlcpcb: ["C25741"] }, pcbX: 8, pcbY: -4, connections: {
pin1: "U4.PG",
pin2: "net.VCC3",
} }), jsxRuntime.jsx("resistor", { name: "R27", resistance: "10k", footprint: "0402", pcbX: -2, pcbY: 8, connections: {
pin1: "net.VCC3",
pin2: "U4.VOUT_S",
} }), jsxRuntime.jsx("resistor", { name: "R28", resistance: "1k", footprint: "0402", pcbX: -8, pcbY: -4, connections: {
pin1: "net.VCC3",
pin2: "LED_3V3.pin1",
} }), jsxRuntime.jsx("led", { name: "LED_3V3", color: "green", footprint: "0603", pcbX: -4, pcbY: -4, connections: {
pin2: "net.GND",
} })] }));
const pinLabels$9 = {
pin1: ["GND1"],
pin2: ["GND2"],
pin3: ["3V3"],
pin4: ["IO0"],
pin5: ["IO1"],
pin6: ["IO2"],
pin7: ["IO3"],
pin8: ["IO4"],
pin9: ["IO5"],
pin10: ["IO6"],
pin11: ["IO7"],
pin12: ["IO8"],
pin13: ["IO9"],
pin14: ["IO10"],
pin15: ["IO11"],
pin16: ["IO12"],
pin17: ["IO13"],
pin18: ["IO14"],
pin19: ["IO15"],
pin20: ["IO16"],
pin21: ["IO17"],
pin22: ["IO18"],
pin23: ["IO19"],
pin24: ["IO20"],
pin25: ["IO21"],
pin26: ["IO26"],
pin27: ["IO47"],
pin28: ["IO33"],
pin29: ["IO34"],
pin30: ["IO48"],
pin31: ["IO35"],
pin32: ["IO36"],
pin33: ["IO37"],
pin34: ["IO38"],
pin35: ["IO39"],
pin36: ["IO40"],
pin37: ["IO41"],
pin38: ["IO42"],
pin39: ["TXD0"],
pin40: ["RXD0"],
pin41: ["IO45"],
pin42: ["GND3"],
pin43: ["GND4"],
pin44: ["IO46"],
pin45: ["EN"],
pin46: ["GND5"],
pin47: ["GND6"],
pin48: ["GND7"],
pin49: ["GND8"],
pin50: ["GND9"],
pin51: ["GND10"],
pin52: ["GND11"],
pin53: ["GND12"],
pin54: ["GND13"],
pin55: ["GND14"],
pin56: ["GND15"],
pin57: ["GND16"],
pin58: ["GND17"],
pin59: ["GND18"],
pin60: ["GND19"],
pin61: ["GND20"],
pin62: ["GND21"],
pin63: ["GND22"],
pin64: ["GND23"],
pin65: ["GND24"],
pin66: ["GND25"],
pin67: ["GND26"],
pin68: ["GND27"],
pin69: ["GND28"],
pin70: ["GND29"],
pin71: ["GND30"],
pin72: ["GND31"],
pin73: ["GND32"],
};
const ESP32_S3_MINI_1_N8 = (props) => {
return (jsxRuntime.jsx("chip", { pinLabels: pinLabels$9, supplierPartNumbers: {
jlcpcb: ["C2913206"],
}, manufacturerPartNumber: "ESP32_S3_MINI_1_N8", schPinStyle: {
EN: {
marginBottom: 0.2,
},
RXD0: {
marginBottom: 0.2,
},
IO48: {
marginBottom: 0.2,
},
}, footprint: jsxRuntime.jsxs("footprint", { children: [jsxRuntime.jsx("smtpad", { portHints: ["pin1"], pcbX: "-6.975094mm", pcbY: "5.950077mm", width: "0.7999984mm", height: "0.3999992mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin2"], pcbX: "-6.975094mm", pcbY: "5.100193mm", width: "0.7999984mm", height: "0.3999992mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin3"], pcbX: "-6.975094mm", pcbY: "4.250055mm", width: "0.7999984mm", height: "0.3999992mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin4"], pcbX: "-6.975094mm", pcbY: "3.400171mm", width: "0.7999984mm", height: "0.3999992mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin5"], pcbX: "-6.975094mm", pcbY: "2.550033mm", width: "0.7999984mm", height: "0.3999992mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin6"], pcbX: "-6.975094mm", pcbY: "1.700149mm", width: "0.7999984mm", height: "0.3999992mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin7"], pcbX: "-6.975094mm", pcbY: "0.850011mm", width: "0.7999984mm", height: "0.3999992mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin8"], pcbX: "-6.975094mm", pcbY: "0.000127mm", width: "0.7999984mm", height: "0.3999992mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin9"], pcbX: "-6.975094mm", pcbY: "-0.849757mm", width: "0.7999984mm", height: "0.3999992mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin10"], pcbX: "-6.975094mm", pcbY: "-1.699895mm", width: "0.7999984mm", height: "0.3999992mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin11"], pcbX: "-6.975094mm", pcbY: "-2.549779mm", width: "0.7999984mm", height: "0.3999992mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin12"], pcbX: "-6.975094mm", pcbY: "-3.399917mm", width: "0.7999984mm", height: "0.3999992mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin13"], pcbX: "-6.975094mm", pcbY: "-4.249801mm", width: "0.7999984mm", height: "0.3999992mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin14"], pcbX: "-6.975094mm", pcbY: "-5.099939mm", width: "0.7999984mm", height: "0.3999992mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin15"], pcbX: "-6.975094mm", pcbY: "-5.949823mm", width: "0.7999984mm", height: "0.3999992mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin16"], pcbX: "-5.94995mm", pcbY: "-7.025005mm", width: "0.3999992mm", height: "0.7999984mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin17"], pcbX: "-5.100066mm", pcbY: "-7.025005mm", width: "0.3999992mm", height: "0.7999984mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin18"], pcbX: "-4.249928mm", pcbY: "-7.025005mm", width: "0.3999992mm", height: "0.7999984mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin19"], pcbX: "-3.400044mm", pcbY: "-7.025005mm", width: "0.3999992mm", height: "0.7999984mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin20"], pcbX: "-2.549906mm", pcbY: "-7.025005mm", width: "0.3999992mm", height: "0.7999984mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin21"], pcbX: "-1.700022mm", pcbY: "-7.025005mm", width: "0.3999992mm", height: "0.7999984mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin22"], pcbX: "-0.849884mm", pcbY: "-7.025005mm", width: "0.3999992mm", height: "0.7999984mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin23"], pcbX: "0mm", pcbY: "-7.025005mm", width: "0.3999992mm", height: "0.7999984mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin24"], pcbX: "0.849884mm", pcbY: "-7.025005mm", width: "0.3999992mm", height: "0.7999984mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin25"], pcbX: "1.700022mm", pcbY: "-7.025005mm", width: "0.3999992mm", height: "0.7999984mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin26"], pcbX: "2.549906mm", pcbY: "-7.025005mm", width: "0.3999992mm", height: "0.7999984mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin27"], pcbX: "3.400044mm", pcbY: "-7.025005mm", width: "0.3999992mm", height: "0.7999984mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin28"], pcbX: "4.249928mm", pcbY: "-7.025005mm", width: "0.3999992mm", height: "0.7999984mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin29"], pcbX: "5.100066mm", pcbY: "-7.025005mm", width: "0.3999992mm", height: "0.7999984mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin30"], pcbX: "5.94995mm", pcbY: "-7.025005mm", width: "0.3999992mm", height: "0.7999984mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin31"], pcbX: "6.975094mm", pcbY: "-5.949823mm", width: "0.7999984mm", height: "0.3999992mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin32"], pcbX: "6.975094mm", pcbY: "-5.099939mm", width: "0.7999984mm", height: "0.3999992mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin33"], pcbX: "6.975094mm", pcbY: "-4.249801mm", width: "0.7999984mm", height: "0.3999992mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin34"], pcbX: "6.975094mm", pcbY: "-3.399917mm", width: "0.7999984mm", height: "0.3999992mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin35"], pcbX: "6.975094mm", pcbY: "-2.549779mm", width: "0.7999984mm", height: "0.3999992mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin36"], pcbX: "6.975094mm", pcbY: "-1.699895mm", width: "0.7999984mm", height: "0.3999992mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin37"], pcbX: "6.975094mm", pcbY: "-0.849757mm", width: "0.7999984mm", height: "0.3999992mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin38"], pcbX: "6.975094mm", pcbY: "0.000127mm", width: "0.7999984mm", height: "0.3999992mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin39"], pcbX: "6.975094mm", pcbY: "0.850011mm", width: "0.7999984mm", height: "0.3999992mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin40"], pcbX: "6.975094mm", pcbY: "1.700149mm", width: "0.7999984mm", height: "0.3999992mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin41"], pcbX: "6.975094mm", pcbY: "2.550033mm", width: "0.7999984mm", height: "0.3999992mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin42"], pcbX: "6.975094mm", pcbY: "3.400171mm", width: "0.7999984mm", height: "0.3999992mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin43"], pcbX: "6.975094mm", pcbY: "4.250055mm", width: "0.7999984mm", height: "0.3999992mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin44"], pcbX: "6.975094mm", pcbY: "5.100193mm", width: "0.7999984mm", height: "0.3999992mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin45"], pcbX: "6.975094mm", pcbY: "5.950077mm", width: "0.7999984mm", height: "0.3999992mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin46"], pcbX: "5.94995mm", pcbY: "7.025005mm", width: "0.3999992mm", height: "0.7999984mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin47"], pcbX: "5.100066mm", pcbY: "7.025005mm", width: "0.3999992mm", height: "0.7999984mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin48"], pcbX: "4.249928mm", pcbY: "7.025005mm", width: "0.3999992mm", height: "0.7999984mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin49"], pcbX: "3.400044mm", pcbY: "7.025005mm", width: "0.3999992mm", height: "0.7999984mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin50"], pcbX: "2.549906mm", pcbY: "7.025005mm", width: "0.3999992mm", height: "0.7999984mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin51"], pcbX: "1.700022mm", pcbY: "7.025005mm", width: "0.3999992mm", height: "0.7999984mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin52"], pcbX: "0.849884mm", pcbY: "7.025005mm", width: "0.3999992mm", height: "0.7999984mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin53"], pcbX: "0mm", pcbY: "7.025005mm", width: "0.3999992mm", height: "0.7999984mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin54"], pcbX: "-0.849884mm", pcbY: "7.025005mm", width: "0.3999992mm", height: "0.7999984mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin55"], pcbX: "-1.700022mm", pcbY: "7.025005mm", width: "0.3999992mm", height: "0.7999984mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin56"], pcbX: "-2.549906mm", pcbY: "7.025005mm", width: "0.3999992mm", height: "0.7999984mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin57"], pcbX: "-3.400044mm", pcbY: "7.025005mm", width: "0.3999992mm", height: "0.7999984mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin58"], pcbX: "-4.249928mm", pcbY: "7.025005mm", width: "0.3999992mm", height: "0.7999984mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin59"], pcbX: "-5.100066mm", pcbY: "7.025005mm", width: "0.3999992mm", height: "0.7999984mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin60"], pcbX: "-5.94995mm", pcbY: "7.025005mm", width: "0.3999992mm", height: "0.7999984mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin61"], pcbX: "-6.999986mm", pcbY: "7.000113mm", width: "0.7999984mm", height: "0.7999984mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin62"], pcbX: "6.999986mm", pcbY: "7.000113mm", width: "0.7999984mm", height: "0.7999984mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin63"], pcbX: "-6.999986mm", pcbY: "-6.999859mm", width: "0.7999984mm", height: "0.7999984mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin64"], pcbX: "6.999986mm", pcbY: "-6.999859mm", width: "0.7999984mm", height: "0.7999984mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin65"], pcbX: "-1.649984mm", pcbY: "1.650111mm", width: "1.1999976mm", height: "1.1999976mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin66"], pcbX: "0mm", pcbY: "1.650111mm", width: "1.1999976mm", height: "1.1999976mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin67"], pcbX: "1.649984mm", pcbY: "1.650111mm", width: "1.1999976mm", height: "1.1999976mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin68"], pcbX: "-1.649984mm", pcbY: "0.000127mm", width: "1.1999976mm", height: "1.1999976mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin69"], pcbX: "0mm", pcbY: "0.000127mm", width: "1.1999976mm", height: "1.1999976mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin70"], pcbX: "1.649984mm", pcbY: "0.000127mm", width: "1.1999976mm", height: "1.1999976mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin71"], pcbX: "-1.649984mm", pcbY: "-1.649857mm", width: "1.1999976mm", height: "1.1999976mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin72"], pcbX: "0mm", pcbY: "-1.649857mm", width: "1.1999976mm", height: "1.1999976mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin73"], pcbX: "1.649984mm", pcbY: "-1.649857mm", width: "1.1999976mm", height: "1.1999976mm", shape: "rect" }), jsxRuntime.jsx("silkscreenpath", { route: [
{ x: -4.8999902000000475, y: 12.100128199999858 },
{ x: -3.3999932000001536, y: 12.100128199999858 },
{ x: -3.3999932000001536, y: 10.500131399999987 },
{ x: -1.1999976000000743, y: 10.500131399999987 },
{ x: -1.1999976000000743, y: 12.100128199999858 },
{ x: 0.9999979999998914, y: 12.100128199999858 },
{ x: 0.9999979999998914, y: 10.500131399999987 },
{ x: 3.1999935999999707, y: 10.500131399999987 },
{ x: 3.1999935999999707, y: 12.100128199999858 },
{ x: 5.300014799999872, y: 12.100128199999858 },
{ x: 5.300014799999872, y: 9.400133600000004 },
] }), jsxRuntime.jsx("silkscreenpath", { route: [
{ x: -6.50001240000006, y: 9.400133600000004 },
{ x: -6.50001240000006, y: 12.100128199999858 },
{ x: -4.8999902000000475, y: 12.100128199999858 },
{ x: -4.8999902000000475, y: 9.400133600000004 },
] }), jsxRuntime.jsx("silkscreenpath", { route: [
{ x: -7.70001000000002, y: 7.749743199999898 },
{ x: 7.800009799999998, y: 7.749743199999898 },
{ x: 7.800009799999998, y: 7.786014399999885 },
] }), jsxRuntime.jsx("silkscreenpath", { route: [
{ x: -7.70001000000002, y: 12.800126800000044 },
{ x: 7.800009799999998, y: 12.800126800000044 },
{ x: 7.800009799999998, y: -7.6998830000001135 },
{ x: -7.70001000000002, y: -7.6998830000001135 },
{ x: -7.70001000000002, y: 12.800126800000044 },
] }), jsxRuntime.jsx("silkscreentext", { text: "{NAME}", pcbX: "-0.2667mm", pcbY: "13.801727mm", anchorAlignment: "center", fontSize: "1mm" }), jsxRuntime.jsx("courtyardoutline", { outline: [
{ x: -8.58120000000008, y: 13.051726999999914 },
{ x: 8.047799999999825, y: 13.051726999999914 },
{ x: 8.047799999999825, y: -7.971473000000174 },
{ x: -8.58120000000008, y: -7.971473000000174 },
{ x: -8.58120000000008, y: 13.051726999999914 },
] })] }), cadModel: {
objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C2913206.obj?uuid=1270b5cf7aa247fc9d0ae79a19686940",
stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C2913206.step?uuid=1270b5cf7aa247fc9d0ae79a19686940",
pcbRotationOffset: 0,
modelOriginPosition: { x: 0, y: 0, z: -0.02 },
}, ...props }));
};
const Esp32Section = () => (jsxRuntime.jsxs("group", { pcbX: 10, pcbY: 16, schX: 10, schY: 8, children: [jsxRuntime.jsx("schematictext", { text: "ESP32-S3", schY: 5, fontSize: 0.5 }), jsxRuntime.jsx(ESP32_S3_MINI_1_N8, { name: "U2", pcbX: 12, pcbY: -43, pcbRotation: 180, schWidth: 4, schPinArrangement: {
leftSide: {
direction: "top-to-bottom",
pins: [
"EN",
"IO0",
"IO1",
"IO2",
"IO3",
"IO4",
"IO5",
"IO6",
"IO7",
"IO8",
"IO9",
"IO10",
"IO11",
"IO12",
"IO13",
"IO14",
"IO15",
"IO16",
"IO17",
"IO18",
],
},
rightSide: {
direction: "top-to-bottom",
pins: [
"3V3",
"TXD0",
"RXD0",
"IO19",
"IO20",
"IO21",
"IO26",
"IO33",
"IO34",
"IO35",
"IO36",
"IO37",
"IO38",
"IO39",
"IO40",
"IO41",
"IO42",
"IO45",
"IO46",
"IO47",
"IO48",
"GND1",
],
},
}, connections: {
GND1: "net.GND",
GND2: "net.GND",
GND3: "net.GND",
GND4: "net.GND",
GND5: "net.GND",
GND6: "net.GND",
GND7: "net.GND",
GND8: "net.GND",
GND9: "net.GND",
GND10: "net.GND",
GND11: "net.GND",
GND12: "net.GND",
GND13: "net.GND",
GND14: "net.GND",
GND15: "net.GND",
GND16: "net.GND",
GND17: "net.GND",
GND18: "net.GND",
GND19: "net.GND",
GND20: "net.GND",
GND21: "net.GND",
GND22: "net.GND",
GND23: "net.GND",
GND24: "net.GND",
GND25: "net.GND",
GND26: "net.GND",
GND27: "net.GND",
GND28: "net.GND",
GND29: "net.GND",
GND30: "net.GND",
GND31: "net.GND",
GND32: "net.GND",
"3V3": "net.VCC3",
EN: "net.EN",
IO0: "net.BOOT",
IO1: "net.MS1",
IO2: "net.MS2",
IO4: "net.VBUS_SENSE",
IO5: "net.STEP",
IO6: "net.DIR",
IO7: "net.NTC",
IO8: "net.SDA",
IO9: "net.SCL",
IO10: "net.LED1",
IO11: "net.INDEX",
IO12: "net.LED2",
IO13: "net.AUX2",
IO14: "net.AUX1",
IO15: "net.PG",
IO16: "net.DIAG",
IO17: "R9.pin2",
IO18: "net.PDN_UART",
IO19: "net.USB_D_N",
IO20: "net.USB_D_P",
IO21: "net.TMC_EN",
IO35: "net.BUT1",
IO36: "net.BUT2",
IO37: "net.BUT3",
IO38: "net.CFG1",
IO47: "net.CFG3",
IO48: "net.CFG2",
} }), jsxRuntime.jsx("resistor", { name: "R1", resistance: "4.7k", footprint: "0402", pcbX: 10, pcbY: 3, connections: {
pin1: "net.VCC3",
pin2: "net.EN",
} }), jsxRuntime.jsx("resistor", { name: "R3", resistance: "10k", footprint: "0402", pcbX: -12, pcbY: 7, connections: {
pin1: "net.VCC3",
pin2: "net.BOOT",
} }), jsxRuntime.jsx("resistor", { name: "R4", resistance: "10k", footprint: "0402", pcbX: -6, pcbY: -18, connections: {
pin1: "net.VCC3",
pin2: "net.NTC",
} }), jsxRuntime.jsx("resistor", { name: "R5", resistance: "10k", footprint: "0402", pcbX: -6, pcbY: -22, connections: {
pin1: "net.NTC",
pin2: "net.GND",
} }), jsxRuntime.jsx("resistor", { name: "R9", resistance: "1k", footprint: "0402", pcbX: -4, pcbY: -16, connections: {
pin1: "net.PDN_UART",
pin2: "U2.IO17",
} }), jsxRuntime.jsx("capacitor", { name: "C1", capacitance: "0.1uF", footprint: "0402", pcbX: 12, pcbY: -2, connections: {
pin1: "net.EN",
pin2: "net.GND",
} }), jsxRuntime.jsx("capacitor", { name: "C2", capacitance: "1uF", footprint: "0402", pcbX: 12, pcbY: 1, connections: {
pin1: "net.EN",
pin2: "net.GND",
} }), jsxRuntime.jsx("capacitor", { name: "C4", capacitance: "1uF", footprint: "0402", pcbX: 12, pcbY: 7, connections: {
pin1: "net.VCC3",
pin2: "net.GND",
} }), jsxRuntime.jsx("capacitor", { name: "C5", capacitance: "10uF", footprint: "0805", pcbX: 14, pcbY: 4, connections: {
pin1: "net.VCC3",
pin2: "net.GND",
} }), jsxRuntime.jsx("capacitor", { name: "C11", capacitance: "0.1uF", footprint: "0402", pcbX: -20, pcbY: -8, connections: {
pin1: "net.BOOT",
pin2: "net.GND",
} }), jsxRuntime.jsx("silkscreentext", { text: "RESET", pcbX: 4, pcbY: -30, pcbRotation: 90 }), jsxRuntime.jsx("pushbutton", { name: "SW4", footprint: "pushbutton", pcbX: 0, pcbY: -30, connections: {
pin1: "net.EN",
pin2: "net.GND",
} }), jsxRuntime.jsx("silkscreentext", { text: "BOOT", pcbX: -12, pcbY: -5 }), jsxRuntime.jsx("pushbutton", { name: "SW5", footprint: "pushbutton", pcbX: -12, pcbY: -10, connections: {
pin1: "net.BOOT",
pin2: "net.GND",
} })] }));
const pinLabels$8 = {
pin1: ["VDD5V"],
pin2: ["VDD3V3"],
pin3: ["OUT"],
pin4: ["GND"],
pin5: ["PGO"],
pin6: ["SDA"],
pin7: ["SCL"],
pin8: ["DIR"],
};
const AS5600_ASOT = (props) => {
return (jsxRuntime.jsx("chip", { pinLabels: pinLabels$8, supplierPartNumbers: {
jlcpcb: ["C499458"],
}, manufacturerPartNumber: "AS5600_ASOT", footprint: jsxRuntime.jsxs("footprint", { children: [jsxRuntime.jsx("smtpad", { portHints: ["pin1"], pcbX: "-1.905mm", pcbY: "-2.7051mm", width: "0.5684012mm", height: "1.950212mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin2"], pcbX: "-0.635mm", pcbY: "-2.7051mm", width: "0.5684012mm", height: "1.950212mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin3"], pcbX: "0.635mm", pcbY: "-2.7051mm", width: "0.5684012mm", height: "1.950212mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin4"], pcbX: "1.905mm", pcbY: "-2.7051mm", width: "0.5684012mm", height: "1.950212mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin8"], pcbX: "-1.905mm", pcbY: "2.7051mm", width: "0.5684012mm", height: "1.950212mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin7"], pcbX: "-0.635mm", pcbY: "2.7051mm", width: "0.5684012mm", height: "1.950212mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin6"], pcbX: "0.635mm", pcbY: "2.7051mm", width: "0.5684012mm", height: "1.950212mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin5"], pcbX: "1.905mm", pcbY: "2.7051mm", width: "0.5684012mm", height: "1.950212mm", shape: "rect" }), jsxRuntime.jsx("silkscreenpath", { route: [
{ x: -2.4999950000001263, y: -1.4999970000000076 },
{ x: 2.499994999999899, y: -1.4999970000000076 },
] }), jsxRuntime.jsx("silkscreenpath", { route: [
{ x: -2.4999950000001263, y: 1.4999969999998939 },
{ x: 2.499994999999899, y: 1.4999969999998939 },
] }), jsxRuntime.jsx("silkscreenpath", { route: [
{ x: -2.4999950000001263, y: -1.4999970000000076 },
{ x: -2.4999950000001263, y: -0.7265669999998181 },
] }), jsxRuntime.jsx("silkscreenpath", { route: [
{ x: -2.4999950000001263, y: 1.4999969999998939 },
{ x: -2.4999950000001263, y: 0.7262875999999778 },
] }), jsxRuntime.jsx("silkscreenpath", { route: [
{ x: 2.499994999999899, y: 1.4999969999998939 },
{ x: 2.499994999999899, y: -1.4999970000000076 },
] }), jsxRuntime.jsx("silkscreenpath", { route: [
{ x: -2.4999950000001263, y: -0.7265669999998181 },
{ x: -2.2625565730616017, y: -0.6727720384950544 },
{ x: -2.056152369867391, y: -0.5436666188794561 },
{ x: -1.9038872877111999, y: -0.3537028085727343 },
{ x: -1.822805887847835, y: -0.12414516642888884 },
{ x: -1.8219844264158382, y: 0.11930961309167287 },
{ x: -1.9015148578508843, y: 0.34940918924542075 },
{ x: -2.0524945415012326, y: 0.5403962034508822 },
{ x: -2.25802280368805, y: 0.6708915593560505 },
{ x: -2.495092800000066, y: 0.7262876000000915 },
] }), jsxRuntime.jsx("silkscreentext", { text: "{NAME}", pcbX: "0.0127mm", pcbY: "4.4036mm", anchorAlignment: "center", fontSize: "1mm" }), jsxRuntime.jsx("courtyardoutline", { outline: [
{ x: -2.7391999999999825, y: 3.653599999999983 },
{ x: 2.7645999999998594, y: 3.653599999999983 },
{ x: 2.7645999999998594, y: -3.7806000000000495 },
{ x: -2.7391999999999825, y: -3.7806000000000495 },
{ x: -2.7391999999999825, y: 3.653599999999983 },
] })] }), cadModel: {
objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C499458.obj?uuid=7abc64c95a1a4a04a4ef38f9097c870b",
stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C499458.step?uuid=7abc64c95a1a4a04a4ef38f9097c870b",
pcbRotationOffset: 0,
modelOriginPosition: { x: 0, y: 0, z: 0 },
}, ...props }));
};
const HallSensor = () => (jsxRuntime.jsxs("group", { pcbX: 10, pcbY: -2, schX: -18, schY: -2, children: [jsxRuntime.jsx("schematictext", { text: "Hall Sensor", schY: 3, fontSize: 0.5 }), jsxRuntime.jsx(AS5600_ASOT, { name: "U_HALL", pcbX: 0, pcbY: 14, schWidth: 2.4, schPinArrangement: {
leftSide: {
direction: "top-to-bottom",
pins: ["VDD5V", "VDD3V3", "OUT", "GND"],
},
rightSide: {
direction: "top-to-bottom",
pins: ["DIR", "SCL", "SDA", "PGO"],
},
}, connections: {
VDD5V: "net.VCC3",
VDD3V3: "net.VCC3",
GND: "net.GND",
DIR: "net.GND",
SCL: "net.SCL",
SDA: "net.SDA",
} }), jsxRuntime.jsx("capacitor", { name: "C_HALL_3V3", capacitance: "100nF", footprint: "0402", pcbX: 10, pcbY: -10, connections: {
pin1: "net.VCC3",
pin2: "net.GND",
} }), jsxRuntime.jsx("resistor", { name: "R_HALL_SCL", resistance: "4.7k", footprint: "0402", pcbX: 12, pcbY: -15, connections: {
pin1: "net.VCC3",
pin2: "net.SCL",
} }), jsxRuntime.jsx("resistor", { name: "R_HALL_SDA", resistance: "4.7k", footprint: "0402", pcbX: 16, pcbY: -15, connections: {
pin1: "net.VCC3",
pin2: "net.SDA",
} })] }));
const pinLabels$7 = {
pin1: ["pin1"],
pin2: ["pin2"],
pin3: ["pin3"],
pin4: ["pin4"],
pin5: ["pin5"],
};
const SM03B_SRSS_TB_LF__SN_ = (props) => {
return (jsxRuntime.jsx("chip", { pinLabels: pinLabels$7, supplierPartNumbers: {
jlcpcb: ["C160403"],
}, manufacturerPartNumber: "SM03B_SRSS_TB_LF__SN_", schPinArrangement: {
leftSide: {
direction: "top-to-bottom",
pins: ["pin1", "pin2", "pin3", "pin4", "pin5"],
},
}, footprint: jsxRuntime.jsxs("footprint", { children: [jsxRuntime.jsx("smtpad", { portHints: ["pin1"], pcbX: "-1.000125mm", pcbY: "2.0500086mm", width: "0.5999988mm", height: "1.5500096mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin2"], pcbX: "0.000127mm", pcbY: "2.0500086mm", width: "0.5999988mm", height: "1.5500096mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin3"], pcbX: "1.000125mm", pcbY: "2.0500086mm", width: "0.5999988mm", height: "1.5500096mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin4"], pcbX: "2.300097mm", pcbY: "-1.8250154mm", width: "1.499997mm", height: "1.999996mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin5"], pcbX: "-2.300097mm", pcbY: "-1.8250154mm", width: "1.499997mm", height: "1.999996mm", shape: "rect" }), jsxRuntime.jsx("silkscreenpath", { route: [
{ x: -2.5000203999999258, y: 1.725015600000006 },
{ x: -1.5311373999998068, y: 1.725015600000006 },
] }), jsxRuntime.jsx("silkscreenpath", { route: [
{ x: 1.5311374000000342, y: 1.725015600000006 },
{ x: 2.499918800000046, y: 1.725015600000006 },
] }), jsxRuntime.jsx("silkscreenpath", { route: [
{ x: 2.499918800000046, y: 1.725015600000006 },
{ x: 2.499918800000046, y: -0.5938519999999698 },
] }), jsxRuntime.jsx("silkscreenpath", { route: [
{ x: -2.3697691999999506, y: 1.725015600000006 },
{ x: -2.5000203999999258, y: 1.725015600000006 },
] }), jsxRuntime.jsx("silkscreenpath", { route: [
{ x: -2.5000203999999258, y: 1.725015600000006 },
{ x: -2.5000203999999258, y: -0.5938519999999698 },
] }), jsxRuntime.jsx("silkscreenpath", { route: [
{ x: -1.318844199999944, y: -2.524963200000002 },
{ x: 1.3188696000000846, y: -2.524963200000002 },
] }), jsxRuntime.jsx("silkscreentext", { text: "{NAME}", pcbX: "0.004191mm", pcbY: "3.8374086mm", anchorAlignment: "center", fontSize: "1mm" }), jsxRuntime.jsx("courtyardoutline", { outline: [
{ x: -3.2938089999998965, y: 3.0874086000000034 },
{ x: 3.302191000000107, y: 3.0874086000000034 },
{ x: 3.302191000000107, y: -3.051391399999943 },
{ x: -3.2938089999998965, y: -3.051391399999943 },
{ x: -3.2938089999998965, y: 3.0874086000000034 },
] })] }), cadModel: {
objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C160403.obj?uuid=65828f37d6e7448b8cbc0db14b6c48c4",
stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C160403.step?uuid=65828f37d6e7448b8cbc0db14b6c48c4",
pcbRotationOffset: 0,
modelOriginPosition: {
x: 0.9999237999999614,
y: 0.4570101999999934,
z: -0.01,
},
}, ...props }));
};
const pinLabels$6 = {
pin1: ["pin1"],
pin2: ["pin2"],
pin3: ["pin3"],
pin4: ["pin4"],
pin5: ["pin5"],
pin6: ["pin6"],
};
const SM04B_SRSS_TB_LF__SN_ = (props) => {
return (jsxRuntime.jsx("chip", { pinLabels: pinLabels$6, supplierPartNumbers: {
jlcpcb: ["C160404"],
}, manufacturerPartNumber: "SM04B_SRSS_TB_LF__SN_", schPinArrangement: {
leftSide: {
direction: "top-to-bottom",
pins: ["pin1", "pin2", "pin3", "pin4", "pin5", "pin6"],
},
}, footprint: jsxRuntime.jsxs("footprint", { children: [jsxRuntime.jsx("smtpad", { portHints: ["pin2"], pcbX: "-0.499872mm", pcbY: "2.0005167mm", width: "0.5999988mm", height: "1.5500096mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin1"], pcbX: "-1.49987mm", pcbY: "2.0005167mm", width: "0.5999988mm", height: "1.5500096mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin4"], pcbX: "1.500378mm", pcbY: "2.0000087mm", width: "0.5999988mm", height: "1.5500096mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin3"], pcbX: "0.50038mm", pcbY: "2.0000087mm", width: "0.5999988mm", height: "1.5500096mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin6"], pcbX: "-2.800096mm", pcbY: "-1.8750153mm", width: "1.1999976mm", height: "1.7999964mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin5"], pcbX: "2.800096mm", pcbY: "-1.8755233mm", width: "1.1999976mm", height: "1.7999964mm", shape: "rect" }), jsxRuntime.jsx("silkscreenpath", { route: [
{ x: -2.019960400000059, y: -2.397467900000038 },
{ x: 1.8800063999999566, y: -2.397467900000038 },
] }), jsxRuntime.jsx("silkscreenpath", { route: [
{ x: -1.9400266000000101, y: 1.8624676999997973 },
{ x: -3.019958400000064, y: 1.8624676999997973 },
{ x: -3.019958400000064, y: -0.7374763000001394 },
] }), jsxRuntime.jsx("silkscreenpath", { route: [
{ x: 2.040000999999961, y: 1.8624676999997973 },
{ x: 2.9600143999999773, y: 1.8624676999997973 },
{ x: 2.9600143999999773, y: -0.7443089000000782 },
] }), jsxRuntime.jsx("silkscreentext", { text: "{NAME}", pcbX: "0.000254mm", pcbY: "3.7879167mm", anchorAlignment: "center", fontSize: "1mm" }), jsxRuntime.jsx("courtyardoutline", { outline: [
{ x: -3.653346000000056, y: 3.037916699999869 },
{ x: 3.653854000000024, y: 3.037916699999869 },
{ x: 3.653854000000024, y: -3.024683300000106 },
{ x: -3.653346000000056, y: -3.024683300000106 },
{ x: -3.653346000000056, y: 3.037916699999869 },
] })] }), cadModel: {
objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C160404.obj?uuid=96ff162c26934a308e7bbf01d083d593",
stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C160404.step?uuid=96ff162c26934a308e7bbf01d083d593",
pcbRotationOffset: 0,
modelOriginPosition: { x: 1.5, y: 0.3500000000000001, z: -0.01 },
}, ...props }));
};
const IoSection = () => (jsxRuntime.jsxs("group", { pcbX: 0, pcbY: 0, schX: 18, schY: -18, children: [jsxRuntime.jsx("schematictext", { text: "IO", schY: 6, fontSize: 0.5 }), jsxRuntime.jsx(SM04B_SRSS_TB_LF__SN_, { name: "J5", pcbX: -32, pcbY: -18, pcbRotation: 270, connections: {
pin1: "net.GND",
pin2: "net.VCC3",
pin3: "net.SDA",
pin4: "net.SCL",
pin5: "net.GND",
pin6: "net.GND",
} }), jsxRuntime.jsx(SM03B_SRSS_TB_LF__SN_, { name: "J6", pcbX: 32, pcbY: -10, pcbRotation: 90, connections: {
pin1: "net.GND",
pin2: "net.AUX1",
pin3: "net.AUX2",
pin4: "net.GND",
pin5: "net.GND",
} }), jsxRuntime.jsx("pushbutton", { name: "SW1", footprint: "pushbutton", pcbX: -15, pcbY: 30, connections: {
pin1: "net.BUT1",
pin2: "net.GND",
} }), jsxRuntime.jsx("pushbutton", { name: "SW2", footprint: "pushbutton", pcbX: 0, pcbY: 30, connections: {
pin1: "net.BUT2",
pin2: "net.GND",
} }), jsxRuntime.jsx("pushbutton", { name: "SW3", footprint: "pushbutton", pcbX: 18, pcbY: 30, connections: {
pin1: "net.BUT3",
pin2: "net.GND",
} }), jsxRuntime.jsx("resistor", { name: "R23", resistance: "10k", footprint: "0402", pcbX: -15, pcbY: 22, connections: {
pin1: "net.VCC3",
pin2: "net.BUT1",
} }), jsxRuntime.jsx("resistor", { name: "R24", resistance: "10k", footprint: "0402", pcbX: 0, pcbY: 22, connections: {
pin1: "net.VCC3",
pin2: "net.BUT2",
} }), jsxRuntime.jsx("resistor", { name: "R25", resistance: "10k", footprint: "0402", pcbX: 26, pcbY: 22, connections: {
pin1: "net.VCC3",
pin2: "net.BUT3",
} }), jsxRuntime.jsx("resistor", { name: "R21", resistance: "1k", footprint: "0402", pcbX: -15, pcbY: -24, connections: {
pin1: "net.LED1",
pin2: "LED1.pin1",
} }), jsxRuntime.jsx("resistor", { name: "R26", resistance: "1k", footprint: "0402", pcbX: 5, pcbY: -24, connections: {
pin1: "net.LED2",
pin2: "LED2.pin1",
} }), jsxRuntime.jsx("led", { name: "LED1", color: "blue", footprint: "0603", pcbX: -18, pcbY: -24, connections: {
pin2: "net.GND",
} }), jsxRuntime.jsx("led", { name: "LED2", color: "red", footprint: "0603", pcbX: 8, pcbY: -24, connections: {
pin2: "net.GND",
} })] }));
const pinLabels$5 = {
pin1: ["A1"],
pin2: ["B1"],
pin3: ["A2"],
pin4: ["B2"],
};
const S4B_PH_SM4_K_TB_LF__SN_ = (props) => {
return (jsxRuntime.jsx("chip", { pinLabels: pinLabels$5, supplierPartNumbers: {
jlcpcb: ["C265332"],
}, manufacturerPartNumber: "S4B_PH_SM4_K_TB_LF__SN_", footprint: jsxRuntime.jsxs("footprint", { children: [jsxRuntime.jsx("smtpad", { portHints: ["pin1"], pcbX: "3.002026mm", pcbY: "-3.2503745mm", width: "0.999998mm", height: "2.999994mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin2"], pcbX: "0.999998mm", pcbY: "-3.2503745mm", width: "0.999998mm", height: "2.999994mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin3"], pcbX: "-0.999998mm", pcbY: "-3.2503745mm", width: "0.999998mm", height: "2.999994mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin4"], pcbX: "-2.999994mm", pcbY: "-3.2503745mm", width: "0.999998mm", height: "2.999994mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin5"], pcbX: "-5.40004mm", pcbY: "2.7503755mm", width: "1.999996mm", height: "3.999992mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin6"], pcbX: "5.40004mm", pcbY: "2.7503755mm", width: "1.999996mm", height: "3.999992mm", shape: "rect" }), jsxRuntime.jsx("silkscreenpath", { route: [
{ x: -3.7077396000001954, y: -1.6496411000000535 },
{ x: -5.001260000000002, y: -1.6496411000000535 },
{ x: -5.001260000000002, y: -1.6486505000001443 },
] }), jsxRuntime.jsx("silkscreenpath", { route: [
{ x: 6.000013399999943, y: -1.6496411000000535 },
{ x: 3.70977159999984, y: -1.6496411000000535 },
] }), jsxRuntime.jsx("silkscreenpath", { route: [
{ x: 3.9999919999999065, y: -1.6496157000001404 },
{ x: 4.5000164000000495, y: -0.7496175000001131 },
{ x: 5.000015399999938, y: -1.6496411000000535 },
] }), jsxRuntime.jsx("silkscreenpath", { route: [
{ x: -5.001260000000002, y: -1.6486505000001443 },
{ x: -5.001260000000002, y: -3.248850500000117 },
] }), jsxRuntime.jsx("silkscreenpath", { route: [
{ x: -4.999990000000025, y: -3.2496125000001257 },
{ x: -5.998209999999972, y: -3.2496125000001257 },
{ x: -5.998209999999972, y: -1.6494125000000395 },
] }), jsxRuntime.jsx("silkscreenpath", { route: [
{ x: 6.000013399999943, y: -3.2496125000001257 },
{ x: 5.000015399999938, y: -3.2496125000001257 },
{ x: 5.000015399999938, y: -1.6496157000001404 },
] }), jsxRuntime.jsx("silkscreenpath", { route: [
{ x: 6.000013399999943, y: -1.6496157000001404 },
{ x: 6.000013399999943, y: -3.2496125000001257 },
] }), jsxRuntime.jsx("silkscreenpath", { route: [
{ x: -5.998209999999972, y: -1.6494125000000395 },
{ x: -5.99998800000003, y: -1.6494125000000395 },
{ x: -5.99998800000003, y: 0.5192394999999124 },
] }), jsxRuntime.jsx("silkscreenpath", { route: [
{ x: 6.000013399999943, y: -1.6496411000000535 },
{ x: 5.999987999999917, y: -1.6496411000000535 },
{ x: 5.999987999999917, y: 0.5192394999999124 },
] }), jsxRuntime.jsx("silkscreenpath", { route: [
{ x: -4.168902000000003, y: 4.350372300000004 },
{ x: 4.168901999999889, y: 4.350372300000004 },
] }), jsxRuntime.jsx("silkscreentext", { text: "{NAME}", pcbX: "0mm", pcbY: "5.7419895mm", anchorAlignment: "center", fontSize: "1mm" }), jsxRuntime.jsx("courtyardoutline", { outline: [
{ x: -6.650800000000004, y: 4.9919894999999315 },
{ x: 6.6508000000001175, y: 4.9919894999999315 },
{ x: 6.6508000000001175, y: -5.210810500000093 },
{ x: -6.650800000000004, y: -5.210810500000093 },
{ x: -6.650800000000004, y: 4.9919894999999315 },
] })] }), cadModel: {
objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C265332.obj?uuid=b20262abc44c45d5b414bbc2d0b40d89",
stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C265332.step?uuid=b20262abc44c45d5b414bbc2d0b40d89",
pcbRotationOffset: 180,
modelOriginPosition: { x: 0, y: 2.8736216000000026, z: 0.05 },
}, ...props }));
};
const pinLabels$4 = {
pin1: ["OB2"],
pin2: ["N_EN"],
pin3: ["GND2"],
pin4: ["CPO"],
pin5: ["CPI"],
pin6: ["VCP"],
pin7: ["SPREAD"],
pin8: ["5VOUT"],
pin9: ["MS1_AD0"],
pin10: ["MS2_AD1"],
pin11: ["DIAG"],
pin12: ["INDEX"],
pin13: ["CLK"],
pin14: ["N_PD_UART"],
pin15: ["VCC_IO"],
pin16: ["STEP"],
pin17: ["VREF"],
pin18: ["GND1"],
pin19: ["DIR"],
pin20: ["STDBY"],
pin21: ["OA2"],
pin22: ["VS2"],
pin23: ["BRA"],
pin24: ["OA1"],
pin25: ["NC"],
pin26: ["OB1"],
pin27: ["BRB"],
pin28: ["VS1"],
pin29: ["EXP"],
};
const TMC2209_LA_T = (props) => {
return (jsxRuntime.jsx("chip", { pinLabels: pinLabels$4, supplierPartNumbers: {
jlcpcb: ["C2150710"],
}, manufacturerPartNumber: "TMC2209_LA_T", footprint: jsxRuntime.jsxs("footprint", { children: [jsxRuntime.jsx("smtpad", { portHints: ["pin29"], pcbX: "-0.000127mm", pcbY: "-0.000127mm", width: "3.499993mm", height: "3.499993mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin28"], pcbX: "-2.499995mm", pcbY: "-1.501267mm", width: "0.8999982mm", height: "0.2800096mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin27"], pcbX: "-2.499995mm", pcbY: "-1.000887mm", width: "0.8999982mm", height: "0.2800096mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin26"], pcbX: "-2.499995mm", pcbY: "-0.500507mm", width: "0.8999982mm", height: "0.2800096mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin25"], pcbX: "-2.499995mm", pcbY: "-0.000127mm", width: "0.8999982mm", height: "0.2800096mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin24"], pcbX: "-2.499995mm", pcbY: "0.500253mm", width: "0.8999982mm", height: "0.2800096mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin23"], pcbX: "-2.499995mm", pcbY: "1.000633mm", width: "0.8999982mm", height: "0.2800096mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin22"], pcbX: "-2.499995mm", pcbY: "1.501013mm", width: "0.8999982mm", height: "0.2800096mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin21"], pcbX: "-1.501267mm", pcbY: "2.499995mm", width: "0.2800096mm", height: "0.8999982mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin20"], pcbX: "-1.000887mm", pcbY: "2.499995mm", width: "0.2800096mm", height: "0.8999982mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin19"], pcbX: "-0.500507mm", pcbY: "2.499995mm", width: "0.2800096mm", height: "0.8999982mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin18"], pcbX: "-0.000127mm", pcbY: "2.499995mm", width: "0.2800096mm", height: "0.8999982mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin17"], pcbX: "0.500253mm", pcbY: "2.499995mm", width: "0.2800096mm", height: "0.8999982mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin16"], pcbX: "1.000633mm", pcbY: "2.499995mm", width: "0.2800096mm", height: "0.8999982mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin15"], pcbX: "1.501013mm", pcbY: "2.499995mm", width: "0.2800096mm", height: "0.8999982mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin14"], pcbX: "2.499995mm", pcbY: "1.501013mm", width: "0.8999982mm", height: "0.2800096mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin13"], pcbX: "2.499995mm", pcbY: "1.000633mm", width: "0.8999982mm", height: "0.2800096mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin12"], pcbX: "2.499995mm", pcbY: "0.500253mm", width: "0.8999982mm", height: "0.2800096mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin11"], pcbX: "2.499995mm", pcbY: "-0.000127mm", width: "0.8999982mm", height: "0.2800096mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin10"], pcbX: "2.499995mm", pcbY: "-0.500507mm", width: "0.8999982mm", height: "0.2800096mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin9"], pcbX: "2.499995mm", pcbY: "-1.000887mm", width: "0.8999982mm", height: "0.2800096mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin8"], pcbX: "2.499995mm", pcbY: "-1.501267mm", width: "0.8999982mm", height: "0.2800096mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin7"], pcbX: "1.501013mm", pcbY: "-2.499995mm", width: "0.2800096mm", height: "0.8999982mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin6"], pcbX: "1.000633mm", pcbY: "-2.499995mm", width: "0.2800096mm", height: "0.8999982mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin5"], pcbX: "0.500253mm", pcbY: "-2.499995mm", width: "0.2800096mm", height: "0.8999982mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin4"], pcbX: "-0.000127mm", pcbY: "-2.499995mm", width: "0.2800096mm", height: "0.8999982mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin3"], pcbX: "-0.500507mm", pcbY: "-2.499995mm", width: "0.2800096mm", height: "0.8999982mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin2"], pcbX: "-1.000887mm", pcbY: "-2.499995mm", width: "0.2800096mm", height: "0.8999982mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin1"], pcbX: "-1.501267mm", pcbY: "-2.499995mm", width: "0.2800096mm", height: "0.8999982mm", shape: "rect" }), jsxRuntime.jsx("silkscreenpath", { route: [
{ x: -2.0001991999999973, y: -2.6500328000000053 },
{ x: -2.6501851999999957, y: -2.6500328000000053 },
{ x: -2.6501851999999957, y: -2.000046800000007 },
] }), jsxRuntime.jsx("silkscreenpath", { route: [
{ x: -2.0001991999999973, y: 2.6499311999999975 },
{ x: -2.6501851999999957, y: 2.6499311999999975 },
{ x: -2.6501851999999957, y: 1.999945199999992 },
] }), jsxRuntime.jsx("silkscreenpath", { route: [
{ x: 2.649778800000007, y: 1.999945199999992 },
{ x: 2.649778800000007, y: 2.6499311999999975 },
{ x: 1.9997927999999945, y: 2.6499311999999975 },
] }), jsxRuntime.jsx("silkscreenpath", { route: [
{ x: 1.9997927999999945, y: -2.6500328000000053 },
{ x: 2.649778800000007, y: -2.6500328000000053 },
{ x: 2.649778800000007, y: -2.000046800000007 },
] }), jsxRuntime.jsx("silkscreenpath", { route: [
{ x: -2.451303199999991, y: -2.9997908000000137 },
{ x: -2.600044255997652, y: -2.8491487702960825 },
{ x: -2.450033199999993, y: -2.6997713759852644 },
{ x: -2.300022144002334, y: -2.8491487702960825 },
{ x: -2.448763199999995, y: -2.9997908000000137 },
] }), jsxRuntime.jsx("silkscreentext", { text: "{NAME}", pcbX: "-0.009271mm", pcbY: "3.955671mm", anchorAlignment: "center", fontSize: "1mm" }), jsxRuntime.jsx("courtyardoutline", { outline: [
{ x: -3.2056709999999953, y: 3.2056709999999953 },
{ x: 3.187129000000013, y: 3.2056709999999953 },
{ x: 3.187129000000013, y: -3.5427290000000085 },
{ x: -3.2056709999999953, y: -3.5427290000000085 },
{ x: -3.2056709999999953, y: 3.2056709999999953 },
] })] }), cadModel: {
objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C2150710.obj?uuid=ae12e1b5ea7a411e8a6f7d8e9f5ed919",
stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C2150710.step?uuid=ae12e1b5ea7a411e8a6f7d8e9f5ed919",
pcbRotationOffset: 90,
modelOriginPosition: { x: 0, y: 0, z: -0.02 },
}, ...props }));
};
const pinLabels$3 = {
pin1: ["pin1"],
pin2: ["pin2"],
};
const BLA10V100M6_3_6_63TP = (props) => {
return (jsxRuntime.jsx("chip", { pinLabels: pinLabels$3, supplierPartNumbers: {
jlcpcb: ["C165631"],
}, manufacturerPartNumber: "BLA10V100M6_3_6_6_3TP", footprint: jsxRuntime.jsxs("footprint", { children: [jsxRuntime.jsx("smtpad", { portHints: ["pin1"], pcbX: "-2.670048mm", pcbY: "0mm", width: "3.499993mm", height: "1.1999976mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin2"], pcbX: "2.670048mm", pcbY: "0mm", width: "3.499993mm", height: "1.1999976mm", shape: "rect" }), jsxRuntime.jsx("silkscreenpath", { route: [
{ x: 3.3556194000000232, y: -0.7392669999999271 },
{ x: 3.3756599999999253, y: -3.3756599999999253 },
{ x: -1.981200000000058, y: -3.3756599999999253 },
{ x: -3.375660000000039, y: -1.981200000000058 },
{ x: -3.3622996000000285, y: -0.6857999999998583 },
] }), jsxRuntime.jsx("silkscreenpath", { route: [
{ x: 3.369487799999888, y: 0.7076948000001266 },
{ x: 3.376168000000007, y: 3.376168000000007 },
{ x: -1.9800316000000748, y: 3.376168000000007 },
{ x: -3.376168000000007, y: 1.9800315999999611 },
{ x: -3.376168000000007, y: 0.685799999999972 },
] }), jsxRuntime.jsx("silkscreentext", { text: "{NAME}", pcbX: "0mm", pcbY: "4.3782mm", anchorAlignment: "center", fontSize: "1mm" }), jsxRuntime.jsx("courtyardoutline", { outline: [
{ x: -4.669599999999946, y: 3.6282000000001062 },
{ x: 4.6696000000000595, y: 3.6282000000001062 },
{ x: 4.6696000000000595, y: -3.6281999999999925 },
{ x: -4.669599999999946, y: -3.6281999999999925 },
{ x: -4.669599999999946, y: 3.6282000000001062 },
] })] }), cadModel: {
objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C165631.obj?uuid=6cb1ec5759f6404189e20b90556867d6",
stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C165631.step?uuid=6cb1ec5759f6404189e20b90556867d6",
pcbRotationOffset: 180,
modelOriginPosition: { x: 0, y: 0, z: -0.05 },
}, ...props }));
};
const pinLabels$2 = {
pin1: ["pin1"],
pin2: ["pin2"],
pin3: ["pin3"],
};
const Potentiometer = (props) => {
return (jsxRuntime.jsx("chip", { pinLabels: pinLabels$2, supplierPartNumbers: {
jlcpcb: ["C22461617"],
}, manufacturerPartNumber: "VGF39NCHXT_B203", footprint: jsxRuntime.jsxs("footprint", { children: [jsxRuntime.jsx("smtpad", { portHints: ["pin1"], pcbX: "1.7750028mm", pcbY: "-0.999998mm", width: "1.1999976mm", height: "1.1999976mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin2"], pcbX: "-1.5750032mm", pcbY: "0.00889mm", width: "1.5999968mm", height: "1.499997mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin3"], pcbX: "1.7750028mm", pcbY: "0.999998mm", width: "1.1999976mm", height: "1.1999976mm", shape: "rect" }), jsxRuntime.jsx("silkscreenpath", { route: [
{ x: 2.0069301999999425, y: 0.2541016000000127 },
{ x: 2.0069301999999425, y: -0.2538983999999118 },
] }), jsxRuntime.jsx("silkscreenpath", { route: [
{ x: -1.8030698000001166, y: -0.9722357999999076 },
{ x: -1.8030698000001166, y: -1.5238984000000073 },
{ x: 0.8639301999999134, y: -1.5238984000000073 },
] }), jsxRuntime.jsx("silkscreenpath", { route: [
{ x: 0.8187689999998611, y: 1.5241015999999945 },
{ x: -1.8030698000001166, y: 1.5241015999999945 },
{ x: -1.8030698000001166, y: 0.9900158000000374 },
] }), jsxRuntime.jsx("silkscreentext", { text: "{NAME}", pcbX: "-0.0106172mm", pcbY: "2.59639mm", anchorAlignment: "center", fontSize: "1mm" }), jsxRuntime.jsx("courtyardoutline", { outline: [
{ x: -2.635517200000095, y: 1.8463900000001559 },
{ x: 2.6142827999998417, y: 1.8463900000001559 },
{ x: 2.6142827999998417, y: -2.4382099999999127 },
{ x: -2.635517200000095, y: -2.4382099999999127 },
{ x: -2.635517200000095, y: 1.8463900000001559 },
] })] }), cadModel: {
objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C22461617.obj?uuid=e9297dc616d24881a01257e804dc42a9",
stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C22461617.step?uuid=e9297dc616d24881a01257e804dc42a9",
pcbRotationOffset: 0,
modelOriginPosition: {
x: -5060000000778331e-20,
y: 0.0050000000000000044,
z: -0.28,
},
}, ...props }));
};
const StepperDriver = () => (jsxRuntime.jsxs("group", { pcbX: -18, pcbY: 8, schX: -18, schY: 8, children: [jsxRuntime.jsx("schematictext", { text: "Stepper Driver", schY: 7, fontSize: 0.5 }), jsxRuntime.jsx(TMC2209_LA_T, { name: "U1", pcbX: 0, pcbY: 0, schWidth: 2.6, schPinArrangement: {
leftSide: {
direction: "top-to-bottom",
pins: [
"N_EN",
"STEP",
"DIR",
"MS1_AD0",
"MS2_AD1",
"CLK",
"CPI",
"CPO",
"SPREAD",
"N_PD_UART",
"VREF",
"STDBY",
],
},
rightSide: {
direction: "top-to-bottom",
pins: [
"VCC_IO",
"VS2",
"VS1",
"5VOUT",
"VCP",
"DIAG",
"INDEX",
"OA1",
"OB1",
"OA2",
"OB2",
"BRA",
"BRB",
"NC",
"EXP",
"GND2",
"GND1",
],
},
}, schPinStyle: {
VCP: {
marginBottom: 0.2,
},
DIAG: {
marginBottom: 0.2,
},
INDEX: {
marginBottom: 0.2,
},
OB2: {
marginBottom: 0.2,
},
BRB: {
marginBottom: 0.2,
},
N_EN: {
marginBottom: 0.2,
},
MS2_AD1: {
marginBottom: 0.2,
},
CLK: {
marginBottom: 0.2,
},
CPO: {
marginBottom: 0.2,
},
N_PD_UART: {
marginBottom: 0.2,
},
}, connections: {
EXP: "net.GND",
GND1: "net.GND",
GND2: "net.GND",
VS1: "U1.VS2",
} }), jsxRuntime.jsx("solderjumper", { pinCount: 3, name: "J1", footprint: "solderjumper3", connections: {
pin1: "net.VCC3",
pin2: "U1.MS1_AD0",
pin3: "net.GND",
}, pcbX: -10, pcbY: 18 }), jsxRuntime.jsx("solderjumper", { pinCount: 3, name: "J2", footprint: "solderjumper3", pcbX: -14, pcbY: 13, connections: {
pin1: "net.VCC3",
pin2: "U1.MS2_AD1",
pin3: "net.GND",
} }), jsxRuntime.jsx("solderjumper", { pinCount: 3, name: "J3", footprint: "solderjumper3", pcbX: -10, pcbY: 10, connections: {
pin1: "net.VCC3",
pin2: "U1.SPREAD",
pin3: "net.GND",
} }), jsxRuntime.jsx(S4B_PH_SM4_K_TB_LF__SN_, { name: "P1", pcbX: -12, pcbY: -1, pcbRotation: 90, schPinArrangement: {
leftSide: {
direction: "top-to-bottom",
pins: ["pin1", "pin2", "pin3", "pin4"],
},
}, connections: {
A1: "U1.OA1",
B1: "U1.OB1",
A2: "U1.OA2",
B2: "U1.OB2",
} }), jsxRuntime.jsx("resistor", { name: "R2", resistance: "10k", footprint: "0402", pcbX: -2, pcbY: 14, connections: {
pin1: "net.VCC3",
pin2: "U1.N_EN",
} }), jsxRuntime.jsx("resistor", { name: "R6", resistance: "100mohm", footprint: "1206", pcbX: 9, pcbY: -14, connections: {
pin1: "U1.BRA",
pin2: "net.GND",
} }), jsxRuntime.jsx("resistor", { name: "R7", resistance: "100k", footprint: "1206", pcbX: 8, pcbY: -8, connections: {
pin1: "U1.BRB",
pin2: "net.GND",
} }), jsxRuntime.jsx("resistor", { name: "R8", resistance: "20k", footprint: "0402", supplierPartNumbers: { jlcpcb: ["C25765"] }, pcbX: 0, pcbY: -12, connections: {
pin1: "net.VCC5",
pin2: "R10.pin1",
} }), jsxRuntime.jsx(Potentiometer, { symbolName: "potentiometer3", name: "R10", pcbX: 0, pcbY: -7, pcbRotation: 90, connections: {
pin2: "U1.VREF",
pin3: "net.GND",
} }), jsxRuntime.jsx("capacitor", { name: "C3", capacitance: "0.1uF", footprint: "0402", pcbX: 5, pcbY: 9, connections: {
pin1: "U1.VCC_IO",
pin2: "net.GND",
} }), jsxRuntime.jsx("capacitor", { name: "C6", capacitance: "0.1uF", footprint: "0402", pcbX: 9, pcbY: 10, connections: {
pin1: "U1.VS2",
pin2: "net.GND",
} }), jsxRuntime.jsx("capacitor", { name: "C7", capacitance: "0.1uF", footprint: "0402", pcbX: 12, pcbY: 10, connections: {
pin1: "U1.VS2",
pin2: "net.GND",
} }), jsxRuntime.jsx(BLA10V100M6_3_6_63TP, { name: "C8", pcbX: -6, pcbY: -16, connections: {
pin1: "U1.VS2",
pin2: "net.GND",
} }), jsxRuntime.jsx("capacitor", { name: "C9", capacitance: "0.1uF", footprint: "0402", pcbX: 5, pcbY: 6, connections: {
pin1: "U1.5VOUT",
pin2: "net.GND",
} }), jsxRuntime.jsx("capacitor", { name: "C10", capacitance: "0.1uF", footprint: "0402", pcbX: 9, pcbY: 6, connections: {
pin1: "U1.VS2",
pin2: "U1.VCP",
} }), jsxRuntime.jsx("capacitor", { name: "C12", capacitance: "22nF", footprint: "0402", pcbX: -5, pcbY: -2, connections: {
pin1: "U1.CPI",
pin2: "U1.CPO",
} })] }));
const pinLabels$1 = {
pin1: ["SHIELD1"],
pin2: ["SHIELD2"],
pin3: ["SHIELD3"],
pin4: ["SHIELD4"],
pin5: ["SBU2"],
pin6: ["CC1"],
pin7: ["DN2"],
pin8: ["DP1"],
pin9: ["DN1"],
pin10: ["DP2"],
pin11: ["SBU1"],
pin12: ["CC2"],
pin13: ["GND1"],
pin14: ["GND2"],
pin15: ["VBUS1"],
pin16: ["VBUS2"],
};
const TYPE_C_31_M_12 = (props) => {
return (jsxRuntime.jsx("chip", { pinLabels: pinLabels$1, supplierPartNumbers: {
jlcpcb: ["C165948"],
}, manufacturerPartNumber: "TYPE_C_31_M_12", footprint: jsxRuntime.jsxs("footprint", { children: [jsxRuntime.jsx("hole", { pcbX: "-2.899918mm", pcbY: "0.9055672mm", diameter: "0.7500112mm" }), jsxRuntime.jsx("hole", { pcbX: "2.899918mm", pcbY: "0.9055672mm", diameter: "0.7500112mm" }), jsxRuntime.jsx("platedhole", { portHints: ["pin2"], pcbX: "4.325112mm", pcbY: "-2.7741308mm", holeWidth: "0.7999984mm", holeHeight: "1.3999972mm", outerWidth: "1.1999976mm", outerHeight: "1.7999964mm", shape: "pill" }), jsxRuntime.jsx("platedhole", { portHints: ["pin1"], pcbX: "4.325112mm", pcbY: "1.4056932mm", holeWidth: "0.7999984mm", holeHeight: "1.5999968mm", outerWidth: "1.1999976mm", outerHeight: "1.999996mm", shape: "pill" }), jsxRuntime.jsx("platedhole", { portHints: ["pin4"], pcbX: "-4.325112mm", pcbY: "1.4056932mm", holeWidth: "0.7999984mm", holeHeight: "1.5999968mm", outerWidth: "1.1999976mm", outerHeight: "1.999996mm", shape: "pill" }), jsxRuntime.jsx("platedhole", { portHints: ["pin3"], pcbX: "-4.325112mm", pcbY: "-2.7741308mm", holeWidth: "0.7999984mm", holeHeight: "1.3999972mm", outerWidth: "1.1999976mm", outerHeight: "1.7999964mm", shape: "pill" }), jsxRuntime.jsx("smtpad", { portHints: ["pin5"], pcbX: "-1.75006mm", pcbY: "2.1740432mm", width: "0.2999994mm", height: "1.2999974mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin6"], pcbX: "-1.249934mm", pcbY: "2.1740432mm", width: "0.2999994mm", height: "1.2999974mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin7"], pcbX: "-0.750062mm", pcbY: "2.1740432mm", width: "0.2999994mm", height: "1.2999974mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin8"], pcbX: "-0.249936mm", pcbY: "2.1740432mm", width: "0.2999994mm", height: "1.2999974mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin9"], pcbX: "0.249936mm", pcbY: "2.1740432mm", width: "0.2999994mm", height: "1.2999974mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin10"], pcbX: "0.750062mm", pcbY: "2.1740432mm", width: "0.2999994mm", height: "1.2999974mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin11"], pcbX: "1.24968mm", pcbY: "2.1740432mm", width: "0.2999994mm", height: "1.2999974mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin12"], pcbX: "1.75006mm", pcbY: "2.1740432mm", width: "0.2999994mm", height: "1.2999974mm", shape: "rect" }), jsxRuntime.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" }), jsxRuntime.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" }), jsxRuntime.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" }), jsxRuntime.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" }), jsxRuntime.jsx("silkscreenpath", { route: [
{ x: -4.4689776000000165, y: -1.6757585999999947 },
{ x: -4.4689776000000165, y: 0.18715359999987413 },
] }), jsxRuntime.jsx("silkscreenpath", { route: [
{ x: 4.471009600000116, y: -5.394140800000059 },
{ x: -4.4689776000000165, y: -5.394140800000059 },
{ x: -4.4689776000000165, y: -3.91283820000001 },
] }), jsxRuntime.jsx("silkscreenpath", { route: [
{ x: 4.471009600000116, y: -1.676114200000029 },
{ x: 4.471009600000116, y: 0.18750920000002225 },
] }), jsxRuntime.jsx("silkscreenpath", { route: [
{ x: 4.471009600000116, y: -5.394140800000059 },
{ x: 4.471009600000116, y: -3.912482600000203 },
] }), jsxRuntime.jsx("silkscreentext", { text: "{NAME}", pcbX: "0.002794mm", pcbY: "3.8286012mm", anchorAlignment: "center", fontSize: "1mm" }), jsxRuntime.jsx("courtyardoutline", { outline: [
{ x: -5.174805999999876, y: 3.0786011999998664 },
{ x: 5.180394000000092, y: 3.0786011999998664 },
{ x: 5.180394000000092, y: -5.650998800000025 },
{ x: -5.174805999999876, y: -5.650998800000025 },
{ x: -5.174805999999876, y: 3.0786011999998664 },
] })] }), schWidth: 2, schPinArrangement: {
leftSide: {
direction: "top-to-bottom",
pins: ["CC1", "DP1", "DN1", "SBU1"],
},
rightSide: {
direction: "top-to-bottom",
pins: [
"VBUS1",
"VBUS2",
"SBU2",
"DN2",
"DP2",
"CC2",
"SHIELD1",
"SHIELD2",
"SHIELD3",
"SHIELD4",
"GND1",
"GND2",
],
},
}, schPinStyle: {
VBUS2: {
marginBottom: 0.2,
},
CC2: {
marginBottom: 0.2,
},
}, 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.4499977999999945,
z: 0.000010999999999872223,
},
}, ...props }));
};
const UsbCSection = () => (jsxRuntime.jsxs("group", { pcbX: 0, pcbY: -27, schX: 0, schY: 0, children: [jsxRuntime.jsx("schematictext", { text: "USB C", schY: 2, fontSize: 0.5 }), jsxRuntime.jsx(TYPE_C_31_M_12, { name: "USB_C", pcbX: 0, pcbY: -4, connections: {
pin1: "net.GND",
pin2: "net.GND",
pin3: "net.GND",
pin4: "net.GND",
pin15: "net.VBUS",
pin16: "net.VBUS",
} }), jsxRuntime.jsx("diode", { name: "D1", pcbY: 2, pcbX: 2.5, footprint: "sod523", manufacturerPartNumber: "1N4148W-TP", connections: {
pin1: "USB_C.DN2",
pin2: "USB_C.GND2",
} }), jsxRuntime.jsx("diode", { name: "D2", pcbX: -3, pcbY: 1, footprint: "sod523", manufacturerPartNumber: "1N4148W-TP", connections: {
pin1: "USB_C.DP2",
pin2: "USB_C.GND2",
} })] }));
const pinLabels = {
pin1: ["VDD"],
pin2: ["CFG2"],
pin3: ["CFG3"],
pin4: ["DP"],
pin5: ["DM"],
pin6: ["CC2"],
pin7: ["CC1"],
pin8: ["VBUS"],
pin9: ["CFG1"],
pin10: ["PG"],
pin11: ["GND"],
};
const CH224K = (props) => {
return (jsxRuntime.jsx("chip", { pinLabels: pinLabels, supplierPartNumbers: {
jlcpcb: ["C970725"],
}, manufacturerPartNumber: "CH224K", footprint: jsxRuntime.jsxs("footprint", { children: [jsxRuntime.jsx("smtpad", { portHints: ["pin10"], pcbX: "-1.999996mm", pcbY: "2.999867mm", width: "0.5999988mm", height: "1.499997mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin9"], pcbX: "-0.999998mm", pcbY: "3.000121mm", width: "0.5999988mm", height: "1.499997mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin8"], pcbX: "-0mm", pcbY: "3.000121mm", width: "0.5999988mm", height: "1.499997mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin7"], pcbX: "0.999998mm", pcbY: "3.000121mm", width: "0.5999988mm", height: "1.499997mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin6"], pcbX: "1.999996mm", pcbY: "2.999867mm", width: "0.5999988mm", height: "1.499997mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin5"], pcbX: "1.999996mm", pcbY: "-3.000121mm", width: "0.5999988mm", height: "1.499997mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin4"], pcbX: "0.999998mm", pcbY: "-3.000121mm", width: "0.5999988mm", height: "1.499997mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin3"], pcbX: "-0mm", pcbY: "-3.000121mm", width: "0.5999988mm", height: "1.499997mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin2"], pcbX: "-0.999998mm", pcbY: "-3.000121mm", width: "0.5999988mm", height: "1.499997mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin1"], pcbX: "-1.999996mm", pcbY: "-3.000121mm", width: "0.5999988mm", height: "1.499997mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin11"], pcbX: "-0mm", pcbY: "0.000127mm", width: "3.2999934mm", height: "2.0999958mm", shape: "rect" }), jsxRuntime.jsx("silkscreenpath", { route: [
{ x: -2.4600916000000552, y: 0.5400039999999535 },
{ x: -2.5000711999999794, y: 0.5800089999999045 },
{ x: -2.5000711999999794, y: 0.8199882000000116 },
{ x: -2.5000711999999794, y: 1.9499580000000378 },
] }), jsxRuntime.jsx("silkscreenpath", { route: [
{ x: -2.5000711999999794, y: -0.48003460000006726 },
{ x: -2.400045999999975, y: -0.48003460000006726 },
] }), jsxRuntime.jsx("silkscreenpath", { route: [
{ x: -2.5000711999999794, y: -1.9500087999999778 },
{ x: -2.5000711999999794, y: -0.48003460000006726 },
] }), jsxRuntime.jsx("silkscreenpath", { route: [
{ x: 2.499918799999932, y: -1.9500087999999778 },
{ x: 2.499918799999932, y: 1.9499580000000378 },
] }), jsxRuntime.jsx("silkscreenpath", { route: [
{ x: -2.5000711999999794, y: 1.9499580000000378 },
{ x: 2.499918799999932, y: 1.9499580000000378 },
] }), jsxRuntime.jsx("silkscreenpath", { route: [
{ x: -2.5000711999999794, y: -1.9500087999999778 },
{ x: 2.499918799999932, y: -1.9500087999999778 },
] }), jsxRuntime.jsx("silkscreenpath", { route: [
{ x: -1.9200622000000749, y: 0 },
{ x: -1.948065706108082, y: 0.21401308169981803 },
{ x: -2.063987168701715, y: 0.3960790312980862 },
{ x: -2.2460531183000967, y: 0.5120004938919465 },
{ x: -2.4600662000000284, y: 0.5400039999999535 },
] }), jsxRuntime.jsx("silkscreenpath", { route: [
{ x: -2.4000714000001153, y: -0.48000920000004044 },
{ x: -2.1600667999999814, y: -0.41570016125035636 },
{ x: -1.984371238749759, y: -0.2400046000001339 },
{ x: -1.9200622000000749, y: 0 },
] }), jsxRuntime.jsx("silkscreentext", { text: "{NAME}", pcbX: "-0.006604mm", pcbY: "4.761613mm", anchorAlignment: "center", fontSize: "1mm" }), jsxRuntime.jsx("courtyardoutline", { outline: [
{ x: -2.7585040000000163, y: 4.011613000000011 },
{ x: 2.7452959999999393, y: 4.011613000000011 },
{ x: 2.7452959999999393, y: -4.209987000000069 },
{ x: -2.7585040000000163, y: -4.209987000000069 },
{ x: -2.7585040000000163, y: 4.011613000000011 },
] })] }), cadModel: {
objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C970725.obj?uuid=c37139ac11be40009679f32869d9459d",
stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C970725.step?uuid=c37139ac11be40009679f32869d9459d",
pcbRotationOffset: 0,
modelOriginPosition: { x: 0, y: 0, z: -0.81 },
}, ...props }));
};
const UsbPdSection = () => (jsxRuntime.jsxs("group", { pcbX: 24, pcbY: 2, schX: 18, schY: -2, children: [jsxRuntime.jsx("schematictext", { text: "USB PD", schY: 4, fontSize: 0.5 }), jsxRuntime.jsx(CH224K, { name: "U3", pcbX: 0, pcbY: 0, schWidth: 2.6, schPinArrangement: {
leftSide: {
direction: "top-to-bottom",
pins: ["GND", "VDD", "CFG2", "CFG3", "DP", "DM"],
},
rightSide: {
direction: "top-to-bottom",
pins: ["PG", "CFG1", "VBUS", "CC1", "CC2"],
},
}, connections: {
GND: "net.GND",
VDD: "net.VCC3",
DM: "U3.DP",
CC1: "net.CC1",
CC2: "net.CC2",
} }), jsxRuntime.jsx("capacitor", { name: "C14", capacitance: "1uF", footprint: "0402", pcbX: -6, pcbY: -2, connections: {
pin1: "net.VCC3",
pin2: "net.GND",
} }), jsxRuntime.jsx("resistor", { name: "R11", resistance: "20k", footprint: "0402", supplierPartNumbers: { jlcpcb: ["C25765"] }, pcbX: 9, pcbY: 6, connections: {
pin1: "net.VBUS",
pin2: "net.VBUS_SENSE",
} }), jsxRuntime.jsx("resistor", { name: "R14", resistance: "2.7k", footprint: "0402", supplierPartNumbers: { jlcpcb: ["C2906905"] }, pcbX: 9, pcbY: 2, connections: {
pin1: "net.VBUS_SENSE",
pin2: "net.GND",
} }), jsxRuntime.jsx("resistor", { name: "R15", resistance: "10k", footprint: "0402", pcbX: -8, pcbY: -8, connections: {
pin1: "net.VCC3",
pin2: "U3.PG",
} }), jsxRuntime.jsx("resistor", { name: "R16", resistance: "1k", footprint: "0402", pcbX: -5, pcbY: -8, connections: {
pin1: "LED3.pin2",
pin2: "U3.PG",
} }), jsxRuntime.jsx("resistor", { name: "R17", resistance: "1k", footprint: "0402", pcbX: -10, pcbY: -2, connections: {
pin1: "net.VBUS",
pin2: "net.VCC3",
} }), jsxRuntime.jsx("resistor", { name: "R18", resistance: "NF", footprint: "0402", pcbX: 6, pcbY: 2, connections: {
pin1: "net.GND",
pin2: "U3.CFG1",
} }), jsxRuntime.jsx("resistor", { name: "R19", resistance: "10k", footprint: "0402", pcbX: 6, pcbY: 6, connections: {
pin1: "U3.VBUS",
pin2: "net.VBUS",
} }), jsxRuntime.jsx("led", { name: "LED3", color: "green", footprint: "0603", pcbX: -1, pcbY: -8, connections: {
pin1: "net.VCC3",
} })] }));
var index_circuit = () => (jsxRuntime.jsxs("board", { width: "70mm", height: "70mm", children: [jsxRuntime.jsx(UsbCSection, {}), jsxRuntime.jsx(StepperDriver, {}), jsxRuntime.jsx(Esp32Section, {}), jsxRuntime.jsx(HallSensor, {}), jsxRuntime.jsx(UsbPdSection, {}), jsxRuntime.jsx(Converter3V3Section, {}), jsxRuntime.jsx(IoSection, {})] }));
module.exports = index_circuit;