mohan-bee/esp32-c3

This hardware design integrates an ESP32-C3 microcontroller, a USB-C connector, a power management IC (AP2112-3.3V regulator), a USB-to-Serial converter (CH340C), several resistors, capacitors, and user-accessible headers to facilitate USB communication, power regulation, and general I/O interfacing.

Version
1.0.1
License
ISC
Stars
0

dist/index.js

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

const pinLabels$5 = {
    pin27: ["SHELL3"],
    pin28: ["SHELL4"],
    pin13: ["SHELL1"],
    pin14: ["SHELL2"],
    pin15: ["A1B12", "GND1"],
    pin16: ["A4B9", "VBUS1"],
    pin17: ["B8", "SBU2"],
    pin18: ["A5", "CC1"],
    pin19: ["B7", "DM2"],
    pin20: ["A6", "DP1"],
    pin21: ["A7", "DM1"],
    pin22: ["B6", "DP2"],
    pin23: ["A8", "SBU1"],
    pin24: ["B5", "CC2"],
    pin25: ["B4A9", "VBUS2"],
    pin26: ["B1A12", "GND2"]
};
const TYPE_C_16PIN_2MD_073_ = (props) => {
    return (jsx("connector", { standard: "usb_c", pinLabels: pinLabels$5, supplierPartNumbers: {
            "jlcpcb": [
                "C2765186"
            ]
        }, manufacturerPartNumber: "TYPE-C 16PIN 2MD(073)", footprint: jsxs("footprint", { children: [jsx("hole", { pcbX: "-2.889885mm", pcbY: "1.05492555mm", diameter: "0.700024mm" }), jsx("hole", { pcbX: "2.890139mm", pcbY: "1.05492555mm", diameter: "0.700024mm" }), jsx("platedhole", { portHints: ["pin13"], pcbX: "-4.324985mm", pcbY: "1.57511755mm", holeWidth: "0.5999988mm", holeHeight: "1.3999972mm", outerWidth: "1.0999978mm", outerHeight: "1.8999962mm", shape: "pill" }), jsx("platedhole", { portHints: ["pin14"], pcbX: "4.324985mm", pcbY: "1.57511755mm", holeWidth: "0.5999988mm", holeHeight: "1.3999972mm", outerWidth: "1.0999978mm", outerHeight: "1.8999962mm", shape: "pill" }), jsx("platedhole", { portHints: ["pin27"], pcbX: "-4.324985mm", pcbY: "-2.62502645mm", holeWidth: "0.5999988mm", holeHeight: "0.999998mm", outerWidth: "1.1999976mm", outerHeight: "1.5999968mm", shape: "pill" }), jsx("platedhole", { portHints: ["pin28"], pcbX: "4.324985mm", pcbY: "-2.62502645mm", holeWidth: "0.5999988mm", holeHeight: "0.999998mm", outerWidth: "1.1999976mm", outerHeight: "1.5999968mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin15"], pcbX: "-3.200019mm", pcbY: "2.12502755mm", width: "0.5500116mm", height: "1.0999978mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin16"], pcbX: "-2.399919mm", pcbY: "2.12502755mm", width: "0.5500116mm", height: "1.0999978mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin17"], pcbX: "-1.749933mm", pcbY: "2.12502755mm", width: "0.2999994mm", height: "1.0999978mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin18"], pcbX: "-1.249807mm", pcbY: "2.12502755mm", width: "0.2999994mm", height: "1.0999978mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin19"], pcbX: "-0.749935mm", pcbY: "2.12502755mm", width: "0.2999994mm", height: "1.0999978mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin20"], pcbX: "-0.250063mm", pcbY: "2.12502755mm", width: "0.2999994mm", height: "1.0999978mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin21"], pcbX: "0.250063mm", pcbY: "2.12502755mm", width: "0.2999994mm", height: "1.0999978mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin22"], pcbX: "0.749935mm", pcbY: "2.12502755mm", width: "0.2999994mm", height: "1.0999978mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin23"], pcbX: "1.250061mm", pcbY: "2.12502755mm", width: "0.2999994mm", height: "1.0999978mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin24"], pcbX: "1.750187mm", pcbY: "2.12502755mm", width: "0.2999994mm", height: "1.0999978mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin25"], pcbX: "2.400173mm", pcbY: "2.12502755mm", width: "0.5500116mm", height: "1.0999978mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin26"], pcbX: "3.200019mm", pcbY: "2.12502755mm", width: "0.5500116mm", height: "1.0999978mm", shape: "rect" }), jsx("silkscreenpath", { route: [{ "x": 4.5720761999999695, "y": -1.646948650000013 }, { "x": 4.5720761999999695, "y": 0.34700214999986656 }] }), jsx("silkscreenpath", { route: [{ "x": 4.5720761999999695, "y": -5.0759740500000134 }, { "x": 4.5720761999999695, "y": -3.6030026500000076 }] }), jsx("silkscreenpath", { route: [{ "x": -4.499914800000056, "y": -1.6438244500001247 }, { "x": -4.499914800000056, "y": 0.34390335000000505 }] }), jsx("silkscreenpath", { route: [{ "x": -4.499914800000056, "y": -5.224970450000114 }, { "x": -4.499914800000056, "y": -3.6061268500000097 }] }), jsx("silkscreenpath", { route: [{ "x": 4.5000671999999895, "y": -5.224970450000114 }, { "x": -4.499914800000056, "y": -5.224970450000114 }] }), jsx("silkscreentext", { text: "{NAME}", pcbX: "0.031369mm", pcbY: "3.68382755mm", anchorAlignment: "center", fontSize: "1mm" }), jsx("courtyardoutline", { outline: [{ "x": -4.752530999999976, "y": 2.9338275499999327 }, { "x": 4.81526899999983, "y": 2.9338275499999327 }, { "x": 4.81526899999983, "y": -5.490972450000072 }, { "x": -4.752530999999976, "y": -5.490972450000072 }, { "x": -4.752530999999976, "y": 2.9338275499999327 }] })] }), cadModel: {
            objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C2765186.obj?uuid=4ee8413127e64716b804db03d4b340ae",
            stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C2765186.step?uuid=4ee8413127e64716b804db03d4b340ae",
            pcbRotationOffset: 0,
            modelOriginPosition: { x: -12699999956566899e-21, y: 1.5749970500000927, z: -1.6800018 },
        }, ...props }));
};

