hrithik18k/switch-pcb

A tscircuit package created by hrithik18k.

Version
1.2.0
License
unset
Stars
0

dist/index.cjs

'use strict';

var jsxRuntime = require('react/jsx-runtime');

const A_0805W8F1002T5E = (props) => {
    const { name = "R1", ...restProps } = props;
    return (jsxRuntime.jsx("resistor", { name: name, resistance: "10kohm", supplierPartNumbers: {
            "jlcpcb": [
                "C17414"
            ]
        }, manufacturerPartNumber: "0805W8F1002T5E", footprint: jsxRuntime.jsxs("footprint", { children: [jsxRuntime.jsx("smtpad", { portHints: ["pin2"], pcbX: "0.999998mm", pcbY: "0mm", width: "1.1325352mm", height: "1.3770102mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin1"], pcbX: "-0.999998mm", pcbY: "0mm", width: "1.1325352mm", height: "1.3770102mm", shape: "rect" }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 0.4761991999999964, "y": -0.9170924000000014 }, { "x": 1.7611343999999463, "y": -0.9170924000000014 }, { "x": 1.7611343999999463, "y": 0.9170924000000014 }, { "x": 0.4761991999999964, "y": 0.9170924000000014 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -0.47619920000011007, "y": -0.9170924000000014 }, { "x": -1.7611343999999463, "y": -0.9170924000000014 }, { "x": -1.7611343999999463, "y": 0.9170924000000014 }, { "x": -0.47619920000011007, "y": 0.9170924000000014 }] }), jsxRuntime.jsx("silkscreentext", { text: "{NAME}", pcbX: "0.0127mm", pcbY: "1.9144mm", anchorAlignment: "center", fontSize: "1mm" }), jsxRuntime.jsx("courtyardoutline", { outline: [{ "x": -1.8162655999998378, "y": 0.9385051000000431 }, { "x": 1.8162655999998378, "y": 0.9385051000000431 }, { "x": 1.8162655999998378, "y": -0.9385051000000431 }, { "x": -1.8162655999998378, "y": -0.9385051000000431 }, { "x": -1.8162655999998378, "y": 0.9385051000000431 }] })] }), cadModel: {
            objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C17414.obj?uuid=c7acac53bcbc44d68fbab8f60a747688",
            stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C17414.step?uuid=c7acac53bcbc44d68fbab8f60a747688",
            pcbRotationOffset: 0,
            modelOriginPosition: { x: 0, y: 0.000012699999842880061, z: 0 },
        }, ...restProps }));
};

const A_0805W8F1003T5E = (props) => {
    const { name = "R1", ...restProps } = props;
    return (jsxRuntime.jsx("resistor", { name: name, resistance: "100kohm", supplierPartNumbers: {
            "jlcpcb": [
                "C149504"
            ]
        }, manufacturerPartNumber: "0805W8F1003T5E", footprint: jsxRuntime.jsxs("footprint", { children: [jsxRuntime.jsx("smtpad", { portHints: ["pin2"], pcbX: "0.999998mm", pcbY: "0mm", width: "1.1325352mm", height: "1.3770102mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin1"], pcbX: "-0.999998mm", pcbY: "0mm", width: "1.1325352mm", height: "1.3770102mm", shape: "rect" }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 0.4761991999999964, "y": -0.9170924000000014 }, { "x": 1.7611343999999463, "y": -0.9170924000000014 }, { "x": 1.7611343999999463, "y": 0.9170924000000014 }, { "x": 0.4761991999999964, "y": 0.9170924000000014 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -0.47619920000011007, "y": -0.9170924000000014 }, { "x": -1.7611343999999463, "y": -0.9170924000000014 }, { "x": -1.7611343999999463, "y": 0.9170924000000014 }, { "x": -0.47619920000011007, "y": 0.9170924000000014 }] }), jsxRuntime.jsx("silkscreentext", { text: "{NAME}", pcbX: "0.0127mm", pcbY: "1.9144mm", anchorAlignment: "center", fontSize: "1mm" }), jsxRuntime.jsx("courtyardoutline", { outline: [{ "x": -1.8162655999998378, "y": 0.9385051000000431 }, { "x": 1.8162655999998378, "y": 0.9385051000000431 }, { "x": 1.8162655999998378, "y": -0.9385051000000431 }, { "x": -1.8162655999998378, "y": -0.9385051000000431 }, { "x": -1.8162655999998378, "y": 0.9385051000000431 }] })] }), cadModel: {
            objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C149504.obj?uuid=c7acac53bcbc44d68fbab8f60a747688",
            stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C149504.step?uuid=c7acac53bcbc44d68fbab8f60a747688",
            pcbRotationOffset: 0,
            modelOriginPosition: { x: 0, y: 0.000012699999842880061, z: 0 },
        }, ...restProps }));
};

