tscircuit/boosters
This code defines PCB schematics, footprints, and 3D CAD models for various integrated circuits, connectors, sensors, and electronic components used in TI booster packs and modules.
- Version
- 0.1.19
- License
- unset
- Stars
- 0
dist/index.js
import { jsx, jsxs } from 'react/jsx-runtime';
import { Fragment } from 'react';
const pinLabels$4 = {
pin1: ["VDD_IO"],
pin2: ["NC1"],
pin3: ["NC2"],
pin4: ["pin4"],
pin5: ["GND1"],
pin6: ["pin6"],
pin7: ["pin7"],
pin8: ["CS"],
pin9: ["INT2"],
pin10: ["RES"],
pin11: ["INT1"],
pin12: ["GND2"],
pin13: ["ADC3"],
pin14: ["VDD"],
pin15: ["ADC2"],
pin16: ["ADC1"]
};
const LIS3DHTR = (props) => {
return (jsx("chip", { pinLabels: pinLabels$4, pinAttributes: {
pin1: { requiresPower: true, requiresVoltage: "3.3V" },
pin5: { requiresGround: true },
pin12: { requiresGround: true },
pin14: { requiresPower: true, requiresVoltage: "3.3V" },
}, supplierPartNumbers: {
"jlcpcb": [
"C15134"
]
}, manufacturerPartNumber: "LIS3DHTR", footprint: jsxs("footprint", { children: [jsx("smtpad", { portHints: ["pin1"], pcbX: "-1.400048mm", pcbY: "1.000125mm", width: "0.7999984mm", height: "0.2800096mm", radius: "0.1400048mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin2"], pcbX: "-1.400048mm", pcbY: "0.499999mm", width: "0.7999984mm", height: "0.2800096mm", radius: "0.1400048mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin3"], pcbX: "-1.400048mm", pcbY: "0.000127mm", width: "0.7999984mm", height: "0.2800096mm", radius: "0.1400048mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin4"], pcbX: "-1.400048mm", pcbY: "-0.499999mm", width: "0.7999984mm", height: "0.2800096mm", radius: "0.1400048mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin5"], pcbX: "-1.400048mm", pcbY: "-0.999871mm", width: "0.7999984mm", height: "0.2800096mm", radius: "0.1400048mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin6"], pcbX: "-0.499872mm", pcbY: "-1.399921mm", width: "0.2800096mm", height: "0.7999984mm", radius: "0.1400048mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin7"], pcbX: "0mm", pcbY: "-1.399921mm", width: "0.2800096mm", height: "0.7999984mm", radius: "0.1400048mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin8"], pcbX: "0.500126mm", pcbY: "-1.399921mm", width: "0.2800096mm", height: "0.7999984mm", radius: "0.1400048mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin9"], pcbX: "1.400048mm", pcbY: "-0.999871mm", width: "0.7999984mm", height: "0.2800096mm", radius: "0.1400048mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin10"], pcbX: "1.400048mm", pcbY: "-0.499999mm", width: "0.7999984mm", height: "0.2800096mm", radius: "0.1400048mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin11"], pcbX: "1.400048mm", pcbY: "0.000127mm", width: "0.7999984mm", height: "0.2800096mm", radius: "0.1400048mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin12"], pcbX: "1.400048mm", pcbY: "0.499999mm", width: "0.7999984mm", height: "0.2800096mm", radius: "0.1400048mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin13"], pcbX: "1.400048mm", pcbY: "1.000125mm", width: "0.7999984mm", height: "0.2800096mm", radius: "0.1400048mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin14"], pcbX: "0.500126mm", pcbY: "1.399921mm", width: "0.2800096mm", height: "0.7999984mm", radius: "0.1400048mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin15"], pcbX: "0mm", pcbY: "1.399921mm", width: "0.2800096mm", height: "0.7999984mm", radius: "0.1400048mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin16"], pcbX: "-0.499872mm", pcbY: "1.399921mm", width: "0.2800096mm", height: "0.7999984mm", radius: "0.1400048mm", shape: "pill" }), jsx("silkscreenpath", { route: [{ "x": -1.724888600000014, "y": 1.450111399999983 }, { "x": -1.724888600000014, "y": 1.7251171999999855 }, { "x": -1.0248899999999992, "y": 1.7251171999999855 }] }), jsx("silkscreenpath", { route: [{ "x": 1.0250932000000006, "y": 1.7251171999999855 }, { "x": 1.7251171999999855, "y": 1.7251171999999855 }, { "x": 1.7251171999999855, "y": 1.450111399999983 }] }), jsx("silkscreenpath", { route: [{ "x": -1.724888600000014, "y": -1.449882800000026 }, { "x": -1.724888600000014, "y": -1.7248886000000283 }, { "x": -1.0248899999999992, "y": -1.7248886000000283 }] }), jsx("silkscreenpath", { route: [{ "x": 1.0250932000000006, "y": -1.7248886000000283 }, { "x": 1.7251171999999855, "y": -1.7248886000000283 }, { "x": 1.7251171999999855, "y": -1.449882800000026 }] }), jsx("silkscreenpath", { route: [{ "x": -2.049678400000005, "y": 1.574926999999974 }, { "x": -1.9240564439124341, "y": 1.698648786962778 }, { "x": -1.799698052107189, "y": 1.573656999999983 }, { "x": -1.9240564439124341, "y": 1.4486652130371738 }, { "x": -2.049678400000005, "y": 1.5723869999999778 }] }), jsx("silkscreentext", { text: "{NAME}", pcbX: "-0.3048mm", pcbY: "2.727327mm", anchorAlignment: "center", fontSize: "1mm" }), jsx("courtyardoutline", { outline: [{ "x": -2.5614000000000203, "y": 1.977326999999974 }, { "x": 1.9517999999999773, "y": 1.977326999999974 }, { "x": 1.9517999999999773, "y": -1.9770730000000185 }, { "x": -2.5614000000000203, "y": -1.9770730000000185 }, { "x": -2.5614000000000203, "y": 1.977326999999974 }] })] }), cadModel: {
objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C15134.obj?uuid=c4b5277f94624e3ba038828676140c3b",
stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C15134.step?uuid=c4b5277f94624e3ba038828676140c3b",
pcbRotationOffset: 0,
modelOriginPosition: { x: 0, y: 0, z: 0 },
}, ...props }));
};
const pinLabels$3 = {
pin1: ["OUT"],
pin2: ["V_NEG"],
pin3: ["IN_POS"],
pin4: ["IN_NEG"],
pin5: ["V_POS"]
};
const OPA344NA_250 = (props) => {
return (jsx("chip", { pinLabels: pinLabels$3, pinAttributes: {
pin2: { requiresGround: true },
pin5: { requiresPower: true, requiresVoltage: "3.3V" },
}, supplierPartNumbers: {
"jlcpcb": [
"C131974"
]
}, manufacturerPartNumber: "OPA344NA_250", footprint: jsxs("footprint", { children: [jsx("smtpad", { portHints: ["pin5"], pcbX: "-1.300099mm", pcbY: "-0.94996mm", width: "1.0999978mm", height: "0.5999988mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin4"], pcbX: "-1.300099mm", pcbY: "0.94996mm", width: "1.0999978mm", height: "0.5999988mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin3"], pcbX: "1.300099mm", pcbY: "0.94996mm", width: "1.0999978mm", height: "0.5999988mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin2"], pcbX: "1.300099mm", pcbY: "-0mm", width: "1.0999978mm", height: "0.5999988mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin1"], pcbX: "1.300099mm", pcbY: "-0.94996mm", width: "1.0999978mm", height: "0.5999988mm", shape: "rect" }), jsx("silkscreenpath", { route: [{ "x": 0.8999728000000005, "y": -1.404111999999941 }, { "x": 0.8999728000000005, "y": -1.5500604000000067 }] }), jsx("silkscreenpath", { route: [{ "x": 0.8999728000000005, "y": -0.45412660000010874 }, { "x": 0.8999728000000005, "y": -0.4958079999998972 }] }), jsx("silkscreenpath", { route: [{ "x": 0.8999728000000005, "y": 0.4958079999998972 }, { "x": 0.8999728000000005, "y": 0.45415200000002187 }] }), jsx("silkscreenpath", { route: [{ "x": 0.8999728000000005, "y": 1.5499587999998994 }, { "x": 0.8999728000000005, "y": 1.404111999999941 }] }), jsx("silkscreenpath", { route: [{ "x": -0.9000489999999672, "y": -1.404111999999941 }, { "x": -0.9000489999999672, "y": -1.5500604000000067 }] }), jsx("silkscreenpath", { route: [{ "x": -0.9000489999999672, "y": 0.4958079999998972 }, { "x": -0.9000489999999672, "y": -0.4958334000000377 }] }), jsx("silkscreenpath", { route: [{ "x": -0.9000489999999672, "y": 1.5499587999998994 }, { "x": -0.9000489999999672, "y": 1.4040866000000278 }] }), jsx("silkscreenpath", { route: [{ "x": -0.9000489999999672, "y": 1.5499587999998994 }, { "x": 0.8999728000000005, "y": 1.5499587999998994 }] }), jsx("silkscreenpath", { route: [{ "x": -0.9000489999999672, "y": -1.5500604000000067 }, { "x": 0.8999728000000005, "y": -1.5500604000000067 }] }), jsx("silkscreentext", { text: "{NAME}", pcbX: "0.012319mm", pcbY: "2.562354mm", anchorAlignment: "center", fontSize: "1mm" }), jsx("courtyardoutline", { outline: [{ "x": -2.091880999999944, "y": 1.8123540000000276 }, { "x": 2.1165190000000393, "y": 1.8123540000000276 }, { "x": 2.1165190000000393, "y": -1.786446000000069 }, { "x": -2.091880999999944, "y": -1.786446000000069 }, { "x": -2.091880999999944, "y": 1.8123540000000276 }] })] }), cadModel: {
objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C131974.obj?uuid=460193f9bf2d42e58cf3c2f675b07dc6",
stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C131974.step?uuid=460193f9bf2d42e58cf3c2f675b07dc6",
pcbRotationOffset: 180,
modelOriginPosition: { x: 0, y: -12700000070253736e-21, z: -0.049083 },
}, ...props }));
};
const pinLabels$2 = {
pin1: ["VDD"],
pin2: ["ADDR"],
pin3: ["GND"],
pin4: ["SCL"],
pin5: ["INT"],
pin6: ["SDA"],
pin7: ["EP"]
};
const OPT3001DNPR = (props) => {
return (jsx("chip", { pinLabels: pinLabels$2, pinAttributes: {
pin1: { requiresPower: true, requiresVoltage: "3.3V" },
pin3: { requiresGround: true },
pin7: { requiresGround: true },
}, supplierPartNumbers: {
"jlcpcb": [
"C90462"
]
}, manufacturerPartNumber: "OPT3001DNPR", footprint: jsxs("footprint", { children: [jsx("smtpad", { portHints: ["pin5"], pcbX: "0mm", pcbY: "0.950087mm", width: "0.2500122mm", height: "0.5500116mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin4"], pcbX: "0.649986mm", pcbY: "0.950087mm", width: "0.2500122mm", height: "0.5500116mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin3"], pcbX: "0.649986mm", pcbY: "-0.950087mm", width: "0.2500122mm", height: "0.5500116mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin2"], pcbX: "0mm", pcbY: "-0.950087mm", width: "0.2500122mm", height: "0.5500116mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin1"], pcbX: "-0.649986mm", pcbY: "-0.950087mm", width: "0.2500122mm", height: "0.5500116mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin6"], pcbX: "-0.649986mm", pcbY: "0.950087mm", width: "0.2500122mm", height: "0.5500116mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin7"], pcbX: "0mm", pcbY: "0.000127mm", width: "1.35001mm", height: "0.6500114mm", shape: "rect" }), jsx("silkscreenpath", { route: [{ "x": -0.9298940000000044, "y": 1.0500106000000216 }, { "x": -1.0499597999999963, "y": 1.0500106000000216 }] }), jsx("silkscreenpath", { route: [{ "x": -0.27988259999999343, "y": 1.0500106000000216 }, { "x": -0.37007800000000657, "y": 1.0500106000000216 }] }), jsx("silkscreenpath", { route: [{ "x": 0.37012880000000337, "y": 1.0500106000000216 }, { "x": 0.279933399999976, "y": 1.0500106000000216 }] }), jsx("silkscreenpath", { route: [{ "x": 0.9299448000000012, "y": -1.0499851999999805 }, { "x": 1.0500360000000057, "y": -1.0499851999999805 }, { "x": 1.0500360000000057, "y": 1.0500106000000216 }, { "x": 0.9299448000000012, "y": 1.0500106000000216 }] }), jsx("silkscreenpath", { route: [{ "x": 0.279933399999976, "y": -1.0499851999999805 }, { "x": 0.37012880000000337, "y": -1.0499851999999805 }] }), jsx("silkscreenpath", { route: [{ "x": -0.37007800000000657, "y": -1.0499851999999805 }, { "x": -0.27988259999999343, "y": -1.0499851999999805 }] }), jsx("silkscreenpath", { route: [{ "x": -1.0499597999999963, "y": 1.0500106000000216 }, { "x": -1.0499597999999963, "y": -1.0499851999999805 }, { "x": -0.9298940000000044, "y": -1.0499851999999805 }] }), jsx("silkscreenpath", { route: [{ "x": -0.9585706000000016, "y": -1.3499845999999849 }, { "x": -0.9633887494962323, "y": -1.3865820788517595 }, { "x": -0.9775148490591477, "y": -1.4206854999999763 }, { "x": -0.9999862283480212, "y": -1.4499707716519623 }, { "x": -1.029271499999993, "y": -1.4724421509408359 }, { "x": -1.0633749211482098, "y": -1.4865682505037512 }, { "x": -1.0999723999999986, "y": -1.491386399999982 }, { "x": -1.1365698788517733, "y": -1.4865682505037512 }, { "x": -1.17067329999999, "y": -1.4724421509408359 }, { "x": -1.1999585716519903, "y": -1.4499707716519623 }, { "x": -1.2224299509408496, "y": -1.4206854999999763 }, { "x": -1.2365560505037507, "y": -1.3865820788517595 }, { "x": -1.2413741999999814, "y": -1.3499845999999849 }, { "x": -1.2365560505037507, "y": -1.3133871211482102 }, { "x": -1.2224299509408496, "y": -1.2792836999999793 }, { "x": -1.1999585716519903, "y": -1.2499984283479932 }, { "x": -1.17067329999999, "y": -1.227527049059134 }, { "x": -1.1365698788517733, "y": -1.2134009494962186 }, { "x": -1.0999723999999986, "y": -1.2085827999999879 }, { "x": -1.0633749211482098, "y": -1.2134009494962186 }, { "x": -1.029271499999993, "y": -1.227527049059134 }, { "x": -0.9999862283480212, "y": -1.2499984283479932 }, { "x": -0.9775148490591477, "y": -1.2792836999999793 }, { "x": -0.9633887494962323, "y": -1.3133871211482102 }, { "x": -0.9585706000000016, "y": -1.3499845999999849 }] }), jsx("silkscreentext", { text: "{NAME}", pcbX: "-0.091948mm", pcbY: "2.236853mm", anchorAlignment: "center", fontSize: "1mm" }), jsx("courtyardoutline", { outline: [{ "x": -1.4849480000000028, "y": 1.4868530000000106 }, { "x": 1.3010519999999985, "y": 1.4868530000000106 }, { "x": 1.3010519999999985, "y": -1.7309469999999862 }, { "x": -1.4849480000000028, "y": -1.7309469999999862 }, { "x": -1.4849480000000028, "y": 1.4868530000000106 }] })] }), cadModel: {
objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C90462.obj?uuid=145588bf87104e9e8a4fe548c3ae822c",
stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C90462.step?uuid=145588bf87104e9e8a4fe548c3ae822c",
pcbRotationOffset: 90,
modelOriginPosition: { x: -0.0130302000000313, y: 0.009017000000000053, z: 0 },
}, ...props }));
};
const pinLabels$1 = {
pin1: ["SCL"],
pin2: ["GND"],
pin3: ["ALERT"],
pin4: ["ADD0"],
pin5: ["V_POS"],
pin6: ["SDA"],
pin7: ["EP"]
};
const TMP117AIDRVR = (props) => {
return (jsx("chip", { pinLabels: pinLabels$1, pinAttributes: {
pin2: { requiresGround: true },
pin5: { requiresPower: true, requiresVoltage: "3.3V" },
pin7: { requiresGround: true },
}, supplierPartNumbers: {
"jlcpcb": [
"C699536"
]
}, manufacturerPartNumber: "TMP117AIDRVR", footprint: jsxs("footprint", { children: [jsx("smtpad", { portHints: ["pin1"], pcbX: "-1.028446mm", pcbY: "0.649986mm", width: "0.6070092mm", height: "0.3640074mm", radius: "0.1820037mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin2"], pcbX: "-1.028446mm", pcbY: "0mm", width: "0.6070092mm", height: "0.3640074mm", radius: "0.1820037mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin3"], pcbX: "-1.028446mm", pcbY: "-0.649986mm", width: "0.6070092mm", height: "0.3640074mm", radius: "0.1820037mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin4"], pcbX: "1.028446mm", pcbY: "-0.649986mm", width: "0.6070092mm", height: "0.3640074mm", radius: "0.1820037mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin5"], pcbX: "1.028446mm", pcbY: "0mm", width: "0.6070092mm", height: "0.3640074mm", radius: "0.1820037mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin6"], pcbX: "1.028446mm", pcbY: "0.649986mm", width: "0.6070092mm", height: "0.3640074mm", radius: "0.1820037mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin7"], pcbX: "0mm", pcbY: "0mm", width: "0.999998mm", height: "1.5999968mm", shape: "rect" }), jsx("silkscreenpath", { route: [{ "x": -1.0761979999999767, "y": 1.0761980000000904 }, { "x": 1.0761979999999767, "y": 1.0761980000000904 }] }), jsx("silkscreenpath", { route: [{ "x": -1.0761979999999767, "y": -1.0761979999999767 }, { "x": 1.0761979999999767, "y": -1.0761979999999767 }] }), jsx("silkscreenpath", { route: [{ "x": -1.5570200000000796, "y": 0.6499860000001263 }, { "x": -1.5595731778362278, "y": 0.6305926889506281 }, { "x": -1.5670587164945573, "y": 0.6125210000000152 }, { "x": -1.5789664888858397, "y": 0.5970024888858916 }, { "x": -1.594485000000077, "y": 0.5850947164944955 }, { "x": -1.6125566889505762, "y": 0.577609177836166 }, { "x": -1.6319500000000744, "y": 0.5750560000001315 }, { "x": -1.6513433110495725, "y": 0.577609177836166 }, { "x": -1.6694150000000718, "y": 0.5850947164944955 }, { "x": -1.6849335111143091, "y": 0.5970024888858916 }, { "x": -1.6968412835055915, "y": 0.6125210000000152 }, { "x": -1.704326822163921, "y": 0.6305926889506281 }, { "x": -1.7068800000000692, "y": 0.6499860000001263 }, { "x": -1.704326822163921, "y": 0.6693793110496244 }, { "x": -1.6968412835055915, "y": 0.6874510000001237 }, { "x": -1.6849335111143091, "y": 0.7029695111142473 }, { "x": -1.6694150000000718, "y": 0.7148772835055297 }, { "x": -1.6513433110495725, "y": 0.7223628221638592 }, { "x": -1.6319500000000744, "y": 0.7249160000000074 }, { "x": -1.6125566889505762, "y": 0.7223628221638592 }, { "x": -1.594485000000077, "y": 0.7148772835055297 }, { "x": -1.5789664888858397, "y": 0.7029695111142473 }, { "x": -1.5670587164945573, "y": 0.6874510000001237 }, { "x": -1.5595731778362278, "y": 0.6693793110496244 }, { "x": -1.5570200000000796, "y": 0.6499860000001263 }] }), jsx("silkscreentext", { text: "{NAME}", pcbX: "-0.2794mm", pcbY: "2.0668mm", anchorAlignment: "center", fontSize: "1mm" }), jsx("courtyardoutline", { outline: [{ "x": -1.9517999999999347, "y": 1.3167999999999438 }, { "x": 1.3929999999999154, "y": 1.3167999999999438 }, { "x": 1.3929999999999154, "y": -1.3421999999999343 }, { "x": -1.9517999999999347, "y": -1.3421999999999343 }, { "x": -1.9517999999999347, "y": 1.3167999999999438 }] })] }), cadModel: {
objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C699536.obj?uuid=c909123e4a7a4da5a0270979fee6c02c",
stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C699536.step?uuid=c909123e4a7a4da5a0270979fee6c02c",
pcbRotationOffset: 0,
modelOriginPosition: { x: 0, y: 0, z: 0 },
}, ...props }));
};
const pinLabels = {
pin1: ["pin1"],
pin2: ["pin2"],
pin3: ["pin3"],
pin4: ["pin4"],
pin5: ["pin5"],
pin6: ["pin6"],
pin7: ["pin7"],
pin8: ["pin8"],
pin9: ["pin8_alt1"],
pin10: ["pin7_alt1"]
};
const YA13_FL7_4_B5Ka_45_10__R_Y06 = (props) => {
return (jsx("chip", { pinLabels: pinLabels, symbol: jsxs("symbol", { children: [jsx("schematicpath", { points: [{ "x": -2.54, "y": 0 }, { "x": -2.032, "y": 1.016 }], strokeWidth: 0.254, strokeColor: "#8D2323" }), jsx("schematicpath", { points: [{ "x": -2.032, "y": 1.016 }, { "x": -1.524, "y": -1.016 }], strokeWidth: 0.254, strokeColor: "#8D2323" }), jsx("schematicpath", { points: [{ "x": -1.524, "y": -1.016 }, { "x": -0.762, "y": 1.016 }], strokeWidth: 0.254, strokeColor: "#8D2323" }), jsx("schematicpath", { points: [{ "x": -0.762, "y": 1.016 }, { "x": -0.254, "y": -1.016 }], strokeWidth: 0.254, strokeColor: "#8D2323" }), jsx("schematicpath", { points: [{ "x": -0.254, "y": -1.016 }, { "x": 0.254, "y": 1.016 }], strokeWidth: 0.254, strokeColor: "#8D2323" }), jsx("schematicpath", { points: [{ "x": 0.254, "y": 1.016 }, { "x": 1.016, "y": -1.016 }], strokeWidth: 0.254, strokeColor: "#8D2323" }), jsx("schematicpath", { points: [{ "x": 1.016, "y": -1.016 }, { "x": 1.524, "y": 1.016 }], strokeWidth: 0.254, strokeColor: "#8D2323" }), jsx("schematicpath", { points: [{ "x": 1.524, "y": 1.016 }, { "x": 2.286, "y": -1.016 }], strokeWidth: 0.254, strokeColor: "#8D2323" }), jsx("schematicpath", { points: [{ "x": 2.286, "y": -1.016 }, { "x": 2.54, "y": 0 }], strokeWidth: 0.254, strokeColor: "#8D2323" }), jsx("schematicpath", { points: [{ "x": 0, "y": 5.08 }, { "x": 0, "y": 1.524 }], strokeWidth: 0.254, strokeColor: "#880000" }), jsx("port", { name: "pin3", pinNumber: 3, aliases: ["3"], direction: "left", schX: -6.35, schY: 0, schStemLength: 2.54 }), jsx("port", { name: "pin1", pinNumber: 1, aliases: ["1"], direction: "right", schX: 6.35, schY: 0, schStemLength: 2.54 }), jsx("schematicpath", { points: [{ "x": -0.508, "y": 2.54 }, { "x": 0, "y": 1.524 }, { "x": 0.508, "y": 2.54 }, { "x": -0.508, "y": 2.54 }], strokeWidth: 0.254, strokeColor: "#880000", isFilled: true, fillColor: "#880000" }), jsx("port", { name: "pin2", pinNumber: 2, aliases: ["2"], direction: "up", schX: 0, schY: 7.62, schStemLength: 2.54 }), jsx("port", { name: "pin5", pinNumber: 5, aliases: ["5"], direction: "down", schX: 0, schY: -8.89, schStemLength: 2.54 }), jsx("schematicpath", { points: [{ "x": 0.508, "y": -5.08 }, { "x": 0, "y": -4.064 }, { "x": -0.508, "y": -5.08 }, { "x": 0.508, "y": -5.08 }], strokeWidth: 0.254, strokeColor: "#880000", isFilled: true, fillColor: "#880000" }), jsx("port", { name: "pin6", pinNumber: 6, aliases: ["6"], direction: "left", schX: -6.35, schY: -2.54, schStemLength: 2.54 }), jsx("port", { name: "pin4", pinNumber: 4, aliases: ["4"], direction: "right", schX: 6.35, schY: -2.54, schStemLength: 2.54 }), jsx("schematicpath", { points: [{ "x": 0, "y": -6.35 }, { "x": 0, "y": -4.064 }], strokeWidth: 0.254, strokeColor: "#880000" }), jsx("schematicpath", { points: [{ "x": -2.286, "y": -1.524 }, { "x": -2.54, "y": -2.54 }], strokeWidth: 0.254, strokeColor: "#8D2323" }), jsx("schematicpath", { points: [{ "x": -1.524, "y": -3.556 }, { "x": -2.286, "y": -1.524 }], strokeWidth: 0.254, strokeColor: "#8D2323" }), jsx("schematicpath", { points: [{ "x": -1.016, "y": -1.524 }, { "x": -1.524, "y": -3.556 }], strokeWidth: 0.254, strokeColor: "#8D2323" }), jsx("schematicpath", { points: [{ "x": -0.254, "y": -3.556 }, { "x": -1.016, "y": -1.524 }], strokeWidth: 0.254, strokeColor: "#8D2323" }), jsx("schematicpath", { points: [{ "x": 0.254, "y": -1.524 }, { "x": -0.254, "y": -3.556 }], strokeWidth: 0.254, strokeColor: "#8D2323" }), jsx("schematicpath", { points: [{ "x": 0.762, "y": -3.556 }, { "x": 0.254, "y": -1.524 }], strokeWidth: 0.254, strokeColor: "#8D2323" }), jsx("schematicpath", { points: [{ "x": 1.524, "y": -1.524 }, { "x": 0.762, "y": -3.556 }], strokeWidth: 0.254, strokeColor: "#8D2323" }), jsx("schematicpath", { points: [{ "x": 2.032, "y": -3.556 }, { "x": 1.524, "y": -1.524 }], strokeWidth: 0.254, strokeColor: "#8D2323" }), jsx("schematicpath", { points: [{ "x": 2.54, "y": -2.54 }, { "x": 2.032, "y": -3.556 }], strokeWidth: 0.254, strokeColor: "#8D2323" }), jsx("port", { name: "pin7", pinNumber: 7, aliases: ["7"], direction: "right", schX: 6.35, schY: 3.81, schStemLength: 2.54 }), jsx("port", { name: "pin8", pinNumber: 8, aliases: ["8"], direction: "left", schX: -6.35, schY: 3.81, schStemLength: 2.54 }), jsx("schematicrect", { schX: 0, schY: -0.635, width: 7.62, height: 11.43, strokeWidth: 0.254, color: "#880000" }), jsx("schematicpath", { points: [{ "x": 2.54, "y": 0 }, { "x": 3.81, "y": 0 }], strokeWidth: 0.254, strokeColor: "#880000" }), jsx("schematicpath", { points: [{ "x": 2.54, "y": -2.54 }, { "x": 3.81, "y": -2.54 }], strokeWidth: 0.254, strokeColor: "#880000" }), jsx("schematicpath", { points: [{ "x": -3.81, "y": -2.54 }, { "x": -2.54, "y": -2.54 }], strokeWidth: 0.254, strokeColor: "#880000" }), jsx("schematicpath", { points: [{ "x": -3.81, "y": 0 }, { "x": -2.54, "y": 0 }], strokeWidth: 0.254, strokeColor: "#880000" })] }), supplierPartNumbers: {
"jlcpcb": [
"C37323742"
]
}, manufacturerPartNumber: "YA13_FL7_4_B5Ka_45_10__R_Y06", footprint: jsxs("footprint", { children: [jsx("platedhole", { portHints: ["pin7"], pcbX: "3.8749859mm", pcbY: "7.1999221mm", outerDiameter: "1.7999964mm", holeDiameter: "1.5000224mm", shape: "circle" }), jsx("platedhole", { portHints: ["pin8"], pcbX: "-6.7249421mm", pcbY: "7.1999221mm", outerDiameter: "1.7999964mm", holeDiameter: "1.5000224mm", shape: "circle" }), jsx("platedhole", { portHints: ["pin9"], pcbX: "-6.7249421mm", pcbY: "-5.2999259mm", outerDiameter: "1.7999964mm", holeDiameter: "1.5000224mm", shape: "circle" }), jsx("platedhole", { portHints: ["pin10"], pcbX: "3.8749859mm", pcbY: "-5.2999259mm", outerDiameter: "1.7999964mm", holeDiameter: "1.5000224mm", shape: "circle" }), jsx("platedhole", { portHints: ["pin6"], pcbX: "-3.9251001mm", pcbY: "-7.2999219mm", outerDiameter: "1.5999968mm", holeDiameter: "1.1999976mm", shape: "circle" }), jsx("platedhole", { portHints: ["pin5"], pcbX: "-1.4249781mm", pcbY: "-7.2999219mm", outerDiameter: "1.5999968mm", holeDiameter: "1.1999976mm", shape: "circle" }), jsx("platedhole", { portHints: ["pin4"], pcbX: "1.0748899mm", pcbY: "-7.2999219mm", outerDiameter: "1.5999968mm", holeDiameter: "1.1999976mm", shape: "circle" }), jsx("platedhole", { portHints: ["pin3"], pcbX: "6.8249419mm", pcbY: "-1.5498699mm", outerDiameter: "1.5999968mm", holeDiameter: "1.1999976mm", shape: "circle" }), jsx("platedhole", { portHints: ["pin2"], pcbX: "6.8249419mm", pcbY: "0.9499981mm", outerDiameter: "1.5999968mm", holeDiameter: "1.1999976mm", shape: "circle" }), jsx("platedhole", { portHints: ["pin1"], pcbX: "6.8249419mm", pcbY: "3.4501201mm", outerDiameter: "1.5999968mm", holeDiameter: "1.1999976mm", shape: "circle" }), jsx("silkscreenpath", { route: [{ "x": 3.527996499999972, "y": -6.376454099999933 }, { "x": 3.527996499999972, "y": -8.574976500000048 }, { "x": -6.378003499999977, "y": -8.574976500000048 }, { "x": -6.378003499999977, "y": -6.376454099999933 }] }), jsx("silkscreenpath", { route: [{ "x": 7.851990899999919, "y": -4.086313899999936 }, { "x": 8.099996500000088, "y": -4.086313899999936 }] }), jsx("silkscreenpath", { route: [{ "x": 7.851990899999919, "y": 5.932157300000085 }, { "x": 8.099996500000088, "y": 5.932157300000085 }, { "x": 8.099996500000088, "y": -4.002976500000045 }] }), jsx("silkscreenpath", { route: [{ "x": 5.051996500000087, "y": 5.932157300000085 }, { "x": 7.851990899999919, "y": 5.932157300000085 }] }), jsx("silkscreenpath", { route: [{ "x": 5.051996500000087, "y": -4.086313899999936 }, { "x": 7.851990899999919, "y": -4.086313899999936 }] }), jsx("silkscreenpath", { route: [{ "x": -6.378003499999977, "y": -6.796976499999914 }, { "x": -6.378003499999977, "y": -7.685976499999924 }] }), jsx("silkscreenpath", { route: [{ "x": 3.527996499999972, "y": -6.669976499999962 }, { "x": 3.527996499999972, "y": -7.558976499999972 }] }), jsx("silkscreenpath", { route: [{ "x": -7.833067899999946, "y": 7.427023500000018 }, { "x": -7.902003499999978, "y": 7.427023500000018 }] }), jsx("silkscreenpath", { route: [{ "x": 2.7669109000000844, "y": 7.427023500000018 }, { "x": -5.6169179000000895, "y": 7.427023500000018 }] }), jsx("silkscreenpath", { route: [{ "x": 4.983060899999828, "y": -5.526976500000046 }, { "x": 5.051996500000087, "y": -5.526976500000046 }, { "x": 5.051996500000087, "y": 7.427023500000018 }, { "x": 4.983060899999828, "y": 7.427023500000018 }] }), jsx("silkscreenpath", { route: [{ "x": -5.6169179000000895, "y": -5.526976500000046 }, { "x": 2.7669109000000844, "y": -5.526976500000046 }] }), jsx("silkscreenpath", { route: [{ "x": -7.902003499999978, "y": 7.427023500000018 }, { "x": -7.902003499999978, "y": -5.526976500000046 }, { "x": -7.833067899999946, "y": -5.526976500000046 }] }), jsx("silkscreentext", { text: "{NAME}", pcbX: "0.1388999mm", pcbY: "9.1542001mm", anchorAlignment: "center", fontSize: "1mm" }), jsx("courtyardoutline", { outline: [{ "x": -8.150200100000006, "y": 8.40420010000014 }, { "x": 8.427999900000032, "y": 8.40420010000014 }, { "x": 8.427999900000032, "y": -8.935999899999956 }, { "x": -8.150200100000006, "y": -8.935999899999956 }, { "x": -8.150200100000006, "y": 8.40420010000014 }] })] }), cadModel: {
objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C37323742.obj?uuid=3d8711724bd94e00ae1621852217ca17",
stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C37323742.step?uuid=3d8711724bd94e00ae1621852217ca17",
pcbRotationOffset: 0,
modelOriginPosition: { x: 1.4249950000000027, y: -0.9500022999999729, z: -11.000007 },
}, ...props }));
};
const resistor0603CadModel = {
objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C25804.obj?uuid=6bd5cd867e9542ebae21caaf5d2d4c4d",
stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C25804.step?uuid=6bd5cd867e9542ebae21caaf5d2d4c4d",
pcbRotationOffset: 90,
modelOriginPosition: { x: -5e-3, y: 0, z: -0.01 },
};
const capacitor0603CadModel = {
objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C14663.obj?uuid=ac9b32e974bc448eab36b1293f859dcb",
stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C14663.step?uuid=ac9b32e974bc448eab36b1293f859dcb",
modelOriginPosition: { x: 0, y: 0, z: -0.4 },
};
const capacitor0805CadModel = {
objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C15850.obj?uuid=b87ab0c5465a48b3a1c9a6dac8d30bc5",
stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C15850.step?uuid=b87ab0c5465a48b3a1c9a6dac8d30bc5",
modelOriginPosition: { x: 0, y: -127e-7, z: -0.65 },
};
const sot23CadModel = {
objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C82460.obj?uuid=d777607a152f4f3aac9bb0d0c14ed6fd",
stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C82460.step?uuid=d777607a152f4f3aac9bb0d0c14ed6fd",
pcbRotationOffset: 0,
modelOriginPosition: { x: 0.0000127, y: -127e-7, z: 0.050795 },
};
const sod323CadModel = {
objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C2128.obj?uuid=7459fe65e23146c0a8d836e46a0add72",
stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C2128.step?uuid=7459fe65e23146c0a8d836e46a0add72",
modelOriginPosition: { x: 0, y: 0.0001143, z: 0 },
};
const greenLed0603CadModel = {
objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C125098.obj?uuid=3c2caa1a3e7d4a5a87f46b87d898ef41",
stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C125098.step?uuid=3c2caa1a3e7d4a5a87f46b87d898ef41",
modelOriginPosition: { x: -127e-7, y: 0.0000127, z: -0.01 },
};
const redLed0603CadModel = {
objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C2286.obj?uuid=0da0275bf7a84667bce8747a921fb9e3",
stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C2286.step?uuid=0da0275bf7a84667bce8747a921fb9e3",
modelOriginPosition: { x: 0.0000508, y: -508e-7, z: -0.01 },
};
const buttonCadModel = {
objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C84931.obj?uuid=ca13360db5d54550a11550852a0f41e8",
stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C84931.step?uuid=ca13360db5d54550a11550852a0f41e8",
modelOriginPosition: { x: 0.0000127, y: -31242e-7, z: -0.2196736 },
};
const microphoneCadModel = {
objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C530035.obj?uuid=d58f406863284e7ab4a14d28d76d2085",
stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C530035.step?uuid=d58f406863284e7ab4a14d28d76d2085",
// The custom microphone footprint and circular silkscreen are centered on
// the component origin, so do not retain the EasyEDA footprint's Y offset.
modelOriginPosition: { x: 0, y: 0, z: -6e-6 },
};
const buzzerCadModel = {
objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C96093.obj?uuid=659b7b30e5a340e8a7eddac89d8c69d7",
stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C96093.step?uuid=659b7b30e5a340e8a7eddac89d8c69d7",
pcbRotationOffset: 90,
modelOriginPosition: { x: 0, y: -0.0199898, z: -9e-6 },
};
const rgbLedCadModel = {
objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C5345899.obj?uuid=71a8e53030004306acdc24854d6aa343",
stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C5345899.step?uuid=71a8e53030004306acdc24854d6aa343",
modelOriginPosition: { x: 0, y: -127e-7, z: -1 },
};
const boosterHeaderCadModel = {
objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C2897411.obj?uuid=b43d0c057b6b4175ab19ee916be5b1eb",
stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C2897411.step?uuid=b43d0c057b6b4175ab19ee916be5b1eb",
positionOffset: { x: 1.27, y: 0, z: 0 },
modelOriginPosition: { x: 0.0004863, y: 0, z: -4.2500064 },
};
const servoHeaderCadModel = {
objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C49257.obj?uuid=c023159e66794c6e8fc0907055f01d55",
stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C49257.step?uuid=c023159e66794c6e8fc0907055f01d55",
modelOriginPosition: { x: -2.54, y: 0, z: -6e-6 },
};
// The legacy Crystalfontz TFT is not in JLCPCB's current catalog. The exact
// SFV10R-2STE1HLF connector was imported as C3195321. This material-free OBJ
// data URL keeps the panel self-contained and compatible with cloud eval,
// which does not import local MTL files.
const displayCadModel = {
objUrl: "data:text/plain;base64,byBNb2R1bGVQQ0IKdiAtMTcgLTE5IDAKdiAxNyAtMTkgMAp2IDE3IDE5IDAKdiAtMTcgMTkgMAp2IC0xNyAtMTkgMQp2IDE3IC0xOSAxCnYgMTcgMTkgMQp2IC0xNyAxOSAxCmYgMSA0IDMgMgpmIDUgNiA3IDgKZiAxIDIgNiA1CmYgMiAzIDcgNgpmIDMgNCA4IDcKZiA0IDEgNSA4CgpvIEJlemVsCnYgLTE1IC0xNiAxCnYgMTUgLTE2IDEKdiAxNSAxNiAxCnYgLTE1IDE2IDEKdiAtMTUgLTE2IDEuNgp2IDE1IC0xNiAxLjYKdiAxNSAxNiAxLjYKdiAtMTUgMTYgMS42CmYgOSAxMiAxMSAxMApmIDEzIDE0IDE1IDE2CmYgOSAxMCAxNCAxMwpmIDEwIDExIDE1IDE0CmYgMTEgMTIgMTYgMTUKZiAxMiA5IDEzIDE2CgpvIEdsYXNzCnYgLTEzLjggLTE0LjggMS42CnYgMTMuOCAtMTQuOCAxLjYKdiAxMy44IDE0LjggMS42CnYgLTEzLjggMTQuOCAxLjYKdiAtMTMuOCAtMTQuOCAxLjg1CnYgMTMuOCAtMTQuOCAxLjg1CnYgMTMuOCAxNC44IDEuODUKdiAtMTMuOCAxNC44IDEuODUKZiAxNyAyMCAxOSAxOApmIDIxIDIyIDIzIDI0CmYgMTcgMTggMjIgMjEKZiAxOCAxOSAyMyAyMgpmIDE5IDIwIDI0IDIzCmYgMjAgMTcgMjEgMjQKCm8gQ29ubmVjdG9yCnYgLTQuOCAxMy4zIDEKdiA0LjggMTMuMyAxCnYgNC44IDE1LjcgMQp2IC00LjggMTUuNyAxCnYgLTQuOCAxMy4zIDIuMgp2IDQuOCAxMy4zIDIuMgp2IDQuOCAxNS43IDIuMgp2IC00LjggMTUuNyAyLjIKZiAyNSAyOCAyNyAyNgpmIDI5IDMwIDMxIDMyCmYgMjUgMjYgMzAgMjkKZiAyNiAyNyAzMSAzMApmIDI3IDI4IDMyIDMxCmYgMjggMjUgMjkgMzIK",
// The component origin is the FFC connector; the panel outline is centered
// 14.5 mm below it.
positionOffset: { x: 0, y: -14.5, z: 0 },
modelOriginPosition: { x: 0, y: 0, z: 0 },
};
const JlcResistor = (props) => (jsx("resistor", { ...props, cadModel: resistor0603CadModel }));
const JlcCapacitor = (props) => (jsx("capacitor", { ...props, cadModel: props.footprint === "0805"
? capacitor0805CadModel
: capacitor0603CadModel }));
const JlcTransistor = (props) => (jsx("transistor", { ...props, cadModel: sot23CadModel }));
const JlcLed = (props) => (jsx("led", { ...props, cadModel: props.color === "green" ? greenLed0603CadModel : redLed0603CadModel }));
const T = ({ from, to }) => {
const netSelector = [from, to].find((selector) => selector.startsWith("net."));
const netName = netSelector?.slice(4);
return (jsx("trace", { name: `${from} to ${to}`, from: from, to: to, schDisplayLabel: netName }));
};
const pillOutline = (width, height, segments = 18) => {
const radius = height / 2;
const straightHalfWidth = width / 2 - radius;
const points = [];
for (let index = 0; index <= segments; index += 1) {
const angle = Math.PI / 2 - (Math.PI * index) / segments;
points.push({
x: straightHalfWidth + radius * Math.cos(angle),
y: radius * Math.sin(angle),
});
}
for (let index = 0; index <= segments; index += 1) {
const angle = -Math.PI / 2 - (Math.PI * index) / segments;
points.push({
x: -straightHalfWidth + radius * Math.cos(angle),
y: radius * Math.sin(angle),
});
}
return points;
};
const boardOutline = pillOutline(127, 55.88);
const boosterHeaderFootprint = (jsxs("footprint", { children: [Array.from({ length: 10 }, (_, index) => (jsx(Fragment, { children: jsx("platedhole", { shape: "circle", portHints: [`pin${index + 1}`], pcbX: (index - 4.5) * 2.54, pcbY: 0, holeDiameter: "1mm", outerDiameter: "1.8mm" }) }, index))), jsx("silkscreenrect", { pcbX: 0, pcbY: 0, width: "24.86mm", height: "2.3mm", filled: false, stroke: "solid", strokeWidth: "0.2mm" }), jsx("courtyardoutline", { outline: [
{ x: -12.43, y: -1.2 },
{ x: 12.43, y: -1.2 },
{ x: 12.43, y: 1.2 },
{ x: -12.43, y: 1.2 },
{ x: -12.43, y: -1.2 },
] })] }));
const displayFootprint = (jsxs("footprint", { children: [Array.from({ length: 10 }, (_, index) => (jsx(Fragment, { children: jsx("smtpad", { portHints: [`pin${index + 1}`], pcbX: -2.25 + index * 0.5, pcbY: 0, width: "0.3mm", height: "1.4mm", shape: "rect" }) }, index))), jsx("silkscreenrect", { pcbX: 0, pcbY: -14.5, width: "34mm", height: "38mm", cornerRadius: "1mm", filled: false, stroke: "solid", strokeWidth: "0.35mm" }), jsx("silkscreenrect", { pcbX: 0, pcbY: -14.5, width: "29mm", height: "31mm", cornerRadius: "0.5mm", filled: false, stroke: "solid", strokeWidth: "0.2mm" }), jsx("silkscreentext", { text: "1.8in SPI TFT", pcbX: 0, pcbY: -31.3, fontSize: "1.1mm" }), jsx("courtyardoutline", { outline: [
{ x: -17.5, y: 1.5 },
{ x: 17.5, y: 1.5 },
{ x: 17.5, y: -34 },
{ x: -17.5, y: -34 },
{ x: -17.5, y: 1.5 },
] })] }));
const buttonFootprint = (jsxs("footprint", { children: [jsx("platedhole", { shape: "circle", portHints: ["pin1"], pcbX: -3.25, pcbY: 0, holeDiameter: "1mm", outerDiameter: "2mm" }), jsx("platedhole", { shape: "circle", portHints: ["pin2"], pcbX: 3.25, pcbY: 0, holeDiameter: "1mm", outerDiameter: "2mm" }), jsx("hole", { pcbX: 0, pcbY: -3.25, diameter: "1.2mm" }), jsx("hole", { pcbX: 0, pcbY: 3.25, diameter: "1.2mm" }), jsx("courtyardrect", { pcbX: 0, pcbY: 0, width: "14.6mm", height: "12.6mm" }), jsx("silkscreenpath", { route: [
{ x: -6.2, y: -6.2 },
{ x: 6.2, y: -6.2 },
{ x: 6.2, y: 6.2 },
{ x: -6.2, y: 6.2 },
{ x: -6.2, y: -6.2 },
], strokeWidth: "0.3mm" }), jsx("silkscreencircle", { pcbX: 0, pcbY: 0, radius: "3.5mm", isOutline: true, strokeWidth: "0.2mm" })] }));
const microphoneFootprint = (jsxs("footprint", { children: [jsx("platedhole", { shape: "circle", portHints: ["pin1"], pcbX: -1.9, pcbY: 0, holeDiameter: "0.9mm", outerDiameter: "1.8mm" }), jsx("platedhole", { shape: "circle", portHints: ["pin2"], pcbX: 1.9, pcbY: 0, holeDiameter: "0.9mm", outerDiameter: "1.8mm" }), jsx("courtyardcircle", { pcbX: 0, pcbY: 0, radius: "5mm" }), jsx("silkscreencircle", { pcbX: 0, pcbY: 0, radius: "4.8mm", isOutline: true, strokeWidth: "0.3mm" }), jsx("silkscreentext", { text: "MIC", pcbX: 0, pcbY: -5.8, fontSize: "1mm" })] }));
const buzzerFootprint = (jsxs("footprint", { children: [jsx("platedhole", { shape: "circle", portHints: ["pin1"], pcbX: -3.75, pcbY: 0, holeDiameter: "0.9mm", outerDiameter: "1.8mm" }), jsx("platedhole", { shape: "circle", portHints: ["pin2"], pcbX: 3.75, pcbY: 0, holeDiameter: "0.9mm", outerDiameter: "1.8mm" }), jsx("courtyardcircle", { pcbX: 0, pcbY: 0, radius: "6.2mm" }), jsx("silkscreencircle", { pcbX: 0, pcbY: 0, radius: "6mm", isOutline: true, strokeWidth: "0.3mm" }), jsx("silkscreentext", { text: "BUZZER", pcbX: 0, pcbY: -7.1, fontSize: "1mm" }), jsx("silkscreentext", { text: "+", pcbX: -3.75, pcbY: 2, fontSize: "1.4mm" })] }));
const rgbFootprint = (jsxs("footprint", { children: [jsx("smtpad", { portHints: ["pin1"], pcbX: -1.4, pcbY: -1.4, width: "1.2mm", height: "1.2mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin2"], pcbX: 1.4, pcbY: -1.4, width: "1.2mm", height: "1.2mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin3"], pcbX: 1.4, pcbY: 1.4, width: "1.2mm", height: "1.2mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin4"], pcbX: -1.4, pcbY: 1.4, width: "1.2mm", height: "1.2mm", shape: "rect" }), jsx("silkscreenrect", { pcbX: 0, pcbY: 0, width: "4.4mm", height: "4.4mm", cornerRadius: "0.5mm", filled: false, stroke: "solid", strokeWidth: "0.25mm" })] }));
var index_circuit = () => (jsxs("board", { title: "EDU BoosterPack TS", outline: boardOutline, layers: 2, thickness: "1.6mm", solderMaskColor: "red", silkscreenColor: "white", autorouter: "auto-local", autorouterEffortLevel: "5x", defaultTraceWidth: "0.25mm", minTraceWidth: "0.2mm", minViaHoleDiameter: "0.3mm", minViaPadDiameter: "0.45mm", children: [jsx("schematicsheet", { name: "Interface", displayName: "Interface, Display & Controls", sheetIndex: 1 }), jsx("schematicsheet", { name: "Sensing", displayName: "Sensors & Microphone", sheetIndex: 2 }), jsx("schematicsheet", { name: "Outputs", displayName: "Outputs, Expansion & Power", sheetIndex: 3 }), jsxs("group", { name: "InterfaceSheetSchematic", pcbX: 0, pcbY: 0, schSheetName: "Interface", schX: 0, schY: 0, children: [jsx("schematicsection", { name: "Interface", displayName: "LaunchPad Interface" }), jsx("schematicsection", { name: "Display", displayName: "SPI TFT Display" }), jsx("schematicsection", { name: "Controls", displayName: "Joystick & Buttons" }), jsx("silkscreentext", { text: "EDU BOOSTERPACK TS", pcbX: 0, pcbY: 25.8, fontSize: "1.6mm" }), jsx("silkscreentext", { text: "LaunchPad XL compatible \u2022 3V3 logic", pcbX: 0, pcbY: 23.7, fontSize: "0.9mm" }), jsx("silkscreentext", { text: "JOYSTICK", pcbX: -48, pcbY: 20, fontSize: "1mm" }), jsx("silkscreentext", { text: "SENSORS", pcbX: 5, pcbY: 20, fontSize: "1mm" }), jsx("silkscreentext", { text: "BUTTONS", pcbX: 49, pcbY: 21.5, fontSize: "1mm" }), jsxs("group", { name: "InterfaceSchematic", pcbX: 0, pcbY: 0, schX: -11.5, schY: 0, children: [jsx("pinheader", { name: "J1", pinCount: 10, pitch: "2.54mm", gender: "female", layer: "bottom", pcbX: -22.86, pcbY: -1.27, pcbRotation: 90, footprint: boosterHeaderFootprint, cadModel: boosterHeaderCadModel, showSilkscreenPinLabels: true, pinLabels: ["3V3", "JOY_X", "J1_3", "J1_4", "JOY_SEL", "MIC_IN", "LCD_SCLK", "LIGHT_INT", "I2C_SCL", "I2C_SDA"], pinAttributes: { pin3: { doNotConnect: true }, pin4: { doNotConnect: true } }, schSectionName: "Interface", schX: -1.5, schY: 1.5 }), jsx("pinheader", { name: "J3", pinCount: 10, pitch: "2.54mm", gender: "female", layer: "bottom", pcbX: -20.32, pcbY: -1.27, pcbRotation: 90, footprint: boosterHeaderFootprint, cadModel: null, showSilkscreenPinLabels: true, pinLabels: ["5V", "GND", "A23", "A24", "ACC_INT", "JOY_Y", "J3_27", "J3_28", "J3_29", "J3_30"], pinAttributes: {
pin3: { doNotConnect: true },
pin4: { doNotConnect: true },
pin7: { doNotConnect: true },
pin8: { doNotConnect: true },
pin9: { doNotConnect: true },
pin10: { doNotConnect: true },
}, schSectionName: "Interface", schX: -1.5, schY: -1.5 }), jsx("pinheader", { name: "J4", pinCount: 10, pitch: "2.54mm", gender: "female", layer: "bottom", pcbX: 20.32, pcbY: -1.27, pcbRotation: 90, footprint: boosterHeaderFootprint, cadModel: boosterHeaderCadModel, showSilkscreenPinLabels: true, pinLabels: ["LCD_DC", "BTN2", "BTN1", "GATOR", "J4_35", "J4_36", "RGB_B", "RGB_G", "RGB_R_BL", "BUZZER"], pinAttributes: { pin5: { doNotConnect: true }, pin6: { doNotConnect: true } }, schSectionName: "Interface", schX: 1.5, schY: -1.5 }), jsx("pinheader", { name: "J2", pinCount: 10, pitch: "2.54mm", gender: "female", layer: "bottom", pcbX: 22.86, pcbY: -1.27, pcbRotation: 90, footprint: boosterHeaderFootprint, cadModel: null, showSilkscreenPinLabels: true, pinLabels: ["TEMP_INT", "J2_12", "LCD_CS", "J2_14", "LCD_MOSI", "J2_16", "LCD_RST", "J2_18", "SERVO_PWM", "GND"], pinAttributes: {
pin2: { doNotConnect: true },
pin4: { doNotConnect: true },
pin6: { doNotConnect: true },
pin8: { doNotConnect: true },
}, schSectionName: "Interface", schX: 1.5, schY: 1.5 }), jsx(T, { from: ".J1 > .pin1", to: "net.V3V3" }), jsx(T, { from: ".J1 > .pin2", to: "net.JOY_X" }), jsx(T, { from: ".J1 > .pin5", to: "net.JOY_SEL" }), jsx(T, { from: ".J1 > .pin6", to: "net.MIC_IN" }), jsx(T, { from: ".J1 > .pin7", to: "net.LCD_SCLK" }), jsx(T, { from: ".J1 > .pin8", to: "net.LIGHT_INT" }), jsx(T, { from: ".J1 > .pin9", to: "net.I2C_SCL" }), jsx(T, { from: ".J1 > .pin10", to: "net.I2C_SDA" }), jsx(T, { from: ".J3 > .pin1", to: "net.V5V" }), jsx(T, { from: ".J3 > .pin2", to: "net.GND" }), jsx(T, { from: ".J3 > .pin5", to: "net.ACC_INT" }), jsx(T, { from: ".J3 > .pin6", to: "net.JOY_Y" }), jsx(T, { from: ".J4 > .pin1", to: "net.LCD_DC" }), jsx(T, { from: ".J4 > .pin2", to: "net.BTN2" }), jsx(T, { from: ".J4 > .pin3", to: "net.BTN1" }), jsx(T, { from: ".J4 > .pin4", to: "net.GATOR" }), jsx(T, { from: ".J4 > .pin7", to: "net.RGB_B" }), jsx(T, { from: ".J4 > .pin8", to: "net.RGB_G" }), jsx(T, { from: ".J4 > .pin9", to: "net.RGB_R_BL" }), jsx(T, { from: ".J4 > .pin10", to: "net.BUZZER" }), jsx(T, { from: ".J2 > .pin1", to: "net.TEMP_INT" }), jsx(T, { from: ".J2 > .pin3", to: "net.LCD_CS" }), jsx(T, { from: ".J2 > .pin5", to: "net.LCD_MOSI" }), jsx(T, { from: ".J2 > .pin7", to: "net.LCD_RST" }), jsx(T, { from: ".J2 > .pin9", to: "net.SERVO_PWM" }), jsx(T, { from: ".J2 > .pin10", to: "net.GND" })] }), jsxs("group", { name: "DisplaySchematic", pcbX: 0, pcbY: 0, schX: -1.5, schY: 0, schAutoLayoutEnabled: true, children: [jsx("chip", { name: "U5", manufacturerPartNumber: "1.8IN-ST7735-SPI-TFT", cadModel: displayCadModel, pinLabels: {
pin1: ["GND1"],
pin2: ["VCC"],
pin3: ["SCLK"],
pin4: ["MOSI"],
pin5: ["RST"],
pin6: ["DC"],
pin7: ["CS"],
pin8: ["BL"],
pin9: ["MISO"],
pin10: ["GND2"],
}, noConnect: ["MISO"], pinAttributes: {
pin1: { requiresGround: true },
pin2: { requiresPower: true, requiresVoltage: "3.3V" },
pin10: { requiresGround: true },
}, footprint: displayFootprint, pcbX: 0, pcbY: 8, schSectionName: "Display" }), jsx(JlcResistor, { name: "R1", resistance: "6.8", footprint: "0603", pcbX: 15, pcbY: 20.5, schSectionName: "Display" }), jsx(JlcCapacitor, { name: "C4", capacitance: "100nF", footprint: "0603", pcbX: -12, pcbY: 20.5, schSectionName: "Display" }), jsx(JlcCapacitor, { name: "C5", capacitance: "10uF", footprint: "0805", pcbX: -15.5, pcbY: 20.5, schSectionName: "Display" }), jsx(T, { from: ".U5 > .GND1", to: "net.GND" }), jsx(T, { from: ".U5 > .GND2", to: "net.GND" }), jsx(T, { from: ".U5 > .VCC", to: "net.V3V3" }), jsx(T, { from: ".U5 > .SCLK", to: "net.LCD_SCLK" }), jsx(T, { from: ".U5 > .MOSI", to: "net.LCD_MOSI" }), jsx(T, { from: ".U5 > .RST", to: "net.LCD_RST" }), jsx(T, { from: ".U5 > .DC", to: "net.LCD_DC" }), jsx(T, { from: ".U5 > .CS", to: "net.LCD_CS" }), jsx(T, { from: ".U5 > .BL", to: "net.LCD_BL" }), jsx(T, { from: ".R1 > .pin1", to: "net.LCD_BL" }), jsx(T, { from: ".R1 > .pin2", to: "net.RGB_R_BL" }), jsx(T, { from: ".C4 > .pin1", to: "net.V3V3" }), jsx(T, { from: ".C4 > .pin2", to: "net.GND" }), jsx(T, { from: ".C5 > .pin1", to: "net.V3V3" }), jsx(T, { from: ".C5 > .pin2", to: "net.GND" })] }), jsxs("group", { name: "ControlsSchematic", pcbX: 0, pcbY: 0, schX: 9.5, schY: -1, schAutoLayoutEnabled: true, children: [jsx(YA13_FL7_4_B5Ka_45_10__R_Y06, { name: "U6", symbol: undefined, pinAttributes: {
pin1: { requiresPower: true, requiresVoltage: "3.3V" },
pin2: {},
pin3: { requiresGround: true },
pin4: { requiresPower: true, requiresVoltage: "3.3V" },
pin5: {},
pin6: { requiresGround: true },
pin7: {},
pin8: { requiresGround: true },
pin9: { requiresGround: true },
pin10: {},
pin8_alt1: { requiresGround: true },
pin7_alt1: {},
}, pcbX: -40.64, pcbY: 2.54, schSectionName: "Controls" }), jsx("silkscreencircle", { pcbX: -40.64, pcbY: 2.54, radius: "10mm", isOutline: true, strokeWidth: "0.35mm" }), jsx("silkscreencircle", { pcbX: -40.64, pcbY: 2.54, radius: "7.2mm", isOutline: true, strokeWidth: "0.2mm" }), jsx("silkscreentext", { text: "JOYSTICK", pcbX: -40.64, pcbY: -8.66, fontSize: "1mm" }), jsx(JlcResistor, { name: "R2", resistance: "10k", footprint: "0603", pcbX: -50, pcbY: -8, schSectionName: "Controls" }), jsx(JlcCapacitor, { name: "C6", capacitance: "10nF", footprint: "0603", pcbX: -51, pcbY: 15, schSectionName: "Controls" }), jsx(JlcCapacitor, { name: "C7", capacitance: "10nF", footprint: "0603", pcbX: -47.5, pcbY: 15.5, schSectionName: "Controls" }), jsx(T, { from: ".U6 > .pin1", to: "net.V3V3" }), jsx(T, { from: ".U6 > .pin2", to: "net.JOY_X" }), jsx(T, { from: ".U6 > .pin3", to: "net.GND" }), jsx(T, { from: ".U6 > .pin4", to: "net.V3V3" }), jsx(T, { from: ".U6 > .pin5", to: "net.JOY_Y" }), jsx(T, { from: ".U6 > .pin6", to: "net.GND" }), jsx(T, { from: ".U6 > .pin7", to: "net.JOY_SEL" }), jsx(T, { from: ".U6 > .pin8", to: "net.GND" }), jsx(T, { from: ".U6 > .pin9", to: "net.GND" }), jsx(T, { from: ".U6 > .pin10", to: "net.JOY_SEL" }), jsx(T, { from: ".R2 > .pin1", to: "net.V3V3" }), jsx(T, { from: ".R2 > .pin2", to: "net.JOY_SEL" }), jsx(T, { from: ".C6 > .pin1", to: "net.JOY_X" }), jsx(T, { from: ".C6 > .pin2", to: "net.GND" }), jsx(T, { from: ".C7 > .pin1", to: "net.JOY_Y" }), jsx(T, { from: ".C7 > .pin2", to: "net.GND" }), jsx("pushbutton", { name: "SW1", manufacturerPartNumber: "MJTP1212", cadModel: buttonCadModel, pinLabels: { pin1: ["SIG"], pin2: ["GND"] }, footprint: buttonFootprint, pcbX: 48.26, pcbY: 14, pcbRotation: -45, schSectionName: "Controls" }), jsx("pushbutton", { name: "SW2", manufacturerPartNumber: "MJTP1212", cadModel: buttonCadModel, pinLabels: { pin1: ["SIG"], pin2: ["GND"] }, footprint: buttonFootprint, pcbX: 48.26, pcbY: -4.5, pcbRotation: -45, schSectionName: "Controls" }), jsx(JlcResistor, { name: "R3", resistance: "10k", footprint: "0603", pcbX: 37, pcbY: 13.5, schSectionName: "Controls" }), jsx(JlcResistor, { name: "R4", resistance: "10k", footprint: "0603", pcbX: 36.5, pcbY: -4, schSectionName: "Controls" }), jsx(T, { from: ".SW1 > .SIG", to: "net.BTN1" }), jsx(T, { from: ".SW1 > .GND", to: "net.GND" }), jsx(T, { from: ".R3 > .pin1", to: "net.V3V3" }), jsx(T, { from: ".R3 > .pin2", to: "net.BTN1" }), jsx(T, { from: ".SW2 > .SIG", to: "net.BTN2" }), jsx(T, { from: ".SW2 > .GND", to: "net.GND" }), jsx(T, { from: ".R4 > .pin1", to: "net.V3V3" }), jsx(T, { from: ".R4 > .pin2", to: "net.BTN2" })] })] }), jsxs("group", { name: "SensingSheetSchematic", pcbX: 0, pcbY: 0, schSheetName: "Sensing", schX: 0, schY: 0, children: [jsx("schematicsection", { name: "Sensors", displayName: "Environmental & Motion Sensors" }), jsx("schematicsection", { name: "Audio", displayName: "Microphone Front End" }), jsxs("group", { name: "SensorsSchematic", pcbX: 0, pcbY: 0, schX: -3.3, schY: -0.4, schAutoLayoutEnabled: true, children: [jsx(JlcResistor, { name: "R5", resistance: "10k", footprint: "0603", pcbX: -9, pcbY: 20.5, schSectionName: "Sensors" }), jsx(JlcResistor, { name: "R6", resistance: "10k", footprint: "0603", pcbX: -6, pcbY: 20.5, schSectionName: "Sensors" }), jsx(T, { from: ".R5 > .pin1", to: "net.V3V3" }), jsx(T, { from: ".R5 > .pin2", to: "net.I2C_SCL" }), jsx(T, { from: ".R6 > .pin1", to: "net.V3V3" }), jsx(T, { from: ".R6 > .pin2", to: "net.I2C_SDA" }), jsx(OPT3001DNPR, { name: "U1", pcbX: -1, pcbY: 20.5, schSectionName: "Sensors" }), jsx(JlcCapacitor, { name: "C1", capacitance: "100nF", footprint: "0603", pcbX: 2.5, pcbY: 20.5, schSectionName: "Sensors" }), jsx("tracehint", { for: ".U1 > .INT", offset: { x: -1.2, y: -1.2 } }), jsx(T, { from: ".U1 > .VDD", to: "net.V3V3" }), jsx(T, { from: ".U1 > .ADDR", to: "net.GND" }), jsx(T, { from: ".U1 > .GND", to: "net.GND" }), jsx(T, { from: ".U1 > .EP", to: "net.GND" }), jsx(T, { from: ".U1 > .SCL", to: "net.I2C_SCL" }), jsx(T, { from: ".U1 > .SDA", to: "net.I2C_SDA" }), jsx(T, { from: ".U1 > .INT", to: "net.LIGHT_INT" }), jsx(T, { from: ".C1 > .pin1", to: "net.V3V3" }), jsx(T, { from: ".C1 > .pin2", to: "net.GND" }), jsx(TMP117AIDRVR, { name: "U2", pcbX: 7, pcbY: 20.5, schSectionName: "Sensors" }), jsx(JlcCapacitor, { name: "C2", capacitance: "100nF", footprint: "0603", pcbX: 11, pcbY: 20.5, schSectionName: "Sensors" }), jsx(T, { from: ".U2 > .V_POS", to: "net.V3V3" }), jsx(T, { from: ".U2 > .GND", to: "net.GND" }), jsx(T, { from: ".U2 > .EP", to: "net.GND" }), jsx(T, { from: ".U2 > .ADD0", to: "net.GND" }), jsx(T, { from: ".U2 > .SCL", to: "net.I2C_SCL" }), jsx(T, { from: ".U2 > .SDA", to: "net.I2C_SDA" }), jsx(T, { from: ".U2 > .ALERT", to: "net.TEMP_INT" }), jsx(T, { from: ".C2 > .pin1", to: "net.V3V3" }), jsx(T, { from: ".C2 > .pin2", to: "net.GND" }), jsx(LIS3DHTR, { name: "U3", pcbX: 31.75, pcbY: 5.1, schSectionName: "Sensors", noConnect: ["NC1", "NC2", "INT2", "RES", "ADC1", "ADC2", "ADC3"] }), jsx(JlcCapacitor, { name: "C3", capacitance: "100nF", footprint: "0603", pcbX: 36.5, pcbY: 5.1, schSectionName: "Sensors" }), jsx(T, { from: ".U3 > .VDD_IO", to: "net.V3V3" }), jsx(T, { from: ".U3 > .VDD", to: "net.V3V3" }), jsx(T, { from: ".U3 > .GND1", to: "net.GND" }), jsx(T, { from: ".U3 > .GND2", to: "net.GND" }), jsx(T, { from: ".U3 > .CS", to: "net.V3V3" }), jsx(T, { from: ".U3 > .pin4", to: "net.I2C_SCL" }), jsx(T, { from: ".U3 > .pin6", to: "net.I2C_SDA" }), jsx(T, { from: ".U3 > .pin7", to: "net.GND" }), jsx(T, { from: ".U3 > .INT1", to: "net.ACC_INT" }), jsx(T, { from: ".C3 > .pin1", to: "net.V3V3" }), jsx(T, { from: ".C3 > .pin2", to: "net.GND" })] }), jsxs("group", { name: "AudioSchematic", pcbX: 0, pcbY: 0, schX: 6.3, schY: -0.1, schAutoLayoutEnabled: true, children: [jsx("chip", { name: "U7", manufacturerPartNumber: "CMA-4544PF-W", cadModel: microphoneCadModel, pinLabels: { pin1: ["POS"], pin2: ["NEG"] }, pinAttributes: {
pin1: { requiresPower: true },
pin2: { requiresGround: true },
}, footprint: microphoneFootprint, pcbX: -30.48, pcbY: -21.59, schSectionName: "Audio" }), jsx(OPA344NA_250, { name: "U4", pcbX: -31, pcbY: -13.8, pcbRotation: 90, schSectionName: "Audio" }), jsx(JlcResistor, { name: "R7", resistance: "2.2k", footprint: "0603", pcbX: -36.5, pcbY: -18.5, schSectionName: "Audio" }), jsx(JlcCapacitor, { name: "C8", capacitance: "1uF", footprint: "0603", pcbX: -34.5, pcbY: -12.5, schSectionName: "Audio" }), jsx(JlcResistor, { name: "R8", resistance: "100k", footprint: "0603", pcbX: -27.5, pcbY: -9, schSectionName: "Audio" }), jsx(JlcResistor, { name: "R9", resistance: "100k", footprint: "0603", pcbX: -27.5, pcbY: -12, schSectionName: "Audio" }), jsx(JlcCapacitor, { name: "C9", capacitance: "1uF", footprint: "0603", pcbX: -22, pcbY: -18.5, schSectionName: "Audio" }), jsx(JlcResistor, { name: "R10", resistance: "100k", footprint: "0603", pcbX: -31, pcbY: -9, schSectionName: "Audio" }), jsx(JlcResistor, { name: "R11", resistance: "10k", footprint: "0603", pcbX: -26, pcbY: -15.8, schSectionName: "Audio" }), jsx(JlcCapacitor, { name: "C10", capacitance: "100nF", footprint: "0603", pcbX: -35, pcbY: -10, schSectionName: "Audio" }), jsx(T, { from: ".U7 > .POS", to: "net.MIC_BIAS" }), jsx(T, { from: ".R7 > .pin2", to: "net.MIC_BIAS" }), jsx(T, { from: ".R7 > .pin1", to: "net.V3V3" }), jsx(T, { from: ".U7 > .NEG", to: "net.GND" }), jsx(T, { from: ".C8 > .pin1", to: "net.MIC_BIAS" }), jsx(T, { from: ".C8 > .pin2", to: "net.VREF" }), jsx(T, { from: ".R8 > .pin1", to: "net.V3V3" }), jsx(T, { from: ".R8 > .pin2", to: "net.VREF" }), jsx(T, { from: ".R9 > .pin1", to: "net.VREF" }), jsx(T, { from: ".R9 > .pin2", to: "net.GND" }), jsx(T, { from: ".C9 > .pin1", to: "net.VREF" }), jsx(T, { from: ".C9 > .pin2", to: "net.GND" }), jsx(T, { from: ".U4 > .IN_POS", to: "net.VREF" }), jsx(T, { from: ".U4 > .IN_NEG", to: "net.MIC_FB" }), jsx(T, { from: ".R10 > .pin1", to: "net.MIC_FB" }), jsx(T, { from: ".R10 > .pin2", to: "net.MIC_IN" }), jsx(T, { from: ".R11 > .pin1", to: "net.MIC_FB" }), jsx(T, { from: ".R11 > .pin2", to: "net.VREF" }), jsx(T, { from: ".U4 > .V_POS", to: "net.V3V3" }), jsx(T, { from: ".U4 > .V_NEG", to: "net.GND" }), jsx(T, { from: ".U4 > .OUT", to: "net.MIC_IN" }), jsx(T, { from: ".C10 > .pin1", to: "net.V3V3" }), jsx(T, { from: ".C10 > .pin2", to: "net.GND" })] })] }), jsxs("group", { name: "OutputsSheetSchematic", pcbX: 0, pcbY: 0, schSheetName: "Outputs", schX: 0, schY: 0, children: [jsx("schematicsection", { name: "Outputs", displayName: "RGB LED & Buzzer Drivers" }), jsx("schematicsection", { name: "Expansion", displayName: "Servo & Clip Expansion" }), jsx("schematicsection", { name: "Power", displayName: "Power Indicators" }), jsxs("group", { name: "OutputsSchematic", pcbX: 0, pcbY: 0, schX: -9.2, schY: 0.5, children: [jsx("chip", { name: "U8", manufacturerPartNumber: "CLV1A-FKB-CJ1M1F1BB7R4S3", cadModel: rgbLedCadModel, pinLabels: { pin1: ["ANODE"], pin2: ["RED"], pin3: ["GREEN"], pin4: ["BLUE"] }, pinAttributes: {
pin1: { requiresPower: true, requiresVoltage: "3.3V" },
pin2: { requiresGround: true },
pin3: { requiresGround: true },
pin4: { requiresGround: true },
}, footprint: rgbFootprint, pcbX: 33, pcbY: -11.5, schX: -1, schY: 1.3, schSectionName: "Outputs" }), jsx(JlcResistor, { name: "R12", resistance: "330", footprint: "0603", pcbX: 37, pcbY: -9, schX: -4, schY: 0.2, schSectionName: "Outputs" }), jsx(JlcResistor, { name: "R13", resistance: "330", footprint: "0603", pcbX: 37, pcbY: -13, schX: 2, schY: 0.2, schSectionName: "Outputs" }), jsx(JlcResistor, { name: "R14", resistance: "330", footprint: "0603", pcbX: 40, pcbY: -20, schX: 5, schY: 1.3, schSectionName: "Outputs" }), jsx(JlcTransistor, { name: "Q1", type: "npn", footprint: "sot23", pcbX: 41, pcbY: -9, schX: -4, schY: -1.2, schSectionName: "Outputs" }), jsx(JlcTransistor, { name: "Q2", type: "npn", footprint: "sot23", pcbX: 41, pcbY: -13, schX: 0, schY: -1.2, schSectionName: "Outputs" }), jsx(JlcTransistor, { name: "Q3", type: "npn", footprint: "sot23", pcbX: 41, pcbY: -17, schX: 4, schY: -1.2, schSectionName: "Outputs" }), jsx(JlcResistor, { name: "R15", resistance: "4.7k", footprint: "0603", pcbX: 37, pcbY: -7, schX: -4, schY: -3.2, schSectionName: "Outputs" }), jsx(JlcResistor, { name: "R16", resistance: "4.7k", footprint: "0603", pcbX: 45, pcbY: -13, schX: 0, schY: -3.2, schSectionName: "Outputs" }), jsx(JlcResistor, { name: "R17", resistance: "4.7k", footprint: "0603", pcbX: 45, pcbY: -17, schX: 4, schY: -3.2, schSectionName: "Outputs" }), jsx(T, { from: ".U8 > .ANODE", to: "net.V3V3" }), jsx(T, { from: ".U8 > .RED", to: "net.RGB_RED_LED" }), jsx(T, { from: ".R12 > .pin1", to: "net.RGB_RED_LED" }), jsx(T, { from: ".R12 > .pin2", to: "net.RGB_RED_SINK" }), jsx(T, { from: ".Q1 > .collector", to: "net.RGB_RED_SINK" }), jsx(T, { from: ".Q1 > .emitter", to: "net.GND" }), jsx(T, { from: ".Q1 > .base", to: "net.RGB_RED_BASE" }), jsx(T, { from: ".R15 > .pin1", to: "net.RGB_RED_BASE" }), jsx(T, { from: ".R15 > .pin2", to: "net.RGB_R_BL" }), jsx(T, { from: ".U8 > .GREEN", to: "net.RGB_GREEN_LED" }), jsx(T, { from: ".R13 > .pin1", to: "net.RGB_GREEN_LED" }), jsx(T, { from: ".R13 > .pin2", to: "net.RGB_GREEN_SINK" }), jsx(T, { from: ".Q2 > .collector", to: "net.RGB_GREEN_SINK" }), jsx(T, { from: ".Q2 > .emitter", to: "net.GND" }), jsx(T, { from: ".Q2 > .base", to: "net.RGB_GREEN_BASE" }), jsx(T, { from: ".R16 > .pin1", to: "net.RGB_GREEN_BASE" }), jsx(T, { from: ".R16 > .pin2", to: "net.RGB_G" }), jsx(T, { from: ".U8 > .BLUE", to: "net.RGB_BLUE_LED" }), jsx(T, { from: ".R14 > .pin1", to: "net.RGB_BLUE_LED" }), jsx(T, { from: ".R14 > .pin2", to: "net.RGB_BLUE_SINK" }), jsx(T, { from: ".Q3 > .collector", to: "net.RGB_BLUE_SINK" }), jsx(T, { from: ".Q3 > .emitter", to: "net.GND" }), jsx(T, { from: ".Q3 > .base", to: "net.RGB_BLUE_BASE" }), jsx(T, { from: ".R17 > .pin1", to: "net.RGB_BLUE_BASE" }), jsx(T, { from: ".R17 > .pin2", to: "net.RGB_B" }), jsx("chip", { name: "U9", manufacturerPartNumber: "CEM-1203", cadModel: buzzerCadModel, pinLabels: { pin1: ["POS"], pin2: ["NEG"] }, pinAttributes: {
pin1: { requiresPower: true, requiresVoltage: "5V" },
pin2: { requiresGround: true },
}, footprint: buzzerFootprint, pcbX: 31.75, pcbY: -20.32, schX: 1.5, schY: 3.7, schSectionName: "Outputs" }), jsx(JlcTransistor, { name: "Q4", type: "npn", footprint: "sot23", pcbX: 40, pcbY: -23, schX: 7.5, schY: -1.2, schSectionName: "Outputs" }), jsx(JlcResistor, { name: "R18", resistance: "2.2k", footprint: "0603", pcbX: 44, pcbY: -23, schX: 7.5, schY: -3.2, schSectionName: "Outputs" }), jsx("diode", { name: "D1", footprint: "sod323", cadModel: sod323CadModel, pcbX: 37, pcbY: -26.5, schX: 5, schY: 3.7, schSectionName: "Outputs" }), jsx(T, { from: ".U9 > .POS", to: "net.V5V" }), jsx(T, { from: ".U9 > .NEG", to: "net.BUZZER_SINK" }), jsx(T, { from: ".Q4 > .collector", to: "net.BUZZER_SINK" }), jsx(T, { from: ".Q4 > .emitter", to: "net.GND" }), jsx(T, { from: ".Q4 > .base", to: "net.BUZZER_BASE" }), jsx(T, { from: ".R18 > .pin1", to: "net.BUZZER_BASE" }), jsx(T, { from: ".R18 > .pin2", to: "net.BUZZER" }), jsx(T, { from: ".D1 > .anode", to: "net.BUZZER_SINK" }), jsx(T, { from: ".D1 > .cathode", to: "net.V5V" })] }), jsxs("group", { name: "ExpansionSchematic", pcbX: 0, pcbY: 0, schX: 3.3, schY: 1, schAutoLayoutEnabled: true, children: [jsx("pinheader", { name: "JSERVO", doNotPlace: true, pinCount: 3, pitch: "2.54mm", gender: "male", cadModel: servoHeaderCadModel, pcbX: 39, pcbY: 23, pcbRotation: 0, pinLabels: ["GND", "5V", "PWM"], showSilkscreenPinLabels: true, schSectionName: "Expansion" }), jsx(T, { from: ".JSERVO > .pin1", to: "net.GND" }), jsx(T, { from: ".JSERVO > .pin2", to: "net.V5V" }), jsx(T, { from: ".JSERVO > .pin3", to: "net.SERVO_PWM" }), jsx("platedhole", { name: "GND_CLIP_A", shape: "circle", holeDiameter: "2.4mm", outerDiameter: "3.4mm", pcbX: -27.2, pcbY: 22.86, connectsTo: "net.GND" }), jsx("platedhole", { name: "GND_CLIP_B", shape: "circle", holeDiameter: "2.4mm", outerDiameter: "3.4mm", pcbX: -23.6, pcbY: 22.86, connectsTo: "net.GND" }), jsx("platedhole", { name: "SIG_CLIP_A", shape: "circle", holeDiameter: "2.4mm", outerDiameter: "3.4mm", pcbX: 23.6, pcbY: 22.86, connectsTo: "net.GATOR" }), jsx("platedhole", { name: "SIG_CLIP_B", shape: "circle", holeDiameter: "2.4mm", outerDiameter: "3.4mm", pcbX: 27.2, pcbY: 22.86, connectsTo: "net.GATOR" }), jsx(JlcResistor, { name: "R19", resistance: "10k", footprint: "0603", pcbX: 29, pcbY: 18.5, schSectionName: "Expansion" }), jsx(T, { from: ".R19 > .pin1", to: "net.V3V3" }), jsx(T, { from: ".R19 > .pin2", to: "net.GATOR" }), jsx("silkscreentext", { text: "GND CLIP", pcbX: -25.4, pcbY: 18.8, fontSize: "0.9mm" }), jsx("silkscreentext", { text: "TOUCH / CLIP", pcbX: 25.4, pcbY: 18.8, fontSize: "0.9mm" })] }), jsxs("group", { name: "PowerSchematic", pcbX: 0, pcbY: 0, schX: 11, schY: 0.6, schAutoLayoutEnabled: true, children: [jsx(JlcLed, { name: "D3V3", color: "green", footprint: "0603", pcbX: -53, pcbY: -13, schSectionName: "Power" }), jsx(JlcResistor, { name: "R3V3", resistance: "1k", footprint: "0603", pcbX: -50, pcbY: -13, schSectionName: "Power" }), jsx(JlcLed, { name: "D5V", color: "red", footprint: "0603", pcbX: -53, pcbY: -18, schSectionName: "Power" }), jsx(JlcResistor, { name: "R5V", resistance: "1k", footprint: "0603", pcbX: -50, pcbY: -18, schSectionName: "Power" }), jsx(T, { from: "net.V3V3", to: ".R3V3 > .pin1" }), jsx(T, { from: ".R3V3 > .pin2", to: "net.PWR_3V3_LED" }), jsx(T, { from: ".D3V3 > .anode", to: "net.PWR_3V3_LED" }), jsx(T, { from: ".D3V3 > .cathode", to: "net.GND" }), jsx(T, { from: "net.V5V", to: ".R5V > .pin1" }), jsx(T, { from: ".R5V > .pin2", to: "net.PWR_5V_LED" }), jsx(T, { from: ".D5V > .anode", to: "net.PWR_5V_LED" }), jsx(T, { from: ".D5V > .cathode", to: "net.GND" }), jsx("silkscreentext", { text: "3V3", pcbX: -56, pcbY: -13, fontSize: "0.9mm" }), jsx("silkscreentext", { text: "5V", pcbX: -56, pcbY: -18, fontSize: "0.9mm" })] })] }), jsx("copperpour", { layer: "bottom", connectsTo: "net.GND", clearance: "0.25mm", boardEdgeMargin: "0.4mm" })] }));
export { index_circuit as default };