const pinLabels$4 = {
    pin54: ["GND23"],
    pin55: ["GND24"],
    pin56: ["GND25"],
    pin57: ["GND26"],
    pin58: ["GND27"],
    pin59: ["GND28"],
    pin60: ["GND29"],
    pin61: ["GND30"],
    pin1: ["GND1"],
    pin2: ["GND2"],
    pin3: ["3V3"],
    pin4: ["NC1"],
    pin5: ["IO2"],
    pin6: ["IO3"],
    pin7: ["NC2"],
    pin8: ["EN"],
    pin9: ["NC3"],
    pin10: ["NC4"],
    pin11: ["GND3"],
    pin12: ["IO0"],
    pin13: ["IO1"],
    pin14: ["GND4"],
    pin15: ["NC5"],
    pin16: ["IO10"],
    pin17: ["NC6"],
    pin18: ["IO4"],
    pin19: ["IO5"],
    pin20: ["IO6"],
    pin21: ["IO7"],
    pin22: ["IO8"],
    pin23: ["IO9"],
    pin24: ["NC7"],
    pin25: ["NC8"],
    pin26: ["IO18"],
    pin27: ["IO19"],
    pin28: ["NC9"],
    pin29: ["NC10"],
    pin30: ["RXD0"],
    pin31: ["TXD0"],
    pin32: ["NC11"],
    pin33: ["NC12"],
    pin34: ["NC13"],
    pin35: ["NC14"],
    pin36: ["GND5"],
    pin37: ["GND6"],
    pin38: ["GND7"],
    pin39: ["GND8"],
    pin40: ["GND9"],
    pin41: ["GND10"],
    pin42: ["GND11"],
    pin43: ["GND12"],
    pin44: ["GND13"],
    pin45: ["GND14"],
    pin46: ["GND15"],
    pin47: ["GND16"],
    pin48: ["GND17"],
    pin49: ["GND22"],
    pin50: ["GND18"],
    pin51: ["GND19"],
    pin52: ["GND20"],
    pin53: ["GND21"]
};
const pinAttributes$2 = {
    pin1: { requiresGround: true },
    pin2: { requiresGround: true },
    pin4: { doNotConnect: true },
    pin7: { doNotConnect: true },
    pin9: { doNotConnect: true },
    pin10: { doNotConnect: true },
    pin11: { requiresGround: true },
    pin14: { requiresGround: true },
    pin15: { doNotConnect: true },
    pin17: { doNotConnect: true },
    pin24: { doNotConnect: true },
    pin25: { doNotConnect: true },
    pin28: { doNotConnect: true },
    pin29: { doNotConnect: true },
    pin32: { doNotConnect: true },
    pin33: { doNotConnect: true },
    pin34: { doNotConnect: true },
    pin35: { doNotConnect: true },
    pin36: { requiresGround: true },
    pin37: { requiresGround: true },
    pin38: { requiresGround: true },
    pin39: { requiresGround: true },
    pin40: { requiresGround: true },
    pin41: { requiresGround: true },
    pin42: { requiresGround: true },
    pin43: { requiresGround: true },
    pin44: { requiresGround: true },
    pin45: { requiresGround: true },
    pin46: { requiresGround: true },
    pin47: { requiresGround: true },
    pin48: { requiresGround: true },
    pin49: { requiresGround: true },
    pin50: { requiresGround: true },
    pin51: { requiresGround: true },
    pin52: { requiresGround: true },
    pin53: { requiresGround: true }
};
const ESP32_C3_MINI_1_H4X = (props) => {
    return (jsx("chip", { pinLabels: pinLabels$4, pinAttributes: pinAttributes$2, supplierPartNumbers: {
            "jlcpcb": [
                "C41349510"
            ]
        }, manufacturerPartNumber: "ESP32-C3-MINI-1-H4X", footprint: jsxs("footprint", { children: [jsx("smtpad", { portHints: ["pin1"], pcbX: "-5.899912mm", pcbY: "3.999992mm", width: "0.7999984mm", height: "0.3999992mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin2"], pcbX: "-5.899912mm", pcbY: "3.199892mm", width: "0.7999984mm", height: "0.3999992mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin3"], pcbX: "-5.899912mm", pcbY: "2.400046mm", width: "0.7999984mm", height: "0.3999992mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin4"], pcbX: "-5.899912mm", pcbY: "1.599946mm", width: "0.7999984mm", height: "0.3999992mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin5"], pcbX: "-5.899912mm", pcbY: "0.8001mm", width: "0.7999984mm", height: "0.3999992mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin6"], pcbX: "-5.899912mm", pcbY: "0mm", width: "0.7999984mm", height: "0.3999992mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin7"], pcbX: "-5.899912mm", pcbY: "-0.8001mm", width: "0.7999984mm", height: "0.3999992mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin8"], pcbX: "-5.899912mm", pcbY: "-1.599946mm", width: "0.7999984mm", height: "0.3999992mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin9"], pcbX: "-5.899912mm", pcbY: "-2.400046mm", width: "0.7999984mm", height: "0.3999992mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin10"], pcbX: "-5.899912mm", pcbY: "-3.199892mm", width: "0.7999984mm", height: "0.3999992mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin11"], pcbX: "-5.899912mm", pcbY: "-3.999992mm", width: "0.7999984mm", height: "0.3999992mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin12"], pcbX: "-4.800092mm", pcbY: "-4.899914mm", width: "0.3999992mm", height: "0.7999984mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin13"], pcbX: "-3.999992mm", pcbY: "-4.899914mm", width: "0.3999992mm", height: "0.7999984mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin14"], pcbX: "-3.199892mm", pcbY: "-4.899914mm", width: "0.3999992mm", height: "0.7999984mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin15"], pcbX: "-2.400046mm", pcbY: "-4.899914mm", width: "0.3999992mm", height: "0.7999984mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin16"], pcbX: "-1.599946mm", pcbY: "-4.899914mm", width: "0.3999992mm", height: "0.7999984mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin17"], pcbX: "-0.8001mm", pcbY: "-4.899914mm", width: "0.3999992mm", height: "0.7999984mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin18"], pcbX: "0mm", pcbY: "-4.899914mm", width: "0.3999992mm", height: "0.7999984mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin19"], pcbX: "0.8001mm", pcbY: "-4.899914mm", width: "0.3999992mm", height: "0.7999984mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin20"], pcbX: "1.599946mm", pcbY: "-4.899914mm", width: "0.3999992mm", height: "0.7999984mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin21"], pcbX: "2.400046mm", pcbY: "-4.899914mm", width: "0.3999992mm", height: "0.7999984mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin22"], pcbX: "3.199892mm", pcbY: "-4.899914mm", width: "0.3999992mm", height: "0.7999984mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin23"], pcbX: "3.999992mm", pcbY: "-4.899914mm", width: "0.3999992mm", height: "0.7999984mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin24"], pcbX: "4.800092mm", pcbY: "-4.899914mm", width: "0.3999992mm", height: "0.7999984mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin25"], pcbX: "5.899912mm", pcbY: "-3.999992mm", width: "0.7999984mm", height: "0.3999992mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin26"], pcbX: "5.899912mm", pcbY: "-3.199892mm", width: "0.7999984mm", height: "0.3999992mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin27"], pcbX: "5.899912mm", pcbY: "-2.400046mm", width: "0.7999984mm", height: "0.3999992mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin28"], pcbX: "5.899912mm", pcbY: "-1.599946mm", width: "0.7999984mm", height: "0.3999992mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin29"], pcbX: "5.899912mm", pcbY: "-0.8001mm", width: "0.7999984mm", height: "0.3999992mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin30"], pcbX: "5.899912mm", pcbY: "0mm", width: "0.7999984mm", height: "0.3999992mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin31"], pcbX: "5.899912mm", pcbY: "0.8001mm", width: "0.7999984mm", height: "0.3999992mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin32"], pcbX: "5.899912mm", pcbY: "1.599946mm", width: "0.7999984mm", height: "0.3999992mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin33"], pcbX: "5.899912mm", pcbY: "2.400046mm", width: "0.7999984mm", height: "0.3999992mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin34"], pcbX: "5.899912mm", pcbY: "3.199892mm", width: "0.7999984mm", height: "0.3999992mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin35"], pcbX: "5.899912mm", pcbY: "3.999992mm", width: "0.7999984mm", height: "0.3999992mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin36"], pcbX: "4.800092mm", pcbY: "4.899914mm", width: "0.3999992mm", height: "0.7999984mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin37"], pcbX: "3.999992mm", pcbY: "4.899914mm", width: "0.3999992mm", height: "0.7999984mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin38"], pcbX: "3.199892mm", pcbY: "4.899914mm", width: "0.3999992mm", height: "0.7999984mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin39"], pcbX: "2.400046mm", pcbY: "4.899914mm", width: "0.3999992mm", height: "0.7999984mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin40"], pcbX: "1.599946mm", pcbY: "4.899914mm", width: "0.3999992mm", height: "0.7999984mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin41"], pcbX: "0.8001mm", pcbY: "4.899914mm", width: "0.3999992mm", height: "0.7999984mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin42"], pcbX: "0mm", pcbY: "4.899914mm", width: "0.3999992mm", height: "0.7999984mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin43"], pcbX: "-0.8001mm", pcbY: "4.899914mm", width: "0.3999992mm", height: "0.7999984mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin44"], pcbX: "-1.599946mm", pcbY: "4.899914mm", width: "0.3999992mm", height: "0.7999984mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin45"], pcbX: "-2.400046mm", pcbY: "4.899914mm", width: "0.3999992mm", height: "0.7999984mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin46"], pcbX: "-3.199892mm", pcbY: "4.899914mm", width: "0.3999992mm", height: "0.7999984mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin47"], pcbX: "-3.999992mm", pcbY: "4.899914mm", width: "0.3999992mm", height: "0.7999984mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin48"], pcbX: "-4.800092mm", pcbY: "4.899914mm", width: "0.3999992mm", height: "0.7999984mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin50"], pcbX: "5.94995mm", pcbY: "4.949952mm", width: "0.6999986mm", height: "0.6999986mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin51"], pcbX: "5.94995mm", pcbY: "-4.949952mm", width: "0.6999986mm", height: "0.6999986mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin52"], pcbX: "-5.94995mm", pcbY: "-4.949952mm", width: "0.6999986mm", height: "0.6999986mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin53"], pcbX: "-5.94995mm", pcbY: "4.949952mm", width: "0.6999986mm", height: "0.6999986mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin49"], points: [{ x: "-2.7001216mm", y: "2.099945mm" }, { x: "-2.1001228mm", y: "2.6999438mm" }, { x: "-1.2501372mm", y: "2.6999438mm" }, { x: "-1.2501372mm", y: "1.2499594mm" }, { x: "-2.7001216mm", y: "1.2499594mm" }], shape: "polygon" }), jsx("smtpad", { portHints: ["pin54"], pcbX: "1.97485mm", pcbY: "-1.975104mm", width: "1.4500098mm", height: "1.4500098mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin55"], pcbX: "0mm", pcbY: "-1.975104mm", width: "1.4500098mm", height: "1.4500098mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin56"], pcbX: "-1.975104mm", pcbY: "-1.975104mm", width: "1.4500098mm", height: "1.4500098mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin57"], pcbX: "-1.975104mm", pcbY: "0mm", width: "1.4500098mm", height: "1.4500098mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin58"], pcbX: "0mm", pcbY: "1.97485mm", width: "1.4500098mm", height: "1.4500098mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin59"], pcbX: "1.97485mm", pcbY: "1.97485mm", width: "1.4500098mm", height: "1.4500098mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin60"], pcbX: "1.97485mm", pcbY: "0mm", width: "1.4500098mm", height: "1.4500098mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin61"], pcbX: "0mm", pcbY: "0mm", width: "1.4500098mm", height: "1.4500098mm", shape: "rect" }), jsx("silkscreenpath", { route: [{ "x": 6.600012199999924, "y": -5.5999888000000055 }, { "x": 6.6000375999999505, "y": 11.000054200000022 }] }), jsx("silkscreenpath", { route: [{ "x": 6.6000375999999505, "y": 5.599988800000119 }, { "x": -6.6000375999999505, "y": 5.599988800000119 }] }), jsx("silkscreenpath", { route: [{ "x": -6.6000375999999505, "y": 11.000028799999995 }, { "x": 6.6000375999999505, "y": 11.000028799999995 }] }), jsx("silkscreenpath", { route: [{ "x": -6.600012200000037, "y": -5.5999888000000055 }, { "x": -6.6000375999999505, "y": 11.000028799999995 }] }), jsx("silkscreenpath", { route: [{ "x": -6.600012200000037, "y": -5.5999888000000055 }, { "x": 6.600012199999924, "y": -5.5999888000000055 }] }), jsx("silkscreencircle", { pcbX: "-6.999986mm", pcbY: "3.999992mm", radius: "0.100076mm" }), jsx("silkscreentext", { text: "{NAME}", pcbX: "-0.3429mm", pcbY: "12.0998mm", anchorAlignment: "center", fontSize: "1mm" }), jsx("fabricationnotepath", { route: [{ "x": -6.700012000000015, "y": 11.10000320000006 }, { "x": -6.700012000000015, "y": -5.700013999999896 }, { "x": 6.7000119999999015, "y": -5.700013999999896 }, { "x": 6.7000119999999015, "y": 11.10000320000006 }, { "x": -6.600012200000037, "y": 11.10000320000006 }, { "x": -6.50001240000006, "y": 10.900003599999991 }, { "x": 6.50001240000006, "y": 10.900003599999991 }, { "x": 6.50001240000006, "y": -5.500014399999941 }, { "x": -6.50001240000006, "y": -5.500014399999941 }, { "x": -6.50001240000006, "y": 10.900003599999991 }, { "x": -6.700012000000015, "y": 11.10000320000006 }], strokeWidth: "0.254mm" }), jsx("fabricationnotepath", { route: [{ "x": -6.50001240000006, "y": 5.700013999999896 }, { "x": -6.50001240000006, "y": 5.500014400000055 }, { "x": 6.50001240000006, "y": 5.500014400000055 }, { "x": 6.50001240000006, "y": 5.700013999999896 }, { "x": -6.50001240000006, "y": 5.700013999999896 }], strokeWidth: "0.254mm" }), jsx("courtyardoutline", { outline: [{ "x": -7.641399999999976, "y": 11.349800000000073 }, { "x": 6.955600000000004, "y": 11.349800000000073 }, { "x": 6.955600000000004, "y": -5.939599999999928 }, { "x": -7.641399999999976, "y": -5.939599999999928 }, { "x": -7.641399999999976, "y": 11.349800000000073 }] })] }), cadModel: {
            objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C41349510.obj?uuid=789e2235438340f8bef14c336f136f9e",
            stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C41349510.step?uuid=789e2235438340f8bef14c336f136f9e",
            pcbRotationOffset: 0,
            modelOriginPosition: { x: 0, y: -2.7150060000000167, z: 0 },
        }, ...props }));
};