const pinLabels$3 = {
    pin1: ["pin1"],
    pin2: ["pin2"],
    pin3: ["pin3"]
};
const A_2_54_1_3P_ = (props) => {
    return (jsxRuntime.jsx("chip", { pinLabels: pinLabels$3, supplierPartNumbers: {
            "jlcpcb": [
                "C49257"
            ]
        }, manufacturerPartNumber: "2.54-1*3P\u9488", footprint: jsxRuntime.jsxs("footprint", { insertionDirection: "from_above", children: [jsxRuntime.jsx("platedhole", { portHints: ["pin3"], pcbX: "2.5337008mm", pcbY: "0mm", outerDiameter: "1.5999968mm", holeDiameter: "1.1000232mm", shape: "circle" }), jsxRuntime.jsx("platedhole", { portHints: ["pin2"], pcbX: "-0.0062992mm", pcbY: "0mm", outerDiameter: "1.5999968mm", holeDiameter: "1.1000232mm", shape: "circle" }), jsxRuntime.jsx("platedhole", { portHints: ["pin1"], pcbX: "-2.5462992mm", pcbY: "0mm", holeWidth: "1.1000232mm", holeHeight: "1.1000232mm", outerWidth: "1.5748mm", outerHeight: "1.5999968mm", rectPad: true, pcbRotation: "0deg", shape: "pill" }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -1.9112991999999736, "y": 1.2699999999999818 }, { "x": -3.816299200000003, "y": 1.2699999999999818 }, { "x": -3.816299200000003, "y": -1.2700000000000102 }, { "x": 3.8037008000000014, "y": -1.2700000000000102 }, { "x": 3.8037008000000014, "y": 1.2699999999999818 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 3.8037008000000014, "y": 1.2699999999999818 }, { "x": -1.9112991999999736, "y": 1.2699999999999818 }] }), jsxRuntime.jsx("silkscreentext", { text: "{NAME}", pcbX: "-0.0189992mm", pcbY: "2.27mm", anchorAlignment: "center", fontSize: "1mm" }), jsxRuntime.jsx("courtyardoutline", { outline: [{ "x": -4.066299200000003, "y": 1.5199999999999818 }, { "x": 4.053700800000001, "y": 1.5199999999999818 }, { "x": 4.053700800000001, "y": -1.5200000000000102 }, { "x": -4.066299200000003, "y": -1.5200000000000102 }, { "x": -4.066299200000003, "y": 1.5199999999999818 }] })] }), cadModel: {
            objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C49257.obj?uuid=c023159e66794c6e8fc0907055f01d55",
            stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C49257.step?uuid=c023159e66794c6e8fc0907055f01d55",
            pcbRotationOffset: 0,
            modelOriginPosition: { x: -2.533700799999999, y: 0, z: -5999999999950489e-21 },
        }, ...props }));
};

const pinLabels$2 = {
    pin1: ["pin1"],
    pin2: ["pin2"],
    pin3: ["pin3"],
    pin4: ["pin4"],
    pin5: ["pin5"]
};
const A_2_54_1_5P_ = (props) => {
    return (jsxRuntime.jsx("chip", { pinLabels: pinLabels$2, supplierPartNumbers: {
            "jlcpcb": [
                "C50950"
            ]
        }, manufacturerPartNumber: "2.54-1*5P\u6BCD", footprint: jsxRuntime.jsxs("footprint", { insertionDirection: "from_above", children: [jsxRuntime.jsx("platedhole", { portHints: ["pin5"], pcbX: "5.08mm", pcbY: "0mm", outerDiameter: "1.5748mm", holeDiameter: "1.0200132mm", shape: "circle" }), jsxRuntime.jsx("platedhole", { portHints: ["pin4"], pcbX: "2.54mm", pcbY: "0mm", outerDiameter: "1.5748mm", holeDiameter: "1.0200132mm", shape: "circle" }), jsxRuntime.jsx("platedhole", { portHints: ["pin3"], pcbX: "0mm", pcbY: "0mm", outerDiameter: "1.5748mm", holeDiameter: "1.0200132mm", shape: "circle" }), jsxRuntime.jsx("platedhole", { portHints: ["pin2"], pcbX: "-2.54mm", pcbY: "0mm", outerDiameter: "1.5748mm", holeDiameter: "1.0200132mm", shape: "circle" }), jsxRuntime.jsx("platedhole", { portHints: ["pin1"], pcbX: "-5.08mm", pcbY: "0mm", holeWidth: "1.0200132mm", holeHeight: "1.0200132mm", outerWidth: "1.5748mm", outerHeight: "1.5748mm", rectPad: true, pcbRotation: "0deg", shape: "pill" }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 6.599986800000067, "y": 1.269999999999989 }, { "x": -6.600012199999981, "y": 1.269999999999989 }, { "x": -6.600012199999981, "y": -1.2700000000000031 }, { "x": 6.600012200000037, "y": -1.2700000000000031 }, { "x": 6.600012200000037, "y": 1.269999999999989 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -3.7615621999999576, "y": 1.269999999999989 }, { "x": -3.7615621999999576, "y": -1.2700000000000031 }] }), jsxRuntime.jsx("silkscreentext", { text: "{NAME}", pcbX: "-0.0127mm", pcbY: "2.27mm", anchorAlignment: "center", fontSize: "1mm" }), jsxRuntime.jsx("courtyardoutline", { outline: [{ "x": -6.849986800000011, "y": 1.5000101999999984 }, { "x": 6.849986800000067, "y": 1.5000101999999984 }, { "x": 6.849986800000067, "y": -1.4999848000000071 }, { "x": -6.849986800000011, "y": -1.4999848000000071 }, { "x": -6.849986800000011, "y": 1.5000101999999984 }] })] }), cadModel: {
            objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C50950.obj?uuid=7b135d4c7d084b658994bacec4f3b635",
            stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C50950.step?uuid=7b135d4c7d084b658994bacec4f3b635",
            pcbRotationOffset: 0,
            modelOriginPosition: { x: 0, y: 0.00048730000000074547, z: -7456000000001239e-19 },
        }, ...props }));
};

