gokul/musegrow
USB‑C powered ESP32‑C3 controller board with regulated 3.3 V supply, USB ESD protection, buttons/status LEDs, ambient-light I²C sensing, and a 555-driven capacitive soil-moisture electrode.
- Version
- 1.2.2
- License
- unset
- Stars
- 1
dist/index.cjs
'use strict';
var jsxRuntime = require('react/jsx-runtime');
const pinLabels$9 = {
pin1: ["3V3"],
pin2: ["EN"],
pin3: ["IO4"],
pin4: ["IO5"],
pin5: ["IO6"],
pin6: ["IO7"],
pin7: ["IO8"],
pin8: ["IO9"],
pin9: ["GND"],
pin10: ["IO10"],
pin11: ["RXD"],
pin12: ["TXD"],
pin13: ["IO18"],
pin14: ["IO19"],
pin15: ["IO3"],
pin16: ["IO2"],
pin17: ["IO1"],
pin18: ["IO0"],
pin19: ["EP"]
};
const pinAttributes$4 = {
pin1: { requiresPower: true },
pin9: { requiresGround: true },
pin19: { requiresGround: true },
};
const ESP32_C3_WROOM_02_N4 = (props) => {
return (jsxRuntime.jsx("chip", { pinLabels: pinLabels$9, pinAttributes: pinAttributes$4, supplierPartNumbers: {
"jlcpcb": [
"C2934560"
]
}, manufacturerPartNumber: "ESP32-C3-WROOM-02-N4", footprint: jsxRuntime.jsxs("footprint", { children: [jsxRuntime.jsx("smtpad", { portHints: ["pin1"], pcbX: "-8.750046mm", pcbY: "5.999988mm", width: "1.999996mm", height: "0.999998mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin2"], pcbX: "-8.750046mm", pcbY: "4.500118mm", width: "1.999996mm", height: "0.999998mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin3"], pcbX: "-8.750046mm", pcbY: "2.999994mm", width: "1.999996mm", height: "0.999998mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin4"], pcbX: "-8.750046mm", pcbY: "1.500124mm", width: "1.999996mm", height: "0.999998mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin5"], pcbX: "-8.750046mm", pcbY: "0mm", width: "1.999996mm", height: "0.999998mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin6"], pcbX: "-8.750046mm", pcbY: "-1.49987mm", width: "1.999996mm", height: "0.999998mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin7"], pcbX: "-8.750046mm", pcbY: "-2.999994mm", width: "1.999996mm", height: "0.999998mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin8"], pcbX: "-8.750046mm", pcbY: "-4.499864mm", width: "1.999996mm", height: "0.999998mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin9"], pcbX: "-8.750046mm", pcbY: "-5.999988mm", width: "1.999996mm", height: "0.999998mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin10"], pcbX: "8.750046mm", pcbY: "-5.999988mm", width: "1.999996mm", height: "0.999998mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin11"], pcbX: "8.750046mm", pcbY: "-4.499864mm", width: "1.999996mm", height: "0.999998mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin12"], pcbX: "8.750046mm", pcbY: "-2.999994mm", width: "1.999996mm", height: "0.999998mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin13"], pcbX: "8.750046mm", pcbY: "-1.49987mm", width: "1.999996mm", height: "0.999998mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin14"], pcbX: "8.750046mm", pcbY: "0mm", width: "1.999996mm", height: "0.999998mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin15"], pcbX: "8.750046mm", pcbY: "1.500124mm", width: "1.999996mm", height: "0.999998mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin16"], pcbX: "8.750046mm", pcbY: "2.999994mm", width: "1.999996mm", height: "0.999998mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin17"], pcbX: "8.750046mm", pcbY: "4.500118mm", width: "1.999996mm", height: "0.999998mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin18"], pcbX: "8.750046mm", pcbY: "5.999988mm", width: "1.999996mm", height: "0.999998mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin19"], pcbX: "-0.139954mm", pcbY: "0.900176mm", width: "0.6999986mm", height: "0.6999986mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin19"], pcbX: "-0.139954mm", pcbY: "-0.199898mm", width: "0.6999986mm", height: "0.6999986mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin19"], pcbX: "-0.139954mm", pcbY: "-1.299972mm", width: "0.6999986mm", height: "0.6999986mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin19"], pcbX: "0.959866mm", pcbY: "0.900176mm", width: "0.6999986mm", height: "0.6999986mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin19"], pcbX: "0.959866mm", pcbY: "-0.199898mm", width: "0.6999986mm", height: "0.6999986mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin19"], pcbX: "0.959866mm", pcbY: "-1.299972mm", width: "0.6999986mm", height: "0.6999986mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin19"], pcbX: "2.05994mm", pcbY: "-1.299972mm", width: "0.6999986mm", height: "0.6999986mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin19"], pcbX: "2.05994mm", pcbY: "-0.199898mm", width: "0.6999986mm", height: "0.6999986mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin19"], pcbX: "2.05994mm", pcbY: "0.900176mm", width: "0.6999986mm", height: "0.6999986mm", shape: "rect" }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 9.000007399999959, "y": 6.654241200000001 }, { "x": 9.000007399999959, "y": 13.100100800000064 }, { "x": -9.000007400000072, "y": 13.100100800000064 }, { "x": -9.000007400000072, "y": 6.654241200000001 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -9.000007400000072, "y": 7.100087400000007 }, { "x": 9.000007399999959, "y": 7.100087400000007 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -9.000007400000072, "y": -6.654038000000014 }, { "x": -9.000007400000072, "y": -6.899909999999977 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -9.000007400000072, "y": -5.15409180000006 }, { "x": -9.000007400000072, "y": -5.345785599999999 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -9.000007400000072, "y": -3.6540948000000526 }, { "x": -9.000007400000072, "y": -3.8457885999999917 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -9.000007400000072, "y": -2.154097800000045 }, { "x": -9.000007400000072, "y": -2.345791599999984 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -9.000007400000072, "y": -0.6540499999998701 }, { "x": -9.000007400000072, "y": -0.8457691999999497 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -9.000007400000072, "y": 0.8459723999999369 }, { "x": -9.000007400000072, "y": 0.6542278000000579 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -9.000007400000072, "y": 2.3458931999999777 }, { "x": -9.000007400000072, "y": 2.154224800000179 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -9.000007400000072, "y": 3.845915600000012 }, { "x": -9.000007400000072, "y": 3.654221800000073 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -9.000007400000072, "y": 5.345912599999906 }, { "x": -9.000007400000072, "y": 5.154218799999967 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 9.000007399999959, "y": 5.154218799999967 }, { "x": 9.000007399999959, "y": 5.345912599999906 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 9.000007399999959, "y": 3.654221800000073 }, { "x": 9.000007399999959, "y": 3.845915600000012 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 9.000007399999959, "y": 2.154224800000179 }, { "x": 9.000007399999959, "y": 2.3458931999999777 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 9.000007399999959, "y": 0.6542278000000579 }, { "x": 9.000007399999959, "y": 0.8459723999999369 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 9.000007399999959, "y": -0.8457691999999497 }, { "x": 9.000007399999959, "y": -0.6540499999998701 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 9.000007399999959, "y": -2.345791599999984 }, { "x": 9.000007399999959, "y": -2.154097800000045 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 9.000007399999959, "y": -3.8457885999999917 }, { "x": 9.000007399999959, "y": -3.6540948000000526 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 9.000007399999959, "y": -5.345785599999999 }, { "x": 9.000007399999959, "y": -5.15409180000006 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -9.000007400000072, "y": -6.899909999999977 }, { "x": 9.000007399999959, "y": -6.899909999999977 }, { "x": 9.000007399999959, "y": -6.654038000000014 }] }), jsxRuntime.jsx("silkscreencircle", { pcbX: "-9.779mm", pcbY: "7.366mm", radius: "0.249936mm" }), jsxRuntime.jsx("silkscreentext", { text: "ANTENNA", pcbX: "-6.500114mm", pcbY: "9.100058mm", anchorAlignment: "bottom_left", fontSize: "2.032mm" }), jsxRuntime.jsx("silkscreentext", { text: "{NAME}", pcbX: "-0.1397mm", pcbY: "14.208mm", anchorAlignment: "center", fontSize: "1mm" }), jsxRuntime.jsx("fabricationnotepath", { route: [{ "x": -9.100007199999823, "y": 6.650024799999983 }, { "x": -9.100007199999823, "y": 13.050012000000038 }, { "x": -8.950020199999926, "y": 13.199998999999934 }, { "x": 8.89995680000004, "y": 13.199998999999934 }, { "x": 9.099956399999883, "y": 12.999999399999979 }, { "x": 9.099956399999883, "y": 6.849999000000025 }, { "x": 8.89995680000004, "y": 6.849999000000025 }, { "x": 8.89995680000004, "y": 12.999999399999979 }, { "x": -8.90000759999998, "y": 12.999999399999979 }, { "x": -8.90000759999998, "y": 6.700012000000129 }, { "x": -8.90000759999998, "y": 6.650024799999983 }, { "x": -9.100007199999823, "y": 6.650024799999983 }], strokeWidth: "0.254mm" }), jsxRuntime.jsx("courtyardoutline", { outline: [{ "x": -10.000043999999889, "y": 13.349999199999957 }, { "x": 10.000044000000003, "y": 13.349999199999957 }, { "x": 10.000044000000003, "y": -7.149960799999917 }, { "x": -10.000043999999889, "y": -7.149960799999917 }, { "x": -10.000043999999889, "y": 13.349999199999957 }] })] }), cadModel: {
objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C2934560.obj?uuid=3af5773cc1904a9197e0ebbdc043a5ad",
stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C2934560.step?uuid=3af5773cc1904a9197e0ebbdc043a5ad",
pcbRotationOffset: 0,
modelOriginPosition: { x: 0.000025399999913133797, y: -3.1000192000000197, z: -0.01 },
}, ...props }));
};
const pinLabels$8 = {
pin1: ["A"],
pin2: ["B"],
pin3: ["C"],
pin4: ["D"]
};
const TS_1187A_B_A_B = (props) => {
const { name = "SW1", ...restProps } = props;
return (jsxRuntime.jsx("pushbutton", { name: name, pinLabels: pinLabels$8, supplierPartNumbers: {
"jlcpcb": [
"C318884"
]
}, manufacturerPartNumber: "TS-1187A-B-A-B", footprint: jsxRuntime.jsxs("footprint", { children: [jsxRuntime.jsx("smtpad", { portHints: ["pin1"], pcbX: "-2.999994mm", pcbY: "1.849882mm", width: "0.999998mm", height: "0.7500112mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin2"], pcbX: "2.999994mm", pcbY: "1.849882mm", width: "0.999998mm", height: "0.7500112mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin3"], pcbX: "-2.999994mm", pcbY: "-1.849882mm", width: "0.999998mm", height: "0.7500112mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin4"], pcbX: "2.999994mm", pcbY: "-1.849882mm", width: "0.999998mm", height: "0.7500112mm", shape: "rect" }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -1.0007600000001275, "y": 1.800860000000057 }, { "x": 0.899159999999938, "y": 1.800860000000057 }, { "x": 1.8008599999999433, "y": 0.899159999999938 }, { "x": 1.8008599999999433, "y": -0.899159999999938 }, { "x": 0.8000999999999294, "y": -1.8999199999999519 }, { "x": -0.8991600000000517, "y": -1.8999199999999519 }, { "x": -1.800860000000057, "y": -0.9982199999999466 }, { "x": -1.800860000000057, "y": 1.0007600000000139 }, { "x": -1.0007600000001275, "y": 1.800860000000057 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 1.2750800000000027, "y": 2.550160000000119 }, { "x": 2.1701506000000563, "y": 1.6550893999999516 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 2.5501599999998916, "y": 1.1684000000000196 }, { "x": 2.5501599999998916, "y": -1.1684000000000196 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 2.1701506000000563, "y": -1.6550893999999516 }, { "x": 1.2750800000000027, "y": -2.5501600000000053 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -2.5501600000000053, "y": 1.1684000000000196 }, { "x": -2.5501600000000053, "y": -1.1684000000000196 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -2.17015060000017, "y": -1.6550893999999516 }, { "x": -1.2750800000000027, "y": -2.5501600000000053 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -1.2750800000000027, "y": 2.550160000000119 }, { "x": -2.17015060000017, "y": 1.6550893999999516 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -1.2750800000000027, "y": -2.5501600000000053 }, { "x": 1.2750800000000027, "y": -2.5501600000000053 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -1.2750800000000027, "y": 2.550160000000119 }, { "x": 1.2750800000000027, "y": 2.550160000000119 }] }), jsxRuntime.jsx("silkscreencircle", { pcbX: "0mm", pcbY: "0mm", radius: "1.27508mm" }), jsxRuntime.jsx("silkscreentext", { text: "{NAME}", pcbX: "0mm", pcbY: "3.5908mm", anchorAlignment: "center", fontSize: "1mm" }), jsxRuntime.jsx("courtyardoutline", { outline: [{ "x": -3.7499930000000177, "y": 2.8499947999999904 }, { "x": 3.7499930000000177, "y": 2.8499947999999904 }, { "x": 3.7499930000000177, "y": -2.8499947999998767 }, { "x": -3.7499930000000177, "y": -2.8499947999998767 }, { "x": -3.7499930000000177, "y": 2.8499947999999904 }] })] }), cadModel: {
objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C318884.obj?uuid=91b67c1735f643ffb2e7226c23dd3492",
stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C318884.step?uuid=91b67c1735f643ffb2e7226c23dd3492",
pcbRotationOffset: 0,
modelOriginPosition: { x: 0.000012700000070253736, y: 0.0004999999999999449, z: -0.05 },
}, ...restProps }));
};
const pinLabels$7 = {
pin1: ["cathode", "neg"],
pin2: ["anode", "pos"]
};
const XL_1608UBC_04 = (props) => {
const { name = "LED1", ...restProps } = props;
return (jsxRuntime.jsx("led", { name: name, pinLabels: pinLabels$7, supplierPartNumbers: {
"jlcpcb": [
"C965807"
]
}, manufacturerPartNumber: "XL-1608UBC-04", footprint: jsxRuntime.jsxs("footprint", { children: [jsxRuntime.jsx("smtpad", { portHints: ["pin1", "cathode", "neg"], pcbX: "-0.7489952mm", pcbY: "-0.003556mm", width: "0.7999984mm", height: "0.7999984mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin2", "anode", "pos"], pcbX: "0.7489952mm", pcbY: "0.003556mm", width: "0.7999984mm", height: "0.7999984mm", shape: "rect" }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 0.2204212000000325, "y": -0.32346899999993184 }, { "x": 0.210464399999978, "y": -0.32346899999993184 }, { "x": -0.11958319999996547, "y": 0.006578600000011647 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 0.2204212000000325, "y": 0.35656519999997727 }, { "x": 0.2204212000000325, "y": 0.34658300000000963 }, { "x": -0.11958319999996547, "y": 0.006578600000011647 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 0.2204212000000325, "y": 0.35656519999997727 }, { "x": 0.2204212000000325, "y": -0.32346899999993184 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 0.24046180000004824, "y": 0.7566405999999688 }, { "x": 1.3904721999999765, "y": 0.7566405999999688 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 0.24046180000004824, "y": -0.7434834000000592 }, { "x": 1.3904721999999765, "y": -0.7434834000000592 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 1.3904721999999765, "y": 0.7565390000000889 }, { "x": 1.3904721999999765, "y": -0.7233919999999898 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -0.1395476000001281, "y": -0.7457948000001124 }, { "x": -1.1896597999998448, "y": -0.7457948000001124 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -1.4896084000000656, "y": -0.3457194000000072 }, { "x": -1.4896084000000656, "y": -0.4457446000001255 }, { "x": -1.1896597999998448, "y": -0.7457948000001124 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -1.4896084000000656, "y": 0.3542284000000109 }, { "x": -1.4896084000000656, "y": -0.3457194000000072 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -1.4896084000000656, "y": 0.3542284000000109 }, { "x": -1.4896084000000656, "y": 0.4543805999999222 }, { "x": -1.1896597999998448, "y": 0.7543292000000292 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -0.1395476000001281, "y": 0.7543292000000292 }, { "x": -1.1896597999998448, "y": 0.7543292000000292 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 0.2204212000000325, "y": 0.006578600000011647 }, { "x": -0.11958319999996547, "y": 0.006578600000011647 }] }), jsxRuntime.jsx("silkscreentext", { text: "{NAME}", pcbX: "-0.0543052mm", pcbY: "1.761238mm", anchorAlignment: "center", fontSize: "1mm" }), jsxRuntime.jsx("fabricationnotepath", { route: [{ "x": 0.5289295999999695, "y": 0.06842760000006365 }, { "x": 1.0689336000000367, "y": 0.06842760000006365 }, { "x": 1.0689336000000367, "y": -0.06156959999998435 }, { "x": 0.5289295999999695, "y": -0.06156959999998435 }, { "x": 0.5289295999999695, "y": 0.06842760000006365 }], strokeWidth: "0.254mm" }), jsxRuntime.jsx("fabricationnotepath", { route: [{ "x": 0.7345679999999675, "y": -0.267030200000022 }, { "x": 0.7345679999999675, "y": 0.27297380000004523 }, { "x": 0.8645398000001023, "y": 0.27297380000004523 }, { "x": 0.8645398000001023, "y": -0.267030200000022 }, { "x": 0.7345679999999675, "y": -0.267030200000022 }], strokeWidth: "0.254mm" }), jsxRuntime.jsx("fabricationnotepath", { route: [{ "x": -1.0700003999999126, "y": 0.06156959999998435 }, { "x": -0.5299964000000728, "y": 0.06156959999998435 }, { "x": -0.5299964000000728, "y": -0.06842759999994996 }, { "x": -1.0700003999999126, "y": -0.06842759999994996 }, { "x": -1.0700003999999126, "y": 0.06156959999998435 }], strokeWidth: "0.254mm" }), jsxRuntime.jsx("courtyardoutline", { outline: [{ "x": -1.3989943999999923, "y": 0.6535551999999143 }, { "x": 1.3989943999999923, "y": 0.6535551999999143 }, { "x": 1.3989943999999923, "y": -0.6535551999999143 }, { "x": -1.3989943999999923, "y": -0.6535551999999143 }, { "x": -1.3989943999999923, "y": 0.6535551999999143 }] })] }), cadModel: {
objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C965807.obj?uuid=bfb81b195f37496bb30ade8d51870f96",
stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C965807.step?uuid=bfb81b195f37496bb30ade8d51870f96",
pcbRotationOffset: 0,
modelOriginPosition: { x: -12700000070253736e-21, y: -5080000005364127e-20, z: -0.01 },
}, ...restProps }));
};
const TestPoint = (props) => (jsxRuntime.jsx("testpoint", { ...props, doNotPlace: true, footprintVariant: "pad", footprint: jsxRuntime.jsxs("footprint", { children: [jsxRuntime.jsx("smtpad", { portHints: ["pin1"], pcbX: 0, pcbY: 0, radius: "0.5mm", shape: "circle" }), jsxRuntime.jsx("courtyardoutline", { outline: [
{ x: -0.75, y: -0.75 },
{ x: 0.75, y: -0.75 },
{ x: 0.75, y: 0.75 },
{ x: -0.75, y: 0.75 },
{ x: -0.75, y: -0.75 },
] })] }) }));
const resistor10kSupplierPartNumbers = { jlcpcb: ["C25804"] };
const resistor1kSupplierPartNumbers = { jlcpcb: ["C21190"] };
const ButtonToGround = (props) => (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsx(TS_1187A_B_A_B, { name: props.name, pcbX: props.pcbX, pcbY: props.pcbY }), jsxRuntime.jsx("trace", { from: `${props.name}.A`, to: props.signalNet }), jsxRuntime.jsx("trace", { from: `${props.name}.C`, to: props.signalNet }), jsxRuntime.jsx("trace", { from: `${props.name}.B`, to: "net.GND" }), jsxRuntime.jsx("trace", { from: `${props.name}.D`, to: "net.GND" })] }));
const ControllerSheet = () => (jsxRuntime.jsxs("schematicsheet", { name: "controller", displayName: "Controller and Controls", sheetIndex: 1, sheetSize: "A4", children: [jsxRuntime.jsx(ESP32_C3_WROOM_02_N4, { name: "U1", pcbX: 0, pcbY: 28 }), jsxRuntime.jsx("capacitor", { name: "C4", capacitance: "100nF", footprint: "0603", pcbX: -12.5, pcbY: 35.8, supplierPartNumbers: { jlcpcb: ["C14663"] } }), jsxRuntime.jsx("capacitor", { name: "C5", capacitance: "10uF", footprint: "0805", pcbX: -16, pcbY: 38.5, pcbRotation: 180, supplierPartNumbers: { jlcpcb: ["C15850"] } }), jsxRuntime.jsx("resistor", { name: "R6", resistance: "10k", footprint: "0603", pcbX: -12.5, pcbY: 32.5, supplierPartNumbers: resistor10kSupplierPartNumbers }), jsxRuntime.jsx("capacitor", { name: "C6", capacitance: "1uF", footprint: "0603", pcbX: -12.5, pcbY: 29.75, pcbRotation: 180, supplierPartNumbers: { jlcpcb: ["C113807"] } }), jsxRuntime.jsx(ButtonToGround, { name: "SW1", signalNet: "net.MCU_EN", pcbX: -18, pcbY: 33 }), jsxRuntime.jsx("resistor", { name: "R7", resistance: "10k", footprint: "0603", pcbX: -12.5, pcbY: 26.5, supplierPartNumbers: resistor10kSupplierPartNumbers }), jsxRuntime.jsx(ButtonToGround, { name: "SW2", signalNet: "net.MCU_BOOT", pcbX: -18, pcbY: 26.5 }), jsxRuntime.jsx("resistor", { name: "R8", resistance: "10k", footprint: "0603", pcbX: 12.5, pcbY: 25, supplierPartNumbers: resistor10kSupplierPartNumbers }), jsxRuntime.jsx(ButtonToGround, { name: "SW3", signalNet: "net.USER_BUTTON", pcbX: 18, pcbY: 26.5 }), jsxRuntime.jsx("resistor", { name: "R9", resistance: "10k", footprint: "0603", pcbX: -12.5, pcbY: 23, supplierPartNumbers: resistor10kSupplierPartNumbers }), jsxRuntime.jsx("resistor", { name: "R10", resistance: "10k", footprint: "0603", pcbX: 12.5, pcbY: 27.5, supplierPartNumbers: resistor10kSupplierPartNumbers }), jsxRuntime.jsx("resistor", { name: "R11", resistance: "1k", footprint: "0603", pcbX: 12, pcbY: 32, supplierPartNumbers: resistor1kSupplierPartNumbers }), jsxRuntime.jsx(XL_1608UBC_04, { name: "LED2", color: "blue", pcbX: 15, pcbY: 32 }), jsxRuntime.jsx(TestPoint, { name: "TP4", pcbX: 13, pcbY: 22.5 }), jsxRuntime.jsx(TestPoint, { name: "TP5", pcbX: 16, pcbY: 22.5 }), jsxRuntime.jsx(TestPoint, { name: "TP6", pcbX: -12.5, pcbY: 20 }), jsxRuntime.jsx("trace", { from: "U1.3V3", to: "net.V3_3" }), jsxRuntime.jsx("trace", { from: "U1.GND", to: "net.GND" }), jsxRuntime.jsx("trace", { from: "U1.EP", to: "net.GND" }), jsxRuntime.jsx("trace", { from: "C4.pin1", to: "net.V3_3" }), jsxRuntime.jsx("trace", { from: "C4.pin2", to: "net.GND" }), jsxRuntime.jsx("trace", { from: "C5.pin1", to: "net.V3_3" }), jsxRuntime.jsx("trace", { from: "C5.pin2", to: "net.GND" }), jsxRuntime.jsx("trace", { from: "U1.EN", to: "net.MCU_EN" }), jsxRuntime.jsx("trace", { from: "R6.pin1", to: "net.V3_3" }), jsxRuntime.jsx("trace", { from: "R6.pin2", to: "net.MCU_EN" }), jsxRuntime.jsx("trace", { from: "C6.pin1", to: "net.MCU_EN" }), jsxRuntime.jsx("trace", { from: "C6.pin2", to: "net.GND" }), jsxRuntime.jsx("trace", { from: "U1.IO9", to: "net.MCU_BOOT" }), jsxRuntime.jsx("trace", { from: "R7.pin1", to: "net.V3_3" }), jsxRuntime.jsx("trace", { from: "R7.pin2", to: "net.MCU_BOOT" }), jsxRuntime.jsx("trace", { from: "U1.IO3", to: "net.USER_BUTTON" }), jsxRuntime.jsx("trace", { from: "R8.pin1", to: "net.V3_3" }), jsxRuntime.jsx("trace", { from: "R8.pin2", to: "net.USER_BUTTON" }), jsxRuntime.jsx("trace", { from: "U1.IO8", to: "net.STRAP_IO8" }), jsxRuntime.jsx("trace", { from: "R9.pin2", to: "net.STRAP_IO8" }), jsxRuntime.jsx("trace", { from: "R9.pin1", to: "net.V3_3" }), jsxRuntime.jsx("trace", { name: "IO2_PULL", from: "U1.IO2", to: "R10.pin2" }), jsxRuntime.jsx("trace", { from: "R10.pin1", to: "net.V3_3" }), jsxRuntime.jsx("trace", { from: "U1.IO4", to: "net.STATUS_LED_DRIVE" }), jsxRuntime.jsx("trace", { from: "R11.pin1", to: "net.STATUS_LED_DRIVE" }), jsxRuntime.jsx("trace", { from: "R11.pin2", to: "net.STATUS_LED_ANODE" }), jsxRuntime.jsx("trace", { from: "LED2.pos", to: "net.STATUS_LED_ANODE" }), jsxRuntime.jsx("trace", { from: "LED2.neg", to: "net.GND" }), jsxRuntime.jsx("trace", { from: "U1.IO5", to: "net.I2C_SDA" }), jsxRuntime.jsx("trace", { from: "U1.IO6", to: "net.I2C_SCL" }), jsxRuntime.jsx("trace", { from: "U1.IO18", to: "net.USB_DN" }), jsxRuntime.jsx("trace", { from: "U1.IO19", to: "net.USB_DP" }), jsxRuntime.jsx("trace", { from: "U1.IO1", to: "net.SOIL_FREQ" }), jsxRuntime.jsx("trace", { name: "RX_TP", from: "U1.RXD", to: "TP4.pin1" }), jsxRuntime.jsx("trace", { name: "TX_TP", from: "U1.TXD", to: "TP5.pin1" }), jsxRuntime.jsx("trace", { from: "TP6.pin1", to: "net.MCU_EN" })] }));
const pinLabels$6 = {
pin1: ["VIN"],
pin2: ["GND"],
pin3: ["EN"],
pin4: ["NC"],
pin5: ["VOUT"]
};
const pinAttributes$3 = {
pin1: { requiresPower: true },
pin2: { requiresGround: true },
pin4: { doNotConnect: true }
};
const AP2112K_3_3TRG1 = (props) => {
return (jsxRuntime.jsx("chip", { pinLabels: pinLabels$6, pinAttributes: pinAttributes$3, 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 }));
};
const pinLabels$5 = {
pin1: ["C", "cathode", "neg"],
pin2: ["A", "anode", "pos"]
};
const ESD5Z5V0 = (props) => {
return (jsxRuntime.jsx("diode", { variant: "tvs", pinLabels: pinLabels$5, supplierPartNumbers: {
"jlcpcb": [
"C502546"
]
}, manufacturerPartNumber: "ESD5Z5V0", footprint: jsxRuntime.jsxs("footprint", { children: [jsxRuntime.jsx("smtpad", { portHints: ["pin1"], points: [{ x: "-1.016mm", y: "0.2463038mm" }, { x: "-0.4064mm", y: "0.2463038mm" }, { x: "-0.4064mm", y: "-0.2362962mm" }, { x: "-1.016mm", y: "-0.2362962mm" }], shape: "polygon" }), jsxRuntime.jsx("smtpad", { portHints: ["pin2"], points: [{ x: "0.4064mm", y: "0.2362962mm" }, { x: "1.016mm", y: "0.2362962mm" }, { x: "1.016mm", y: "-0.2463038mm" }, { x: "0.4064mm", y: "-0.2463038mm" }], shape: "polygon" }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 0.6602730000000037, "y": -0.3261614000000037 }, { "x": 0.6602730000000037, "y": -0.43185080000000653 }, { "x": -0.6605270000000019, "y": -0.43185080000000653 }, { "x": -0.6603999999999814, "y": -0.43180000000000973 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -0.6603999999999814, "y": 0.4317999999999955 }, { "x": -0.6603999999999814, "y": 0.4317999999999955 }, { "x": 0.6604000000000099, "y": 0.4317999999999955 }, { "x": 0.6604000000000099, "y": 0.3301999999999907 }] }), jsxRuntime.jsx("silkscreentext", { text: "{NAME}", pcbX: "-0.000127mm", pcbY: "1.4866386mm", anchorAlignment: "center", fontSize: "1mm" }), jsxRuntime.jsx("fabricationnotepath", { route: [{ "x": -0.8889999999999816, "y": 0.10563859999999181 }, { "x": -0.4825999999999908, "y": 0.10563859999999181 }, { "x": -0.4825999999999908, "y": 0.004038599999987014 }, { "x": -0.8889999999999816, "y": 0.004038599999987014 }, { "x": -0.8889999999999816, "y": 0.10563859999999181 }], strokeWidth: "0.254mm" }), jsxRuntime.jsx("fabricationnotepath", { route: [{ "x": 0.5588000000000051, "y": 0.08023859999998706 }, { "x": 0.9906000000000148, "y": 0.08023859999998706 }, { "x": 0.9906000000000148, "y": 0.004038599999987014 }, { "x": 0.5588000000000051, "y": 0.004038599999987014 }, { "x": 0.5588000000000051, "y": 0.08023859999998706 }], strokeWidth: "0.254mm" }), jsxRuntime.jsx("fabricationnotepath", { route: [{ "x": 0.7239000000000146, "y": -0.1864614000000131 }, { "x": 0.7239000000000146, "y": 0.24533859999999663 }, { "x": 0.8001000000000147, "y": 0.24533859999999663 }, { "x": 0.8001000000000147, "y": -0.1864614000000131 }, { "x": 0.7239000000000146, "y": -0.1864614000000131 }], strokeWidth: "0.254mm" }), jsxRuntime.jsx("courtyardoutline", { outline: [{ "x": -1.2659999999999911, "y": 0.6540377999999833 }, { "x": 1.2660000000000053, "y": 0.6540377999999833 }, { "x": 1.2660000000000053, "y": -0.6459605999999951 }, { "x": -1.2659999999999911, "y": -0.6459605999999951 }, { "x": -1.2659999999999911, "y": 0.6540377999999833 }] })] }), cadModel: {
objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C502546.obj?uuid=84cf6c2b182949329e473e9158b1fb00",
stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C502546.step?uuid=84cf6c2b182949329e473e9158b1fb00",
pcbRotationOffset: 0,
modelOriginPosition: { x: 0, y: -0.0040386000000012245, z: 0 },
}, ...props }));
};
const pinLabels$4 = {
pin1: ["EH2"],
pin2: ["EH1"],
pin3: ["EH4"],
pin4: ["EH3"],
pin5: ["SBU2", "B8"],
pin6: ["CC1", "A5"],
pin7: ["DN2", "B7"],
pin8: ["DP1", "A6"],
pin9: ["DN1", "A7"],
pin10: ["DP2", "B6"],
pin11: ["SBU1", "A8"],
pin12: ["CC2", "B5"],
pin13: ["GND1", "A1B12"],
pin14: ["GND2", "B1A12"],
pin15: ["VBUS1", "B4A9"],
pin16: ["VBUS2", "A4B9"]
};
const pinAttributes$2 = {
pin5: { doNotConnect: true },
pin11: { doNotConnect: true },
pin13: { requiresGround: true },
pin14: { requiresGround: true },
pin15: { requiresPower: true },
pin16: { requiresPower: true },
};
const TYPE_C_31_M_12 = (props) => {
return (jsxRuntime.jsx("connector", { standard: "usb_c", pinCount: 16, pinLabels: pinLabels$4, pinAttributes: pinAttributes$2, 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.5999988mm" }), jsxRuntime.jsx("hole", { pcbX: "2.899918mm", pcbY: "0.9055672mm", diameter: "0.5999988mm" }), jsxRuntime.jsx("platedhole", { portHints: ["pin2"], pcbX: "4.325112mm", pcbY: "-2.7741308mm", holeWidth: "0.7999984mm", holeHeight: "1.1999976mm", outerWidth: "1.1999976mm", outerHeight: "1.7999964mm", shape: "pill" }), jsxRuntime.jsx("platedhole", { portHints: ["pin1"], pcbX: "4.325112mm", pcbY: "1.4056932mm", holeWidth: "0.7999984mm", holeHeight: "1.499997mm", outerWidth: "1.1999976mm", outerHeight: "1.999996mm", shape: "pill" }), jsxRuntime.jsx("platedhole", { portHints: ["pin4"], pcbX: "-4.325112mm", pcbY: "1.4056932mm", holeWidth: "0.7999984mm", holeHeight: "1.499997mm", outerWidth: "1.1999976mm", outerHeight: "1.999996mm", shape: "pill" }), jsxRuntime.jsx("platedhole", { portHints: ["pin3"], pcbX: "-4.325112mm", pcbY: "-2.7741308mm", holeWidth: "0.7999984mm", holeHeight: "1.1999976mm", 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.17511079999997, "y": 3.074130799999921 }, { "x": 5.17511079999997, "y": 3.074130799999921 }, { "x": 5.17511079999997, "y": -5.60002099999997 }, { "x": -5.17511079999997, "y": -5.60002099999997 }, { "x": -5.17511079999997, "y": 3.074130799999921 }] })] }), cadModel: {
objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C165948.obj?uuid=617b05f9bba7410b96c001093d8189e4",
stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C165948.step?uuid=617b05f9bba7410b96c001093d8189e4",
pcbRotationOffset: 180,
modelOriginPosition: { x: 0, y: -2.7500289000000517, z: 0.000010999999999872223 },
}, ...props }));
};
const pinLabels$3 = {
"pin1": [
"I1",
"O11"
],
"pin2": [
"GND"
],
"pin3": [
"I2",
"O21"
],
"pin4": [
"I3",
"O22"
],
"pin5": [
"VBUS"
],
"pin6": [
"I4",
"O12"
]
};
const USBLC6_2SC6 = (props) => (jsxRuntime.jsx("chip", { footprint: jsxRuntime.jsxs("footprint", { children: [jsxRuntime.jsx("smtpad", { portHints: ["pin1"], pcbX: "-0.9499599999999191mm", pcbY: "-1.1490959999998722mm", layer: "top", width: "0.532003mm", height: "1.0720070000000002mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin2"], pcbX: "0mm", pcbY: "-1.1490959999998722mm", layer: "top", width: "0.532003mm", height: "1.0720070000000002mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin3"], pcbX: "0.9499599999998054mm", pcbY: "-1.1490959999998722mm", layer: "top", width: "0.532003mm", height: "1.0720070000000002mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin4"], pcbX: "0.9499599999998054mm", pcbY: "1.149095999999986mm", layer: "top", width: "0.532003mm", height: "1.0720070000000002mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin5"], pcbX: "0mm", pcbY: "1.149095999999986mm", layer: "top", width: "0.532003mm", height: "1.0720070000000002mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin6"], pcbX: "-0.9499599999999191mm", pcbY: "1.149095999999986mm", layer: "top", width: "0.532003mm", height: "1.0720070000000002mm", shape: "rect" }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 1.5391891999998961, "y": -0.8892031999998835 }, { "x": 1.5391891999998961, "y": 0.8892031999999972 }], strokeWidth: 0.15239999999999998 }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -1.5391892000000098, "y": -0.8892031999998835 }, { "x": -1.5391892000000098, "y": 0.8892031999999972 }], strokeWidth: 0.15239999999999998 }), jsxRuntime.jsx("silkscreencircle", { pcbX: -1.6682720000001154, pcbY: -1.3014960000000428, radius: 0.150114, layer: "top", strokeWidth: 0.29999939999999997 }), jsxRuntime.jsx("courtyardoutline", { outline: [{ "x": -1.6999843999999484, "y": 1.9350994999999784 }, { "x": 1.7000097999999753, "y": 1.9350994999999784 }, { "x": 1.7000097999999753, "y": -1.9350994999998647 }, { "x": -1.6999843999999484, "y": -1.9350994999998647 }, { "x": -1.6999843999999484, "y": 1.9350994999999784 }], layer: "top" })] }), pinLabels: pinLabels$3, pinAttributes: {
"pin1": {
"isPassive": true
},
"pin2": {
"mustBeConnected": true,
"requiresGround": true
},
"pin3": {
"isPassive": true
},
"pin4": {
"isPassive": true
},
"pin5": {
"isPassive": true,
"mustBeConnected": true,
"requiresPower": true,
"shouldHaveDecouplingCapacitor": true,
"recommendedDecouplingCapacitorCapacitance": "100nF"
},
"pin6": {
"isPassive": true
}
}, supplierPartNumbers: {
"jlcpcb": [
"C2687116"
]
}, manufacturerPartNumber: "USBLC6-2SC6", cadModel: {
objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C2687116.obj?uuid=229b69761e2c45dba6a83d8866dec72d",
stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C2687116.step?uuid=229b69761e2c45dba6a83d8866dec72d",
pcbRotationOffset: 90,
modelOriginPosition: { "x": -12700000070253736e-21, "y": 0.000012700000070253736, "z": -0.048939 },
}, ...props }));
const pinLabels$2 = {
pin1: ["cathode", "neg"],
pin2: ["anode", "pos"]
};
const XL_1608UGC_04 = (props) => {
const { name = "LED1", ...restProps } = props;
return (jsxRuntime.jsx("led", { name: name, pinLabels: pinLabels$2, supplierPartNumbers: {
"jlcpcb": [
"C965804"
]
}, manufacturerPartNumber: "XL-1608UGC-04", footprint: jsxRuntime.jsxs("footprint", { children: [jsxRuntime.jsx("smtpad", { portHints: ["pin1", "cathode", "neg"], pcbX: "-0.799465mm", pcbY: "-0.003429mm", width: "0.7999984mm", height: "0.7999984mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin2", "anode", "pos"], pcbX: "0.799465mm", pcbY: "0.003429mm", width: "0.7999984mm", height: "0.7999984mm", shape: "rect" }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 0.24043639999990774, "y": 0.7565136000000621 }, { "x": 1.390497600000117, "y": 0.7565136000000621 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 0.24043639999990774, "y": -0.7436103999999659 }, { "x": 1.390497600000117, "y": -0.7436103999999659 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 1.390497600000117, "y": 0.7564628000000084 }, { "x": 1.390497600000117, "y": -0.7235189999998966 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -0.13957299999992756, "y": -0.7458963999999924 }, { "x": -1.189685200000099, "y": -0.7458963999999924 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -1.4896337999999787, "y": -0.345795599999974 }, { "x": -1.4896337999999787, "y": -0.4458207999998649 }, { "x": -1.189685200000099, "y": -0.7458963999999924 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -1.4896337999999787, "y": 0.3541268000000173 }, { "x": -1.4896337999999787, "y": -0.345795599999974 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -1.4896337999999787, "y": 0.3541268000000173 }, { "x": -1.4896337999999787, "y": 0.4542790000000423 }, { "x": -1.189685200000099, "y": 0.7542276000000356 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -0.13957299999992756, "y": 0.7542276000000356 }, { "x": -1.189685200000099, "y": 0.7542276000000356 }] }), jsxRuntime.jsx("silkscreentext", { text: "{NAME}", pcbX: "-0.053467mm", pcbY: "1.768477mm", anchorAlignment: "center", fontSize: "1mm" }), jsxRuntime.jsx("fabricationnotepath", { route: [{ "x": 0.5289295999998558, "y": 0.06832600000007005 }, { "x": 1.068933599999923, "y": 0.06832600000007005 }, { "x": 1.068933599999923, "y": -0.061671199999977944 }, { "x": 0.5289295999998558, "y": -0.061671199999977944 }, { "x": 0.5289295999998558, "y": 0.06832600000007005 }], strokeWidth: "0.254mm" }), jsxRuntime.jsx("fabricationnotepath", { route: [{ "x": 0.7345679999999675, "y": -0.2671318000000156 }, { "x": 0.7345679999999675, "y": 0.27287220000005163 }, { "x": 0.8645397999999886, "y": 0.27287220000005163 }, { "x": 0.8645397999999886, "y": -0.2671318000000156 }, { "x": 0.7345679999999675, "y": -0.2671318000000156 }], strokeWidth: "0.254mm" }), jsxRuntime.jsx("fabricationnotepath", { route: [{ "x": -1.0700004000000263, "y": 0.06146800000010444 }, { "x": -0.5299963999999591, "y": 0.06146800000010444 }, { "x": -0.5299963999999591, "y": -0.06852919999994356 }, { "x": -1.0700004000000263, "y": -0.06852919999994356 }, { "x": -1.0700004000000263, "y": 0.06146800000010444 }], strokeWidth: "0.254mm" }), jsxRuntime.jsx("fabricationnotepath", { route: [{ "x": -0.2999993999999333, "y": 0.3999484000000848 }, { "x": -0.2999993999999333, "y": -0.4000499999999647 }, { "x": -0.09999980000009145, "y": -0.4000499999999647 }, { "x": -0.09999980000009145, "y": 0.3999484000000848 }, { "x": -0.2999993999999333, "y": 0.3999484000000848 }], strokeWidth: "0.254mm" }), jsxRuntime.jsx("courtyardoutline", { outline: [{ "x": -1.4494641999999658, "y": 0.6534282000000076 }, { "x": 1.4494642000000795, "y": 0.6534282000000076 }, { "x": 1.4494642000000795, "y": -0.6534282000000076 }, { "x": -1.4494641999999658, "y": -0.6534282000000076 }, { "x": -1.4494641999999658, "y": 0.6534282000000076 }] })] }), cadModel: {
objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C965804.obj?uuid=6f130ed341a94a9faf4a4c2e249f3fd3",
stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C965804.step?uuid=6f130ed341a94a9faf4a4c2e249f3fd3",
pcbRotationOffset: 0,
modelOriginPosition: { x: -12700000070253736e-21, y: 0.00005079999993995443, z: -0.01 },
}, ...restProps }));
};
const resistorSupplierPartNumbers = {
resistor5k1: { jlcpcb: ["C23186"] },
resistor22: { jlcpcb: ["C23345"] },
resistor1k: { jlcpcb: ["C21190"] },
};
const capacitorSupplierPartNumbers = {
capacitor1u: { jlcpcb: ["C113807"] },
capacitor10u: { jlcpcb: ["C15850"] },
};
const PowerAndUsbSheet = () => (jsxRuntime.jsxs("schematicsheet", { name: "power_and_usb", displayName: "Power and USB", sheetIndex: 0, sheetSize: "A4", children: [jsxRuntime.jsx(TYPE_C_31_M_12, { name: "J1", pcbX: 16.4, pcbY: 14, pcbRotation: 90 }), jsxRuntime.jsx("resistor", { name: "R1", resistance: "5.1k", footprint: "0603", pcbX: 9.5, pcbY: 20, pcbRotation: 180, supplierPartNumbers: resistorSupplierPartNumbers.resistor5k1 }), jsxRuntime.jsx("resistor", { name: "R2", resistance: "5.1k", footprint: "0603", pcbX: 13, pcbY: 20.5, pcbRotation: 180, supplierPartNumbers: resistorSupplierPartNumbers.resistor5k1 }), jsxRuntime.jsx(USBLC6_2SC6, { name: "U3", pcbX: 0, pcbY: 15.5, pcbRotation: 90 }), jsxRuntime.jsx("resistor", { name: "R3", resistance: "22ohm", footprint: "0603", pcbX: -3, pcbY: 19, supplierPartNumbers: resistorSupplierPartNumbers.resistor22 }), jsxRuntime.jsx("resistor", { name: "R4", resistance: "22ohm", footprint: "0603", pcbX: 3, pcbY: 19, supplierPartNumbers: resistorSupplierPartNumbers.resistor22 }), jsxRuntime.jsx(ESD5Z5V0, { name: "D1", pcbX: 5, pcbY: 11.5, pcbRotation: 180 }), jsxRuntime.jsx(AP2112K_3_3TRG1, { name: "U2", pcbX: 8.5, pcbY: 11.5 }), jsxRuntime.jsx("capacitor", { name: "C1", capacitance: "1uF", footprint: "0603", pcbX: 6, pcbY: 14.5, pcbRotation: 180, supplierPartNumbers: capacitorSupplierPartNumbers.capacitor1u }), jsxRuntime.jsx("capacitor", { name: "C2", capacitance: "1uF", footprint: "0603", pcbX: 9.2, pcbY: 15.5, supplierPartNumbers: capacitorSupplierPartNumbers.capacitor1u }), jsxRuntime.jsx("capacitor", { name: "C3", capacitance: "10uF", footprint: "0805", pcbX: 3, pcbY: 9.5, supplierPartNumbers: capacitorSupplierPartNumbers.capacitor10u }), jsxRuntime.jsx("resistor", { name: "R5", resistance: "1k", footprint: "0603", pcbX: 7, pcbY: 18.5, supplierPartNumbers: resistorSupplierPartNumbers.resistor1k }), jsxRuntime.jsx(XL_1608UGC_04, { name: "LED1", color: "green", pcbX: 10, pcbY: 18.5 }), jsxRuntime.jsx(TestPoint, { name: "TP1", pcbX: -5, pcbY: 9.5 }), jsxRuntime.jsx(TestPoint, { name: "TP2", pcbX: -2.5, pcbY: 9.5 }), jsxRuntime.jsx(TestPoint, { name: "TP3", pcbX: 0, pcbY: 9.5 }), jsxRuntime.jsx("trace", { from: "J1.VBUS1", to: "net.USB_5V" }), jsxRuntime.jsx("trace", { from: "J1.VBUS2", to: "net.USB_5V" }), jsxRuntime.jsx("trace", { from: "J1.GND1", to: "net.GND" }), jsxRuntime.jsx("trace", { from: "J1.GND2", to: "net.GND" }), jsxRuntime.jsx("trace", { from: "J1.EH1", to: "net.GND" }), jsxRuntime.jsx("trace", { from: "J1.EH2", to: "net.GND" }), jsxRuntime.jsx("trace", { from: "J1.EH3", to: "net.GND" }), jsxRuntime.jsx("trace", { from: "J1.EH4", to: "net.GND" }), jsxRuntime.jsx("trace", { from: "J1.CC1", to: "net.USB_CC1" }), jsxRuntime.jsx("trace", { from: "R1.pin1", to: "net.USB_CC1" }), jsxRuntime.jsx("trace", { from: "R1.pin2", to: "net.GND" }), jsxRuntime.jsx("trace", { from: "J1.CC2", to: "net.USB_CC2" }), jsxRuntime.jsx("trace", { from: "R2.pin1", to: "net.USB_CC2" }), jsxRuntime.jsx("trace", { from: "R2.pin2", to: "net.GND" }), jsxRuntime.jsx("trace", { from: "J1.DN1", to: "net.USB_DN_CONN" }), jsxRuntime.jsx("trace", { from: "J1.DN2", to: "net.USB_DN_CONN" }), jsxRuntime.jsx("trace", { from: "J1.DP1", to: "net.USB_DP_CONN" }), jsxRuntime.jsx("trace", { from: "J1.DP2", to: "net.USB_DP_CONN" }), jsxRuntime.jsx("trace", { from: "U3.I1", to: "net.USB_DN_CONN" }), jsxRuntime.jsx("trace", { name: "DN_ESD", from: "U3.I4", to: "R3.pin1" }), jsxRuntime.jsx("trace", { from: "R3.pin2", to: "net.USB_DN" }), jsxRuntime.jsx("trace", { from: "U3.I2", to: "net.USB_DP_CONN" }), jsxRuntime.jsx("trace", { name: "DP_ESD", from: "U3.I3", to: "R4.pin1" }), jsxRuntime.jsx("trace", { from: "R4.pin2", to: "net.USB_DP" }), jsxRuntime.jsx("trace", { from: "U3.VBUS", to: "net.USB_5V" }), jsxRuntime.jsx("trace", { from: "U3.GND", to: "net.GND" }), jsxRuntime.jsx("trace", { from: "D1.C", to: "net.USB_5V" }), jsxRuntime.jsx("trace", { from: "D1.A", to: "net.GND" }), jsxRuntime.jsx("trace", { from: "U2.VIN", to: "net.USB_5V" }), jsxRuntime.jsx("trace", { from: "U2.EN", to: "net.USB_5V" }), jsxRuntime.jsx("trace", { from: "U2.GND", to: "net.GND" }), jsxRuntime.jsx("trace", { from: "U2.VOUT", to: "net.V3_3" }), jsxRuntime.jsx("trace", { from: "C1.pin1", to: "net.USB_5V" }), jsxRuntime.jsx("trace", { from: "C1.pin2", to: "net.GND" }), jsxRuntime.jsx("trace", { from: "C2.pin1", to: "net.V3_3" }), jsxRuntime.jsx("trace", { from: "C2.pin2", to: "net.GND" }), jsxRuntime.jsx("trace", { from: "C3.pin1", to: "net.V3_3" }), jsxRuntime.jsx("trace", { from: "C3.pin2", to: "net.GND" }), jsxRuntime.jsx("trace", { from: "R5.pin1", to: "net.V3_3" }), jsxRuntime.jsx("trace", { name: "PWR_LED", from: "R5.pin2", to: "LED1.pos" }), jsxRuntime.jsx("trace", { from: "LED1.neg", to: "net.GND" }), jsxRuntime.jsx("trace", { from: "TP1.pin1", to: "net.USB_5V" }), jsxRuntime.jsx("trace", { from: "TP2.pin1", to: "net.V3_3" }), jsxRuntime.jsx("trace", { from: "TP3.pin1", to: "net.GND" })] }));
const pinLabels$1 = {
pin1: ["GND"],
pin2: ["TRIG"],
pin3: ["OUT"],
pin4: ["RESET"],
pin5: ["CONT"],
pin6: ["THRES"],
pin7: ["DISCH"],
pin8: ["VDD"]
};
const pinAttributes$1 = {
pin1: { requiresGround: true },
pin8: { requiresPower: true }
};
const TLC555IDR = (props) => {
return (jsxRuntime.jsx("chip", { pinLabels: pinLabels$1, pinAttributes: pinAttributes$1, supplierPartNumbers: {
"jlcpcb": [
"C6987"
]
}, manufacturerPartNumber: "TLC555IDR", footprint: jsxRuntime.jsxs("footprint", { children: [jsxRuntime.jsx("smtpad", { portHints: ["pin5"], pcbX: "1.905mm", pcbY: "2.599944mm", width: "0.58801mm", height: "1.7999964mm", radius: "0.294005mm", shape: "pill" }), jsxRuntime.jsx("smtpad", { portHints: ["pin6"], pcbX: "0.635mm", pcbY: "2.599944mm", width: "0.58801mm", height: "1.7999964mm", radius: "0.294005mm", shape: "pill" }), jsxRuntime.jsx("smtpad", { portHints: ["pin7"], pcbX: "-0.635mm", pcbY: "2.599944mm", width: "0.58801mm", height: "1.7999964mm", radius: "0.294005mm", shape: "pill" }), jsxRuntime.jsx("smtpad", { portHints: ["pin8"], pcbX: "-1.905mm", pcbY: "2.599944mm", width: "0.58801mm", height: "1.7999964mm", radius: "0.294005mm", shape: "pill" }), jsxRuntime.jsx("smtpad", { portHints: ["pin4"], pcbX: "1.905mm", pcbY: "-2.599944mm", width: "0.58801mm", height: "1.7999964mm", radius: "0.294005mm", shape: "pill" }), jsxRuntime.jsx("smtpad", { portHints: ["pin3"], pcbX: "0.635mm", pcbY: "-2.599944mm", width: "0.58801mm", height: "1.7999964mm", radius: "0.294005mm", shape: "pill" }), jsxRuntime.jsx("smtpad", { portHints: ["pin2"], pcbX: "-0.635mm", pcbY: "-2.599944mm", width: "0.58801mm", height: "1.7999964mm", radius: "0.294005mm", shape: "pill" }), jsxRuntime.jsx("smtpad", { portHints: ["pin1"], pcbX: "-1.905mm", pcbY: "-2.599944mm", width: "0.58801mm", height: "1.7999964mm", radius: "0.294005mm", shape: "pill" }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -2.5262078000000656, "y": -1.5214091999999937 }, { "x": 2.526207799999952, "y": -1.5214091999999937 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -2.5262078000000656, "y": 1.5214092000001074 }, { "x": 2.526207799999952, "y": 1.5214092000001074 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -2.5262078000000656, "y": -0.43538139999998293 }, { "x": -2.5262078000000656, "y": -1.5214091999999937 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -2.5262078000000656, "y": 0.44889420000004066 }, { "x": -2.5262078000000656, "y": 1.5214092000001074 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -2.0675600000000713, "y": -1.5214091999999937 }, { "x": -2.5262078000000656, "y": -1.5214091999999937 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -0.7975599999999758, "y": -1.5214091999999937 }, { "x": -1.7424400000001015, "y": -1.5214091999999937 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 0.47244000000000597, "y": -1.5214091999999937 }, { "x": -0.47244000000011965, "y": -1.5214091999999937 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 1.7424399999999878, "y": -1.5214091999999937 }, { "x": 0.7975599999999758, "y": -1.5214091999999937 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 2.526207799999952, "y": -1.5214091999999937 }, { "x": 2.0675599999999577, "y": -1.5214091999999937 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 2.526207799999952, "y": 1.5214092000001074 }, { "x": 2.526207799999952, "y": -1.5214091999999937 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -2.0675600000000713, "y": 1.5214092000001074 }, { "x": -2.5262078000000656, "y": 1.5214092000001074 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -0.7975599999999758, "y": 1.5214092000001074 }, { "x": -1.7424400000001015, "y": 1.5214092000001074 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 0.47244000000000597, "y": 1.5214092000001074 }, { "x": -0.47244000000011965, "y": 1.5214092000001074 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 1.7424399999999878, "y": 1.5214092000001074 }, { "x": 0.7975599999999758, "y": 1.5214092000001074 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 2.526207799999952, "y": 1.5214092000001074 }, { "x": 2.0675599999999577, "y": 1.5214092000001074 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -2.5262078000000656, "y": -0.43538139999998293 }, { "x": -2.5262078000000656, "y": 0.44889420000004066 }] }), jsxRuntime.jsx("silkscreencircle", { pcbX: "-1.905mm", pcbY: "-1.016mm", radius: "0.150114mm" }), jsxRuntime.jsx("silkscreentext", { text: "{NAME}", pcbX: "0.0127mm", pcbY: "4.2004mm", anchorAlignment: "center", fontSize: "1mm" }), jsxRuntime.jsx("courtyardoutline", { outline: [{ "x": -2.699982400000067, "y": 3.7499422000000777 }, { "x": 2.7000077999998666, "y": 3.7499422000000777 }, { "x": 2.7000077999998666, "y": -3.749942199999964 }, { "x": -2.699982400000067, "y": -3.749942199999964 }, { "x": -2.699982400000067, "y": 3.7499422000000777 }] })] }), cadModel: {
objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C6987.obj?uuid=ec3b9f9b31a74655be3e55848dbee9c1",
stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C6987.step?uuid=ec3b9f9b31a74655be3e55848dbee9c1",
pcbRotationOffset: 0,
modelOriginPosition: { x: -12700000070253736e-21, y: 0, z: 0 },
}, ...props }));
};
const pinLabels = {
pin1: ["SCL"],
pin2: ["VDD"],
pin3: ["GND"],
pin4: ["SDA"]
};
const pinAttributes = {
pin2: { requiresPower: true },
pin3: { requiresGround: true }
};
const VEML7700_TR = (props) => {
return (jsxRuntime.jsx("chip", { pinLabels: pinLabels, pinAttributes: pinAttributes, supplierPartNumbers: {
"jlcpcb": [
"C504893"
]
}, manufacturerPartNumber: "VEML7700-TR", footprint: jsxRuntime.jsxs("footprint", { children: [jsxRuntime.jsx("smtpad", { portHints: ["pin1"], pcbX: "1.905mm", pcbY: "0mm", width: "0.7999984mm", height: "1.7999964mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin2"], pcbX: "0.635mm", pcbY: "0mm", width: "0.7999984mm", height: "1.7999964mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin3"], pcbX: "-0.635mm", pcbY: "0mm", width: "0.7999984mm", height: "1.7999964mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin4"], pcbX: "-1.905mm", pcbY: "0mm", width: "0.7999984mm", height: "1.7999964mm", shape: "rect" }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -2.5361646000000064, "y": -0.4999990000000025 }, { "x": -3.399993199999926, "y": -0.4999990000000025 }, { "x": -3.399993199999926, "y": 1.8499835999998595 }, { "x": 3.3999932000001536, "y": 1.8499835999998595 }, { "x": 3.3999932000001536, "y": -0.4999990000000025 }, { "x": 2.5361138000000665, "y": -0.4999990000000025 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -1.266164599999911, "y": -0.4999990000000025 }, { "x": -1.2738861999999926, "y": -0.4999990000000025 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 0.0038354000000708766, "y": -0.4999990000000025 }, { "x": -0.003886199999897144, "y": -0.4999990000000025 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 1.2738354000000527, "y": -0.4999990000000025 }, { "x": 1.2661138000000847, "y": -0.4999990000000025 }] }), jsxRuntime.jsx("silkscreentext", { text: "{NAME}", pcbX: "0mm", pcbY: "2.9812mm", anchorAlignment: "center", fontSize: "1mm" }), jsxRuntime.jsx("fabricationnotepath", { route: [{ "x": -2.5361646000000064, "y": -0.6269989999999552 }, { "x": -3.399993199999926, "y": -0.6269989999999552 }, { "x": -3.489795761210644, "y": -0.5898015612107201 }, { "x": -3.526993199999879, "y": -0.49999899999988884 }, { "x": -3.526993199999879, "y": 1.8499835999999732 }, { "x": -3.489795761210644, "y": 1.9397861612105771 }, { "x": -3.399993199999926, "y": 1.976983599999926 }, { "x": 3.39999320000004, "y": 1.976983599999926 }, { "x": 3.489795761210644, "y": 1.9397861612105771 }, { "x": 3.5269932000001063, "y": 1.8499835999999732 }, { "x": 3.5269932000001063, "y": -0.49999899999988884 }, { "x": 3.489795761210644, "y": -0.5898015612107201 }, { "x": 3.39999320000004, "y": -0.6269989999999552 }, { "x": 2.5361138000000665, "y": -0.6269989999999552 }, { "x": 2.663113800000133, "y": -0.49999899999988884 }, { "x": 2.5361138000000665, "y": -0.37299899999993613 }, { "x": 3.272993200000087, "y": -0.37299899999993613 }, { "x": 3.272993200000087, "y": 1.7229836000000205 }, { "x": -3.2729931999999735, "y": 1.7229836000000205 }, { "x": -3.2729931999999735, "y": -0.37299899999993613 }, { "x": -2.5361646000000064, "y": -0.37299899999993613 }, { "x": -2.663164599999959, "y": -0.49999899999988884 }, { "x": -2.5361646000000064, "y": -0.6269989999999552 }], strokeWidth: "0.254mm" }), jsxRuntime.jsx("fabricationnotepath", { route: [{ "x": -0.5400293999998667, "y": 1.553819599999997 }, { "x": -0.5400293999998667, "y": 1.1164570000000822 }, { "x": -0.4150105999999596, "y": 1.1226800000000594 }, { "x": -0.3186937999998918, "y": 1.243177600000081 }, { "x": -0.31074359999979606, "y": 1.346530199999961 }, { "x": -0.3505199999999604, "y": 1.4498320000000149 }, { "x": -0.4238751999999977, "y": 1.4939772000000175 }, { "x": -0.48003460000006726, "y": 1.4939772000000175 }, { "x": -0.5272874692520872, "y": 1.54391360000011 }, { "x": -0.48003460000006726, "y": 1.593849999999975 }, { "x": -0.41003220000004603, "y": 1.593849999999975 }, { "x": -0.39668196387287935, "y": 1.5920302071058359 }, { "x": -0.3843019999998205, "y": 1.5867126000000553 }, { "x": -0.28430219999995643, "y": 1.526641599999948 }, { "x": -0.2717644521770808, "y": 1.5159675327261084 }, { "x": -0.26337259999991147, "y": 1.5018003999999792 }, { "x": -0.21335999999996602, "y": 1.3718286000000717 }, { "x": -0.21055641713201112, "y": 1.36116034829206 }, { "x": -0.2101596000001109, "y": 1.350137000000018 }, { "x": -0.220167199999878, "y": 1.2199874000000364 }, { "x": -0.2235132548165666, "y": 1.2054691548211167 }, { "x": -0.2309875999998212, "y": 1.1925807999999734 }, { "x": -0.3510025999997879, "y": 1.0425684000000501 }, { "x": -0.3672813119770808, "y": 1.029339668124294 }, { "x": -0.38755319999995663, "y": 1.0239502000000584 }, { "x": -0.5875527999999122, "y": 1.0140188000000308 }, { "x": -0.6245023576582298, "y": 1.0277492348642454 }, { "x": -0.6400292000000718, "y": 1.0639806000000362 }, { "x": -0.6400292000000718, "y": 1.553819599999997 }, { "x": -0.5900292999999692, "y": 1.6027051868016997 }, { "x": -0.5400293999998667, "y": 1.553819599999997 }], strokeWidth: "0.254mm" }), jsxRuntime.jsx("fabricationnotepath", { route: [{ "x": -1.1100053999999773, "y": 1.0538714000000482 }, { "x": -1.1100053999999773, "y": 1.543939000000023 }, { "x": -1.0745001479821212, "y": 1.5917717545504502 }, { "x": -1.0184130000000096, "y": 1.5717012000000068 }, { "x": -0.7900161999998545, "y": 1.2291314000000284 }, { "x": -0.7900161999998545, "y": 1.543939000000023 }, { "x": -0.7400162999999793, "y": 1.5928245867992246 }, { "x": -0.6900164000001041, "y": 1.543939000000023 }, { "x": -0.6900164000001041, "y": 1.0639806000000362 }, { "x": -0.7255010075949713, "y": 1.0160652208174952 }, { "x": -0.781634199999985, "y": 1.0361675999999989 }, { "x": -1.0100055999999995, "y": 1.378737400000091 }, { "x": -1.0100055999999995, "y": 1.0538714000000482 }, { "x": -1.0600054999998747, "y": 1.0049858131983456 }, { "x": -1.11000539999975, "y": 1.0538714000000482 }, { "x": -1.1100053999999773, "y": 1.0538714000000482 }], strokeWidth: "0.254mm" }), jsxRuntime.jsx("fabricationnotepath", { route: [{ "x": -1.4400276000000076, "y": 1.0138410000000704 }, { "x": -1.4591722331998653, "y": 1.0176880403201949 }, { "x": -1.4753843999998253, "y": 1.0285730000000513 }, { "x": -1.6053815999998733, "y": 1.1585448000000724 }, { "x": -1.6162216107412632, "y": 1.1747921502246754 }, { "x": -1.6200119999998606, "y": 1.1939524000000574 }, { "x": -1.6200119999998606, "y": 1.423797000000036 }, { "x": -1.6162313519996587, "y": 1.4429845824870426 }, { "x": -1.6053815999998733, "y": 1.4592554000000746 }, { "x": -1.4953996000000416, "y": 1.56923740000002 }, { "x": -1.479187433199968, "y": 1.5801223596798764 }, { "x": -1.4600427999999965, "y": 1.5839694000000009 }, { "x": -1.2900405999998839, "y": 1.5839694000000009 }, { "x": -1.2708959667999125, "y": 1.58012235967999 }, { "x": -1.2546837999998388, "y": 1.56923740000002 }, { "x": -1.1746737999998231, "y": 1.4891766000000644 }, { "x": -1.1638540937890411, "y": 1.4730143115240253 }, { "x": -1.1600179999999227, "y": 1.4539468000000397 }, { "x": -1.1600179999999227, "y": 1.4038071999999602 }, { "x": -1.1750032737337506, "y": 1.3690652707311983 }, { "x": -1.2100305999998682, "y": 1.3547598000000107 }, { "x": -1.245041593055248, "y": 1.3690741631110086 }, { "x": -1.2600177999997868, "y": 1.4038071999999602 }, { "x": -1.2600178000000142, "y": 1.433220399999982 }, { "x": -1.3107415999999148, "y": 1.4838680000000295 }, { "x": -1.4393417999999656, "y": 1.4838680000000295 }, { "x": -1.5200121999999965, "y": 1.4031214000000318 }, { "x": -1.5200121999999965, "y": 1.2146788000000015 }, { "x": -1.4193265999999767, "y": 1.113891599999988 }, { "x": -1.3107415999999148, "y": 1.113891599999988 }, { "x": -1.2400279999999384, "y": 1.1845289999999977 }, { "x": -1.2400279999999384, "y": 1.2139930000000732 }, { "x": -1.3300201999999217, "y": 1.2139930000000732 }, { "x": -1.364824588867691, "y": 1.2288894186071957 }, { "x": -1.3792199999998047, "y": 1.263904000000025 }, { "x": -1.3648423699777368, "y": 1.2989512634708262 }, { "x": -1.3300201999999217, "y": 1.3138657999999168 }, { "x": -1.2000483999999005, "y": 1.3138657999999168 }, { "x": -1.1809242472097594, "y": 1.3101008952600068 }, { "x": -1.1646915999999692, "y": 1.29931160000001 }, { "x": -1.154683999999861, "y": 1.2892532000000756 }, { "x": -1.1438546074718943, "y": 1.2730674436924119 }, { "x": -1.1400281999997333, "y": 1.253972600000111 }, { "x": -1.1400281999999606, "y": 1.1638533999999936 }, { "x": -1.1438642937888517, "y": 1.144785888476008 }, { "x": -1.154683999999861, "y": 1.1286236000000827 }, { "x": -1.2546837999998388, "y": 1.0285730000000513 }, { "x": -1.2708959667999125, "y": 1.0176880403199675 }, { "x": -1.2900405999998839, "y": 1.0138410000000704 }, { "x": -1.4400276000000076, "y": 1.0138410000000704 }], strokeWidth: "0.254mm" }), jsxRuntime.jsx("fabricationnotepath", { route: [{ "x": 0.1104137999999466, "y": 1.6001745999999457 }, { "x": 0.11955779999993865, "y": 1.6011398000000554 }, { "x": 0.13144500000009884, "y": 1.5995395999999573 }, { "x": 0.14330680000011853, "y": 1.5953739999999925 }, { "x": 0.15445740000006936, "y": 1.5889224000000013 }, { "x": 0.16261080000015227, "y": 1.5792195999999876 }, { "x": 0.30144720000009784, "y": 1.2164314000000331 }, { "x": 0.43906440000012026, "y": 1.5735045999999784 }, { "x": 0.44716699999992215, "y": 1.5854426000000785 }, { "x": 0.4563110000000279, "y": 1.5924022000000377 }, { "x": 0.46921420000001035, "y": 1.5986251999999013 }, { "x": 0.48549560000014935, "y": 1.6013176000000158 }, { "x": 0.5017008000000942, "y": 1.598167999999987 }, { "x": 0.5118608000001359, "y": 1.592859399999952 }, { "x": 0.5230622000001404, "y": 1.582292999999936 }, { "x": 0.5298694000000523, "y": 1.571218599999952 }, { "x": 0.5339079999999967, "y": 1.5571724000000131 }, { "x": 0.5339079999999967, "y": 1.545005799999899 }, { "x": 0.3480308000000605, "y": 1.0586465999999746 }, { "x": 0.3422649999999976, "y": 1.0466577999999345 }, { "x": 0.33548319999999876, "y": 1.0395204000000149 }, { "x": 0.32605980000005275, "y": 1.03306879999991 }, { "x": 0.31719520000001467, "y": 1.0291826000000128 }, { "x": 0.3073908000000074, "y": 1.0266679999999724 }, { "x": 0.29591000000016265, "y": 1.0264393999999584 }, { "x": 0.28572459999998046, "y": 1.0284967999999708 }, { "x": 0.27152600000010807, "y": 1.034948399999962 }, { "x": 0.2640330000000404, "y": 1.0408919999999853 }, { "x": 0.25725120000004154, "y": 1.0521949999999833 }, { "x": 0.07251699999994798, "y": 1.5401544000000058 }, { "x": 0.07000240000013491, "y": 1.556715199999985 }, { "x": 0.07457440000007409, "y": 1.5696183999999676 }, { "x": 0.08039100000007693, "y": 1.58132779999994 }, { "x": 0.09182099999998172, "y": 1.5914877999999817 }, { "x": 0.10327640000002702, "y": 1.598396600000001 }, { "x": 0.1104137999999466, "y": 1.6001745999999457 }], strokeWidth: "0.254mm" }), jsxRuntime.jsx("fabricationnotepath", { route: [{ "x": 0.6275070000001506, "y": 1.6010890000000018 }, { "x": 0.8020050000000083, "y": 1.6004032000000734 }, { "x": 0.8888729999999896, "y": 1.572133000000008 }, { "x": 0.9463786000000027, "y": 1.5114269999999124 }, { "x": 0.9744202000000541, "y": 1.458036199999924 }, { "x": 1.0011918000001288, "y": 1.3804900000000089 }, { "x": 1.0005060000000867, "y": 1.2493751999999176 }, { "x": 0.9777729999999565, "y": 1.1766295999999556 }, { "x": 0.9483852000001889, "y": 1.1150092000000313 }, { "x": 0.8835136000000148, "y": 1.0535665999999537 }, { "x": 0.8033258000000387, "y": 1.0262107999999444 }, { "x": 0.6308852000001934, "y": 1.0282174000000168 }, { "x": 0.6115049999999655, "y": 1.0314686000000393 }, { "x": 0.5874258000001191, "y": 1.0563098000000082 }, { "x": 0.585419199999933, "y": 1.0721847999999454 }, { "x": 0.68501260000005, "y": 1.1283187999999882 }, { "x": 0.830732399999988, "y": 1.1412219999999706 }, { "x": 0.8634730000001127, "y": 1.1711431999999604 }, { "x": 0.8821927999999843, "y": 1.2086081999999578 }, { "x": 0.9022334000001138, "y": 1.2647929999999405 }, { "x": 0.9009125999999696, "y": 1.3623289999999315 }, { "x": 0.8828786000000264, "y": 1.4205203999999867 }, { "x": 0.8641588000000411, "y": 1.4552929999999833 }, { "x": 0.834745600000133, "y": 1.4853919999999334 }, { "x": 0.7872729999999137, "y": 1.5008097999999563 }, { "x": 0.6836918000001333, "y": 1.5014955999999984 }, { "x": 0.5834125999999742, "y": 1.5008097999999563 }, { "x": 0.5827267999999322, "y": 1.556257999999957 }, { "x": 0.5961634000000231, "y": 1.5801847999999836 }, { "x": 0.6068313999999191, "y": 1.5937229999999545 }, { "x": 0.6275070000001506, "y": 1.6010890000000018 }], strokeWidth: "0.254mm" }), jsxRuntime.jsx("fabricationnotepath", { route: [{ "x": 0.5867400000000771, "y": 1.069670199999905 }, { "x": 0.5834125999999742, "y": 1.5061183999999912 }, { "x": 0.68501260000005, "y": 1.5054325999999492 }, { "x": 0.6870192000001225, "y": 1.1244325999999774 }, { "x": 0.5867400000000771, "y": 1.069670199999905 }], strokeWidth: "0.254mm" }), jsxRuntime.jsx("fabricationnotepath", { route: [{ "x": 1.0592054000001099, "y": 1.0685271999999486 }, { "x": 1.0559033999999201, "y": 1.5049754000000348 }, { "x": 1.157503399999996, "y": 1.5042895999999928 }, { "x": 1.1594846000000416, "y": 1.1232895999999073 }, { "x": 1.0592054000001099, "y": 1.0685271999999486 }], strokeWidth: "0.254mm" }), jsxRuntime.jsx("fabricationnotepath", { route: [{ "x": 1.0999978000000965, "y": 1.5999967999999853 }, { "x": 1.274445000000128, "y": 1.599311000000057 }, { "x": 1.3613638000001629, "y": 1.571218599999952 }, { "x": 1.4188693999999487, "y": 1.51046180000003 }, { "x": 1.446885600000087, "y": 1.4568931999999677 }, { "x": 1.473631800000021, "y": 1.3793470000000525 }, { "x": 1.4729968000000326, "y": 1.2484100000000353 }, { "x": 1.4502638000001298, "y": 1.1754865999999993 }, { "x": 1.4208505999999943, "y": 1.1140440000000353 }, { "x": 1.3559789999999339, "y": 1.0524235999999974 }, { "x": 1.2758166000000983, "y": 1.0250169999999343 }, { "x": 1.1033505999999988, "y": 1.0271252000000004 }, { "x": 1.0839450000001989, "y": 1.0305034000000433 }, { "x": 1.0598911999999245, "y": 1.0551668000000518 }, { "x": 1.0579100000001063, "y": 1.071270400000003 }, { "x": 1.157503399999996, "y": 1.1274043999999321 }, { "x": 1.303172399999994, "y": 1.1400790000000143 }, { "x": 1.3359384000000318, "y": 1.170228800000018 }, { "x": 1.3546836000001576, "y": 1.2074652000000015 }, { "x": 1.3747242000000597, "y": 1.2635992000000442 }, { "x": 1.3734034000000293, "y": 1.3613638000000492 }, { "x": 1.3553693999999723, "y": 1.4195551999999907 }, { "x": 1.3366242000000739, "y": 1.4540991999999733 }, { "x": 1.3072109999999384, "y": 1.484248999999977 }, { "x": 1.259763800000087, "y": 1.4996668 }, { "x": 1.1561318000000256, "y": 1.500352600000042 }, { "x": 1.0559033999999201, "y": 1.4996668 }, { "x": 1.0552176000001054, "y": 1.5551150000000007 }, { "x": 1.068578000000116, "y": 1.5792704000000413 }, { "x": 1.0792714000001524, "y": 1.592630799999938 }, { "x": 1.0999978000000965, "y": 1.5999967999999853 }], strokeWidth: "0.254mm" }), jsxRuntime.jsx("courtyardoutline", { outline: [{ "x": -3.649993199999926, "y": 2.09398920000001 }, { "x": 3.6499932000001536, "y": 2.09398920000001 }, { "x": 3.6499932000001536, "y": -1.1499982000000273 }, { "x": -3.649993199999926, "y": -1.1499982000000273 }, { "x": -3.649993199999926, "y": 2.09398920000001 }] })] }), cadModel: {
objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C504893.obj?uuid=9ed0f271771b49f39e6267a2e00848fb",
stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C504893.step?uuid=9ed0f271771b49f39e6267a2e00848fb",
pcbRotationOffset: 0,
modelOriginPosition: { x: 0, y: -0.44399789999990846, z: -1.491251 },
}, ...props }));
};
const IntegratedSoilProbe = (props) => (jsxRuntime.jsx("capacitor", { ...props, capacitance: "100pF", manufacturerPartNumber: "INTEGRATED-PCB-CAPACITIVE-SOIL-PROBE", doNotPlace: true, footprint: jsxRuntime.jsxs("footprint", { children: [jsxRuntime.jsx("smtpad", { portHints: ["pin1"], pcbX: -5.4, pcbY: 0, width: "1mm", height: "1.4mm", shape: "rect", coveredWithSolderMask: true }), jsxRuntime.jsx("smtpad", { portHints: ["pin2"], pcbX: 5.4, pcbY: 0, width: "1mm", height: "1.4mm", shape: "rect", coveredWithSolderMask: true }), jsxRuntime.jsx("courtyardoutline", { outline: [
{ x: -6.2, y: -1 },
{ x: 6.2, y: -1 },
{ x: 6.2, y: 1 },
{ x: -6.2, y: 1 },
{ x: -6.2, y: -1 },
] })] }) }));
const resistor4k7SupplierPartNumbers = { jlcpcb: ["C23162"] };
const SensorsAndIoSheet = () => (jsxRuntime.jsxs("schematicsheet", { name: "sensors_and_io", displayName: "Light and Integrated Soil Probe", sheetIndex: 2, sheetSize: "A4", children: [jsxRuntime.jsx(VEML7700_TR, { name: "U4", pcbX: 17.5, pcbY: 38 }), jsxRuntime.jsx("capacitor", { name: "C7", capacitance: "100nF", footprint: "0603", pcbX: 17.5, pcbY: 35, pcbRotation: 180, supplierPartNumbers: { jlcpcb: ["C14663"] } }), jsxRuntime.jsx("resistor", { name: "R12", resistance: "4.7k", footprint: "0603", pcbX: 13, pcbY: 41, supplierPartNumbers: resistor4k7SupplierPartNumbers }), jsxRuntime.jsx("resistor", { name: "R13", resistance: "4.7k", footprint: "0603", pcbX: 13, pcbY: 35.5, supplierPartNumbers: resistor4k7SupplierPartNumbers }), jsxRuntime.jsx(TestPoint, { name: "TP7", pcbX: -2.5, pcbY: 12 }), jsxRuntime.jsx(TestPoint, { name: "TP8", pcbX: 0, pcbY: 12 }), jsxRuntime.jsx(TLC555IDR, { name: "U5", pcbX: -14, pcbY: 14, pcbRotation: 90 }), jsxRuntime.jsx("resistor", { name: "R14", resistance: "100k", footprint: "0603", pcbX: -8.5, pcbY: 12, supplierPartNumbers: { jlcpcb: ["C25803"] } }), jsxRuntime.jsx("resistor", { name: "R15", resistance: "470k", footprint: "0603", pcbX: -8.5, pcbY: 15, pcbRotation: 180, supplierPartNumbers: { jlcpcb: ["C23178"] } }), jsxRuntime.jsx(IntegratedSoilProbe, { name: "C8", pcbX: 0, pcbY: 7 }), jsxRuntime.jsx("capacitor", { name: "C9", capacitance: "10nF", footprint: "0603", pcbX: -19.5, pcbY: 10, supplierPartNumbers: { jlcpcb: ["C57112"] } }), jsxRuntime.jsx("capacitor", { name: "C10", capacitance: "100nF", footprint: "0603", pcbX: -19.5, pcbY: 18, supplierPartNumbers: { jlcpcb: ["C14663"] } }), jsxRuntime.jsx("resistor", { name: "R16", resistance: "1k", footprint: "0603", pcbX: -9, pcbY: 18, supplierPartNumbers: { jlcpcb: ["C21190"] } }), jsxRuntime.jsx(TestPoint, { name: "TP9", pcbX: -5, pcbY: 12 }), jsxRuntime.jsx("trace", { from: "U4.VDD", to: "net.V3_3" }), jsxRuntime.jsx("trace", { from: "U4.GND", to: "net.GND" }), jsxRuntime.jsx("trace", { from: "U4.SDA", to: "net.I2C_SDA" }), jsxRuntime.jsx("trace", { from: "U4.SCL", to: "net.I2C_SCL" }), jsxRuntime.jsx("trace", { from: "C7.pin1", to: "net.V3_3" }), jsxRuntime.jsx("trace", { from: "C7.pin2", to: "net.GND" }), jsxRuntime.jsx("trace", { from: "R12.pin1", to: "net.V3_3" }), jsxRuntime.jsx("trace", { from: "R12.pin2", to: "net.I2C_SDA" }), jsxRuntime.jsx("trace", { from: "R13.pin1", to: "net.V3_3" }), jsxRuntime.jsx("trace", { from: "R13.pin2", to: "net.I2C_SCL" }), jsxRuntime.jsx("trace", { from: "TP7.pin1", to: "net.I2C_SDA" }), jsxRuntime.jsx("trace", { from: "TP8.pin1", to: "net.I2C_SCL" }), jsxRuntime.jsx("trace", { from: "U5.VDD", to: "net.V3_3" }), jsxRuntime.jsx("trace", { from: "U5.GND", to: "net.GND" }), jsxRuntime.jsx("trace", { from: "U5.RESET", to: "net.V3_3" }), jsxRuntime.jsx("trace", { from: "U5.CONT", to: "net.SOIL_CONTROL" }), jsxRuntime.jsx("trace", { from: "C9.pin1", to: "net.SOIL_CONTROL" }), jsxRuntime.jsx("trace", { from: "C9.pin2", to: "net.GND" }), jsxRuntime.jsx("trace", { from: "U5.TRIG", to: "net.SOIL_RC" }), jsxRuntime.jsx("trace", { from: "U5.THRES", to: "net.SOIL_RC" }), jsxRuntime.jsx("trace", { from: "C8.pin1", to: "net.SOIL_RC" }), jsxRuntime.jsx("trace", { from: "C8.pin2", to: "net.GND" }), jsxRuntime.jsx("trace", { from: "R14.pin1", to: "net.V3_3" }), jsxRuntime.jsx("trace", { from: "R14.pin2", to: "net.SOIL_DISCH" }), jsxRuntime.jsx("trace", { from: "U5.DISCH", to: "net.SOIL_DISCH" }), jsxRuntime.jsx("trace", { from: "R15.pin1", to: "net.SOIL_DISCH" }), jsxRuntime.jsx("trace", { from: "R15.pin2", to: "net.SOIL_RC" }), jsxRuntime.jsx("trace", { from: "U5.OUT", to: "net.SOIL_OSC" }), jsxRuntime.jsx("trace", { from: "R16.pin1", to: "net.SOIL_OSC" }), jsxRuntime.jsx("trace", { from: "R16.pin2", to: "net.SOIL_FREQ" }), jsxRuntime.jsx("trace", { from: "C10.pin1", to: "net.V3_3" }), jsxRuntime.jsx("trace", { from: "C10.pin2", to: "net.GND" }), jsxRuntime.jsx("trace", { from: "TP9.pin1", to: "net.SOIL_FREQ" })] }));
const buildCombOutline = (params) => {
const isLeftRail = params.railSide === "left";
const outerRailX = isLeftRail ? -6 : 6;
const innerRailX = isLeftRail ? -4.7 : 4.7;
const fingerTipX = isLeftRail ? 4.2 : -4.2;
const outline = [
{ x: outerRailX, y: -40 },
{ x: outerRailX, y: 7.4 },
{ x: innerRailX, y: 7.4 },
];
for (const fingerCenterY of params.fingerCenterYs) {
outline.push({ x: innerRailX, y: fingerCenterY + 0.6 }, { x: fingerTipX, y: fingerCenterY + 0.6 }, { x: fingerTipX, y: fingerCenterY - 0.6 }, { x: innerRailX, y: fingerCenterY - 0.6 });
}
outline.push({ x: innerRailX, y: -40 }, { x: outerRailX, y: -40 });
return outline;
};
const senseCombOutline = buildCombOutline({
railSide: "left",
fingerCenterYs: [-1, -5, -9, -13, -17, -21, -25, -29, -33, -37],
});
const groundCombOutline = buildCombOutline({
railSide: "right",
fingerCenterYs: [-3, -7, -11, -15, -19, -23, -27, -31, -35, -39],
});
const SoilElectrodes = () => (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsx("copperpour", { name: "SOIL_SENSE_COMB", layer: "top", connectsTo: "net.SOIL_RC", outline: senseCombOutline, clearance: "0.25mm", coveredWithSolderMask: true }), jsxRuntime.jsx("copperpour", { name: "SOIL_GROUND_COMB", layer: "top", connectsTo: "net.GND", outline: groundCombOutline, clearance: "0.25mm", coveredWithSolderMask: true })] }));
const boardOutline = [
{ x: -22, y: 42 },
{ x: 22, y: 42 },
{ x: 22, y: 8 },
{ x: 7, y: 8 },
{ x: 7, y: -40 },
{ x: 5, y: -42 },
{ x: -5, y: -42 },
{ x: -7, y: -40 },
{ x: -7, y: 8 },
{ x: -22, y: 8 },
];
const electronicsCopperOutline = [
{ x: -21.7, y: 8.3 },
{ x: 21.7, y: 8.3 },
{ x: 21.7, y: 41.7 },
{ x: -21.7, y: 41.7 },
];
var index_circuit = () => (jsxRuntime.jsxs("board", { title: "MuseGrow V2.1", outline: boardOutline, layers: 2, thickness: "1.6mm", material: "fr4", autorouter: "auto", autorouterVersion: "latest", autorouterEffortLevel: "10x", defaultTraceWidth: "0.2mm", schAutoLayoutEnabled: true, children: [jsxRuntime.jsx(PowerAndUsbSheet, {}), jsxRuntime.jsx(ControllerSheet, {}), jsxRuntime.jsx(SensorsAndIoSheet, {}), jsxRuntime.jsx(SoilElectrodes, {}), jsxRuntime.jsx("keepout", { shape: "rect", pcbX: 0, pcbY: 38.5, width: "20mm", height: "7mm", excludeRefs: [".U1"] }), jsxRuntime.jsx("copperpour", { name: "GND_TOP", connectsTo: "net.GND", layer: "top", outline: electronicsCopperOutline, clearance: "0.2mm", boardEdgeMargin: "0.3mm" }), jsxRuntime.jsx("copperpour", { name: "GND_BOTTOM", connectsTo: "net.GND", layer: "bottom", outline: electronicsCopperOutline, clearance: "0.2mm", boardEdgeMargin: "0.3mm" }), jsxRuntime.jsx("silkscreentext", { text: "MUSEGROW V2.1", pcbX: 0, pcbY: 10, fontSize: "1mm" }), jsxRuntime.jsx("silkscreentext", { text: "RESET", pcbX: -18, pcbY: 36.3, fontSize: "0.8mm" }), jsxRuntime.jsx("silkscreentext", { text: "BOOT", pcbX: -18, pcbY: 29.5, fontSize: "0.8mm" }), jsxRuntime.jsx("silkscreentext", { text: "PAIR", pcbX: 18, pcbY: 29.5, fontSize: "0.8mm" }), jsxRuntime.jsx("silkscreentext", { text: "PWR", pcbX: 10, pcbY: 20.2, fontSize: "0.8mm" }), jsxRuntime.jsx("silkscreentext", { text: "STATUS", pcbX: 15, pcbY: 33.6, fontSize: "0.8mm" }), jsxRuntime.jsx("silkscreentext", { text: "MAX SOIL", pcbX: 0, pcbY: 3.2, fontSize: "0.7mm" }), jsxRuntime.jsx("silkscreenpath", { route: [{ x: -6.5, y: 2 }, { x: 6.5, y: 2 }] }), jsxRuntime.jsx("silkscreentext", { text: "ANTENNA KEEP CLEAR", pcbX: 0, pcbY: 40.5, fontSize: "0.7mm" })] }));
module.exports = index_circuit;