const pinLabels$3 = {
    pin1: ["GND"],
    pin2: ["TXD"],
    pin3: ["RXD"],
    pin4: ["V3"],
    pin5: ["D_POS"],
    pin6: ["D_NEG"],
    pin7: ["pin7"],
    pin8: ["N_OUT"],
    pin9: ["N_CTS"],
    pin10: ["N_DSR"],
    pin11: ["N_RI"],
    pin12: ["N_DCD"],
    pin13: ["N_DTR"],
    pin14: ["N_RTS"],
    pin15: ["R232"],
    pin16: ["VCC"]
};
const pinAttributes$1 = {
    pin1: { requiresGround: true },
    pin16: { requiresPower: true }
};
const CH340C = (props) => {
    return (jsx("chip", { pinLabels: pinLabels$3, pinAttributes: pinAttributes$1, supplierPartNumbers: {
            "jlcpcb": [
                "C84681"
            ]
        }, manufacturerPartNumber: "CH340C", footprint: "dfn16_pillpads_w7.49mm_pw0.56mm_pl1.75mm_pin1location(leftside,bottom)", cadModel: {
            objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C84681.obj?uuid=07126628bc464d5389bb996c52812f54",
            stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C84681.step?uuid=07126628bc464d5389bb996c52812f54",
            pcbRotationOffset: 90,
            modelOriginPosition: { x: -12700000070253736e-21, y: 0, z: 0.000575 },
        }, ...props }));
};