const CC0805KRX7R9BB104 = (props) => {
    const { name = "C1", ...restProps } = props;
    return (jsxRuntime.jsx("capacitor", { name: name, capacitance: "100nF", supplierPartNumbers: {
            "jlcpcb": [
                "C49678"
            ]
        }, manufacturerPartNumber: "CC0805KRX7R9BB104", footprint: jsxRuntime.jsxs("footprint", { children: [jsxRuntime.jsx("smtpad", { portHints: ["pin2"], pcbX: "0.999998mm", pcbY: "0mm", width: "1.4100048mm", height: "1.35001mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin1"], pcbX: "-0.999998mm", pcbY: "0mm", width: "1.4100048mm", height: "1.35001mm", shape: "rect" }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 1.8111977999999453, "y": 0.9036049999999705 }, { "x": 0.4011929999999211, "y": 0.9036049999999705 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 0.4011929999999211, "y": -0.9036049999999705 }, { "x": 1.8111977999999453, "y": -0.9036049999999705 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 1.9635978000000023, "y": -0.7512050000000272 }, { "x": 1.9635978000000023, "y": 0.7512050000000272 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -1.811197800000059, "y": 0.9036049999999705 }, { "x": -0.40119300000003477, "y": 0.9036049999999705 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -0.40119300000003477, "y": -0.9036049999999705 }, { "x": -1.811197800000059, "y": -0.9036049999999705 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -1.9635978000000023, "y": -0.7512050000000272 }, { "x": -1.9635978000000023, "y": 0.7512050000000272 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 1.8111977999999453, "y": -0.9036049999997431 }, { "x": 1.918960873452761, "y": -0.8589680734526155 }, { "x": 1.9635977999998886, "y": -0.7512050000000272 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 1.9635977999998886, "y": 0.7512050000000272 }, { "x": 1.918960873452761, "y": 0.8589680734527292 }, { "x": 1.8111977999999453, "y": 0.9036049999998568 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -1.811197800000059, "y": -0.9036049999997431 }, { "x": -1.9189608734528747, "y": -0.8589680734526155 }, { "x": -1.9635978000000023, "y": -0.7512050000000272 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -1.9635978000000023, "y": 0.7512050000000272 }, { "x": -1.9189608734528747, "y": 0.8589680734527292 }, { "x": -1.811197800000059, "y": 0.9036049999998568 }] }), jsxRuntime.jsx("silkscreentext", { text: "{NAME}", pcbX: "0.0127mm", pcbY: "1.9144mm", anchorAlignment: "center", fontSize: "1mm" }), jsxRuntime.jsx("courtyardoutline", { outline: [{ "x": -1.9550003999999035, "y": 0.9250050000000556 }, { "x": 1.9550003999999035, "y": 0.9250050000000556 }, { "x": 1.9550003999999035, "y": -0.9250050000000556 }, { "x": -1.9550003999999035, "y": -0.9250050000000556 }, { "x": -1.9550003999999035, "y": 0.9250050000000556 }] })] }), cadModel: {
            objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C49678.obj?uuid=b87ab0c5465a48b3a1c9a6dac8d30bc5",
            stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C49678.step?uuid=b87ab0c5465a48b3a1c9a6dac8d30bc5",
            pcbRotationOffset: 0,
            modelOriginPosition: { x: 0, y: -12700000070253736e-21, z: -0.65 },
        }, ...restProps }));
};

