MustafaMulla29/wireless-mouse-pcb
This code defines a 3.3V low dropout voltage regulator chip (AP2112K-3.3TRG1) with five pins (VIN, GND, Enable, NC, VOUT) and its associated PCB footprint and 3D models for hardware implementation.
- Version
- 1.0.6
- License
- unset
- Stars
- 0
dist/index.js
import { jsx, jsxs, Fragment as Fragment$1 } from 'react/jsx-runtime';
import { isValidElement, Fragment, Children, cloneElement } from 'react';
const pinLabels$g = {
pin1: ["VIN"],
pin2: ["GND"],
pin3: ["EN"],
pin4: ["NC"],
pin5: ["VOUT"]
};
const AP2112K_3_3TRG1 = (props) => {
return (jsx("chip", { pinLabels: pinLabels$g, supplierPartNumbers: {
"jlcpcb": [
"C51118"
]
}, manufacturerPartNumber: "AP2112K-3.3TRG1", footprint: jsxs("footprint", { children: [jsx("smtpad", { portHints: ["pin4"], pcbX: "0.949706mm", pcbY: "1.299972mm", width: "0.6223mm", height: "1.1049mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin5"], pcbX: "-0.949706mm", pcbY: "1.299972mm", width: "0.6223mm", height: "1.1049mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin1"], pcbX: "-0.949706mm", pcbY: "-1.299972mm", width: "0.6223mm", height: "1.1049mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin2"], pcbX: "-0.000508mm", pcbY: "-1.299972mm", width: "0.6223mm", height: "1.1049mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin3"], pcbX: "0.949706mm", pcbY: "-1.299972mm", width: "0.6223mm", height: "1.1049mm", shape: "rect" }), jsx("silkscreenpath", { route: [{ "x": 1.41193520000013, "y": -0.5003799999999501 }, { "x": -1.3871447999999873, "y": -0.5003799999999501 }] }), 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 }] }), jsx("silkscreenpath", { route: [{ "x": -1.779549399999837, "y": -1.5214599999999336 }, { "x": -1.9027377800492786, "y": -1.6465485285044679 }, { "x": -1.7782793999998603, "y": -1.7703735202394455 }, { "x": -1.6538210199506693, "y": -1.6465485285045816 }, { "x": -1.7770093999999972, "y": -1.5214599999999336 }] }), jsx("silkscreentext", { text: "{NAME}", pcbX: "-0.228854mm", pcbY: "2.8542mm", anchorAlignment: "center", fontSize: "1mm" }), jsx("courtyardoutline", { outline: [{ "x": -2.1552539999999, "y": 2.1042000000001053 }, { "x": 1.6975460000001021, "y": 2.1042000000001053 }, { "x": 1.6975460000001021, "y": -2.104199999999878 }, { "x": -2.1552539999999, "y": -2.104199999999878 }, { "x": -2.1552539999999, "y": 2.1042000000001053 }] })] }), 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$f = {
pin1: ["pin1"],
pin2: ["pin2"],
pin3: ["pin3"],
pin4: ["pin4"]
};
const S2B_PH_SM4_TB_LF__SN_ = (props) => {
return (jsx("chip", { pinLabels: pinLabels$f, supplierPartNumbers: {
"jlcpcb": [
"C295747"
]
}, manufacturerPartNumber: "S2B-PH-SM4-TB(LF)(SN)", footprint: jsxs("footprint", { children: [jsx("smtpad", { portHints: ["pin1"], pcbX: "-0.999998mm", pcbY: "2.8250642mm", width: "0.999998mm", height: "3.7999924mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin2"], pcbX: "0.999998mm", pcbY: "2.8250642mm", width: "0.999998mm", height: "3.7999924mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin3"], pcbX: "3.350006mm", pcbY: "-3.0250638mm", width: "1.499997mm", height: "3.3999932mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin4"], pcbX: "-3.350006mm", pcbY: "-3.0250638mm", width: "1.499997mm", height: "3.3999932mm", shape: "rect" }), jsx("silkscreenpath", { route: [{ "x": -1.7322800000001735, "y": 1.5489681999999902 }, { "x": -2.9997399999999743, "y": 1.5489681999999902 }, { "x": -2.9997399999999743, "y": 3.1237681999999722 }, { "x": -3.949700000000121, "y": 3.1237681999999722 }] }), jsx("silkscreenpath", { route: [{ "x": 0.2688590000000204, "y": 1.5500095999998393 }, { "x": -0.2688590000000204, "y": 1.5500095999998393 }] }), jsx("silkscreenpath", { route: [{ "x": 3.950004799999874, "y": 3.1249873999997817 }, { "x": 2.999994000000015, "y": 3.1249873999997817 }, { "x": 2.999994000000015, "y": 1.5500095999998393 }, { "x": 1.7311369999999897, "y": 1.5500095999998393 }] }), jsx("silkscreenpath", { route: [{ "x": 3.950004799999874, "y": 3.1249873999997817 }, { "x": 3.950004799999874, "y": -1.093825600000173 }] }), jsx("silkscreenpath", { route: [{ "x": 2.399995199999921, "y": -4.47499740000012 }, { "x": -2.399995200000035, "y": -4.47499740000012 }] }), jsx("silkscreenpath", { route: [{ "x": -3.950004799999988, "y": 3.1249873999997817 }, { "x": -3.950004799999988, "y": -1.093825600000173 }] }), jsx("silkscreentext", { text: "{NAME}", pcbX: "0.0127mm", pcbY: "5.7315882mm", anchorAlignment: "center", fontSize: "1mm" }), jsx("courtyardoutline", { outline: [{ "x": -4.339400000000069, "y": 4.981588200000033 }, { "x": 4.364800000000059, "y": 4.981588200000033 }, { "x": 4.364800000000059, "y": -4.967211799999973 }, { "x": -4.339400000000069, "y": -4.967211799999973 }, { "x": -4.339400000000069, "y": 4.981588200000033 }] })] }), cadModel: {
objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C295747.obj?uuid=e009435048914ef2b30a218c3065ed28",
stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C295747.step?uuid=e009435048914ef2b30a218c3065ed28",
pcbRotationOffset: 180,
modelOriginPosition: { x: -0.9999872999999297, y: 2.8499996000001833, z: 0 },
}, ...props }));
};
const pinLabels$e = {
pin1: ["pin1"],
pin2: ["pin2"],
pin3: ["pin3"]
};
const SS_12D00_G3 = (props) => {
const { name = "SW1", ...restProps } = props;
return (jsx("switch", { name: name, pinLabels: pinLabels$e, supplierPartNumbers: {
"jlcpcb": [
"C22355741"
]
}, manufacturerPartNumber: "SS-12D00-G3", footprint: jsxs("footprint", { children: [jsx("platedhole", { portHints: ["pin1"], pcbX: "-2.499995mm", pcbY: "0mm", outerDiameter: "1.524mm", holeDiameter: "0.9144mm", shape: "circle" }), jsx("platedhole", { portHints: ["pin2"], pcbX: "0.000127mm", pcbY: "0mm", outerDiameter: "1.524mm", holeDiameter: "0.9144mm", shape: "circle" }), jsx("platedhole", { portHints: ["pin3"], pcbX: "2.499995mm", pcbY: "0mm", outerDiameter: "1.524mm", holeDiameter: "0.9144mm", shape: "circle" }), jsx("silkscreenpath", { route: [{ "x": -1.5239999999998872, "y": -0.17200879999995777 }, { "x": -1.5239999999998872, "y": -1.143000000000029 }, { "x": -1.2699999999998681, "y": -1.143000000000029 }] }), jsx("silkscreenpath", { route: [{ "x": -1.1834875999998076, "y": 1.143000000000029 }, { "x": -1.5239999999998872, "y": 1.143000000000029 }, { "x": -1.5239999999998872, "y": 0.17200879999995777 }] }), jsx("silkscreenpath", { route: [{ "x": 1.397000000000162, "y": 1.143000000000029 }, { "x": -1.2699999999998681, "y": 1.143000000000029 }, { "x": -1.2699999999998681, "y": -1.143000000000029 }, { "x": 1.397000000000162, "y": -1.143000000000029 }, { "x": 1.397000000000162, "y": 1.143000000000029 }] }), jsx("silkscreentext", { text: "{NAME}", pcbX: "0.001905mm", pcbY: "3.032mm", anchorAlignment: "center", fontSize: "1mm" }), jsx("courtyardoutline", { outline: [{ "x": -4.7565949999999475, "y": 2.282000000000039 }, { "x": 4.760405000000105, "y": 2.282000000000039 }, { "x": 4.760405000000105, "y": -2.2819999999999254 }, { "x": -4.7565949999999475, "y": -2.2819999999999254 }, { "x": -4.7565949999999475, "y": 2.282000000000039 }] })] }), cadModel: {
objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C22355741.obj?uuid=73abde54055d465790e8480c42fb2657",
stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C22355741.step?uuid=73abde54055d465790e8480c42fb2657",
pcbRotationOffset: 0,
modelOriginPosition: { x: 0.0004999999999997229, y: -12200000070183847e-21, z: -0.4000052000000003 },
}, ...restProps }));
};
const SIGNAL_TRACE = "0.15mm";
const POWER_TRACE = "0.2mm";
const withSchematicSheet = (sheetName, node, schematicOffsetX = 0, schematicOffsetY = 0) => {
if (!isValidElement(node))
return node;
if (node.type === Fragment) {
const fragmentProps = node.props;
return (jsx(Fragment$1, { children: Children.map(fragmentProps.children, (child) => withSchematicSheet(sheetName, child, schematicOffsetX, schematicOffsetY)) }));
}
const element = node;
const schX = element.props.schX;
const schY = element.props.schY;
return cloneElement(element, {
schSheetName: sheetName,
...(typeof schX === "number" && schematicOffsetX !== 0
? { schX: schX + schematicOffsetX }
: {}),
...(typeof schY === "number" && schematicOffsetY !== 0
? { schY: schY + schematicOffsetY }
: {}),
});
};
const NetTrace = ({ name, from, to, width = SIGNAL_TRACE, }) => (jsx("trace", { name: name ?? ("TRACE_" + from + "_" + to).replace(/[^A-Za-z0-9_]+/g, "_"), schDisplayLabel: name ?? "", from: from, to: to, width: width }));
const PowerSwitch = SS_12D00_G3;
const BatteryPowerSection = () => withSchematicSheet("power", jsxs(Fragment$1, { children: [jsx(S2B_PH_SM4_TB_LF__SN_, { name: "J_BAT_PROTECTED", noConnect: ["pin3", "pin4"], pcbX: -15, pcbY: 24, pcbRotation: 90, schX: -27, schY: -0.1, schSectionName: "BatteryPower" }), jsx(PowerSwitch, { name: "SW_POWER", type: "spdt", noConnect: ["pin3"], pcbX: 15, pcbY: 14.5, pcbRotation: 0, schX: -22, schY: 0, schSectionName: "BatteryPower" }), jsx(AP2112K_3_3TRG1, { name: "U_3V3", noConnect: ["NC"], pcbX: -14, pcbY: 14, schX: -16, schY: 0, schWidth: 1.865, schHeight: 0.6, schPinArrangement: {
leftSide: { pins: ["VIN", "EN", "GND"], direction: "top-to-bottom" },
rightSide: { pins: ["VOUT", "NC"], direction: "top-to-bottom" },
}, schSectionName: "BatteryPower" }), jsx("capacitor", { name: "C_3V3_IN", capacitance: "1uF", footprint: "0603", pcbX: -18, pcbY: 11.5, pcbRotation: 270, schX: -19, schY: -3, schOrientation: "vertical", schSectionName: "BatteryPower" }), jsx("capacitor", { name: "C_3V3_OUT", capacitance: "1uF", footprint: "0603", pcbX: -14, pcbY: 10.2, pcbRotation: 270, schX: -13, schY: -3, schOrientation: "vertical", schSectionName: "BatteryPower" }), jsx("capacitor", { name: "C_3V3_BULK", capacitance: "10uF", footprint: "0805", pcbX: -5, pcbY: 13.5, pcbRotation: 270, schX: -10, schY: -3, schOrientation: "vertical", schSectionName: "BatteryPower" }), jsx("resistor", { name: "R_VBAT_TOP", resistance: "1M", footprint: "0402", pcbX: 6.5, pcbY: 15, schX: -22, schY: 5, schSectionName: "BatteryPower" }), jsx("resistor", { name: "R_VBAT_BOTTOM", resistance: "1M", footprint: "0402", pcbX: 8.5, pcbY: 15, schX: -18, schY: 5, schSectionName: "BatteryPower" }), jsx("capacitor", { name: "C_VBAT_SENSE", capacitance: "100nF", footprint: "0402", pcbX: 7.5, pcbY: 13.3, pcbRotation: 90, schX: -15, schY: 4, schOrientation: "vertical", schSectionName: "BatteryPower" }), jsx(NetTrace, { from: ".J_BAT_PROTECTED > .pin1", to: "net.VBAT", width: POWER_TRACE }), jsx(NetTrace, { from: ".J_BAT_PROTECTED > .pin2", to: "net.GND", width: POWER_TRACE }), jsx(NetTrace, { from: "net.VBAT", to: ".SW_POWER > .pin2", width: POWER_TRACE }), jsx(NetTrace, { from: ".SW_POWER > .pin1", to: "net.VSYS", width: POWER_TRACE }), jsx(NetTrace, { from: ".U_3V3 > .VIN", to: "net.VSYS", width: POWER_TRACE }), jsx(NetTrace, { name: "VSYS_EN", from: ".U_3V3 > .EN", to: ".U_3V3 > .VIN" }), jsx(NetTrace, { from: ".U_3V3 > .GND", to: "net.GND", width: POWER_TRACE }), jsx(NetTrace, { from: ".U_3V3 > .VOUT", to: "net.V3V3", width: POWER_TRACE }), jsx(NetTrace, { from: ".C_3V3_IN > .pin1", to: "net.VSYS", width: POWER_TRACE }), jsx(NetTrace, { from: ".C_3V3_IN > .pin2", to: "net.GND", width: POWER_TRACE }), jsx(NetTrace, { from: ".C_3V3_OUT > .pin1", to: "net.V3V3", width: POWER_TRACE }), jsx(NetTrace, { from: ".C_3V3_OUT > .pin2", to: "net.GND", width: POWER_TRACE }), jsx(NetTrace, { from: ".C_3V3_BULK > .pin1", to: "net.V3V3", width: POWER_TRACE }), jsx(NetTrace, { from: ".C_3V3_BULK > .pin2", to: "net.GND", width: POWER_TRACE }), jsx(NetTrace, { from: "net.VSYS", to: ".R_VBAT_TOP > .pin1" }), jsx(NetTrace, { from: ".R_VBAT_TOP > .pin2", to: "net.VBAT_ADC" }), jsx(NetTrace, { from: ".R_VBAT_BOTTOM > .pin1", to: "net.VBAT_ADC" }), jsx(NetTrace, { from: ".R_VBAT_BOTTOM > .pin2", to: "net.GND" }), jsx(NetTrace, { from: ".C_VBAT_SENSE > .pin1", to: "net.VBAT_ADC" }), jsx(NetTrace, { from: ".C_VBAT_SENSE > .pin2", to: "net.GND" })] }), 18.5, -5.7);
const pinLabels$d = {
pin1: ["pin1"],
pin2: ["pin2"],
pin3: ["pin3"]
};
const D2FC_F_7N_20M_ = (props) => {
return (jsx("chip", { pinLabels: pinLabels$d, supplierPartNumbers: {
"jlcpcb": [
"C5157566"
]
}, manufacturerPartNumber: "D2FC-F-7N(20M)", footprint: jsxs("footprint", { children: [jsx("platedhole", { portHints: ["pin3"], pcbX: "5.08mm", pcbY: "0mm", holeWidth: "1.200023mm", holeHeight: "0.700024mm", outerWidth: "1.7999964mm", outerHeight: "1.2999974mm", shape: "pill" }), jsx("platedhole", { portHints: ["pin2"], pcbX: "-0mm", pcbY: "0mm", holeWidth: "1.200023mm", holeHeight: "0.700024mm", outerWidth: "1.7999964mm", outerHeight: "1.2999974mm", shape: "pill" }), jsx("platedhole", { portHints: ["pin1"], pcbX: "-5.08mm", pcbY: "0mm", holeWidth: "1.200023mm", holeHeight: "0.700024mm", outerWidth: "1.7999964mm", outerHeight: "1.2999974mm", shape: "pill" }), jsx("silkscreenpath", { route: [{ "x": 5.001260000000002, "y": -0.8813799999999219 }, { "x": 5.001260000000002, "y": -1.9989799999999605 }, { "x": -2.499360000000138, "y": -1.9989799999999605 }, { "x": -2.499360000000138, "y": -1.501139999999964 }] }), jsx("silkscreenpath", { route: [{ "x": -2.4999950000001263, "y": -1.4999969999998939 }, { "x": -2.4999950000001263, "y": 1.9999959999998964 }, { "x": 4.999989999999912, "y": 1.9999959999998964 }, { "x": 4.999989999999912, "y": 0.8811260000001084 }] }), jsx("silkscreenpath", { route: [{ "x": -6.400038000000109, "y": 2.8999688000000106 }, { "x": 6.400037999999995, "y": 2.899994200000151 }] }), jsx("silkscreenpath", { route: [{ "x": -6.400038000000109, "y": -2.8999688000000106 }, { "x": 6.400012599999968, "y": -2.8999688000000106 }] }), jsx("silkscreenpath", { route: [{ "x": -6.400038000000109, "y": 2.8999688000000106 }, { "x": -6.400038000000109, "y": -2.8999688000000106 }] }), jsx("silkscreenpath", { route: [{ "x": 6.400037999999995, "y": 2.899994200000151 }, { "x": 6.400037999999995, "y": -2.8999688000000106 }] }), jsx("silkscreentext", { text: "{NAME}", pcbX: "-0.0254mm", pcbY: "3.8956mm", anchorAlignment: "center", fontSize: "1mm" }), jsx("courtyardoutline", { outline: [{ "x": -6.701600000000099, "y": 3.1456000000000586 }, { "x": 6.65079999999989, "y": 3.1456000000000586 }, { "x": 6.65079999999989, "y": -3.196399999999926 }, { "x": -6.701600000000099, "y": -3.196399999999926 }, { "x": -6.701600000000099, "y": 3.1456000000000586 }] })] }), cadModel: {
objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C5157566.obj?uuid=381a6989d2fc44b08bb9d2728bd4a555",
stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C5157566.step?uuid=381a6989d2fc44b08bb9d2728bd4a555",
pcbRotationOffset: 0,
modelOriginPosition: { x: 0, y: -0.0049873000000435486, z: -2.9000076000000004 },
}, ...props }));
};
const pinLabels$c = {
pin4: ["pin4"],
pin5: ["pin5"],
pin6: ["A"],
pin7: ["B"],
pin8: ["C"],
};
const EC10E1220505 = (props) => {
return (jsx("chip", { pinLabels: pinLabels$c, symbol: jsxs("symbol", { children: [jsx("schematiccircle", { center: { x: -0.1, y: -0.3 }, radius: 0.05, color: "#880000" }), jsx("schematiccircle", { center: { x: -0.5, y: -0.3 }, radius: 0.05, color: "#880000" }), jsx("schematicpath", { points: [
{ x: -0.06, y: -0.18 },
{ x: -0.53, y: -0.24 },
], strokeColor: "#880000" }), jsx("schematiccircle", { center: { x: -0.1, y: 0.1 }, radius: 0.05, color: "#880000" }), jsx("schematiccircle", { center: { x: -0.5, y: 0.1 }, radius: 0.05, color: "#880000" }), jsx("schematicpath", { points: [
{ x: -0.06, y: 0.22 },
{ x: -0.53, y: 0.16 },
], strokeColor: "#880000" }), jsx("schematicpath", { points: [
{ x: -0.04, y: 0.1 },
{ x: 0.3, y: 0.1 },
{ x: 0.3, y: -0.3 },
{ x: -0.04, y: -0.3 },
], strokeColor: "#880000" }), jsx("schematicpath", { points: [
{ x: 0.3, y: -0.1 },
{ x: 0.7, y: -0.1 },
], strokeColor: "#880000" }), jsx("schematicpath", { points: [
{ x: -0.56, y: 0.1 },
{ x: -0.7, y: 0.1 },
], strokeColor: "#880000" }), jsx("schematicpath", { points: [
{ x: -0.56, y: -0.3 },
{ x: -0.7, y: -0.3 },
], strokeColor: "#880000" }), jsx("schematicpath", { points: [
{ x: 0.5, y: -0.1 },
{ x: 0.5, y: -0.22 },
], strokeColor: "#880000" }), jsx("schematicpath", { points: [
{ x: 0.42, y: -0.22 },
{ x: 0.58, y: -0.22 },
], strokeColor: "#880000" }), jsx("schematicpath", { points: [
{ x: 0.44, y: -0.22 },
{ x: 0.4, y: -0.26 },
], strokeColor: "#880000" }), jsx("schematicpath", { points: [
{ x: 0.48, y: -0.22 },
{ x: 0.44, y: -0.26 },
], strokeColor: "#880000" }), jsx("schematicpath", { points: [
{ x: 0.52, y: -0.22 },
{ x: 0.48, y: -0.26 },
], strokeColor: "#880000" }), jsx("schematicpath", { points: [
{ x: 0.56, y: -0.22 },
{ x: 0.52, y: -0.26 },
], strokeColor: "#880000" }), jsx("port", { name: "pin6", pinNumber: 6, aliases: ["A"], direction: "left", schX: -0.9, schY: -0.3, schStemLength: 0.2 }), jsx("port", { name: "pin7", pinNumber: 7, aliases: ["B"], direction: "left", schX: -0.9, schY: 0.1, schStemLength: 0.2 }), jsx("port", { name: "pin8", pinNumber: 8, aliases: ["C"], direction: "right", schX: 0.9, schY: -0.1, schStemLength: 0.2 }), jsx("port", { name: "pin4", pinNumber: 4, aliases: ["4"], direction: "left", schX: -0.9, schY: -0.5, schStemLength: 0.4 }), jsx("port", { name: "pin5", pinNumber: 5, aliases: ["5"], direction: "right", schX: 0.9, schY: -0.5, schStemLength: 0.4 }), jsx("schematicpath", { points: [
{ x: -0.5, y: -0.5 },
{ x: 0.5, y: -0.5 },
], strokeColor: "#880000" })] }), supplierPartNumbers: {
jlcpcb: ["C160888"],
}, manufacturerPartNumber: "EC10E1220505", footprint: jsxs("footprint", { children: [jsx("platedhole", { portHints: ["pin6"], pcbX: "-2.499995mm", pcbY: "-0.5749989mm", outerDiameter: "1.7999964mm", holeDiameter: "1.1999976mm", shape: "circle" }), jsx("platedhole", { portHints: ["pin7"], pcbX: "-0.000127mm", pcbY: "-0.5749989mm", outerDiameter: "1.7999964mm", holeDiameter: "1.1999976mm", shape: "circle" }), jsx("platedhole", { portHints: ["pin8"], pcbX: "2.499995mm", pcbY: "-0.5749989mm", outerDiameter: "1.7999964mm", holeDiameter: "1.1999976mm", shape: "circle" }), jsx("platedhole", { portHints: ["pin4"], pcbX: "-5.4mm", pcbY: "1.4249971mm", holeWidth: "2.1mm", holeHeight: "1.8mm", outerWidth: "2.7mm", outerHeight: "2.4mm", pcbRotation: "90deg", shape: "pill" }), jsx("platedhole", { portHints: ["pin5"], pcbX: "5.4mm", pcbY: "1.4249971mm", holeWidth: "2.1mm", holeHeight: "1.8mm", outerWidth: "2.7mm", outerHeight: "2.4mm", pcbRotation: "90deg", shape: "pill" }), jsx("silkscreenpath", { route: [
{ x: -4.900117200000068, y: -2.274995499999932 },
{ x: 4.899863199999913, y: -2.274995499999932 },
] }), jsx("silkscreenpath", { route: [
{ x: 4.899863199999913, y: 3.8249668999999358 },
{ x: -4.900117200000068, y: 3.8249923000000763 },
] }), jsx("silkscreenpath", { route: [
{ x: -4.900117200000068, y: 3.8249923000000763 },
{ x: -4.900117200000068, y: 3.209194699999898 },
] }), jsx("silkscreenpath", { route: [
{ x: -4.900117200000068, y: -0.359200499999929 },
{ x: -4.900117200000068, y: -2.274995499999932 },
] }), jsx("silkscreenpath", { route: [
{ x: 4.899863199999913, y: 3.8249668999999358 },
{ x: 4.899863199999913, y: 3.209245499999952 },
] }), jsx("silkscreenpath", { route: [
{ x: 4.899863199999913, y: -0.3592513000000963 },
{ x: 4.899863199999913, y: -2.274995499999932 },
] }), jsx("silkscreentext", { text: "{NAME}", pcbX: "-0.000127mm", pcbY: "4.9903971mm", anchorAlignment: "center", fontSize: "1mm" }), jsx("courtyardoutline", { outline: [
{ x: -6.85, y: 4.240397099999882 },
{ x: 6.85, y: 4.240397099999882 },
{ x: 6.85, y: -2.6350029000001314 },
{ x: -6.85, y: -2.6350029000001314 },
{ x: -6.85, y: 4.240397099999882 },
] })] }), cadModel: {
objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C160888.obj?uuid=771d2bceafb04a13b79f73207623ee7d",
stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C160888.step?uuid=771d2bceafb04a13b79f73207623ee7d",
pcbRotationOffset: 180,
modelOriginPosition: {
x: 0.000012700000070253736,
y: 0.2,
z: -0.0729839999999995,
},
}, ...props }));
};
const pinLabels$b = {
pin1: ["pin1"],
pin2: ["pin2"],
pin3: ["pin3"],
pin4: ["pin4"]
};
const EVQPUC02K = (props) => {
const { name = "SW1", ...restProps } = props;
return (jsx("pushbutton", { name: name, pinLabels: pinLabels$b, supplierPartNumbers: {
"jlcpcb": [
"C79174"
]
}, manufacturerPartNumber: "EVQPUC02K", footprint: jsxs("footprint", { children: [jsx("hole", { pcbX: "-1.400048mm", pcbY: "0.0001397mm", diameter: "0.9000236mm" }), jsx("hole", { pcbX: "1.400048mm", pcbY: "0.0001397mm", diameter: "0.9000236mm" }), jsx("smtpad", { portHints: ["pin1"], pcbX: "-0.849884mm", pcbY: "2.5999821mm", width: "0.999998mm", height: "1.5500096mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin2"], pcbX: "0.850138mm", pcbY: "2.5999313mm", width: "0.999998mm", height: "1.5500096mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin3"], pcbX: "-0.849884mm", pcbY: "-2.5999821mm", width: "0.999998mm", height: "1.5500096mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin4"], pcbX: "0.850138mm", pcbY: "-2.5999821mm", width: "0.999998mm", height: "1.5500096mm", shape: "rect" }), jsx("silkscreenpath", { route: [{ "x": 2.7500325999999404, "y": -1.2998830999999882 }, { "x": 2.7500325999999404, "y": 1.300137100000029 }] }), jsx("silkscreenpath", { route: [{ "x": 2.7500325999999404, "y": 1.300137100000029 }, { "x": 2.286000000000058, "y": 1.300137100000029 }] }), jsx("silkscreenpath", { route: [{ "x": 2.7500325999999404, "y": -1.2998830999999882 }, { "x": 2.286000000000058, "y": -1.2998830999999882 }] }), jsx("silkscreenpath", { route: [{ "x": 2.286000000000058, "y": -1.2998830999999882 }, { "x": 2.286000000000058, "y": 1.300137100000029 }] }), jsx("silkscreenpath", { route: [{ "x": 2.286000000000058, "y": -1.0910443000000214 }, { "x": 1.7500091999999086, "y": -1.0910443000000214 }] }), jsx("silkscreenpath", { route: [{ "x": 2.286000000000058, "y": 0.9944226999999728 }, { "x": 1.750034600000049, "y": 0.9944226999999728 }] }), jsx("silkscreenpath", { route: [{ "x": 2.286000000000058, "y": -0.429298099999869 }, { "x": 1.7500091999999086, "y": -0.429298099999869 }] }), jsx("silkscreenpath", { route: [{ "x": 2.286000000000058, "y": 0.42627549999997427 }, { "x": 1.750034600000049, "y": 0.42627549999997427 }] }), jsx("silkscreenpath", { route: [{ "x": 0.5080000000000382, "y": -1.0158602999999857 }, { "x": -0.7619999999999436, "y": -1.0158602999999857 }, { "x": -0.7619999999999436, "y": 1.0161396999999397 }, { "x": 0.5080000000000382, "y": 1.0161396999999397 }] }), jsx("silkscreenpath", { route: [{ "x": 0.5080000000000382, "y": -1.0158602999999857 }, { "x": 0.5080000000000382, "y": -0.6348602999999002 }, { "x": -0.3809999999999718, "y": -0.6348602999999002 }, { "x": -0.3809999999999718, "y": 0.6351396999999679 }, { "x": 0.5080000000000382, "y": 0.6351396999999679 }, { "x": 0.5080000000000382, "y": 1.0161396999999397 }] }), jsx("silkscreenpath", { route: [{ "x": 0, "y": -0.38086029999988114 }, { "x": 0, "y": 0.3811397000000625 }] }), jsx("silkscreenpath", { route: [{ "x": 0.3810000000000855, "y": -0.38086029999988114 }, { "x": 0.3810000000000855, "y": 0.3811397000000625 }] }), jsx("silkscreenpath", { route: [{ "x": -1.7500346000001628, "y": -2.3498683000000256 }, { "x": -1.5811499999999796, "y": -2.3498683000000256 }] }), jsx("silkscreenpath", { route: [{ "x": -0.1188720000000103, "y": -2.3498683000000256 }, { "x": 0.11887199999989662, "y": -2.3498683000000256 }] }), jsx("silkscreenpath", { route: [{ "x": 1.5811499999999796, "y": -2.3498683000000256 }, { "x": 1.7500091999999086, "y": -2.3498683000000256 }] }), jsx("silkscreenpath", { route: [{ "x": 1.750034600000049, "y": 2.3501476999999795 }, { "x": 1.5811499999999796, "y": 2.3501476999999795 }] }), jsx("silkscreenpath", { route: [{ "x": 0.11887199999989662, "y": 2.3501476999999795 }, { "x": -0.1188720000000103, "y": 2.3501476999999795 }] }), jsx("silkscreenpath", { route: [{ "x": -1.5811499999999796, "y": 2.3501476999999795 }, { "x": -1.7500092000000222, "y": 2.3501476999999795 }] }), jsx("silkscreenpath", { route: [{ "x": 1.750034600000049, "y": 2.3501476999999795 }, { "x": 1.750034600000049, "y": 0.5391277000001082 }] }), jsx("silkscreenpath", { route: [{ "x": 1.750034600000049, "y": -0.5388483000000406 }, { "x": 1.750034600000049, "y": -2.3498683000000256 }] }), jsx("silkscreenpath", { route: [{ "x": -1.7500092000000222, "y": 2.3501476999999795 }, { "x": -1.7500092000000222, "y": 0.5391277000001082 }] }), jsx("silkscreenpath", { route: [{ "x": -1.7500092000000222, "y": -0.5388483000000406 }, { "x": -1.7500092000000222, "y": -2.285733300000061 }] }), jsx("silkscreentext", { text: "{NAME}", pcbX: "0.331216mm", pcbY: "4.3638617mm", anchorAlignment: "center", fontSize: "1mm" }), jsx("courtyardoutline", { outline: [{ "x": -2.344483999999966, "y": 3.613861700000143 }, { "x": 3.006915999999933, "y": 3.613861700000143 }, { "x": 3.006915999999933, "y": -3.6425382999999556 }, { "x": -2.344483999999966, "y": -3.6425382999999556 }, { "x": -2.344483999999966, "y": 3.613861700000143 }] })] }), cadModel: {
objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C79174.obj?uuid=60be94c090e945f8a6cd297e41c8fe62",
stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C79174.step?uuid=60be94c090e945f8a6cd297e41c8fe62",
pcbRotationOffset: 90,
modelOriginPosition: { x: -2667000001110864e-19, y: 0.000138699999979508, z: -10000000000287557e-22 },
}, ...restProps }));
};
const pinLabels$a = {
pin1: ["pin1"],
pin2: ["pin2"],
pin3: ["pin3"],
pin4: ["pin4"],
pin5: ["GND2"],
pin6: ["GND1"]
};
const EVQPLHA15 = (props) => {
const { name = "SW1", ...restProps } = props;
return (jsx("pushbutton", { name: name, pinLabels: pinLabels$a, supplierPartNumbers: {
"jlcpcb": [
"C79172"
]
}, manufacturerPartNumber: "EVQPLHA15", footprint: jsxs("footprint", { children: [jsx("smtpad", { portHints: ["pin6"], pcbX: "0.000127mm", pcbY: "-2.524887mm", width: "0.999998mm", height: "0.499999mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin5"], pcbX: "0.000127mm", pcbY: "2.524887mm", width: "0.999998mm", height: "0.499999mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin1"], pcbX: "2.200021mm", pcbY: "1.850009mm", width: "0.999998mm", height: "0.5999988mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin2"], pcbX: "-2.200021mm", pcbY: "1.850009mm", width: "0.999998mm", height: "0.5999988mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin3"], pcbX: "-2.200021mm", pcbY: "-1.850009mm", width: "0.999998mm", height: "0.5999988mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin4"], pcbX: "2.200021mm", pcbY: "-1.850009mm", width: "0.999998mm", height: "0.5999988mm", shape: "rect" }), jsx("silkscreenpath", { route: [{ "x": -0.7311389999999847, "y": -2.539923799999883 }, { "x": -2.5400253999999904, "y": -2.539923799999883 }, { "x": -2.5400253999999904, "y": -2.3811230000000023 }] }), jsx("silkscreenpath", { route: [{ "x": 2.5399746000000505, "y": -2.3811230000000023 }, { "x": 2.5399746000000505, "y": -2.539923799999883 }, { "x": 0.7311136000000715, "y": -2.539923799999883 }] }), jsx("silkscreenpath", { route: [{ "x": -2.5400253999999904, "y": 1.270076200000176 }, { "x": -2.5400253999999904, "y": -1.2699237999999013 }] }), jsx("silkscreenpath", { route: [{ "x": 2.5399746000000505, "y": 1.270076200000176 }, { "x": 2.5399746000000505, "y": -1.2699237999999013 }] }), jsx("silkscreenpath", { route: [{ "x": -0.7311389999999847, "y": 2.540076200000044 }, { "x": -2.5400253999999904, "y": 2.540076200000044 }, { "x": -2.5400253999999904, "y": 2.381199199999969 }] }), jsx("silkscreenpath", { route: [{ "x": 2.5399746000000505, "y": 2.381199199999969 }, { "x": 2.5399746000000505, "y": 2.540076200000044 }, { "x": 0.7311136000000715, "y": 2.540076200000044 }] }), jsx("silkscreencircle", { pcbX: "0.000127mm", pcbY: "-0.000127mm", radius: "1.670558mm" }), jsx("silkscreentext", { text: "{NAME}", pcbX: "0.0021336mm", pcbY: "3.773426mm", anchorAlignment: "center", fontSize: "1mm" }), jsx("courtyardoutline", { outline: [{ "x": -2.952966399999923, "y": 3.023426000000086 }, { "x": 2.9572336000001087, "y": 3.023426000000086 }, { "x": 2.9572336000001087, "y": -3.039173999999889 }, { "x": -2.952966399999923, "y": -3.039173999999889 }, { "x": -2.952966399999923, "y": 3.023426000000086 }] })] }), cadModel: {
objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C79172.obj?uuid=ebb9fae7b41c43f9aa0d1246f378c2e2",
stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C79172.step?uuid=ebb9fae7b41c43f9aa0d1246f378c2e2",
pcbRotationOffset: 0,
modelOriginPosition: { x: -0.029946600000130275, y: -0.030099000000063825, z: -0.01 },
}, ...restProps }));
};
const OptionalButton = EVQPUC02K;
const MouseInputsSection = () => withSchematicSheet("inputs", (jsxs(Fragment$1, { children: [jsx(D2FC_F_7N_20M_, { name: "SW_LEFT", noConnect: ["pin3"], pcbX: -15, pcbY: -18.5, pcbRotation: 90, schX: 46.66, schY: 4, schHeight: 0.4, schSectionName: "MouseInputs" }), jsx(D2FC_F_7N_20M_, { name: "SW_RIGHT", noConnect: ["pin3"], pcbX: 17.5, pcbY: -18.5, pcbRotation: 90, schX: 46, schY: -4, schHeight: 0.4, schSectionName: "MouseInputs" }), jsx(EC10E1220505, { name: "ENC_WHEEL", symbol: undefined, noConnect: ["pin4", "pin5"], schWidth: 1.2, schHeight: 0.6, schPinArrangement: {
leftSide: { pins: ["A", "B"], direction: "top-to-bottom" },
rightSide: { pins: ["C", "pin4", "pin5"], direction: "top-to-bottom" },
}, pcbX: 9, pcbY: -15, pcbRotation: 90, schX: 54, schY: 0, schSectionName: "MouseInputs" }), jsx(EVQPLHA15, { name: "SW_MIDDLE", internallyConnectedPins: [["pin1", "pin2"], ["pin3", "pin4"], ["pin5", "pin6"]], pcbX: 0, pcbY: -15, pcbRotation: 90, schX: 57.5, schY: 3, schSectionName: "MouseInputs" }), jsx(EVQPLHA15, { name: "SW_DPI", internallyConnectedPins: [["pin1", "pin2"], ["pin3", "pin4"], ["pin5", "pin6"]], pcbX: 18, pcbY: -6, pcbRotation: 90, schX: 61, schY: 0, schSectionName: "MouseInputs" }), jsx(OptionalButton, { name: "SW_SIDE1", doNotPlace: true, pcbX: -17.4, pcbY: 0, pcbRotation: 270, schX: 67, schY: 3, schSectionName: "MouseInputs" }), jsx(OptionalButton, { name: "SW_SIDE2", doNotPlace: true, pcbX: -17.4, pcbY: -8, pcbRotation: 270, schX: 67, schY: -3, schSectionName: "MouseInputs" }), jsx("resistor", { name: "R_LEFT_SERIES", resistance: "33", footprint: "0402", pcbX: 13.2, pcbY: 25, schX: 41.7, schY: 4, schSectionName: "MouseInputs" }), jsx("resistor", { name: "R_ENC_A", resistance: "33", footprint: "0402", pcbX: 9, pcbY: 17, pcbRotation: 90, schX: 50, schY: 3, schSectionName: "MouseInputs" }), jsx("resistor", { name: "R_ENC_B", resistance: "33", footprint: "0402", pcbX: 7.5, pcbY: 17.2, pcbRotation: 90, schX: 50, schY: 0, schSectionName: "MouseInputs" }), jsx("resistor", { name: "R_MIDDLE", resistance: "33", footprint: "0402", pcbX: 15, pcbY: 4, pcbRotation: 90, schX: 57.5, schY: 5, schSectionName: "MouseInputs" }), jsx(NetTrace, { from: ".SW_LEFT > .pin1", to: "net.GND" }), jsx(NetTrace, { from: ".SW_LEFT > .pin2", to: "net.LEFT_SW" }), jsx(NetTrace, { from: "net.LEFT_SW", to: ".R_LEFT_SERIES > .pin1" }), jsx(NetTrace, { from: ".R_LEFT_SERIES > .pin2", to: "net.LEFT" }), jsx(NetTrace, { from: ".SW_RIGHT > .pin1", to: "net.GND" }), jsx(NetTrace, { from: ".SW_RIGHT > .pin2", to: "net.RIGHT" }), jsx(NetTrace, { from: ".ENC_WHEEL > .A", to: "net.ENC_A_SW" }), jsx(NetTrace, { from: "net.ENC_A_SW", to: ".R_ENC_A > .pin1" }), jsx(NetTrace, { from: ".R_ENC_A > .pin2", to: "net.ENC_A" }), jsx(NetTrace, { from: ".ENC_WHEEL > .B", to: "net.ENC_B_SW" }), jsx(NetTrace, { from: "net.ENC_B_SW", to: ".R_ENC_B > .pin1" }), jsx(NetTrace, { from: ".R_ENC_B > .pin2", to: "net.ENC_B" }), jsx(NetTrace, { from: ".ENC_WHEEL > .C", to: "net.GND" }), jsx(NetTrace, { from: ".SW_MIDDLE > .pin1", to: "net.MIDDLE_SW" }), jsx(NetTrace, { from: ".SW_MIDDLE > .pin2", to: "net.MIDDLE_SW" }), jsx(NetTrace, { from: "net.MIDDLE_SW", to: ".R_MIDDLE > .pin1" }), jsx(NetTrace, { from: ".R_MIDDLE > .pin2", to: "net.MIDDLE" }), jsx(NetTrace, { from: ".SW_MIDDLE > .pin3", to: "net.GND" }), jsx(NetTrace, { from: ".SW_MIDDLE > .pin4", to: "net.GND" }), jsx(NetTrace, { from: ".SW_MIDDLE > .GND1", to: "net.GND" }), jsx(NetTrace, { from: ".SW_MIDDLE > .GND2", to: "net.GND" }), jsx(NetTrace, { from: ".SW_DPI > .pin1", to: "net.DPI" }), jsx(NetTrace, { from: ".SW_DPI > .pin2", to: "net.DPI" }), jsx(NetTrace, { from: ".SW_DPI > .pin3", to: "net.GND" }), jsx(NetTrace, { from: ".SW_DPI > .pin4", to: "net.GND" }), jsx(NetTrace, { from: ".SW_DPI > .GND1", to: "net.GND" }), jsx(NetTrace, { from: ".SW_DPI > .GND2", to: "net.GND" }), jsx(NetTrace, { from: ".SW_SIDE1 > .pin1", to: "net.SIDE1" }), jsx(NetTrace, { from: ".SW_SIDE1 > .pin3", to: "net.SIDE1" }), jsx(NetTrace, { from: ".SW_SIDE1 > .pin2", to: "net.GND" }), jsx(NetTrace, { from: ".SW_SIDE1 > .pin4", to: "net.GND" }), jsx(NetTrace, { from: ".SW_SIDE2 > .pin1", to: "net.SIDE2" }), jsx(NetTrace, { from: ".SW_SIDE2 > .pin3", to: "net.SIDE2" }), jsx(NetTrace, { from: ".SW_SIDE2 > .pin2", to: "net.GND" }), jsx(NetTrace, { from: ".SW_SIDE2 > .pin4", to: "net.GND" })] })), -54.35);
const pinLabels$9 = {
pin1: ["NC1"],
pin2: ["NC2"],
pin3: ["VDDPIX"],
pin4: ["VDD"],
pin5: ["VDDIO"],
pin6: ["NC3"],
pin7: ["NRESET"],
pin8: ["GND"],
pin9: ["MOTION"],
pin10: ["SCLK"],
pin11: ["MOSI"],
pin12: ["MISO"],
pin13: ["NCS"],
pin14: ["NC4"],
pin15: ["LED_P"],
pin16: ["NC5"],
};
const PMW3360DM_T2QU = (props) => {
return (jsx("chip", { pinLabels: pinLabels$9, supplierPartNumbers: {
jlcpcb: ["C20612443"],
}, manufacturerPartNumber: "PMW3360DM-T2QU", footprint: jsxs("footprint", { children: [jsx("cutout", { name: "SENSOR_CUTOUT", shape: "rect", width: "8.60mm", height: "17.26mm", pcbX: 0, pcbY: 0.825 }), jsx("platedhole", { portHints: ["pin1"], pcbX: "-5.499989mm", pcbY: "6.674993mm", outerDiameter: "1.3999972mm", holeDiameter: "0.700024mm", shape: "circle" }), jsx("platedhole", { portHints: ["pin2"], pcbX: "-5.499989mm", pcbY: "4.894961mm", outerDiameter: "1.3999972mm", holeDiameter: "0.700024mm", shape: "circle" }), jsx("platedhole", { portHints: ["pin3"], pcbX: "-5.499989mm", pcbY: "3.114929mm", outerDiameter: "1.3999972mm", holeDiameter: "0.700024mm", shape: "circle" }), jsx("platedhole", { portHints: ["pin4"], pcbX: "-5.499989mm", pcbY: "1.334897mm", outerDiameter: "1.3999972mm", holeDiameter: "0.700024mm", shape: "circle" }), jsx("platedhole", { portHints: ["pin5"], pcbX: "-5.499989mm", pcbY: "-0.444881mm", outerDiameter: "1.3999972mm", holeDiameter: "0.700024mm", shape: "circle" }), jsx("platedhole", { portHints: ["pin6"], pcbX: "-5.499989mm", pcbY: "-2.224913mm", outerDiameter: "1.3999972mm", holeDiameter: "0.700024mm", shape: "circle" }), jsx("platedhole", { portHints: ["pin7"], pcbX: "-5.499989mm", pcbY: "-4.004945mm", outerDiameter: "1.3999972mm", holeDiameter: "0.700024mm", shape: "circle" }), jsx("platedhole", { portHints: ["pin8"], pcbX: "-5.499989mm", pcbY: "-5.784977mm", outerDiameter: "1.3999972mm", holeDiameter: "0.700024mm", shape: "circle" }), jsx("platedhole", { portHints: ["pin9"], pcbX: "5.499989mm", pcbY: "-6.674993mm", outerDiameter: "1.3999972mm", holeDiameter: "0.700024mm", shape: "circle" }), jsx("platedhole", { portHints: ["pin10"], pcbX: "5.499989mm", pcbY: "-4.894961mm", outerDiameter: "1.3999972mm", holeDiameter: "0.700024mm", shape: "circle" }), jsx("platedhole", { portHints: ["pin11"], pcbX: "5.499989mm", pcbY: "-3.114929mm", outerDiameter: "1.3999972mm", holeDiameter: "0.700024mm", shape: "circle" }), jsx("platedhole", { portHints: ["pin12"], pcbX: "5.499989mm", pcbY: "-1.335151mm", outerDiameter: "1.3999972mm", holeDiameter: "0.700024mm", shape: "circle" }), jsx("platedhole", { portHints: ["pin13"], pcbX: "5.499989mm", pcbY: "0.444881mm", outerDiameter: "1.3999972mm", holeDiameter: "0.700024mm", shape: "circle" }), jsx("platedhole", { portHints: ["pin14"], pcbX: "5.499989mm", pcbY: "2.224913mm", outerDiameter: "1.3999972mm", holeDiameter: "0.700024mm", shape: "circle" }), jsx("platedhole", { portHints: ["pin15"], pcbX: "5.499989mm", pcbY: "4.004945mm", outerDiameter: "1.3999972mm", holeDiameter: "0.700024mm", shape: "circle" }), jsx("platedhole", { portHints: ["pin16"], pcbX: "5.499989mm", pcbY: "5.784977mm", outerDiameter: "1.3999972mm", holeDiameter: "0.700024mm", shape: "circle" }), jsx("silkscreenpath", { route: [
{ x: -4.599990800000228, y: -8.00000939999984 },
{ x: 4.599990799999887, y: -8.00000939999984 },
{ x: 4.599990799999887, y: -7.225106199999914 },
] }), jsx("silkscreenpath", { route: [
{ x: -4.599990800000228, y: 9.499981000000048 },
{ x: 4.599990799999887, y: 9.499981000000048 },
] }), jsx("silkscreenpath", { route: [
{ x: 4.599990799999887, y: 9.499981000000048 },
{ x: 4.599990799999887, y: -8.00000939999984 },
] }), jsx("silkscreenpath", { route: [
{ x: -4.599990800000228, y: 9.499981000000048 },
{ x: -4.599990800000228, y: -8.00000939999984 },
] }), jsx("silkscreenpath", { route: [
{ x: 4.599990799999887, y: 6.3350394000001415 },
{ x: 4.599990799999887, y: 8.199958200000083 },
{ x: -4.599990800000228, y: 8.199958200000083 },
{ x: -4.599990800000228, y: 7.225055399999974 },
] }), jsx("silkscreenpath", { route: [
{ x: 4.599990799999887, y: 4.55505820000019 },
{ x: 3.7999923999998373, y: 4.55505820000019 },
{ x: 3.7999923999998373, y: -6.100013199999921 },
{ x: 4.599990799999887, y: -6.100013199999921 },
] }), jsx("silkscreenpath", { route: [
{ x: -4.600702000000183, y: 1.8845530000000963 },
{ x: -4.001262000000224, y: 1.8845530000000963 },
{ x: -4.001262000000224, y: -2.7992069999999103 },
{ x: -4.5803820000001, y: -2.7992069999999103 },
] }), jsx("silkscreenpath", { route: [
{ x: -4.599990800000228, y: -6.335039399999914 },
{ x: -4.599990800000228, y: -8.00000939999984 },
] }), jsx("silkscreenpath", { route: [
{ x: -4.599990800000228, y: -4.5550581999998485 },
{ x: -4.599990800000228, y: -5.234914599999911 },
] }), jsx("silkscreenpath", { route: [
{ x: -4.599990800000228, y: -2.7750515999998697 },
{ x: -4.599990800000228, y: -3.4549333999998453 },
] }), jsx("silkscreenpath", { route: [
{ x: -4.599990800000228, y: -0.9950449999998909 },
{ x: -4.599990800000228, y: -1.6749267999998665 },
] }), jsx("silkscreenpath", { route: [
{ x: -4.599990800000228, y: 0.7849362000001747 },
{ x: -4.599990800000228, y: 0.1050798000001123 },
] }), jsx("silkscreenpath", { route: [
{ x: -4.599990800000228, y: 2.56494280000004 },
{ x: -4.599990800000228, y: 1.8850609999999506 },
] }), jsx("silkscreenpath", { route: [
{ x: -4.599990800000228, y: 4.3449240000001055 },
{ x: -4.599990800000228, y: 3.6650676000001567 },
] }), jsx("silkscreenpath", { route: [
{ x: -4.599990800000228, y: 6.124930600000198 },
{ x: -4.599990800000228, y: 5.445048800000222 },
] }), jsx("silkscreenpath", { route: [
{ x: 4.599990799999887, y: 4.55505820000019 },
{ x: 4.599990799999887, y: 5.234863800000085 },
] }), jsx("silkscreenpath", { route: [
{ x: 4.599990799999887, y: 2.775051600000097 },
{ x: 4.599990799999887, y: 3.4548826000001327 },
] }), jsx("silkscreenpath", { route: [
{ x: 4.599990799999887, y: 0.9950450000001183 },
{ x: 4.599990799999887, y: 1.6748760000000402 },
] }), jsx("silkscreenpath", { route: [
{ x: 4.599990799999887, y: -0.7849361999998337 },
{ x: 4.599990799999887, y: -0.10513059999993857 },
] }), jsx("silkscreenpath", { route: [
{ x: 4.599990799999887, y: -2.564942799999926 },
{ x: 4.599990799999887, y: -1.8851117999998905 },
] }), jsx("silkscreenpath", { route: [
{ x: 4.599990799999887, y: -4.344923999999764 },
{ x: 4.599990799999887, y: -3.6651183999998693 },
] }), jsx("silkscreenpath", { route: [
{ x: 4.599990799999887, y: -6.124930599999857 },
{ x: 4.599990799999887, y: -5.445099599999821 },
] }), jsx("silkscreenpath", { route: [
{ x: 2.1998939999998584, y: -0.49999899999988884 },
{ x: 2.1249344296982144, y: -1.0693734644066808 },
{ x: 1.9051640896328763, y: -1.599945999999818 },
{ x: 1.5555599652915362, y: -2.055558965291425 },
{ x: 1.0999469999998155, y: -2.405163089632879 },
{ x: 0.5693744644066783, y: -2.6249334296981033 },
{ x: -22737367544323206e-29, y: -2.699892999999861 },
{ x: -0.5693744644069056, y: -2.6249334296981033 },
{ x: -1.0999470000001565, y: -2.405163089632879 },
{ x: -1.5555599652917635, y: -2.055558965291425 },
{ x: -1.9051640896331037, y: -1.599945999999818 },
{ x: -2.124934429698442, y: -1.0693734644066808 },
{ x: -2.1998940000001994, y: -0.49999899999988884 },
{ x: -2.124934429698442, y: 0.06937546440701681 },
{ x: -1.9051640896331037, y: 0.599948000000154 },
{ x: -1.5555599652917635, y: 1.055560965291761 },
{ x: -1.0999470000001565, y: 1.4051650896331012 },
{ x: -0.5693744644069056, y: 1.6249354296984393 },
{ x: -22737367544323206e-29, y: 1.6998950000001969 },
{ x: 0.5693744644066783, y: 1.6249354296984393 },
{ x: 1.0999469999998155, y: 1.4051650896331012 },
{ x: 1.5555599652915362, y: 1.055560965291761 },
{ x: 1.9051640896328763, y: 0.599948000000154 },
{ x: 2.1249344296982144, y: 0.06937546440701681 },
{ x: 2.1998939999998584, y: -0.49999899999988884 },
] }), jsx("silkscreentext", { text: "{NAME}", pcbX: "0.009398mm", pcbY: "10.621393mm", anchorAlignment: "center", fontSize: "1mm" }), jsx("courtyardoutline", { outline: [
{ x: -6.489002000000141, y: 9.871393000000126 },
{ x: 6.507797999999866, y: 9.871393000000126 },
{ x: 6.507797999999866, y: -8.281606999999894 },
{ x: -6.489002000000141, y: -8.281606999999894 },
{ x: -6.489002000000141, y: 9.871393000000126 },
] })] }), cadModel: {
objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C20612443.obj?uuid=1c741dd9ddf74d59b063ad201dade000",
stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C20612443.step?uuid=1c741dd9ddf74d59b063ad201dade000",
pcbRotationOffset: 0,
modelOriginPosition: {
x: 0.000012700000070253736,
y: 0.7,
z: 1.6999947999999998,
},
}, ...props }));
};
const pinLabels$8 = {
pin1: ["IN"],
pin2: ["GND"],
pin3: ["EN"],
pin4: ["NC"],
pin5: ["OUT"]
};
const pinAttributes$2 = {
pin2: { requiresGround: true },
pin4: { doNotConnect: true }
};
const TLV70019DDCR = (props) => {
return (jsx("chip", { pinLabels: pinLabels$8, pinAttributes: pinAttributes$2, supplierPartNumbers: {
"jlcpcb": [
"C2862411"
]
}, manufacturerPartNumber: "TLV70019DDCR", footprint: "sot25_w2.2mm_pl1mm_pin1location(rightside,bottom)", cadModel: {
objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C2862411.obj?uuid=8c971aea3af54c53b74baeb1f489d393",
stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C2862411.step?uuid=8c971aea3af54c53b74baeb1f489d393",
pcbRotationOffset: 90,
modelOriginPosition: { x: -12699999956566899e-21, y: 0.00006349999989652133, z: -0.7 },
}, ...props }));
};
const OpticalSensorSection = () => withSchematicSheet("sensor", (jsxs(Fragment$1, { children: [jsx(TLV70019DDCR, { name: "U_SENSOR_LDO", noConnect: ["NC"], pcbX: -10.5, pcbY: 6.5, schX: 18, schY: -6.52, schWidth: 1.77, schHeight: 0.6, schPinArrangement: {
leftSide: { pins: ["IN", "EN", "GND"], direction: "top-to-bottom" },
rightSide: { pins: ["OUT", "NC"], direction: "top-to-bottom" },
}, schSectionName: "OpticalSensor" }), jsx("capacitor", { name: "C_SENSOR_LDO_IN", capacitance: "1uF", footprint: "0603", pcbX: -9, pcbY: 9.5, schX: 14, schY: -6.42, schOrientation: "vertical", schSectionName: "OpticalSensor" }), jsx("capacitor", { name: "C_SENSOR_LDO_OUT", capacitance: "1uF", footprint: "0603", pcbX: -13.5, pcbY: 6.5, pcbRotation: 90, schX: 22, schY: -6.72, schOrientation: "vertical", schSectionName: "OpticalSensor" }), jsx(PMW3360DM_T2QU, { name: "U_SENSOR", noConnect: ["NC1", "NC2", "NC3", "NC4", "NC5"], pcbX: 0, pcbY: 0.2, pcbRotation: 0, schX: 26.53, schY: 0, schWidth: 2.34, schHeight: 1.8, schPinArrangement: {
leftSide: {
pins: ["NC1", "NC2", "VDD", "VDDIO", "VDDPIX", "GND", "NRESET", "LED_P"],
direction: "top-to-bottom",
},
rightSide: {
pins: ["SCLK", "MOSI", "MISO", "NCS", "MOTION", "NC3", "NC4", "NC5"],
direction: "top-to-bottom",
},
}, schSectionName: "OpticalSensor" }), jsx("capacitor", { name: "C_SENSOR_VDD_BULK", capacitance: "10uF", footprint: "0805", pcbX: -12, pcbY: -1, pcbRotation: 90, schX: 17, schY: 5.5, schOrientation: "vertical", schSectionName: "OpticalSensor" }), jsx("capacitor", { name: "C_SENSOR_VDD", capacitance: "100nF", footprint: "0402", pcbX: -12.5, pcbY: -4, schX: 20.5, schY: 5.5, schOrientation: "vertical", schSectionName: "OpticalSensor" }), jsx("capacitor", { name: "C_SENSOR_VDDIO", capacitance: "100nF", footprint: "0402", pcbX: -8.5, pcbY: -1, schX: 24, schY: 5.5, schOrientation: "vertical", schSectionName: "OpticalSensor" }), jsx("capacitor", { name: "C_SENSOR_PIX_BULK", capacitance: "4.7uF", footprint: "0603", pcbX: -8.5, pcbY: 3.5, schX: 29.5, schY: 5.5, schOrientation: "vertical", schSectionName: "OpticalSensor" }), jsx("capacitor", { name: "C_SENSOR_PIX", capacitance: "100nF", footprint: "0402", pcbX: 9, pcbY: 0, schX: 33, schY: 5.5, schOrientation: "vertical", schSectionName: "OpticalSensor" }), jsx("resistor", { name: "R_SENSOR_LED", resistance: "39", footprint: "0603", pcbX: -12.3, pcbY: 3.2, schX: 24, schY: 8.5, schSectionName: "OpticalSensor" }), jsx("resistor", { name: "R_SENSOR_RESET", resistance: "10k", footprint: "0402", pcbX: -9.5, pcbY: -4, schX: 36.5, schY: 5.5, schSectionName: "OpticalSensor" }), jsx("resistor", { name: "R_SENSOR_RESET_SERIES", resistance: "33", footprint: "0402", pcbX: 8.5, pcbY: 10, schX: 36.5, schY: 7.5, schSectionName: "OpticalSensor" }), jsx("resistor", { name: "R_SENSOR_MOTION_SERIES", resistance: "33", footprint: "0402", pcbX: 16.2, pcbY: 22.5, schX: 36.5, schY: -6, schSectionName: "OpticalSensor" }), jsx("resistor", { name: "R_SPI_SCLK", resistance: "33", footprint: "0402", pcbX: 13.2, pcbY: 20.6, schX: 34, schY: 3, schSectionName: "OpticalSensor" }), jsx("resistor", { name: "R_SPI_MOSI", resistance: "33", footprint: "0402", pcbX: 13.2, pcbY: 21.7, schX: 34.47, schY: 0, schSectionName: "OpticalSensor" }), jsx("resistor", { name: "R_SPI_MISO", resistance: "33", footprint: "0402", pcbX: 13.7, pcbY: 22.8, schX: 34.47, schY: 1.5, schSectionName: "OpticalSensor" }), jsx("resistor", { name: "R_SPI_CS", resistance: "33", footprint: "0402", pcbX: 13.2, pcbY: 23.9, schX: 34, schY: -3, schSectionName: "OpticalSensor" }), jsx(NetTrace, { from: ".U_SENSOR_LDO > .IN", to: "net.V3V3", width: POWER_TRACE }), jsx(NetTrace, { from: ".U_SENSOR_LDO > .EN", to: "net.V3V3" }), jsx(NetTrace, { from: ".U_SENSOR_LDO > .GND", to: "net.GND", width: POWER_TRACE }), jsx(NetTrace, { from: ".U_SENSOR_LDO > .OUT", to: "net.V1V9", width: POWER_TRACE }), jsx(NetTrace, { from: ".C_SENSOR_LDO_IN > .pin1", to: "net.V3V3" }), jsx(NetTrace, { from: ".C_SENSOR_LDO_IN > .pin2", to: "net.GND" }), jsx(NetTrace, { from: ".C_SENSOR_LDO_OUT > .pin1", to: "net.V1V9" }), jsx(NetTrace, { from: ".C_SENSOR_LDO_OUT > .pin2", to: "net.GND" }), jsx(NetTrace, { from: ".U_SENSOR > .VDD", to: "net.V1V9", width: POWER_TRACE }), jsx(NetTrace, { from: ".U_SENSOR > .VDDIO", to: "net.V3V3", width: POWER_TRACE }), jsx(NetTrace, { from: ".U_SENSOR > .GND", to: "net.GND", width: POWER_TRACE }), jsx(NetTrace, { from: ".C_SENSOR_VDD_BULK > .pin1", to: "net.V1V9" }), jsx(NetTrace, { from: ".C_SENSOR_VDD_BULK > .pin2", to: "net.GND" }), jsx(NetTrace, { from: ".C_SENSOR_VDD > .pin1", to: "net.V1V9" }), jsx(NetTrace, { from: ".C_SENSOR_VDD > .pin2", to: "net.GND" }), jsx(NetTrace, { from: ".C_SENSOR_VDDIO > .pin1", to: "net.V3V3" }), jsx(NetTrace, { from: ".C_SENSOR_VDDIO > .pin2", to: "net.GND" }), jsx(NetTrace, { from: ".U_SENSOR > .VDDPIX", to: "net.VPIX" }), jsx(NetTrace, { from: ".C_SENSOR_PIX_BULK > .pin1", to: "net.VPIX" }), jsx(NetTrace, { from: ".C_SENSOR_PIX_BULK > .pin2", to: "net.GND" }), jsx(NetTrace, { from: ".C_SENSOR_PIX > .pin1", to: "net.VPIX" }), jsx(NetTrace, { from: ".C_SENSOR_PIX > .pin2", to: "net.GND" }), jsx(NetTrace, { from: "net.V1V9", to: ".R_SENSOR_LED > .pin1" }), jsx(NetTrace, { name: "S_LED", from: ".R_SENSOR_LED > .pin2", to: ".U_SENSOR > .LED_P" }), jsx(NetTrace, { from: "net.V3V3", to: ".R_SENSOR_RESET > .pin1" }), jsx(NetTrace, { from: ".R_SENSOR_RESET > .pin2", to: "net.S_RST_N" }), jsx(NetTrace, { from: ".U_SENSOR > .NRESET", to: "net.S_RST_N" }), jsx(NetTrace, { from: "net.S_RST", to: ".R_SENSOR_RESET_SERIES > .pin1" }), jsx(NetTrace, { from: ".R_SENSOR_RESET_SERIES > .pin2", to: "net.S_RST_N" }), jsx(NetTrace, { from: "net.SCLK", to: ".R_SPI_SCLK > .pin1" }), jsx(NetTrace, { name: "SCLK_S", from: ".R_SPI_SCLK > .pin2", to: ".U_SENSOR > .SCLK" }), jsx(NetTrace, { from: "net.MOSI", to: ".R_SPI_MOSI > .pin1" }), jsx(NetTrace, { name: "MOSI_S", from: ".R_SPI_MOSI > .pin2", to: ".U_SENSOR > .MOSI" }), jsx(NetTrace, { from: "net.CS_N", to: ".R_SPI_CS > .pin1" }), jsx(NetTrace, { name: "CS_S", from: ".R_SPI_CS > .pin2", to: ".U_SENSOR > .NCS" }), jsx(NetTrace, { from: "net.MISO", to: ".R_SPI_MISO > .pin1" }), jsx(NetTrace, { name: "MISO_S", from: ".R_SPI_MISO > .pin2", to: ".U_SENSOR > .MISO" }), jsx(NetTrace, { from: ".U_SENSOR > .MOTION", to: "net.S_MOT" }), jsx(NetTrace, { from: "net.S_MOT", to: ".R_SENSOR_MOTION_SERIES > .pin1" }), jsx(NetTrace, { from: ".R_SENSOR_MOTION_SERIES > .pin2", to: "net.MOTION" })] })), -25.25);
const pinLabels$7 = {
pin1: ["VDD"],
pin2: ["DOUT"],
pin3: ["VSS"],
pin4: ["DIN"]
};
const pinAttributes$1 = {
pin1: { requiresPower: true },
pin3: { requiresGround: true }
};
const WS2812B_V6 = (props) => {
return (jsx("chip", { pinLabels: pinLabels$7, pinAttributes: pinAttributes$1, supplierPartNumbers: {
"jlcpcb": [
"C52917433"
]
}, manufacturerPartNumber: "WS2812B-V6", footprint: jsxs("footprint", { children: [jsx("smtpad", { portHints: ["pin1"], pcbX: "-2.350008mm", pcbY: "1.600073mm", width: "1.5999968mm", height: "1.1999976mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin2"], pcbX: "-2.350008mm", pcbY: "-1.600073mm", width: "1.5999968mm", height: "1.1999976mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin3"], pcbX: "2.350008mm", pcbY: "-1.600073mm", width: "1.5999968mm", height: "1.1999976mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin4"], pcbX: "2.350008mm", pcbY: "1.600073mm", width: "1.5999968mm", height: "1.1999976mm", shape: "rect" }), jsx("silkscreenpath", { route: [{ "x": 3.4289999999999736, "y": -1.6509999999999536 }, { "x": 4.699000000000069, "y": -1.6509999999999536 }] }), jsx("silkscreenpath", { route: [{ "x": -4.063999999999851, "y": 2.4130000000001246 }, { "x": -4.063999999999851, "y": 1.1430000000001428 }] }), jsx("silkscreenpath", { route: [{ "x": -4.698999999999955, "y": 1.77800000000002 }, { "x": -3.4289999999999736, "y": 1.77800000000002 }] }), jsx("silkscreenpath", { route: [{ "x": -2.539923799999997, "y": 2.431186400000229 }, { "x": -2.539923799999997, "y": 2.5400000000000773 }] }), jsx("silkscreenpath", { route: [{ "x": -2.539923799999997, "y": -0.7688071999998556 }, { "x": -2.539923799999997, "y": 0.7688834000000497 }] }), jsx("silkscreenpath", { route: [{ "x": 2.5400761999999304, "y": -2.431084799999894 }, { "x": 2.5400761999999304, "y": -2.5399999999999636 }, { "x": -2.539923799999997, "y": -2.5399999999999636 }, { "x": -2.539923799999997, "y": -2.431084799999894 }] }), jsx("silkscreenpath", { route: [{ "x": 2.5400761999999304, "y": 0.7688834000000497 }, { "x": 2.5400761999999304, "y": -0.7688071999998556 }] }), jsx("silkscreenpath", { route: [{ "x": -2.539923799999997, "y": 2.5400000000000773 }, { "x": 2.5400761999999304, "y": 2.5400000000000773 }, { "x": 2.5400761999999304, "y": 2.431186400000229 }] }), jsx("silkscreentext", { text: "{NAME}", pcbX: "0.010668mm", pcbY: "3.539873mm", anchorAlignment: "center", fontSize: "1mm" }), jsx("fabricationnotepath", { route: [{ "x": 1.8224500000000035, "y": -2.5208483999998634 }, { "x": 2.495550000000094, "y": -2.5208483999998634 }, { "x": 2.495550000000094, "y": -1.7969483999999056 }, { "x": 1.8224500000000035, "y": -2.5208483999998634 }], strokeWidth: "0.254mm" }), jsx("fabricationnotepath", { route: [{ "x": -4.698999999999955, "y": 1.6510000000000673 }, { "x": -4.698999999999955, "y": 1.9050000000000864 }, { "x": -3.4289999999999736, "y": 1.9050000000000864 }, { "x": -3.4289999999999736, "y": 1.6510000000000673 }, { "x": -4.698999999999955, "y": 1.6510000000000673 }], strokeWidth: "0.254mm" }), jsx("fabricationnotepath", { route: [{ "x": -4.190999999999917, "y": 2.413000000000011 }, { "x": -3.936999999999898, "y": 2.413000000000011 }, { "x": -3.936999999999898, "y": 1.143000000000029 }, { "x": -4.190999999999917, "y": 1.143000000000029 }, { "x": -4.190999999999917, "y": 2.413000000000011 }], strokeWidth: "0.254mm" }), jsx("fabricationnotepath", { route: [{ "x": 3.4290000000000873, "y": -1.77800000000002 }, { "x": 3.4290000000000873, "y": -1.524000000000001 }, { "x": 4.699000000000069, "y": -1.524000000000001 }, { "x": 4.699000000000069, "y": -1.77800000000002 }, { "x": 3.4290000000000873, "y": -1.77800000000002 }], strokeWidth: "0.254mm" }), jsx("courtyardoutline", { outline: [{ "x": -4.938331999999946, "y": 2.789873000000057 }, { "x": 4.959667999999965, "y": 2.789873000000057 }, { "x": 4.959667999999965, "y": -3.0441269999998894 }, { "x": -4.938331999999946, "y": -3.0441269999998894 }, { "x": -4.938331999999946, "y": 2.789873000000057 }] })] }), ...props }));
};
const debugTestpointFootprint = (jsxs("footprint", { children: [jsx("smtpad", { portHints: ["pin1"], shape: "circle", radius: "0.75mm", layer: "top" }), jsx("courtyardcircle", { radius: "0.95mm" })] }));
const StatusAndDebugSection = () => withSchematicSheet("controller", (jsxs(Fragment$1, { children: [jsx("resistor", { name: "R_WLED_DATA", resistance: "330", footprint: "0402", pcbX: 1, pcbY: 27.6, pcbRotation: 180, schX: 3, schY: 3, schSectionName: "StatusDebug" }), jsx(WS2812B_V6, { name: "U_WLED", noConnect: ["DOUT"], pcbX: -5, pcbY: 25.5, schX: 7, schY: 3, schWidth: 1.5, schHeight: 0.6, schPinArrangement: {
leftSide: { pins: ["VDD", "DIN"], direction: "top-to-bottom" },
rightSide: { pins: ["DOUT", "VSS"], direction: "top-to-bottom" },
}, schSectionName: "StatusDebug" }), jsx("capacitor", { name: "C_WLED", capacitance: "100nF", footprint: "0402", pcbX: -7.35, pcbY: 29.7, pcbRotation: 270, schX: 11, schY: 3, schOrientation: "vertical", schSectionName: "StatusDebug" }), jsx(NetTrace, { from: "net.WLED", to: ".R_WLED_DATA > .pin1" }), jsx(NetTrace, { name: "LED_DIN", from: ".R_WLED_DATA > .pin2", to: ".U_WLED > .DIN" }), jsx(NetTrace, { from: ".U_WLED > .VDD", to: "net.VSYS", width: POWER_TRACE }), jsx(NetTrace, { from: ".U_WLED > .VSS", to: "net.GND", width: POWER_TRACE }), jsx(NetTrace, { from: ".C_WLED > .pin1", to: "net.VSYS", width: POWER_TRACE }), jsx(NetTrace, { from: ".C_WLED > .pin2", to: "net.GND", width: POWER_TRACE }), jsx("testpoint", { name: "TP_SWDIO", footprint: debugTestpointFootprint, footprintVariant: "pad", padShape: "circle", padDiameter: "1.5mm", pcbX: 19, pcbY: 25, schX: 3.2, schY: -4, schSectionName: "StatusDebug" }), jsx("testpoint", { name: "TP_SWCLK", footprint: debugTestpointFootprint, footprintVariant: "pad", padShape: "circle", padDiameter: "1.5mm", pcbX: 19, pcbY: 23, schX: 7.8, schY: -4, schSectionName: "StatusDebug" }), jsx("testpoint", { name: "TP_3V3", footprint: debugTestpointFootprint, footprintVariant: "pad", padShape: "circle", padDiameter: "1.5mm", pcbX: 19, pcbY: 21, schX: 10, schY: -4, schSectionName: "StatusDebug" }), jsx("testpoint", { name: "TP_GND", footprint: debugTestpointFootprint, footprintVariant: "pad", padShape: "circle", padDiameter: "1.5mm", pcbX: 19, pcbY: 19, schX: 13, schY: -4, schSectionName: "StatusDebug" }), jsx("testpoint", { name: "TP_RESET", footprint: debugTestpointFootprint, footprintVariant: "pad", padShape: "circle", padDiameter: "1.5mm", pcbX: 20.9, pcbY: 17, schX: 16, schY: -4, schSectionName: "StatusDebug" }), jsx(NetTrace, { name: "SWDIO", from: ".U_MCU > .SWDIO", to: ".TP_SWDIO > .pin1" }), jsx(NetTrace, { name: "SWCLK", from: ".U_MCU > .SWDCLK", to: ".TP_SWCLK > .pin1" }), jsx(NetTrace, { from: "net.V3V3", to: ".TP_3V3 > .pin1" }), jsx(NetTrace, { from: "net.GND", to: ".TP_GND > .pin1" }), jsx(NetTrace, { from: "net.RESET_N", to: ".TP_RESET > .pin1" })] })), -2);
const pinLabels$6 = {
pin1: ["STAT"],
pin2: ["VSS"],
pin3: ["VBAT"],
pin4: ["VDD"],
pin5: ["PROG"]
};
const MCP73831T_2ACI_OT = (props) => {
return (jsx("chip", { pinLabels: pinLabels$6, supplierPartNumbers: {
"jlcpcb": [
"C424093"
]
}, manufacturerPartNumber: "MCP73831T-2ACI/OT", footprint: jsxs("footprint", { children: [jsx("smtpad", { portHints: ["pin1"], pcbX: "-0.94996mm", pcbY: "-1.15817015mm", width: "0.4899914mm", height: "1.1569954mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin2"], pcbX: "0mm", pcbY: "-1.15817015mm", width: "0.4899914mm", height: "1.1569954mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin3"], pcbX: "0.94996mm", pcbY: "-1.15817015mm", width: "0.4899914mm", height: "1.1569954mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin4"], pcbX: "0.94996mm", pcbY: "1.14916585mm", width: "0.4899914mm", height: "1.175004mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin5"], pcbX: "-0.94996mm", pcbY: "1.14916585mm", width: "0.4899914mm", height: "1.175004mm", shape: "rect" }), jsx("silkscreenpath", { route: [{ "x": -1.5262098000000606, "y": -0.8557069500000125 }, { "x": -1.5262098000000606, "y": 0.8467026499999974 }] }), jsx("silkscreenpath", { route: [{ "x": 1.5262097999998332, "y": -0.8557069500000125 }, { "x": 1.5262097999998332, "y": 0.8467026499999974 }] }), jsx("silkscreenpath", { route: [{ "x": 0.4764023999998699, "y": 0.8467026499999974 }, { "x": -0.4764023999999836, "y": 0.8467026499999974 }] }), jsx("silkscreenpath", { route: [{ "x": -1.5008860000000368, "y": -1.1475021500000366 }, { "x": -1.5060010105125912, "y": -1.1863545121365178 }, { "x": -1.520997462536343, "y": -1.2225591500000519 }, { "x": -1.5448533726489586, "y": -1.253648777350918 }, { "x": -1.575943000000052, "y": -1.277504687463761 }, { "x": -1.6121476378634725, "y": -1.2925011394875128 }, { "x": -1.6510000000000673, "y": -1.2976161499999534 }, { "x": -1.6898523621366621, "y": -1.2925011394875128 }, { "x": -1.7260570000000826, "y": -1.277504687463761 }, { "x": -1.7571466273510623, "y": -1.253648777350918 }, { "x": -1.781002537463678, "y": -1.2225591500000519 }, { "x": -1.7959989894875434, "y": -1.1863545121365178 }, { "x": -1.8011140000000978, "y": -1.1475021500000366 }, { "x": -1.7959989894875434, "y": -1.1086497878634418 }, { "x": -1.781002537463678, "y": -1.0724451499999077 }, { "x": -1.7571466273510623, "y": -1.041355522648928 }, { "x": -1.7260570000000826, "y": -1.0174996125363123 }, { "x": -1.6898523621366621, "y": -1.0025031605124468 }, { "x": -1.6510000000000673, "y": -0.9973881500000061 }, { "x": -1.6121476378634725, "y": -1.0025031605124468 }, { "x": -1.575943000000052, "y": -1.0174996125363123 }, { "x": -1.5448533726489586, "y": -1.041355522648928 }, { "x": -1.520997462536343, "y": -1.0724451499999077 }, { "x": -1.5060010105125912, "y": -1.1086497878634418 }, { "x": -1.5008860000000368, "y": -1.1475021500000366 }] }), jsx("silkscreentext", { text: "{NAME}", pcbX: "-0.1397mm", pcbY: "2.74809785mm", anchorAlignment: "center", fontSize: "1mm" }), jsx("courtyardoutline", { outline: [{ "x": -2.0534000000000106, "y": 1.998097850000022 }, { "x": 1.7739999999998872, "y": 1.998097850000022 }, { "x": 1.7739999999998872, "y": -2.108702149999999 }, { "x": -2.0534000000000106, "y": -2.108702149999999 }, { "x": -2.0534000000000106, "y": 1.998097850000022 }] })] }), cadModel: {
objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C424093.obj?uuid=460193f9bf2d42e58cf3c2f675b07dc6",
stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C424093.step?uuid=460193f9bf2d42e58cf3c2f675b07dc6",
pcbRotationOffset: 90,
modelOriginPosition: { x: 0.004489450000050965, y: 0.000012700000070253736, z: -0.049083 },
}, ...props }));
};
const pinLabels$5 = {
pin7: ["EH1"],
pin8: ["pin7_alt1"],
pin9: ["pin7_alt1"],
pin10: ["pin7_alt1"],
pin11: ["B12"],
pin12: ["B9"],
pin13: ["A5"],
pin14: ["B5"],
pin15: ["A9"],
pin16: ["A12"]
};
const TYPE_C_6P = (props) => {
return (jsx("chip", { pinLabels: pinLabels$5, supplierPartNumbers: {
"jlcpcb": [
"C456012"
]
}, manufacturerPartNumber: "TYPE-C 6P", footprint: jsxs("footprint", { children: [jsx("platedhole", { portHints: ["pin7"], pcbX: "4.319905mm", pcbY: "-2.3000144mm", holeWidth: "0.5999988mm", holeHeight: "1.3999972mm", outerWidth: "1.0999978mm", outerHeight: "1.8999962mm", shape: "pill" }), jsx("platedhole", { portHints: ["pin8"], pcbX: "-4.319905mm", pcbY: "-2.3000144mm", holeWidth: "0.5999988mm", holeHeight: "1.3999972mm", outerWidth: "1.0999978mm", outerHeight: "1.8999962mm", shape: "pill" }), jsx("platedhole", { portHints: ["pin9"], pcbX: "4.319905mm", pcbY: "1.5000796mm", holeWidth: "0.5999988mm", holeHeight: "1.3999972mm", outerWidth: "1.0999978mm", outerHeight: "1.8999962mm", shape: "pill" }), jsx("platedhole", { portHints: ["pin10"], pcbX: "-4.319905mm", pcbY: "1.5000796mm", holeWidth: "0.5999988mm", holeHeight: "1.3999972mm", outerWidth: "1.0999978mm", outerHeight: "1.8999962mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin11"], pcbX: "-2.699893mm", pcbY: "1.7500156mm", width: "0.7999984mm", height: "1.1999976mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin12"], pcbX: "-1.499997mm", pcbY: "1.7500156mm", width: "0.6999986mm", height: "1.1999976mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin13"], pcbX: "-0.499999mm", pcbY: "1.7500156mm", width: "0.6999986mm", height: "1.1999976mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin14"], pcbX: "0.499999mm", pcbY: "1.7500156mm", width: "0.6999986mm", height: "1.1999976mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin15"], pcbX: "1.499997mm", pcbY: "1.7500156mm", width: "0.6999986mm", height: "1.1999976mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin16"], pcbX: "2.699893mm", pcbY: "1.7500156mm", width: "0.7999984mm", height: "1.1999976mm", shape: "rect" }), jsx("silkscreenpath", { route: [{ "x": 3.3291271999999026, "y": 1.9000279999999066 }, { "x": 3.540759999999864, "y": 1.9000279999999066 }] }), jsx("silkscreenpath", { route: [{ "x": -3.540760000000091, "y": 1.9000279999999066 }, { "x": -3.32912720000013, "y": 1.9000279999999066 }] }), jsx("silkscreenpath", { route: [{ "x": -4.499991000000136, "y": 0.3000311999999212 }, { "x": -4.499991000000136, "y": 0.34211899999991147 }] }), jsx("silkscreenpath", { route: [{ "x": -4.499991000000136, "y": 0.3000311999999212 }, { "x": -4.499991000000136, "y": -1.1422823999999991 }] }), jsx("silkscreenpath", { route: [{ "x": 4.499990999999909, "y": -1.099965999999995 }, { "x": 4.499990999999909, "y": 0.35011999999994714 }] }), jsx("silkscreenpath", { route: [{ "x": -4.5007530000000315, "y": -3.5011804000000666 }, { "x": -4.5007530000000315, "y": -3.4783204000001433 }, { "x": -4.5007530000000315, "y": -4.900720399999955 }, { "x": 4.501006999999959, "y": -4.900720399999955 }, { "x": 4.501006999999959, "y": -3.5011804000000666 }] }), jsx("silkscreenpath", { route: [{ "x": -0.4000246000000516, "y": 0.5000307999999904 }, { "x": -0.4000246000000516, "y": 0.7000304000000597 }] }), jsx("silkscreenpath", { route: [{ "x": 0.9999725999999782, "y": 0.10003159999996569 }, { "x": 0.9999725999999782, "y": 0.5000307999999904 }, { "x": 0.39997379999988425, "y": 0.5000307999999904 }, { "x": 0.39997379999988425, "y": 0.7000304000000597 }] }), jsx("silkscreenpath", { route: [{ "x": -1.0000234000000319, "y": 0.10003159999996569 }, { "x": -1.0000234000000319, "y": 0.5000307999999904 }, { "x": -0.4000246000000516, "y": 0.5000307999999904 }] }), jsx("silkscreenpath", { route: [{ "x": -1.0100310000000263, "y": 0.10003159999996569 }, { "x": 1.0099801999999727, "y": 0.10003159999996569 }] }), jsx("silkscreenpath", { route: [{ "x": -2.817672800000082, "y": -3.7332093999999643 }, { "x": -2.3198328000000856, "y": -1.2313094000001001 }, { "x": -1.0193528000000924, "y": -1.2313094000001001 }, { "x": -0.5189728000000287, "y": -3.7332093999999643 }, { "x": -1.0142728000000716, "y": -3.7332093999999643 }, { "x": -1.4130528000000595, "y": -1.6326294000000416 }, { "x": -1.9413728000000674, "y": -1.6326294000000416 }, { "x": -2.3426928000001226, "y": -3.7332093999999643 }, { "x": -2.817672800000082, "y": -3.7332093999999643 }] }), jsx("silkscreenpath", { route: [{ "x": -2.517952800000103, "y": -2.4327294000000848 }, { "x": -2.119172800000115, "y": -2.4327294000000848 }] }), jsx("silkscreenpath", { route: [{ "x": -1.2185904000000392, "y": -2.4324245999999903 }, { "x": -0.8185912000000144, "y": -2.4324245999999903 }] }), jsx("silkscreenpath", { route: [{ "x": 2.0581873999999516, "y": -2.427344600000083 }, { "x": 2.4581865999999764, "y": -2.427344600000083 }] }), jsx("silkscreenpath", { route: [{ "x": 0.758824999999888, "y": -2.42764939999995 }, { "x": 1.1576049999998759, "y": -2.42764939999995 }] }), jsx("silkscreenpath", { route: [{ "x": 0.4591050000000223, "y": -3.7281293999999434 }, { "x": 0.9569449999999051, "y": -1.2262294000000793 }, { "x": 2.257425000000012, "y": -1.2262294000000793 }, { "x": 2.757804999999962, "y": -3.7281293999999434 }, { "x": 2.262504999999919, "y": -3.7281293999999434 }, { "x": 1.8637249999999312, "y": -1.627549399999907 }, { "x": 1.3354049999999233, "y": -1.627549399999907 }, { "x": 0.9340849999999818, "y": -3.7281293999999434 }, { "x": 0.4591050000000223, "y": -3.7281293999999434 }] }), jsx("silkscreentext", { text: "{NAME}", pcbX: "0.002667mm", pcbY: "3.4424196mm", anchorAlignment: "center", fontSize: "1mm" }), jsx("courtyardoutline", { outline: [{ "x": -5.111433000000034, "y": 2.69241959999988 }, { "x": 5.116766999999982, "y": 2.69241959999988 }, { "x": 5.116766999999982, "y": -5.198980400000096 }, { "x": -5.111433000000034, "y": -5.198980400000096 }, { "x": -5.111433000000034, "y": 2.69241959999988 }] })] }), cadModel: {
objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C456012.obj?uuid=a8c86ef7d632469a8c796c24a9574b1e",
stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C456012.step?uuid=a8c86ef7d632469a8c796c24a9574b1e",
pcbRotationOffset: 180,
modelOriginPosition: { x: -12700000070253736e-21, y: -2.2999397999999927, z: 0.059997999999999996 },
}, ...props }));
};
const pinLabels$4 = {
pin1: ["pin1"],
pin2: ["pin2"],
pin3: ["pin3"],
pin4: ["pin4"],
pin5: ["pin5"],
pin6: ["pin6"]
};
const USBLC6_2SC6 = (props) => {
return (jsx("chip", { pinLabels: pinLabels$4, symbol: jsxs("symbol", { children: [jsx("schematicrect", { schX: 0, schY: 0, width: 1.8, height: 2, color: "#880000", isFilled: true, fillColor: "#FFFFFF" }), jsx("port", { name: "pin1", pinNumber: 1, aliases: ["1"], direction: "left", schX: -1.3, schY: 0.6, schStemLength: 0.4 }), jsx("port", { name: "pin2", pinNumber: 2, aliases: ["2"], direction: "left", schX: -1.3, schY: 0, schStemLength: 0.4 }), jsx("port", { name: "pin3", pinNumber: 3, aliases: ["3"], direction: "left", schX: -1.3, schY: -0.6, schStemLength: 0.4 }), jsx("port", { name: "pin4", pinNumber: 4, aliases: ["4"], direction: "right", schX: 1.3, schY: -0.6, schStemLength: 0.4 }), jsx("port", { name: "pin5", pinNumber: 5, aliases: ["5"], direction: "right", schX: 1.3, schY: 0, schStemLength: 0.4 }), jsx("port", { name: "pin6", pinNumber: 6, aliases: ["6"], direction: "right", schX: 1.3, schY: 0.6, schStemLength: 0.4 }), jsx("schematicpath", { points: [{ "x": -0.9, "y": 0.6 }, { "x": 0.9, "y": 0.6 }], strokeColor: "#880000" }), jsx("schematicpath", { points: [{ "x": -0.9, "y": -0.6 }, { "x": 0.9, "y": -0.6 }], strokeColor: "#880000" }), jsx("schematicpath", { points: [{ "x": -0.9, "y": 0 }, { "x": 0.9, "y": 0 }], strokeColor: "#880000" }), jsx("schematicpath", { svgPath: "M -0.14 -0.12 L 0.06 0 L -0.14 0.14 Z", strokeColor: "#880000", isFilled: true, fillColor: "#880000" }), jsx("schematicpath", { points: [{ "x": 0.1, "y": 0.16 }, { "x": 0.06, "y": 0.16 }, { "x": 0.06, "y": -0.14 }, { "x": 0, "y": -0.14 }], strokeColor: "#880000" }), jsx("schematicpath", { points: [{ "x": -0.68, "y": 0 }, { "x": -0.68, "y": 0.4 }, { "x": 0.66, "y": 0.4 }, { "x": 0.66, "y": -0.4 }, { "x": -0.68, "y": -0.4 }, { "x": -0.68, "y": 0 }], strokeColor: "#880000" }), jsx("schematicpath", { points: [{ "x": 0, "y": 0.6 }, { "x": 0, "y": 0.4 }], strokeColor: "#880000" }), jsx("schematicpath", { points: [{ "x": 0, "y": -0.6 }, { "x": 0, "y": -0.4 }], strokeColor: "#880000" }), jsx("schematicpath", { svgPath: "M -0.46 0.28 L -0.26 0.4 L -0.46 0.54 Z", strokeColor: "#880000", isFilled: true, fillColor: "#880000" }), jsx("schematicpath", { points: [{ "x": -0.26, "y": 0.56 }, { "x": -0.26, "y": 0.56 }, { "x": -0.26, "y": 0.26 }, { "x": -0.26, "y": 0.26 }], strokeColor: "#880000" }), jsx("schematicpath", { svgPath: "M 0.22 0.28 L 0.42 0.4 L 0.22 0.54 Z", strokeColor: "#880000", isFilled: true, fillColor: "#880000" }), jsx("schematicpath", { points: [{ "x": 0.42, "y": 0.56 }, { "x": 0.42, "y": 0.56 }, { "x": 0.42, "y": 0.26 }, { "x": 0.42, "y": 0.26 }], strokeColor: "#880000" }), jsx("schematicpath", { svgPath: "M -0.48 -0.52 L -0.28 -0.4 L -0.48 -0.26 Z", strokeColor: "#880000", isFilled: true, fillColor: "#880000" }), jsx("schematicpath", { points: [{ "x": -0.28, "y": -0.24 }, { "x": -0.28, "y": -0.24 }, { "x": -0.28, "y": -0.54 }, { "x": -0.28, "y": -0.54 }], strokeColor: "#880000" }), jsx("schematicpath", { svgPath: "M 0.22 -0.52 L 0.42 -0.4 L 0.22 -0.26 Z", strokeColor: "#880000", isFilled: true, fillColor: "#880000" }), jsx("schematicpath", { points: [{ "x": 0.42, "y": -0.24 }, { "x": 0.42, "y": -0.24 }, { "x": 0.42, "y": -0.54 }, { "x": 0.42, "y": -0.54 }], strokeColor: "#880000" }), jsx("schematiccircle", { center: { x: 0, y: 0.6 }, radius: 0.02, color: "#880000" }), jsx("schematiccircle", { center: { x: 0, y: 0.4 }, radius: 0.02, color: "#880000" }), jsx("schematiccircle", { center: { x: -0.68, y: 0 }, radius: 0.02, color: "#880000" }), jsx("schematiccircle", { center: { x: 0.66, y: 0 }, radius: 0.02, color: "#880000" }), jsx("schematiccircle", { center: { x: 0, y: -0.4 }, radius: 0.02, color: "#880000" }), jsx("schematiccircle", { center: { x: 0, y: -0.6 }, radius: 0.02, color: "#880000" })] }), supplierPartNumbers: {
"jlcpcb": [
"C7519"
]
}, manufacturerPartNumber: "USBLC6-2SC6", footprint: jsxs("footprint", { children: [jsx("smtpad", { portHints: ["pin1"], pcbX: "-0.94996mm", pcbY: "-1.149096mm", width: "0.532003mm", height: "1.072007mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin2"], pcbX: "0mm", pcbY: "-1.149096mm", width: "0.532003mm", height: "1.072007mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin3"], pcbX: "0.94996mm", pcbY: "-1.149096mm", width: "0.532003mm", height: "1.072007mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin4"], pcbX: "0.94996mm", pcbY: "1.149096mm", width: "0.532003mm", height: "1.072007mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin5"], pcbX: "0mm", pcbY: "1.149096mm", width: "0.532003mm", height: "1.072007mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin6"], pcbX: "-0.94996mm", pcbY: "1.149096mm", width: "0.532003mm", height: "1.072007mm", shape: "rect" }), jsx("silkscreenpath", { route: [{ "x": 1.5391891999998961, "y": -0.8892031999998835 }, { "x": 1.5391891999998961, "y": 0.8892031999999972 }] }), jsx("silkscreenpath", { route: [{ "x": -1.5391892000000098, "y": -0.8892031999998835 }, { "x": -1.5391892000000098, "y": 0.8892031999999972 }] }), jsx("silkscreenpath", { route: [{ "x": -1.518158000000085, "y": -1.3014960000000428 }, { "x": -1.5232730105126393, "y": -1.3403483621364103 }, { "x": -1.538269462536391, "y": -1.3765529999999444 }, { "x": -1.5621253726490067, "y": -1.4076426273509242 }, { "x": -1.5932150000001002, "y": -1.4314985374635398 }, { "x": -1.6294196378635206, "y": -1.4464949894874053 }, { "x": -1.6682720000001154, "y": -1.451609999999846 }, { "x": -1.7071243621367103, "y": -1.4464949894874053 }, { "x": -1.7433290000001307, "y": -1.4314985374635398 }, { "x": -1.7744186273511104, "y": -1.4076426273509242 }, { "x": -1.7982745374637261, "y": -1.3765529999999444 }, { "x": -1.8132709894875916, "y": -1.3403483621364103 }, { "x": -1.818386000000146, "y": -1.3014960000000428 }, { "x": -1.8132709894875916, "y": -1.2626436378633343 }, { "x": -1.7982745374637261, "y": -1.226438999999914 }, { "x": -1.7744186273511104, "y": -1.1953493726489341 }, { "x": -1.7433290000001307, "y": -1.1714934625363185 }, { "x": -1.7071243621367103, "y": -1.156497010512453 }, { "x": -1.6682720000001154, "y": -1.1513819999998987 }, { "x": -1.6294196378635206, "y": -1.156497010512453 }, { "x": -1.5932150000001002, "y": -1.1714934625363185 }, { "x": -1.5621253726490067, "y": -1.1953493726489341 }, { "x": -1.538269462536391, "y": -1.226438999999914 }, { "x": -1.5232730105126393, "y": -1.2626436378633343 }, { "x": -1.518158000000085, "y": -1.3014960000000428 }] }), jsx("silkscreentext", { text: "{NAME}", pcbX: "-0.1524mm", pcbY: "2.6764mm", anchorAlignment: "center", fontSize: "1mm" }), jsx("courtyardoutline", { outline: [{ "x": -2.078800000000001, "y": 1.9264000000000578 }, { "x": 1.7739999999998872, "y": 1.9264000000000578 }, { "x": 1.7739999999998872, "y": -2.0279999999999063 }, { "x": -2.078800000000001, "y": -2.0279999999999063 }, { "x": -2.078800000000001, "y": 1.9264000000000578 }] })] }), cadModel: {
objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C7519.obj?uuid=229b69761e2c45dba6a83d8866dec72d",
stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C7519.step?uuid=229b69761e2c45dba6a83d8866dec72d",
pcbRotationOffset: 90,
modelOriginPosition: { x: -12700000070253736e-21, y: 0.000012700000070253736, z: -0.048939 },
}, ...props }));
};
const UsbCPart = TYPE_C_6P;
const usbCPinLabels = {
pin7: ["SHELL1"],
pin8: ["SHELL2"],
pin9: ["SHELL3"],
pin10: ["SHELL4"],
pin11: ["GND1"],
pin12: ["VBUS1"],
pin13: ["CC1"],
pin14: ["CC2"],
pin15: ["VBUS2"],
pin16: ["GND2"],
};
const UsbChargingSection = () => withSchematicSheet("power", jsxs(Fragment$1, { children: [jsx(UsbCPart, { name: "J_USB", pinLabels: usbCPinLabels, internallyConnectedPins: [
["GND1", "GND2"],
["SHELL1", "SHELL2", "SHELL3", "SHELL4"],
], pcbX: 0, pcbY: -29.7, pcbRotation: 0, schX: -54.5, schY: 0, schWidth: 2.1, schHeight: 1.2, schPinArrangement: {
leftSide: {
pins: ["SHELL1", "SHELL2", "GND1", "VBUS1", "CC1"],
direction: "top-to-bottom",
},
rightSide: {
pins: ["CC2", "VBUS2", "GND2", "SHELL3", "SHELL4"],
direction: "top-to-bottom",
},
}, schSectionName: "UsbCharging" }), jsx(USBLC6_2SC6, { name: "U_USB_ESD", symbol: undefined, noConnect: ["pin4", "pin6"], pcbX: 0, pcbY: -23.5, schX: -49, schY: -4, schWidth: 1.8, schHeight: 0.8, schPinArrangement: {
leftSide: {
pins: ["pin1", "pin2", "pin3"],
direction: "top-to-bottom",
},
rightSide: {
pins: ["pin6", "pin5", "pin4"],
direction: "top-to-bottom",
},
}, schSectionName: "UsbCharging" }), jsx("resistor", { name: "R_CC1", resistance: "5.1k", footprint: "0402", pcbX: -6.5, pcbY: -32.5, schX: -50, schY: 3, schSectionName: "UsbCharging" }), jsx("resistor", { name: "R_CC2", resistance: "5.1k", footprint: "0402", pcbX: 6.5, pcbY: -32.5, schX: -47, schY: 3, schSectionName: "UsbCharging" }), jsx("capacitor", { name: "C_USB_IN", capacitance: "4.7uF", footprint: "0805", pcbX: -4, pcbY: -23.5, pcbRotation: 90, schX: -44, schY: 3, schOrientation: "vertical", schSectionName: "UsbCharging" }), jsx("capacitor", { name: "C_USB_IN_HF", capacitance: "100nF", footprint: "0603", pcbX: 4.5, pcbY: -25.5, pcbRotation: 90, schX: -44, schY: 0.2, schOrientation: "vertical", schSectionName: "UsbCharging" }), jsx(MCP73831T_2ACI_OT, { name: "U_CHARGER", pcbX: 8, pcbY: -24, schX: -39, schY: 0, schWidth: 1.96, schHeight: 0.6, schPinArrangement: {
leftSide: {
pins: ["VDD", "VSS", "PROG"],
direction: "top-to-bottom",
},
rightSide: { pins: ["VBAT", "STAT"], direction: "top-to-bottom" },
}, schSectionName: "UsbCharging" }), jsx("resistor", { name: "R_CHARGE_PROG", resistance: "4.02k", footprint: "0603", pcbX: 13.6, pcbY: -27, schX: -39, schY: -4, schSectionName: "UsbCharging" }), jsx("capacitor", { name: "C_CHARGE_BAT", capacitance: "4.7uF", footprint: "0805", pcbX: 10.8, pcbY: -27.2, pcbRotation: 270, schX: -34, schY: -3, schOrientation: "vertical", schSectionName: "UsbCharging" }), jsx("resistor", { name: "R_CHARGE_LED", resistance: "1k", footprint: "0603", pcbX: 12, pcbY: -31, schX: -35.04, schY: 3, schSectionName: "UsbCharging" }), jsx("led", { name: "LED_CHARGE", color: "red", footprint: "0603", supplierPartNumbers: { jlcpcb: ["C965799"] }, pinLabels: { pin1: ["cathode", "neg"], pin2: ["anode", "pos"] }, pcbX: 15, pcbY: -31, pcbRotation: 180, schX: -30, schY: 3, schRotation: 180, schSectionName: "UsbCharging" }), jsx(NetTrace, { from: ".J_USB > .VBUS1", to: "net.VBUS", width: POWER_TRACE }), jsx(NetTrace, { name: "VBUS_LINK", from: ".J_USB > .VBUS2", to: ".J_USB > .VBUS1", width: POWER_TRACE }), jsx(NetTrace, { from: ".J_USB > .GND1", to: "net.GND", width: POWER_TRACE }), jsx(NetTrace, { from: ".J_USB > .SHELL1", to: "net.GND", width: POWER_TRACE }), jsx(NetTrace, { from: ".J_USB > .CC1", to: "net.CC1" }), jsx(NetTrace, { from: "net.CC1", to: ".R_CC1 > .pin1" }), jsx(NetTrace, { from: "net.CC1", to: ".U_USB_ESD > .pin1" }), jsx(NetTrace, { from: ".R_CC1 > .pin2", to: "net.GND" }), jsx(NetTrace, { from: ".J_USB > .CC2", to: "net.CC2" }), jsx(NetTrace, { from: "net.CC2", to: ".R_CC2 > .pin1" }), jsx(NetTrace, { from: "net.CC2", to: ".U_USB_ESD > .pin3" }), jsx(NetTrace, { from: ".R_CC2 > .pin2", to: "net.GND" }), jsx(NetTrace, { from: ".U_USB_ESD > .pin2", to: "net.GND" }), jsx(NetTrace, { from: ".U_USB_ESD > .pin5", to: "net.VBUS" }), jsx(NetTrace, { from: ".C_USB_IN > .pin1", to: "net.VBUS", width: POWER_TRACE }), jsx(NetTrace, { from: ".C_USB_IN > .pin2", to: "net.GND", width: POWER_TRACE }), jsx(NetTrace, { from: ".C_USB_IN_HF > .pin1", to: "net.VBUS" }), jsx(NetTrace, { from: ".C_USB_IN_HF > .pin2", to: "net.GND" }), jsx(NetTrace, { from: ".U_CHARGER > .VDD", to: "net.VBUS", width: POWER_TRACE }), jsx(NetTrace, { from: ".U_CHARGER > .VSS", to: "net.GND", width: POWER_TRACE }), jsx(NetTrace, { from: ".U_CHARGER > .VBAT", to: "net.VBAT", width: POWER_TRACE }), jsx(NetTrace, { name: "CHG_PROG", from: ".U_CHARGER > .PROG", to: ".R_CHARGE_PROG > .pin1" }), jsx(NetTrace, { from: ".R_CHARGE_PROG > .pin2", to: "net.GND" }), jsx(NetTrace, { from: ".C_CHARGE_BAT > .pin1", to: "net.VBAT", width: POWER_TRACE }), jsx(NetTrace, { from: ".C_CHARGE_BAT > .pin2", to: "net.GND", width: POWER_TRACE }), jsx(NetTrace, { from: "net.VBUS", to: ".R_CHARGE_LED > .pin1" }), jsx(NetTrace, { name: "CHG_LED", from: ".R_CHARGE_LED > .pin2", to: ".LED_CHARGE > .anode" }), jsx(NetTrace, { name: "CHG_STAT", from: ".LED_CHARGE > .cathode", to: ".U_CHARGER > .STAT" })] }), 42.5, 6.2);
const pinLabels$3 = {
pin1: ["ANT"],
pin2: ["pin2"]
};
const A_2450AT18A100E = (props) => {
return (jsx("chip", { pinLabels: pinLabels$3, symbol: jsxs("symbol", { children: [jsx("schematicpath", { points: [{ "x": 0, "y": 0 }, { "x": -0.2, "y": 0.2 }], strokeColor: "#8D2323" }), jsx("schematicpath", { points: [{ "x": 0.2, "y": 0.2 }, { "x": 0, "y": 0 }], strokeColor: "#8D2323" }), jsx("schematicpath", { points: [{ "x": 0, "y": 0 }, { "x": 0, "y": -0.2 }], strokeColor: "#8D2323" }), jsx("port", { name: "pin1", pinNumber: 1, aliases: ["ANT"], direction: "down", schX: 0, schY: -0.4, schStemLength: 0.2 }), jsx("schematicpath", { points: [{ "x": 0, "y": 0 }, { "x": 0, "y": 0.3 }], strokeColor: "#880000" }), jsx("port", { name: "pin2", pinNumber: 2, aliases: ["2"], direction: "up", schX: 0, schY: 0.3, schStemLength: 0.2 })] }), supplierPartNumbers: {
"jlcpcb": [
"C89334"
]
}, manufacturerPartNumber: "2450AT18A100E", footprint: jsxs("footprint", { children: [jsx("smtpad", { portHints: ["pin1"], pcbX: "-1.578102mm", pcbY: "0mm", width: "0.999998mm", height: "1.7500092mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin2"], pcbX: "1.578102mm", pcbY: "0mm", width: "0.999998mm", height: "1.7500092mm", shape: "rect" }), jsx("silkscreenpath", { route: [{ "x": -0.7619999999998299, "y": 0.2540000000000191 }, { "x": -0.7619999999998299, "y": -0.2539999999999054 }, { "x": -0.2539999999999054, "y": -0.2539999999999054 }, { "x": -0.2539999999999054, "y": 0.2540000000000191 }, { "x": -0.7619999999998299, "y": 0.2540000000000191 }] }), jsx("silkscreenpath", { route: [{ "x": -1.6759935999999698, "y": 1.059967400000005 }, { "x": 1.6759936000000835, "y": 1.0499852000000374 }] }), jsx("silkscreenpath", { route: [{ "x": 1.5240000000001146, "y": -1.0500105999999505 }, { "x": -1.6759428000000298, "y": -1.0499852000000374 }] }), jsx("silkscreentext", { text: "{NAME}", pcbX: "-0.000254mm", pcbY: "2.0668mm", anchorAlignment: "center", fontSize: "1mm" }), jsx("fabricationnotepath", { route: [{ "x": -1.2597129999999197, "y": 0.22793960000001334 }, { "x": -0.2838195999999016, "y": 0.22793960000001334 }, { "x": -0.2838195999999016, "y": -0.20652739999991354 }, { "x": -1.2599669999999605, "y": -0.2116073999999344 }, { "x": -1.2597129999999197, "y": -0.17978119999997944 }, { "x": -1.2597129999999197, "y": 0.22793960000001334 }], strokeWidth: "0.254mm" }), jsx("courtyardoutline", { outline: [{ "x": -2.3330539999998336, "y": 1.3167999999999438 }, { "x": 2.3325459999999794, "y": 1.3167999999999438 }, { "x": 2.3325459999999794, "y": -1.291400000000067 }, { "x": -2.3330539999998336, "y": -1.291400000000067 }, { "x": -2.3330539999998336, "y": 1.3167999999999438 }] })] }), cadModel: {
objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C89334.obj?uuid=cbaa998426f54032b453ce6fafc2cd5a",
stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C89334.step?uuid=cbaa998426f54032b453ce6fafc2cd5a",
pcbRotationOffset: 180,
modelOriginPosition: { x: 0, y: 0, z: -0.65 },
}, ...props }));
};
const pinLabels$2 = {
pin1: ["DEC1"],
pin2: ["pin2"],
pin3: ["pin3"],
pin4: ["pin4"],
pin5: ["pin5"],
pin6: ["pin6"],
pin7: ["pin7"],
pin8: ["pin8"],
pin9: ["pin9"],
pin10: ["pin10"],
pin11: ["pin11"],
pin12: ["pin12"],
pin13: ["VDD1"],
pin14: ["pin14"],
pin15: ["pin15"],
pin16: ["pin16"],
pin17: ["pin17"],
pin18: ["pin18"],
pin19: ["pin19"],
pin20: ["pin20"],
pin21: ["pin21"],
pin22: ["pin22"],
pin23: ["pin23"],
pin24: ["pin24"],
pin25: ["SWDCLK"],
pin26: ["SWDIO"],
pin27: ["pin27"],
pin28: ["pin28"],
pin29: ["pin29"],
pin30: ["ANT"],
pin31: ["VSS2"],
pin32: ["DEC2"],
pin33: ["DEC3"],
pin34: ["XC1"],
pin35: ["XC2"],
pin36: ["VDD3"],
pin37: ["pin37"],
pin38: ["pin38"],
pin39: ["pin39"],
pin40: ["pin40"],
pin41: ["pin41"],
pin42: ["pin42"],
pin43: ["pin43"],
pin44: ["NC"],
pin45: ["VSS1"],
pin46: ["DEC4"],
pin47: ["DCC"],
pin48: ["VDD2"],
pin49: ["EP"]
};
const pinAttributes = {
pin13: { requiresPower: true },
pin31: { requiresGround: true },
pin36: { requiresPower: true },
pin44: { doNotConnect: true },
pin45: { requiresGround: true },
pin48: { requiresPower: true }
};
const NRF52810_QFAA_R = (props) => {
return (jsx("chip", { pinLabels: pinLabels$2, pinAttributes: pinAttributes, supplierPartNumbers: {
"jlcpcb": [
"C141828"
]
}, manufacturerPartNumber: "NRF52810-QFAA-R", footprint: jsxs("footprint", { children: [jsx("smtpad", { portHints: ["pin49"], pcbX: "-0.0009398mm", pcbY: "0.00127mm", width: "4.5999908mm", height: "4.5999908mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin13"], pcbX: "2.999994mm", pcbY: "-2.200148mm", width: "0.9500108mm", height: "0.1999996mm", radius: "0.0999998mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin14"], pcbX: "2.999994mm", pcbY: "-1.800098mm", width: "0.9500108mm", height: "0.1999996mm", radius: "0.0999998mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin15"], pcbX: "2.999994mm", pcbY: "-1.400048mm", width: "0.9500108mm", height: "0.1999996mm", radius: "0.0999998mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin16"], pcbX: "2.999994mm", pcbY: "-0.999998mm", width: "0.9500108mm", height: "0.1999996mm", radius: "0.0999998mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin17"], pcbX: "2.999994mm", pcbY: "-0.599948mm", width: "0.9500108mm", height: "0.1999996mm", radius: "0.0999998mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin18"], pcbX: "2.999994mm", pcbY: "-0.200152mm", width: "0.9500108mm", height: "0.1999996mm", radius: "0.0999998mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin19"], pcbX: "2.999994mm", pcbY: "0.199898mm", width: "0.9500108mm", height: "0.1999996mm", radius: "0.0999998mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin20"], pcbX: "2.999994mm", pcbY: "0.599948mm", width: "0.9500108mm", height: "0.1999996mm", radius: "0.0999998mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin21"], pcbX: "2.999994mm", pcbY: "0.999998mm", width: "0.9500108mm", height: "0.1999996mm", radius: "0.0999998mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin22"], pcbX: "2.999994mm", pcbY: "1.400048mm", width: "0.9500108mm", height: "0.1999996mm", radius: "0.0999998mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin23"], pcbX: "2.999994mm", pcbY: "1.799844mm", width: "0.9500108mm", height: "0.1999996mm", radius: "0.0999998mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin24"], pcbX: "2.999994mm", pcbY: "2.199894mm", width: "0.9500108mm", height: "0.1999996mm", radius: "0.0999998mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin37"], pcbX: "-2.999994mm", pcbY: "2.199894mm", width: "0.9500108mm", height: "0.1999996mm", radius: "0.0999998mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin38"], pcbX: "-2.999994mm", pcbY: "1.799844mm", width: "0.9500108mm", height: "0.1999996mm", radius: "0.0999998mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin39"], pcbX: "-2.999994mm", pcbY: "1.400048mm", width: "0.9500108mm", height: "0.1999996mm", radius: "0.0999998mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin40"], pcbX: "-2.999994mm", pcbY: "0.999998mm", width: "0.9500108mm", height: "0.1999996mm", radius: "0.0999998mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin41"], pcbX: "-2.999994mm", pcbY: "0.599948mm", width: "0.9500108mm", height: "0.1999996mm", radius: "0.0999998mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin42"], pcbX: "-2.999994mm", pcbY: "0.199898mm", width: "0.9500108mm", height: "0.1999996mm", radius: "0.0999998mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin43"], pcbX: "-2.999994mm", pcbY: "-0.200152mm", width: "0.9500108mm", height: "0.1999996mm", radius: "0.0999998mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin44"], pcbX: "-2.999994mm", pcbY: "-0.599948mm", width: "0.9500108mm", height: "0.1999996mm", radius: "0.0999998mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin45"], pcbX: "-2.999994mm", pcbY: "-0.999998mm", width: "0.9500108mm", height: "0.1999996mm", radius: "0.0999998mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin46"], pcbX: "-2.999994mm", pcbY: "-1.400048mm", width: "0.9500108mm", height: "0.1999996mm", radius: "0.0999998mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin47"], pcbX: "-2.999994mm", pcbY: "-1.800098mm", width: "0.9500108mm", height: "0.1999996mm", radius: "0.0999998mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin48"], pcbX: "-2.999994mm", pcbY: "-2.200148mm", width: "0.9500108mm", height: "0.1999996mm", radius: "0.0999998mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin36"], pcbX: "-2.199894mm", pcbY: "2.999994mm", width: "0.1999996mm", height: "0.9500108mm", radius: "0.0999998mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin35"], pcbX: "-1.799844mm", pcbY: "2.999994mm", width: "0.1999996mm", height: "0.9500108mm", radius: "0.0999998mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin34"], pcbX: "-1.400048mm", pcbY: "2.999994mm", width: "0.1999996mm", height: "0.9500108mm", radius: "0.0999998mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin33"], pcbX: "-0.999998mm", pcbY: "2.999994mm", width: "0.1999996mm", height: "0.9500108mm", radius: "0.0999998mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin32"], pcbX: "-0.599948mm", pcbY: "2.999994mm", width: "0.1999996mm", height: "0.9500108mm", radius: "0.0999998mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin31"], pcbX: "-0.199898mm", pcbY: "2.999994mm", width: "0.1999996mm", height: "0.9500108mm", radius: "0.0999998mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin30"], pcbX: "0.200152mm", pcbY: "2.999994mm", width: "0.1999996mm", height: "0.9500108mm", radius: "0.0999998mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin29"], pcbX: "0.599948mm", pcbY: "2.999994mm", width: "0.1999996mm", height: "0.9500108mm", radius: "0.0999998mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin28"], pcbX: "0.999998mm", pcbY: "2.999994mm", width: "0.1999996mm", height: "0.9500108mm", radius: "0.0999998mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin27"], pcbX: "1.400048mm", pcbY: "2.999994mm", width: "0.1999996mm", height: "0.9500108mm", radius: "0.0999998mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin26"], pcbX: "1.800098mm", pcbY: "2.999994mm", width: "0.1999996mm", height: "0.9500108mm", radius: "0.0999998mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin25"], pcbX: "2.200148mm", pcbY: "2.999994mm", width: "0.1999996mm", height: "0.9500108mm", radius: "0.0999998mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin12"], pcbX: "2.200148mm", pcbY: "-2.999994mm", width: "0.1999996mm", height: "0.9500108mm", radius: "0.0999998mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin11"], pcbX: "1.800098mm", pcbY: "-2.999994mm", width: "0.1999996mm", height: "0.9500108mm", radius: "0.0999998mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin10"], pcbX: "1.400048mm", pcbY: "-2.999994mm", width: "0.1999996mm", height: "0.9500108mm", radius: "0.0999998mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin9"], pcbX: "0.999998mm", pcbY: "-2.999994mm", width: "0.1999996mm", height: "0.9500108mm", radius: "0.0999998mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin8"], pcbX: "0.599948mm", pcbY: "-2.999994mm", width: "0.1999996mm", height: "0.9500108mm", radius: "0.0999998mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin7"], pcbX: "0.200152mm", pcbY: "-2.999994mm", width: "0.1999996mm", height: "0.9500108mm", radius: "0.0999998mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin6"], pcbX: "-0.199898mm", pcbY: "-2.999994mm", width: "0.1999996mm", height: "0.9500108mm", radius: "0.0999998mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin5"], pcbX: "-0.599948mm", pcbY: "-2.999994mm", width: "0.1999996mm", height: "0.9500108mm", radius: "0.0999998mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin4"], pcbX: "-0.999998mm", pcbY: "-2.999994mm", width: "0.1999996mm", height: "0.9500108mm", radius: "0.0999998mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin3"], pcbX: "-1.400048mm", pcbY: "-2.999994mm", width: "0.1999996mm", height: "0.9500108mm", radius: "0.0999998mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin2"], pcbX: "-1.799844mm", pcbY: "-2.999994mm", width: "0.1999996mm", height: "0.9500108mm", radius: "0.0999998mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin1"], pcbX: "-2.199894mm", pcbY: "-2.999994mm", width: "0.1999996mm", height: "0.9500108mm", radius: "0.0999998mm", shape: "pill" }), jsx("silkscreenpath", { route: [{ "x": -2.9999431999999615, "y": 2.5320498000000953 }, { "x": -2.9999431999999615, "y": 2.999943200000075 }] }), jsx("silkscreenpath", { route: [{ "x": -2.5320498000000953, "y": -3.0000447999998414 }, { "x": -2.9999431999999615, "y": -3.0000447999998414 }, { "x": -2.9999431999999615, "y": -2.5295097999999143 }] }), jsx("silkscreenpath", { route: [{ "x": 3.000044799999955, "y": -2.5295097999999143 }, { "x": 3.000044799999955, "y": -3.0000447999998414 }, { "x": 2.5320498000000953, "y": -3.0000447999998414 }] }), jsx("silkscreenpath", { route: [{ "x": 2.5320498000000953, "y": 2.999943200000075 }, { "x": 3.000044799999955, "y": 2.999943200000075 }, { "x": 3.000044799999955, "y": 2.5320498000000953 }] }), jsx("silkscreenpath", { route: [{ "x": -2.9999431999999615, "y": 2.999943200000075 }, { "x": -2.5320498000000953, "y": 2.999943200000075 }] }), jsx("silkscreenpath", { route: [{ "x": -2.8012643999999227, "y": -3.400043999999866 }, { "x": -2.950005455997598, "y": -3.2494019702960486 }, { "x": -2.799994399999946, "y": -3.100024575985117 }, { "x": -2.6499833440024076, "y": -3.249401970295935 }, { "x": -2.798724400000083, "y": -3.400043999999866 }] }), jsx("silkscreentext", { text: "{NAME}", pcbX: "0.00254mm", pcbY: "4.4798mm", anchorAlignment: "center", fontSize: "1mm" }), jsx("courtyardoutline", { outline: [{ "x": -3.727260000000001, "y": 3.7298000000000684 }, { "x": 3.732340000000022, "y": 3.7298000000000684 }, { "x": 3.732340000000022, "y": -3.932999999999879 }, { "x": -3.727260000000001, "y": -3.932999999999879 }, { "x": -3.727260000000001, "y": 3.7298000000000684 }] })] }), cadModel: {
objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C141828.obj?uuid=46b18d34784345cd8b1ca45b59e906cb",
stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C141828.step?uuid=46b18d34784345cd8b1ca45b59e906cb",
pcbRotationOffset: 270,
modelOriginPosition: { x: -5079999993995443e-20, y: -5079999993995443e-20, z: 0 },
}, ...props }));
};
const pinLabels$1 = {
pin1: ["pin1"],
pin2: ["pin2"]
};
const SDCL1005C3N9STDF = (props) => {
return (jsx("chip", { pinLabels: pinLabels$1, symbol: jsxs("symbol", { children: [jsx("port", { name: "pin2", pinNumber: 2, aliases: ["2"], direction: "right", schX: 0.4, schY: 0, schStemLength: 0.06 }), jsx("port", { name: "pin1", pinNumber: 1, aliases: ["1"], direction: "left", schX: -0.4, schY: 0, schStemLength: 0.06 }), jsx("schematicpath", { svgPath: "M -0.3376 0.0014 A 0.08 0.078 0 1 0 -0.1784 0.0012", strokeColor: "#880000" }), jsx("schematicpath", { svgPath: "M -0.168 0.0014 A 0.08 0.078 0 1 0 -0.0088 0.0014", strokeColor: "#880000" }), jsx("schematicpath", { svgPath: "M 0.0014 0.0014 A 0.08 0.078 0 1 0 0.1606 0.0014", strokeColor: "#880000" }), jsx("schematicpath", { svgPath: "M 0.174 0.0014 A 0.08 0.078 0 1 0 0.3334 0.0012", strokeColor: "#880000" })] }), supplierPartNumbers: {
"jlcpcb": [
"C14033"
]
}, manufacturerPartNumber: "SDCL1005C3N9STDF", footprint: jsxs("footprint", { children: [jsx("smtpad", { portHints: ["pin2"], pcbX: "0.419989mm", pcbY: "0mm", width: "0.540004mm", height: "0.540004mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin1"], pcbX: "-0.419989mm", pcbY: "0mm", width: "0.540004mm", height: "0.540004mm", shape: "rect" }), jsx("silkscreenpath", { route: [{ "x": -0.12687300000004598, "y": -0.5080000000000382 }, { "x": -0.9169654000000946, "y": -0.5080000000000382 }, { "x": -1.0693908000000647, "y": -0.3556253999998944 }, { "x": -1.0693908000000647, "y": 0.3367785999998887 }, { "x": -0.9169654000000946, "y": 0.4891532000000325 }, { "x": -0.12687300000004598, "y": 0.4891532000000325 }] }), jsx("silkscreenpath", { route: [{ "x": 0.12712699999997312, "y": -0.5080000000000382 }, { "x": 0.9170669999998609, "y": -0.5080000000000382 }, { "x": 1.0694670000000315, "y": -0.3555999999998676 }, { "x": 1.0694670000000315, "y": 0.32766000000003714 }, { "x": 0.9069069999999329, "y": 0.4902200000000221 }, { "x": 0.12712699999997312, "y": 0.4902200000000221 }] }), jsx("silkscreentext", { text: "{NAME}", pcbX: "0mm", pcbY: "1.4826mm", anchorAlignment: "center", fontSize: "1mm" }), jsx("courtyardoutline", { outline: [{ "x": -1.3168000000000575, "y": 0.7326000000000477 }, { "x": 1.3168000000000575, "y": 0.7326000000000477 }, { "x": 1.3168000000000575, "y": -0.7580000000000382 }, { "x": -1.3168000000000575, "y": -0.7580000000000382 }, { "x": -1.3168000000000575, "y": 0.7326000000000477 }] })] }), cadModel: {
objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C14033.obj?uuid=c498e8771bc24312a11c6413631665a8",
stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C14033.step?uuid=c498e8771bc24312a11c6413631665a8",
pcbRotationOffset: 0,
modelOriginPosition: { x: 0, y: -12700000070253736e-21, z: -0.25 },
}, ...props }));
};
const pinLabels = {
pin1: ["OSC1"],
pin2: ["OSC2"]
};
const S47SMD32_000M10PF10R30B3 = (props) => {
return (jsx("chip", { pinLabels: pinLabels, symbol: jsxs("symbol", { children: [jsx("schematicpath", { points: [{ "x": 0.06, "y": 0.14 }, { "x": 0.06, "y": -0.14 }, { "x": -0.06, "y": -0.14 }, { "x": -0.06, "y": 0.14 }, { "x": 0.06, "y": 0.14 }], strokeColor: "#880000" }), jsx("schematicpath", { points: [{ "x": -0.1, "y": -0.14 }, { "x": -0.1, "y": 0.14 }], strokeColor: "#880000" }), jsx("schematicpath", { points: [{ "x": 0.1, "y": -0.14 }, { "x": 0.1, "y": 0.14 }], strokeColor: "#880000" }), jsx("schematicpath", { points: [{ "x": -0.2, "y": 0 }, { "x": -0.12, "y": 0 }], strokeColor: "#000000" }), jsx("schematicpath", { points: [{ "x": 0.2, "y": 0 }, { "x": 0.12, "y": 0 }], strokeColor: "#000000" }), jsx("schematicpath", { points: [{ "x": -0.06, "y": -0.14 }, { "x": -0.06, "y": 0.14 }, { "x": 0.06, "y": 0.14 }, { "x": 0.06, "y": -0.14 }], strokeColor: "#880000" }), jsx("schematicpath", { points: [{ "x": 0.1, "y": -0.08 }, { "x": 0.1, "y": 0.08 }], strokeColor: "#880000" }), jsx("schematicpath", { points: [{ "x": 0.06, "y": -0.14 }, { "x": -0.06, "y": -0.14 }], strokeColor: "#880000" }), jsx("schematicpath", { points: [{ "x": -0.1, "y": -0.08 }, { "x": -0.1, "y": 0.08 }], strokeColor: "#880000" }), jsx("port", { name: "pin2", pinNumber: 2, aliases: ["OSC2"], direction: "right", schX: 0.4, schY: 0, schStemLength: 0.2 }), jsx("port", { name: "pin1", pinNumber: 1, aliases: ["OSC1"], direction: "left", schX: -0.4, schY: 0, schStemLength: 0.2 })] }), supplierPartNumbers: {
"jlcpcb": [
"C5346074"
]
}, manufacturerPartNumber: "S47SMD32.000M10PF10R30B3", footprint: "smdpads2_p5.7998mm_pw3mm_ph1mm_cyw9.2884mm_cyh4.564mm", cadModel: {
objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C5346074.obj?uuid=525e2127f85a418cbf166f024874a90b",
stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C5346074.step?uuid=525e2127f85a418cbf166f024874a90b",
pcbRotationOffset: 0,
modelOriginPosition: { x: 0, y: 0, z: -0.01 },
}, ...props }));
};
const BleSoc = NRF52810_QFAA_R;
const BleAntenna = A_2450AT18A100E;
const HfCrystal = S47SMD32_000M10PF10R30B3;
const RfInductor3n9 = SDCL1005C3N9STDF;
const TactSwitch = EVQPUC02K;
// nRF52810-QFAA pin names and application-specific GPIO assignments.
// The peripheral signals can be mapped to these GPIOs in firmware.
const mcuPinLabels = {
pin1: ["DEC1"],
pin2: ["P0_00", "LFCLK_XL1", "DPI_BUTTON"],
pin3: ["P0_01", "LFCLK_XL2"],
pin4: ["P0_02", "AIN0", "ADC_VBAT"],
pin5: ["P0_03", "MIDDLE_CLICK"],
pin6: ["P0_04"],
pin7: ["P0_05", "ENC_B"],
pin8: ["P0_06"],
pin9: ["P0_07", "ENC_A"],
pin10: ["P0_08", "RIGHT_CLICK"],
pin11: ["P0_09"],
pin12: ["P0_10", "SENSOR_RESET"],
pin13: ["VDD1"],
pin14: ["P0_11"],
pin15: ["P0_12", "SPI_SCLK"],
pin16: ["P0_13"],
pin17: ["P0_14", "SPI_MOSI"],
pin18: ["P0_15", "SPI_MISO"],
pin19: ["P0_16", "SENSOR_CS"],
pin20: ["P0_17", "SENSOR_MOTION"],
pin21: ["P0_18", "LEFT_CLICK"],
pin22: ["P0_19"],
pin23: ["P0_20"],
pin24: ["P0_21", "RESET"],
pin25: ["SWDCLK"],
pin26: ["SWDIO"],
pin27: ["P0_22"],
pin28: ["P0_23"],
pin29: ["P0_24"],
pin30: ["ANT"],
pin31: ["VSS_RF"],
pin32: ["DEC2"],
pin33: ["DEC3"],
pin34: ["XC1"],
pin35: ["XC2"],
pin36: ["VDD3"],
pin37: ["P0_25", "WLED_DATA"],
pin38: ["P0_26"],
pin39: ["P0_27", "SIDE1_BUTTON"],
pin40: ["P0_28", "AIN4"],
pin41: ["P0_29", "AIN5", "SIDE2_BUTTON"],
pin42: ["P0_30", "AIN6"],
pin43: ["P0_31", "AIN7"],
pin44: ["NC"],
pin45: ["VSS1"],
pin46: ["DEC4"],
pin47: ["DCC"],
pin48: ["VDD2"],
pin49: ["EP"],
};
const unusedMcuPins = [
"P0_04",
"P0_06",
"P0_09",
"P0_11",
"P0_13",
"P0_22",
"P0_23",
"P0_24",
"P0_26",
"P0_28",
"P0_20",
"P0_30",
"P0_31",
"P0_01",
"P0_19",
"DEC2",
"DCC",
"NC",
];
const WirelessControllerSection = () => withSchematicSheet("controller", jsxs(Fragment$1, { children: [jsx(BleSoc, { name: "U_MCU", pinLabels: mcuPinLabels, noConnect: unusedMcuPins, pinAttributes: {
VDD1: { requiresPower: true },
VDD2: { requiresPower: true },
VDD3: { requiresPower: true },
VSS_RF: { requiresGround: true },
VSS1: { requiresGround: true },
EP: { requiresGround: true },
NC: { doNotConnect: true },
}, schPinArrangement: {
leftSide: {
pins: [
"VDD1",
"VDD2",
"VDD3",
"VSS_RF",
"VSS1",
"EP",
"DEC1",
"DEC3",
"DEC4",
"LFCLK_XL1",
"LFCLK_XL2",
"XC1",
"XC2",
"ANT",
"RESET",
"ADC_VBAT",
],
direction: "top-to-bottom",
},
rightSide: {
pins: [
"SPI_SCLK",
"SPI_MOSI",
"SPI_MISO",
"SENSOR_CS",
"SENSOR_MOTION",
"SENSOR_RESET",
"ENC_A",
"ENC_B",
"LEFT_CLICK",
"RIGHT_CLICK",
"MIDDLE_CLICK",
"DPI_BUTTON",
"SIDE1_BUTTON",
"SIDE2_BUTTON",
"WLED_DATA",
"SWDIO",
"SWDCLK",
],
direction: "top-to-bottom",
},
}, schWidth: 2.34, schHeight: 3.4, pcbX: 8, pcbY: 22.5, pcbRotation: 0, schX: -3, schY: 0, schSectionName: "WirelessController" }), jsx("capacitor", { name: "C_MCU_VDD1", capacitance: "100nF", footprint: "0402", pcbX: 13, pcbY: 18, schX: -12, schY: 6.4, schOrientation: "vertical", schSectionName: "WirelessController" }), jsx("capacitor", { name: "C_MCU_VDD3", capacitance: "100nF", footprint: "0402", pcbX: 3.2, pcbY: 25.5, pcbRotation: 180, schX: -10, schY: 6.4, schOrientation: "vertical", schSectionName: "WirelessController" }), jsx("capacitor", { name: "C_MCU_VDD2", capacitance: "4.7uF", footprint: "0603", pcbX: 1.8, pcbY: 20.3, pcbRotation: 180, schX: -8, schY: 6.4, schOrientation: "vertical", schSectionName: "WirelessController" }), jsx("capacitor", { name: "C_MCU_DEC1", capacitance: "100nF", footprint: "0402", pcbX: 5.8, pcbY: 17.5, pcbRotation: 270, schX: -6, schY: 6.4, schOrientation: "vertical", schSectionName: "WirelessController" }), jsx("capacitor", { name: "C_MCU_DEC3", capacitance: "100pF", footprint: "0402", pcbX: 7.4, pcbY: 27.2, pcbRotation: 90, schX: -4, schY: 6.4, schOrientation: "vertical", schSectionName: "WirelessController", supplierPartNumbers: { jlcpcb: ["C1546"] } }), jsx("capacitor", { name: "C_MCU_DEC4", capacitance: "1uF", footprint: "0603", pcbX: 3.2, pcbY: 23, pcbRotation: 270, schX: -2, schY: 6.4, schOrientation: "vertical", schSectionName: "WirelessController" }), jsx(HfCrystal, { name: "X_HF_32M", pcbX: 4, pcbY: 32.6, pcbRotation: 0, schX: -7, schY: -6.5, schWidth: 1.2, schHeight: 0.4, schSectionName: "WirelessController" }), jsx("capacitor", { name: "C_HF_XC1", capacitance: "16pF", footprint: "0402", pcbX: 6.8, pcbY: 29.3, pcbRotation: 90, schX: -5.5, schY: -8, schOrientation: "vertical", schSectionName: "WirelessController", supplierPartNumbers: { jlcpcb: ["C48836"] } }), jsx("capacitor", { name: "C_HF_XC2", capacitance: "16pF", footprint: "0402", pcbX: 3.2, pcbY: 29.3, pcbRotation: 270, schX: -8.5, schY: -8, schOrientation: "vertical", schSectionName: "WirelessController", supplierPartNumbers: { jlcpcb: ["C48836"] } }), jsx("capacitor", { name: "C_RESET", capacitance: "100nF", footprint: "0402", pcbX: 15.5, pcbY: 25, pcbRotation: 90, schX: 9, schY: 6, schOrientation: "vertical", schSectionName: "StatusDebug" }), jsx(TactSwitch, { name: "SW_RESET", noConnect: ["pin3", "pin4"], pcbX: -13, pcbY: 31, pcbRotation: 90, schX: 12, schY: 6.58, schSectionName: "StatusDebug" }), jsx(NetTrace, { from: ".U_MCU > .VDD1", to: "net.V3V3", width: POWER_TRACE }), jsx(NetTrace, { from: ".U_MCU > .VDD2", to: "net.V3V3", width: POWER_TRACE }), jsx(NetTrace, { from: ".U_MCU > .VDD3", to: "net.V3V3", width: POWER_TRACE }), jsx(NetTrace, { from: ".U_MCU > .VSS_RF", to: "net.GND", width: POWER_TRACE }), jsx(NetTrace, { from: ".U_MCU > .VSS1", to: "net.GND", width: POWER_TRACE }), jsx(NetTrace, { from: ".U_MCU > .EP", to: "net.GND", width: POWER_TRACE }), jsx(NetTrace, { from: ".C_MCU_VDD1 > .pin1", to: "net.V3V3", width: POWER_TRACE }), jsx(NetTrace, { from: ".C_MCU_VDD1 > .pin2", to: "net.GND", width: POWER_TRACE }), jsx(NetTrace, { from: ".C_MCU_VDD3 > .pin1", to: "net.V3V3", width: POWER_TRACE }), jsx(NetTrace, { from: ".C_MCU_VDD3 > .pin2", to: "net.GND", width: POWER_TRACE }), jsx(NetTrace, { from: ".C_MCU_VDD2 > .pin1", to: "net.V3V3", width: POWER_TRACE }), jsx(NetTrace, { from: ".C_MCU_VDD2 > .pin2", to: "net.GND", width: POWER_TRACE }), jsx(NetTrace, { from: ".U_MCU > .DEC1", to: "net.DEC1" }), jsx(NetTrace, { from: ".C_MCU_DEC1 > .pin1", to: "net.DEC1" }), jsx(NetTrace, { from: ".C_MCU_DEC1 > .pin2", to: "net.GND" }), jsx(NetTrace, { from: ".U_MCU > .DEC3", to: "net.DEC3" }), jsx(NetTrace, { from: ".C_MCU_DEC3 > .pin1", to: "net.DEC3" }), jsx(NetTrace, { from: ".C_MCU_DEC3 > .pin2", to: "net.GND" }), jsx(NetTrace, { from: ".U_MCU > .DEC4", to: "net.DEC4" }), jsx(NetTrace, { from: ".C_MCU_DEC4 > .pin1", to: "net.DEC4" }), jsx(NetTrace, { from: ".C_MCU_DEC4 > .pin2", to: "net.GND" }), jsx(NetTrace, { from: ".U_MCU > .XC1", to: "net.XC1" }), jsx(NetTrace, { from: ".X_HF_32M > .OSC2", to: "net.XC1" }), jsx(NetTrace, { from: ".C_HF_XC1 > .pin1", to: "net.XC1" }), jsx(NetTrace, { from: ".U_MCU > .XC2", to: "net.XC2" }), jsx(NetTrace, { from: ".X_HF_32M > .OSC1", to: "net.XC2" }), jsx(NetTrace, { from: ".C_HF_XC2 > .pin1", to: "net.XC2" }), jsx(NetTrace, { from: ".C_HF_XC1 > .pin2", to: "net.GND" }), jsx(NetTrace, { from: ".C_HF_XC2 > .pin2", to: "net.GND" }), jsx(NetTrace, { from: ".U_MCU > .RESET", to: "net.RESET_N" }), jsx(NetTrace, { from: ".C_RESET > .pin1", to: "net.RESET_N" }), jsx(NetTrace, { from: ".C_RESET > .pin2", to: "net.GND" }), jsx(NetTrace, { from: ".SW_RESET > .pin1", to: "net.RESET_N" }), jsx(NetTrace, { from: ".SW_RESET > .pin2", to: "net.GND" }), jsx(NetTrace, { from: ".U_MCU > .SPI_SCLK", to: "net.SCLK" }), jsx(NetTrace, { from: ".U_MCU > .SPI_MISO", to: "net.MISO" }), jsx(NetTrace, { from: ".U_MCU > .SPI_MOSI", to: "net.MOSI" }), jsx(NetTrace, { from: ".U_MCU > .SENSOR_CS", to: "net.CS_N" }), jsx(NetTrace, { from: ".U_MCU > .SENSOR_MOTION", to: "net.MOTION" }), jsx(NetTrace, { from: ".U_MCU > .SENSOR_RESET", to: "net.S_RST" }), jsx(NetTrace, { from: ".U_MCU > .ENC_A", to: "net.ENC_A" }), jsx(NetTrace, { from: ".U_MCU > .ENC_B", to: "net.ENC_B" }), jsx(NetTrace, { from: ".U_MCU > .LEFT_CLICK", to: "net.LEFT" }), jsx(NetTrace, { from: ".U_MCU > .RIGHT_CLICK", to: "net.RIGHT" }), jsx(NetTrace, { from: ".U_MCU > .MIDDLE_CLICK", to: "net.MIDDLE" }), jsx(NetTrace, { from: ".U_MCU > .DPI_BUTTON", to: "net.DPI" }), jsx(NetTrace, { from: ".U_MCU > .SIDE1_BUTTON", to: "net.SIDE1" }), jsx(NetTrace, { from: ".U_MCU > .SIDE2_BUTTON", to: "net.SIDE2" }), jsx(NetTrace, { from: ".U_MCU > .WLED_DATA", to: "net.WLED" }), jsx(NetTrace, { from: ".U_MCU > .ADC_VBAT", to: "net.VBAT_ADC" }), jsx("capacitor", { name: "C_RF_SHUNT", capacitance: "0.8pF", footprint: "0402", pcbX: 8.7, pcbY: 27.4, pcbRotation: 90, schX: 1, schY: -7, schOrientation: "vertical", schSectionName: "RadioFrontEnd", supplierPartNumbers: { jlcpcb: ["C88902"] } }), jsx(RfInductor3n9, { name: "L_NRF_MATCH", pcbX: 10.6, pcbY: 27.4, pcbRotation: 0, schX: 3, schY: -7, schSectionName: "RadioFrontEnd" }), jsx("capacitor", { name: "C_ANT_MATCH", capacitance: "1pF", footprint: "0402", pcbX: 11.15, pcbY: 29.1, pcbRotation: 0, schX: 6, schY: -7, schOrientation: "vertical", schSectionName: "RadioFrontEnd", supplierPartNumbers: { jlcpcb: ["C1550"] } }), jsx("inductor", { name: "L_ANT_SHUNT", inductance: "2.7nH", footprint: "0402", pcbX: 13.1, pcbY: 27.5, pcbRotation: 270, schX: 9, schY: -9, schOrientation: "vertical", schSectionName: "RadioFrontEnd", supplierPartNumbers: { jlcpcb: ["C27123"] } }), jsx("inductor", { name: "L_ANT_MATCH_OUT", inductance: "3.9nH", footprint: "0402", pcbX: 13.35, pcbY: 29.1, pcbRotation: 0, schX: 12, schY: -7, schSectionName: "RadioFrontEnd", supplierPartNumbers: { jlcpcb: ["C14033"] } }), jsx(BleAntenna, { name: "ANT_BLE", noConnect: ["pin2"], pcbX: 16.8, pcbY: 29.1, pcbRotation: 0, schX: 15, schY: -7, schSectionName: "RadioFrontEnd" }), jsx(NetTrace, { name: "RF_OUT", from: ".U_MCU > .ANT", to: ".L_NRF_MATCH > .pin1", width: "0.2mm" }), jsx(NetTrace, { name: "RF_SHUNT", from: ".L_NRF_MATCH > .pin1", to: ".C_RF_SHUNT > .pin1", width: "0.2mm" }), jsx(NetTrace, { from: ".C_RF_SHUNT > .pin2", to: "net.GND", width: POWER_TRACE }), jsx(NetTrace, { name: "RF1", from: ".L_NRF_MATCH > .pin2", to: ".C_ANT_MATCH > .pin1", width: "0.5mm" }), jsx(NetTrace, { name: "RF2", from: ".C_ANT_MATCH > .pin2", to: ".L_ANT_MATCH_OUT > .pin1", width: "0.3mm" }), jsx(NetTrace, { name: "RF_MATCH", from: ".C_ANT_MATCH > .pin2", to: ".L_ANT_SHUNT > .pin1", width: "0.3mm" }), jsx(NetTrace, { from: ".L_ANT_SHUNT > .pin2", to: "net.GND", width: POWER_TRACE }), jsx(NetTrace, { name: "ANT_FEED", from: ".L_ANT_MATCH_OUT > .pin2", to: ".ANT_BLE > .ANT", width: "0.3mm" })] }));
var index_circuit = () => (jsxs("board", { title: "nRF52810 Bluetooth LE Wireless Mouse", width: "44mm", height: "70mm", borderRadius: "5mm", layers: 2, minViaHoleDiameter: "0.3mm", minViaPadDiameter: "0.45mm", children: [jsxs("schematicsheet", { name: "power", displayName: "Power, USB-C and LiPo Charging", sheetIndex: 0, children: [jsx("schematicsection", { name: "UsbCharging", displayName: "USB-C + LiPo Charger" }), jsx("schematicsection", { name: "BatteryPower", displayName: "Battery + 3.3 V" })] }), jsxs("schematicsheet", { name: "controller", displayName: "Wireless Controller and Debug", sheetIndex: 1, children: [jsx("schematicsection", { name: "WirelessController", displayName: "nRF52810 + Clocks" }), jsx("schematicsection", { name: "RadioFrontEnd", displayName: "2.4 GHz Radio" }), jsx("schematicsection", { name: "StatusDebug", displayName: "Debug LED + SWD" })] }), jsx("schematicsheet", { name: "sensor", displayName: "Optical Motion Sensor", sheetIndex: 2, children: jsx("schematicsection", { name: "OpticalSensor", displayName: "Optical Sensor" }) }), jsx("schematicsheet", { name: "inputs", displayName: "Mouse Buttons and Scroll Wheel", sheetIndex: 3, children: jsx("schematicsection", { name: "MouseInputs", displayName: "Buttons + Wheel" }) }), jsx(UsbChargingSection, {}), jsx(BatteryPowerSection, {}), jsx(WirelessControllerSection, {}), jsx(StatusAndDebugSection, {}), jsx(OpticalSensorSection, {}), jsx(MouseInputsSection, {}), jsx("hole", { name: "MH_REAR_LEFT", diameter: "2.4mm", pcbX: -19, pcbY: 30 }), jsx("hole", { name: "MH_FRONT_LEFT", diameter: "2.4mm", pcbX: -19, pcbY: -31 }), jsx("hole", { name: "MH_FRONT_RIGHT", diameter: "2.4mm", pcbX: 19, pcbY: -31 }), jsx("keepout", { shape: "rect", width: "6.5mm", height: "7.5mm", pcbX: 18.75, pcbY: 31.25, layers: ["top"], excludeRefs: [".ANT_BLE"] }), jsx("keepout", { shape: "rect", width: "6.5mm", height: "7.5mm", pcbX: 18.75, pcbY: 31.25, layers: ["bottom"], excludeRefs: [".ANT_BLE"] }), jsx("copperpour", { name: "GND_TOP", connectsTo: "net.GND", layer: "top", clearance: "0.2mm", boardEdgeMargin: "0.3mm", cutoutMargin: "0.5mm" }), jsx("copperpour", { name: "GND_BOTTOM", connectsTo: "net.GND", layer: "bottom", clearance: "0.2mm", boardEdgeMargin: "0.3mm", cutoutMargin: "0.5mm" }), jsx("silkscreentext", { text: "2.4 GHz ANTENNA K/O", fontSize: "0.65mm", pcbX: 17, pcbY: 34 }), jsx("silkscreentext", { text: "SENSOR CUTOUT - LM19-LSI - Z=2.4mm", fontSize: "0.55mm", pcbX: 0, pcbY: 11.2 }), jsx("silkscreentext", { text: "USB-C", fontSize: "0.65mm", pcbX: 0, pcbY: -30.7 }), jsx("silkscreentext", { text: "L", fontSize: "0.8mm", pcbX: -17.5, pcbY: -22 }), jsx("silkscreentext", { text: "R", fontSize: "0.8mm", pcbX: 17.5, pcbY: -22 }), jsx("silkscreentext", { text: "SWD", fontSize: "0.65mm", pcbX: 8, pcbY: 33 })] }));
export { index_circuit as default };