const pinLabels$2 = {
    pin1: ["VIN"],
    pin2: ["GND"],
    pin3: ["EN"],
    pin4: ["NC"],
    pin5: ["VOUT"]
};
const pinAttributes = {
    pin1: { requiresPower: true },
    pin2: { requiresGround: true },
    pin4: { doNotConnect: true }
};
const AP2112K_3_3TRG1 = (props) => {
    return (jsx("chip", { pinLabels: pinLabels$2, pinAttributes: pinAttributes, supplierPartNumbers: {
            "jlcpcb": [
                "C51118"
            ]
        }, manufacturerPartNumber: "AP2112K-3.3TRG1", footprint: "dfn6_missing(5)_p0.95mm_w3.7mm_pw0.62mm_pl1.1mm_pin1location(leftside,bottom)", 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 }));
};

const pinLabels$1 = {
    pin1: ["B"],
    pin2: ["E"],
    pin3: ["C"]
};
const MMBT3904 = (props) => {
    return (jsx("chip", { pinLabels: pinLabels$1, supplierPartNumbers: {
            "jlcpcb": [
                "C7420353"
            ]
        }, manufacturerPartNumber: "MMBT3904", footprint: "sot23w_p1mm_pw0.65mm_pin1location(rightside,bottom)", cadModel: {
            objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C7420353.obj?uuid=d777607a152f4f3aac9bb0d0c14ed6fd",
            stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C7420353.step?uuid=d777607a152f4f3aac9bb0d0c14ed6fd",
            pcbRotationOffset: 180,
            modelOriginPosition: { x: 0.000012700000070253736, y: -12699999956566899e-21, z: 0.050795 },
        }, ...props }));
};