const pinAttributes$2 = {
    pin2: { isPassive: true },
    pin1: { isPassive: true }
};
const CL21A106KAYNNNE = (props) => {
    const { name = "C1", ...restProps } = props;
    return (jsxRuntime.jsx("capacitor", { name: name, capacitance: "10uF", supplierPartNumbers: {
            "jlcpcb": [
                "C15850"
            ]
        }, manufacturerPartNumber: "CL21A106KAYNNNE", pinAttributes: pinAttributes$2, footprint: jsxRuntime.jsxs("footprint", { children: [jsxRuntime.jsx("smtpad", { portHints: ["pin2"], pcbX: "0.999998mm", pcbY: "0mm", width: "1.4100048mm", height: "1.35001mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin1"], pcbX: "-0.999998mm", pcbY: "0mm", width: "1.4100048mm", height: "1.35001mm", shape: "rect" }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 1.8111977999999453, "y": 0.9036049999999705 }, { "x": 0.4011929999999211, "y": 0.9036049999999705 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 0.4011929999999211, "y": -0.9036049999999705 }, { "x": 1.8111977999999453, "y": -0.9036049999999705 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 1.9635978000000023, "y": -0.7512050000000272 }, { "x": 1.9635978000000023, "y": 0.7512050000000272 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -1.811197800000059, "y": 0.9036049999999705 }, { "x": -0.40119300000003477, "y": 0.9036049999999705 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -0.40119300000003477, "y": -0.9036049999999705 }, { "x": -1.811197800000059, "y": -0.9036049999999705 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -1.9635978000000023, "y": -0.7512050000000272 }, { "x": -1.9635978000000023, "y": 0.7512050000000272 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 1.8111977999999453, "y": -0.9036049999997431 }, { "x": 1.918960873452761, "y": -0.8589680734526155 }, { "x": 1.9635977999998886, "y": -0.7512050000000272 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 1.9635977999998886, "y": 0.7512050000000272 }, { "x": 1.918960873452761, "y": 0.8589680734527292 }, { "x": 1.8111977999999453, "y": 0.9036049999998568 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -1.811197800000059, "y": -0.9036049999997431 }, { "x": -1.9189608734528747, "y": -0.8589680734526155 }, { "x": -1.9635978000000023, "y": -0.7512050000000272 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -1.9635978000000023, "y": 0.7512050000000272 }, { "x": -1.9189608734528747, "y": 0.8589680734527292 }, { "x": -1.811197800000059, "y": 0.9036049999998568 }] }), jsxRuntime.jsx("silkscreentext", { text: "{NAME}", pcbX: "0.0127mm", pcbY: "1.9144mm", anchorAlignment: "center", fontSize: "1mm" }), jsxRuntime.jsx("courtyardoutline", { outline: [{ "x": -1.9550003999999035, "y": 0.9250050000000556 }, { "x": 1.9550003999999035, "y": 0.9250050000000556 }, { "x": 1.9550003999999035, "y": -0.9250050000000556 }, { "x": -1.9550003999999035, "y": -0.9250050000000556 }, { "x": -1.9550003999999035, "y": 0.9250050000000556 }] })] }), cadModel: {
            objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C15850.obj?uuid=b87ab0c5465a48b3a1c9a6dac8d30bc5",
            stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C15850.step?uuid=b87ab0c5465a48b3a1c9a6dac8d30bc5",
            pcbRotationOffset: 0,
            modelOriginPosition: { x: 0, y: -12700000070253736e-21, z: -0.65 },
        }, ...restProps }));
};

const pinLabels$1 = {
    pin1: ["RST"],
    pin2: ["ADC"],
    pin3: ["EN"],
    pin4: ["GPIO16"],
    pin5: ["GPIO14"],
    pin6: ["GPIO12"],
    pin7: ["GPIO13"],
    pin8: ["VCC"],
    pin9: ["GND"],
    pin10: ["GPIO15"],
    pin11: ["GPIO2"],
    pin12: ["GPIO0"],
    pin13: ["GPIO4"],
    pin14: ["GPIO5"],
    pin15: ["RXD0"],
    pin16: ["TXD0"],
    pin17: ["CS0"],
    pin18: ["MISO"],
    pin19: ["GPIO9"],
    pin20: ["GPIO10"],
    pin21: ["MOSI"],
    pin22: ["SCLK"]
};
const pinAttributes$1 = {
    pin8: { requiresPower: true },
    pin9: { requiresGround: true }
};
const ESP_12F_ESP8266MOD_ = (props) => {
    return (jsxRuntime.jsx("chip", { pinLabels: pinLabels$1, pinAttributes: pinAttributes$1, supplierPartNumbers: {
            "jlcpcb": [
                "C82891"
            ]
        }, manufacturerPartNumber: "ESP-12F(ESP8266MOD)", footprint: jsxRuntime.jsxs("footprint", { children: [jsxRuntime.jsx("smtpad", { portHints: ["pin16"], pcbX: "-7.72560685mm", pcbY: "7.550658mm", width: "1.3999972mm", height: "2.499995mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin15"], pcbX: "-5.72561085mm", pcbY: "7.550404mm", width: "1.3999972mm", height: "2.499995mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin14"], pcbX: "-3.72561485mm", pcbY: "7.550658mm", width: "1.3999972mm", height: "2.499995mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin13"], pcbX: "-1.72561885mm", pcbY: "7.549896mm", width: "1.3999972mm", height: "2.499995mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin12"], pcbX: "0.27437715mm", pcbY: "7.550658mm", width: "1.3999972mm", height: "2.499995mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin11"], pcbX: "2.27437315mm", pcbY: "7.55142mm", width: "1.3999972mm", height: "2.499995mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin10"], pcbX: "4.27436915mm", pcbY: "7.55015mm", width: "1.3999972mm", height: "2.499995mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin9"], pcbX: "6.27436515mm", pcbY: "7.548626mm", width: "1.3999972mm", height: "2.499995mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin22"], pcbX: "7.57535315mm", pcbY: "4.996688mm", width: "1.6999966mm", height: "1.3999972mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin21"], pcbX: "7.57459115mm", pcbY: "2.996692mm", width: "1.6999966mm", height: "1.3999972mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin20"], pcbX: "7.57459115mm", pcbY: "0.997458mm", width: "1.6999966mm", height: "1.3999972mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin19"], pcbX: "7.57459115mm", pcbY: "-1.0033mm", width: "1.6999966mm", height: "1.3999972mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin18"], pcbX: "7.57408315mm", pcbY: "-3.002026mm", width: "1.6999966mm", height: "1.3999972mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin17"], pcbX: "7.57560715mm", pcbY: "-4.99999mm", width: "1.6999966mm", height: "1.3999972mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin8"], pcbX: "6.27436515mm", pcbY: "-7.550658mm", width: "1.3999972mm", height: "2.499995mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin7"], pcbX: "4.27436915mm", pcbY: "-7.55142mm", width: "1.3999972mm", height: "2.499995mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin6"], pcbX: "2.27437315mm", pcbY: "-7.55142mm", width: "1.3999972mm", height: "2.499995mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin5"], pcbX: "0.27437715mm", pcbY: "-7.55142mm", width: "1.3999972mm", height: "2.499995mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin4"], pcbX: "-1.72561885mm", pcbY: "-7.55142mm", width: "1.3999972mm", height: "2.499995mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin3"], pcbX: "-3.72561485mm", pcbY: "-7.55142mm", width: "1.3999972mm", height: "2.499995mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin2"], pcbX: "-5.72561085mm", pcbY: "-7.55142mm", width: "1.3999972mm", height: "2.499995mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin1"], pcbX: "-7.72560685mm", pcbY: "-7.55142mm", width: "1.3999972mm", height: "2.499995mm", shape: "rect" }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -6.656749450000007, "y": -8.00100000000009 }, { "x": -6.794468249999909, "y": -8.00100000000009 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -4.6567534499999965, "y": -8.00100000000009 }, { "x": -4.794472249999899, "y": -8.00100000000009 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -2.6567574499999864, "y": -8.00100000000009 }, { "x": -2.7944762499998888, "y": -8.00100000000009 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -0.6567614499998626, "y": -8.00100000000009 }, { "x": -0.7944802499998787, "y": -8.00100000000009 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 1.3432345500000338, "y": -8.00100000000009 }, { "x": 1.2055157500000178, "y": -8.00100000000009 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 3.343230550000044, "y": -8.00100000000009 }, { "x": 3.205511750000028, "y": -8.00100000000009 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 5.343226550000054, "y": -8.00100000000009 }, { "x": 5.205507750000152, "y": -8.00100000000009 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 7.771949149999955, "y": -5.9311285999999654 }, { "x": 7.771949149999955, "y": -8.00100000000009 }, { "x": 7.205503749999934, "y": -8.00100000000009 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 7.771949149999955, "y": -3.933164599999941 }, { "x": 7.771949149999955, "y": -4.068851399999971 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 7.771949149999955, "y": -1.9344385999999076 }, { "x": 7.771949149999955, "y": -2.0708874000000606 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 7.771949149999955, "y": 0.06631939999999759 }, { "x": 7.771949149999955, "y": -0.07216140000002724 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 7.771949149999955, "y": 2.0655534000001126 }, { "x": 7.771949149999955, "y": 1.928596599999878 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 7.771949149999955, "y": 4.065549400000009 }, { "x": 7.771949149999955, "y": 3.927830599999993 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 7.205503749999934, "y": 7.998460000000023 }, { "x": 7.771949149999955, "y": 7.998460000000023 }, { "x": 7.771949149999955, "y": 5.927826600000003 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 5.205507750000152, "y": 7.998460000000023 }, { "x": 5.343226550000054, "y": 7.998460000000023 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 3.205511750000028, "y": 7.998460000000023 }, { "x": 3.343230550000044, "y": 7.998460000000023 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 1.2055157500000178, "y": 7.998460000000023 }, { "x": 1.3432345500000338, "y": 7.998460000000023 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -0.7944802499998787, "y": 7.998460000000023 }, { "x": -0.6567614499998626, "y": 7.998460000000023 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -2.7944762499998888, "y": 7.998460000000023 }, { "x": -2.6567574499999864, "y": 7.998460000000023 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -4.794472249999899, "y": 7.998460000000023 }, { "x": -4.6567534499999965, "y": 7.998460000000023 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -6.794468249999909, "y": 7.998460000000023 }, { "x": -6.656749450000007, "y": 7.998460000000023 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -8.656745450000017, "y": -8.00100000000009 }, { "x": -16.225818449999906, "y": -8.00100000000009 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -16.225818449999906, "y": 7.998460000000023 }, { "x": -8.656745450000017, "y": 7.998460000000023 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -10.225830449999876, "y": 4.998465999999894 }, { "x": -10.225830449999876, "y": -5.001513999999929 }, { "x": -15.225820450000015, "y": -5.001513999999929 }, { "x": -15.225820450000015, "y": -4.001516000000038 }, { "x": -12.225826449999886, "y": -4.001516000000038 }, { "x": -12.225826449999886, "y": -3.001517999999919 }, { "x": -15.225820450000015, "y": -3.001517999999919 }, { "x": -15.225820450000015, "y": -2.001519999999914 }, { "x": -12.225826449999886, "y": -2.001519999999914 }, { "x": -12.225826449999886, "y": -1.0015220000000227 }, { "x": -15.225820450000015, "y": -1.0015220000000227 }, { "x": -15.225820450000015, "y": -0.0015239999999039355 }, { "x": -12.225826449999886, "y": -0.0015239999999039355 }, { "x": -12.225826449999886, "y": 0.9984739999999874 }, { "x": -15.225820450000015, "y": 0.9984739999999874 }, { "x": -15.225820450000015, "y": 6.998462000000131 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -7.225836449999861, "y": -6.001512000000048 }, { "x": 5.774137549999978, "y": -6.001512000000048 }, { "x": 5.774137549999978, "y": 5.998464000000013 }, { "x": -7.225836449999861, "y": 5.998464000000013 }, { "x": -7.225836449999861, "y": -6.001512000000048 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -9.22583244999987, "y": -7.001509999999939 }, { "x": -9.22583244999987, "y": 6.998462000000131 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -16.225818449999906, "y": -8.001507999999944 }, { "x": -16.225818449999906, "y": 7.998460000000023 }] }), jsxRuntime.jsx("silkscreencircle", { pcbX: "-9.21912685mm", pcbY: "-8.636mm", radius: "0.283972mm" }), jsxRuntime.jsx("silkscreentext", { text: "{NAME}", pcbX: "-3.92348085mm", pcbY: "9.79602mm", anchorAlignment: "center", fontSize: "1mm" }), jsxRuntime.jsx("courtyardoutline", { outline: [{ "x": -16.45501584999988, "y": 9.051417499999957 }, { "x": 8.675605449999921, "y": 9.051417499999957 }, { "x": 8.675605449999921, "y": -9.051417499999957 }, { "x": -16.45501584999988, "y": -9.051417499999957 }, { "x": -16.45501584999988, "y": 9.051417499999957 }] })] }), cadModel: {
            objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C82891.obj?uuid=61ec718de98e4554bc672da5773a804d",
            stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C82891.step?uuid=61ec718de98e4554bc672da5773a804d",
            pcbRotationOffset: 90,
            modelOriginPosition: { x: 2.080594300000044, y: -4.95226774999995, z: 22.455 },
        }, ...props }));
};