const pinLabels = {
    pin1: ["pin1"],
    pin2: ["pin2"]
};
const TS_1088_AR02016 = (props) => {
    const { name = "SW1", ...restProps } = props;
    return (jsx("pushbutton", { name: name, pinLabels: pinLabels, supplierPartNumbers: {
            "jlcpcb": [
                "C720477"
            ]
        }, manufacturerPartNumber: "TS-1088-AR02016", footprint: "smdpads2_p4.3698mm_pw1.23mm_ph1.86mm", cadModel: {
            objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C720477.obj?uuid=2e35dca8e7854ed683469f8d54d1ef17",
            stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C720477.step?uuid=2e35dca8e7854ed683469f8d54d1ef17",
            pcbRotationOffset: 0,
            modelOriginPosition: { x: 0, y: -12700000070253736e-21, z: 0 },
        }, ...restProps }));
};

const left = ['V3V3', 'GND', 'IO0', 'IO1', 'IO2', 'IO3', 'IO4', 'IO5', 'IO6', 'IO7'];
const right = ['VBUS', 'GND', 'EN', 'IO21', 'IO20', 'IO19', 'IO18', 'IO10', 'IO9', 'IO8'];
const resistors = [
    ['R1', '5.1k', -3, -15, 'USB', 'CC1', 'GND'],
    ['R2', '5.1k', 3, -15, 'USB', 'CC2', 'GND'],
    ['R3', '10k', -9.3, 7, 'MCU', 'V3V3', 'EN'],
    ['R4', '10k', 6, 3, 'MCU', 'V3V3', 'IO9'],
    ['R5', '10k', 3, 3, 'MCU', 'V3V3', 'IO8'],
    ['R6', '10k', -9.3, 10, 'MCU', 'V3V3', 'IO2'],
    ['R7', '10k', -4, -4, 'AUTO', 'DTR', 'BASE_EN'],
    ['R8', '10k', 4, -4, 'AUTO', 'RTS', 'BASE_BOOT'],
    ['R9', '1k', 8, 0, 'LED', 'IO10', 'LED_A'],
];
const capacitors = [
    ['C1', '10uF', -8, -11, 'POWER', 'VBUS'],
    ['C2', '10uF', -8, -5, 'POWER', 'V3V3'],
    ['C3', '10uF', -9.5, 13, 'MCU', 'V3V3'],
    ['C4', '100nF', -9.5, 15.5, 'MCU', 'V3V3'],
    ['C5', '1uF', -8, 4, 'MCU', 'EN'],
    ['C6', '100nF', 7, -9, 'USB', 'V3V3'],
    ['C7', '100nF', 0, -3, 'USB', 'V3V3'],
];
function Board() {
    return jsxs("board", { width: 30, height: 46, layers: 2, thickness: 1.6, minViaHoleDiameter: 0.3, minViaPadDiameter: 0.6, autorouter: "auto_local", minTraceWidth: 0.18, schAutoLayoutEnabled: true, children: [['USB', 'POWER', 'MCU', 'AUTO', 'LED', 'HEADERS'].map(name => jsx("schematicsection", { name: name }, name)), ['VBUS', 'V3V3', 'GND', 'CC1', 'CC2', 'USB_DP', 'USB_DM', 'DTR', 'RTS', 'EN', 'BASE_EN', 'BASE_BOOT', 'LED_A', ...Array.from({ length: 11 }, (_, i) => `IO${i}`), 'IO18', 'IO19', 'IO20', 'IO21'].map(name => jsx("net", { name: name }, name)), jsx(TYPE_C_16PIN_2MD_073_, { name: "J1", schWidth: 1.2, schPinArrangement: { rightSide: { pins: [16, 25, 18, 24, 20, 22, 21, 19, 23, 17, 15, 26, 13, 14, 27, 28], direction: "top-to-bottom" } }, pcbX: 0, pcbY: -19.2, pcbRotation: 0, schSectionName: "USB", connections: { VBUS1: 'net.VBUS', VBUS2: 'net.VBUS', GND1: 'net.GND', GND2: 'net.GND', SHELL1: 'net.GND', SHELL2: 'net.GND', SHELL3: 'net.GND', SHELL4: 'net.GND', CC1: 'net.CC1', CC2: 'net.CC2', DP1: 'net.USB_DP', DP2: 'net.USB_DP', DM1: 'net.USB_DM', DM2: 'net.USB_DM' } }), jsx(CH340C, { name: "U2", pcbX: 0, pcbY: -9, schSectionName: "USB", connections: { GND: 'net.GND', VCC: 'net.V3V3', V3: 'net.V3V3', D_POS: 'net.USB_DP', D_NEG: 'net.USB_DM', TXD: 'net.IO20', RXD: 'net.IO21', N_DTR: 'net.DTR', N_RTS: 'net.RTS' } }), jsx(AP2112K_3_3TRG1, { name: "U3", schHeight: 0.6, pcbX: -8, pcbY: -8, schSectionName: "POWER", connections: { VIN: 'net.VBUS', EN: 'net.VBUS', GND: 'net.GND', VOUT: 'net.V3V3' } }), jsx(ESP32_C3_MINI_1_H4X, { name: "U1", schHeight: 6.2, pcbX: 0, pcbY: 11, schSectionName: "MCU", connections: { '3V3': 'net.V3V3', EN: 'net.EN', RXD0: 'net.IO20', TXD0: 'net.IO21', ...Object.fromEntries([...Array.from({ length: 11 }, (_, i) => i), 18, 19].map(i => [`IO${i}`, `net.IO${i}`])), ...Object.fromEntries(Array.from({ length: 30 }, (_, i) => [`GND${i + 1}`, 'net.GND'])) } }), jsx(MMBT3904, { name: "Q1", schHeight: 0.4, pcbX: -4, pcbY: 0, schSectionName: "AUTO", connections: { B: 'net.BASE_EN', E: 'net.RTS', C: 'net.EN' } }), jsx(MMBT3904, { name: "Q2", schHeight: 0.4, pcbX: 4, pcbY: 0, schSectionName: "AUTO", connections: { B: 'net.BASE_BOOT', E: 'net.DTR', C: 'net.IO9' } }), jsx(TS_1088_AR02016, { name: "SW1", pcbX: -9, pcbY: -19.5, schSectionName: "AUTO", connections: { pin1: 'net.IO9', pin2: 'net.GND' } }), jsx(TS_1088_AR02016, { name: "SW2", pcbX: 9, pcbY: -19.5, schSectionName: "AUTO", connections: { pin1: 'net.EN', pin2: 'net.GND' } }), jsx("led", { name: "D1", color: "green", footprint: "0603", pcbX: 8, pcbY: -3, schSectionName: "LED", connections: { anode: 'net.LED_A', cathode: 'net.GND' } }), resistors.map(([name, resistance, pcbX, pcbY, section, a, b]) => jsx("resistor", { name: name, resistance: resistance, footprint: "0603", pcbX: pcbX, pcbY: pcbY, schSectionName: section, connections: { pin1: `net.${a}`, pin2: `net.${b}` } }, name)), capacitors.map(([name, capacitance, pcbX, pcbY, section, a]) => jsx("capacitor", { schOrientation: "vertical", name: name, capacitance: capacitance, voltageRating: 10, footprint: "0603", pcbX: pcbX, pcbY: pcbY, schSectionName: section, connections: { pin1: `net.${a}`, pin2: 'net.GND' } }, name)), [left, right].map((nets, i) => jsx("pinheader", { name: `J${i + 2}`, pinCount: 10, pitch: 2.54, pcbRotation: 90, pcbX: i === 0 ? -12.7 : 12.7, pcbY: -3, schSectionName: "HEADERS", pcbPinLabels: Object.fromEntries(nets.map((n, j) => [`pin${j + 1}`, n])), connections: Object.fromEntries(nets.map((n, j) => [`pin${j + 1}`, `net.${n}`])) }, i)), jsx("keepout", { shape: "rect", pcbX: 0, pcbY: 19.8, width: 30, height: 6.4, layers: ['top', 'bottom'] }), ['top', 'bottom'].map(layer => jsx("copperpour", { name: `GND_${layer}`, layer: layer, connectsTo: "net.GND", clearance: 0.2, boardEdgeMargin: 0.3, outline: [{ x: -14.7, y: -22.7 }, { x: 14.7, y: -22.7 }, { x: 14.7, y: 16.5 }, { x: -14.7, y: 16.5 }] }, layer)), [left, right].map((nets, i) => nets.map((n, j) => jsx("silkscreentext", { text: n.replace("V3V3", "3V3").replace("IO", ""), pcbX: i === 0 ? -14.1 : 14.1, pcbY: -14.43 + j * 2.54, pcbRotation: 90, fontSize: 0.65 }, `label-${i}-${j}`))), jsx("silkscreentext", { text: "C3 DEV", pcbX: 0, pcbY: 15.5, fontSize: 1 }), jsx("silkscreentext", { text: "BOOT", pcbX: -9, pcbY: -22, fontSize: 0.8 }), jsx("silkscreentext", { text: "RESET", pcbX: 9, pcbY: -22, fontSize: 0.8 })] });
}

export { Board as default };