const pinLabels = {
    pin1: ["VIN"],
    pin2: ["GND"],
    pin3: ["EN"],
    pin4: ["NC"],
    pin5: ["VOUT"]
};
const pinAttributes = {
    pin1: { isInput: true, requiresPower: true, mustBeConnected: true, shouldHaveDecouplingCapacitor: true, recommendedDecouplingCapacitorCapacitance: "1uF" },
    pin2: { requiresGround: true, mustBeConnected: true },
    pin4: { doNotConnect: true },
    pin5: { isOutput: true, providesPower: true, providesVoltage: "3.3V", shouldHaveDecouplingCapacitor: true, recommendedDecouplingCapacitorCapacitance: "1uF" },
    pin3: { isInput: true }
};
const AP2112K_3_3TRG1 = (props) => {
    return (jsxRuntime.jsx("chip", { pinLabels: pinLabels, pinAttributes: pinAttributes, supplierPartNumbers: {
            "jlcpcb": [
                "C51118"
            ]
        }, manufacturerPartNumber: "AP2112K-3.3TRG1", footprint: jsxRuntime.jsxs("footprint", { children: [jsxRuntime.jsx("smtpad", { portHints: ["pin4"], pcbX: "0.949706mm", pcbY: "1.299972mm", width: "0.6223mm", height: "1.1049mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin5"], pcbX: "-0.949706mm", pcbY: "1.299972mm", width: "0.6223mm", height: "1.1049mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin1"], pcbX: "-0.949706mm", pcbY: "-1.299972mm", width: "0.6223mm", height: "1.1049mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin2"], pcbX: "-0.000508mm", pcbY: "-1.299972mm", width: "0.6223mm", height: "1.1049mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin3"], pcbX: "0.949706mm", pcbY: "-1.299972mm", width: "0.6223mm", height: "1.1049mm", shape: "rect" }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 1.41193520000013, "y": -0.5003799999999501 }, { "x": -1.3871447999999873, "y": -0.5003799999999501 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -1.3871447999999873, "y": -0.5003799999999501 }, { "x": -1.3871447999999873, "y": 0.5003799999999501 }, { "x": 1.41193520000013, "y": 0.5003799999999501 }, { "x": 1.41193520000013, "y": -0.5003799999999501 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -1.779549399999837, "y": -1.5214599999999336 }, { "x": -1.9027377800492786, "y": -1.3963714714953994 }, { "x": -1.7782793999998603, "y": -1.2725464797605355 }, { "x": -1.6538210199506693, "y": -1.3963714714953994 }, { "x": -1.7770093999999972, "y": -1.5214599999999336 }] }), jsxRuntime.jsx("silkscreentext", { text: "{NAME}", pcbX: "-0.228854mm", pcbY: "2.8542mm", anchorAlignment: "center", fontSize: "1mm" }), jsxRuntime.jsx("courtyardoutline", { outline: [{ "x": -1.6999843999999484, "y": 2.102422000000047 }, { "x": 1.700009800000089, "y": 2.102422000000047 }, { "x": 1.700009800000089, "y": -2.102422000000047 }, { "x": -1.6999843999999484, "y": -2.102422000000047 }, { "x": -1.6999843999999484, "y": 2.102422000000047 }] })] }), cadModel: {
            objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C51118.obj?uuid=6d166d1d6c064b99aa79465714e989c1",
            stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C51118.step?uuid=6d166d1d6c064b99aa79465714e989c1",
            pcbRotationOffset: 0,
            modelOriginPosition: { x: -12700000070253736e-21, y: 0, z: -0.15 },
        }, ...props }));
};

var index_circuit = () => jsxRuntime.jsxs("board", { width: 50, height: 48, layers: 2, autorouter: "auto-local", autorouterEffortLevel: "5x", autorouterVersion: "beta_pipeline1", children: [["MCU", "Power", "Boot", "Interfaces"].map(name => jsxRuntime.jsx("schematicsection", { name: name }, name)), jsxRuntime.jsx(ESP_12F_ESP8266MOD_, { name: "U1", pcbX: -4, pcbY: 5, pcbRotation: -90, schX: 0, schY: 0, schSectionName: "MCU" }), jsxRuntime.jsx("keepout", { layers: ["top", "bottom"], excludeRefs: [".U1"], shape: "rect", pcbX: -4, pcbY: 19, width: 28, height: 10 }), jsxRuntime.jsx(AP2112K_3_3TRG1, { name: "U2", pcbX: -13, pcbY: -12, schX: -12, schY: 0, schSectionName: "Power" }), jsxRuntime.jsx(A_2_54_1_3P_, { name: "J1", pcbX: -14, pcbY: -20, schX: -18, schY: 0, schSectionName: "Power" }), jsxRuntime.jsx(CL21A106KAYNNNE, { name: "C1", pcbX: -18, pcbY: -13, schX: -16, schY: -3, schRotation: -90, schSectionName: "Power" }), jsxRuntime.jsx(CL21A106KAYNNNE, { name: "C2", pcbX: -8, pcbY: -12, schX: -4, schY: -3, schRotation: -90, schSectionName: "Power" }), jsxRuntime.jsx(CC0805KRX7R9BB104, { name: "C3", pcbX: -11, pcbY: -5, schX: -2.5, schY: -3, schRotation: -90, schSectionName: "MCU" }), jsxRuntime.jsx(CL21A106KAYNNNE, { name: "C4", pcbX: -6, pcbY: -5, schX: -1, schY: -3, schRotation: -90, schSectionName: "MCU" }), jsxRuntime.jsx(A_0805W8F1002T5E, { name: "R1", pcbX: -17, pcbY: 8, schX: -4, schY: 3, schRotation: 90, schSectionName: "Boot" }), jsxRuntime.jsx(A_0805W8F1002T5E, { name: "R2", pcbX: -17, pcbY: 12, schX: -2.5, schY: 3, schRotation: 90, schSectionName: "Boot" }), jsxRuntime.jsx(A_0805W8F1002T5E, { name: "R3", pcbX: 11, pcbY: 4, schX: -1, schY: 3, schRotation: 90, schSectionName: "Boot" }), jsxRuntime.jsx(A_0805W8F1002T5E, { name: "R4", pcbX: 11, pcbY: 0, schX: 0.5, schY: 3, schRotation: 90, schSectionName: "Boot" }), jsxRuntime.jsx(A_0805W8F1002T5E, { name: "R5", pcbX: 11, pcbY: -4, schX: -3, schY: 0, schRotation: -90, schSectionName: "Boot" }), jsxRuntime.jsx(A_0805W8F1003T5E, { name: "R6", pcbX: 14, pcbY: -11, schX: 4, schY: 0, schRotation: -90, schSectionName: "Boot" }), jsxRuntime.jsx(A_2_54_1_5P_, { name: "J2", schWidth: 0.58, pcbX: 0, pcbY: -20, schX: 0, schY: -6, schSectionName: "Interfaces" }), jsxRuntime.jsx(A_2_54_1_3P_, { name: "J3", pcbX: 19, pcbY: 7, pcbRotation: 90, schX: 7, schY: -10, schSectionName: "Interfaces" }), jsxRuntime.jsx(A_2_54_1_3P_, { name: "J4", pcbX: 19, pcbY: -5, pcbRotation: 90, schX: 12, schY: -10, schSectionName: "Interfaces" }), jsxRuntime.jsx("trace", { name: "V5_0", from: "J1.pin1", to: "net.V5", width: 0.25 }), jsxRuntime.jsx("trace", { name: "V5_1", from: "U2.VIN", to: "net.V5", width: 0.25 }), jsxRuntime.jsx("trace", { name: "V5_2", from: "U2.EN", to: "net.V5", width: 0.25 }), jsxRuntime.jsx("trace", { name: "V5_3", from: "C1.pin1", to: "net.V5", width: 0.25 }), jsxRuntime.jsx("trace", { name: "V5_4", from: "J3.pin1", to: "net.V5", width: 0.25 }), jsxRuntime.jsx("trace", { name: "GND_0", from: "J1.pin2", to: "net.GND", width: 0.25 }), jsxRuntime.jsx("trace", { name: "GND_1", from: "U2.GND", to: "net.GND", width: 0.25 }), jsxRuntime.jsx("trace", { name: "GND_2", from: "C1.pin2", to: "net.GND", width: 0.25 }), jsxRuntime.jsx("trace", { name: "GND_3", from: "C2.pin2", to: "net.GND", width: 0.25 }), jsxRuntime.jsx("trace", { name: "GND_4", from: "C3.pin2", to: "net.GND", width: 0.25 }), jsxRuntime.jsx("trace", { name: "GND_5", from: "C4.pin2", to: "net.GND", width: 0.25 }), jsxRuntime.jsx("trace", { name: "GND_6", from: "U1.GND", to: "net.GND", width: 0.25 }), jsxRuntime.jsx("trace", { name: "GND_7", from: "R5.pin2", to: "net.GND", width: 0.25 }), jsxRuntime.jsx("trace", { name: "GND_8", from: "R6.pin2", to: "net.GND", width: 0.25 }), jsxRuntime.jsx("trace", { name: "GND_9", from: "J2.pin1", to: "net.GND", width: 0.25 }), jsxRuntime.jsx("trace", { name: "GND_10", from: "J3.pin2", to: "net.GND", width: 0.25 }), jsxRuntime.jsx("trace", { name: "GND_11", from: "J4.pin2", to: "net.GND", width: 0.25 }), jsxRuntime.jsx("trace", { name: "V3V3_0", from: "U2.VOUT", to: "net.V3V3", width: 0.25 }), jsxRuntime.jsx("trace", { name: "V3V3_1", from: "U1.VCC", to: "net.V3V3", width: 0.25 }), jsxRuntime.jsx("trace", { name: "V3V3_2", from: "C2.pin1", to: "net.V3V3", width: 0.25 }), jsxRuntime.jsx("trace", { name: "V3V3_3", from: "C3.pin1", to: "net.V3V3", width: 0.25 }), jsxRuntime.jsx("trace", { name: "V3V3_4", from: "C4.pin1", to: "net.V3V3", width: 0.25 }), jsxRuntime.jsx("trace", { name: "V3V3_5", from: "R1.pin2", to: "net.V3V3", width: 0.25 }), jsxRuntime.jsx("trace", { name: "V3V3_6", from: "R2.pin2", to: "net.V3V3", width: 0.25 }), jsxRuntime.jsx("trace", { name: "V3V3_7", from: "R3.pin2", to: "net.V3V3", width: 0.25 }), jsxRuntime.jsx("trace", { name: "V3V3_8", from: "R4.pin2", to: "net.V3V3", width: 0.25 }), jsxRuntime.jsx("trace", { name: "V3V3_10", from: "J4.pin1", to: "net.V3V3", width: 0.25 }), jsxRuntime.jsx("trace", { name: "EN_0", from: "U1.EN", to: "net.EN", width: 0.15 }), jsxRuntime.jsx("trace", { name: "EN_1", from: "R1.pin1", to: "net.EN", width: 0.15 }), jsxRuntime.jsx("trace", { name: "RST_0", from: "U1.RST", to: "net.RST", width: 0.15 }), jsxRuntime.jsx("trace", { name: "RST_1", from: "R2.pin1", to: "net.RST", width: 0.15 }), jsxRuntime.jsx("trace", { name: "RST_2", from: "J2.pin5", to: "net.RST", width: 0.15 }), jsxRuntime.jsx("trace", { name: "BOOT_0", from: "U1.GPIO0", to: "net.BOOT", width: 0.15 }), jsxRuntime.jsx("trace", { name: "BOOT_1", from: "R3.pin1", to: "net.BOOT", width: 0.15 }), jsxRuntime.jsx("trace", { name: "BOOT_2", from: "J2.pin4", to: "net.BOOT", width: 0.15 }), jsxRuntime.jsx("trace", { name: "STRAP2_0", from: "U1.GPIO2", to: "net.STRAP2", width: 0.15 }), jsxRuntime.jsx("trace", { name: "STRAP2_1", from: "R4.pin1", to: "net.STRAP2", width: 0.15 }), jsxRuntime.jsx("trace", { name: "STRAP15_0", from: "U1.GPIO15", to: "net.STRAP15", width: 0.15 }), jsxRuntime.jsx("trace", { name: "STRAP15_1", from: "R5.pin1", to: "net.STRAP15", width: 0.15 }), jsxRuntime.jsx("trace", { name: "RELAY_0", from: "U1.GPIO12", to: "net.RELAY", width: 0.15 }), jsxRuntime.jsx("trace", { name: "RELAY_1", from: "J3.pin3", to: "net.RELAY", width: 0.15 }), jsxRuntime.jsx("trace", { name: "RELAY_2", from: "R6.pin1", to: "net.RELAY", width: 0.15 }), jsxRuntime.jsx("trace", { name: "TOUCH_0", from: "U1.GPIO13", to: "net.TOUCH", width: 0.15 }), jsxRuntime.jsx("trace", { name: "TOUCH_1", from: "J4.pin3", to: "net.TOUCH", width: 0.15 }), jsxRuntime.jsx("trace", { name: "TXD_0", from: "U1.TXD0", to: "net.TXD", width: 0.15 }), jsxRuntime.jsx("trace", { name: "TXD_1", from: "J2.pin2", to: "net.TXD", width: 0.15 }), jsxRuntime.jsx("trace", { name: "RXD_0", from: "U1.RXD0", to: "net.RXD", width: 0.15 }), jsxRuntime.jsx("trace", { name: "RXD_1", from: "J2.pin3", to: "net.RXD", width: 0.15 }), [-21, 21].flatMap(x => [-20, 20].map(y => jsxRuntime.jsx("hole", { pcbX: x, pcbY: y, diameter: 3.2 }, x + "," + y))), jsxRuntime.jsx("silkscreentext", { text: "SWITCH ESP12F REV B", pcbX: 0, pcbY: -23, fontSize: 0.9 })] });

module.exports = index_circuit;