ShiboSoftwareDev/usb-pd-quad-dc-motor-controller
USB‑C USB‑PD–powered ESP32‑C3 controller with protected data, 3.3‑V regulation, and dual DRV8847 H‑bridges driving four current-limited brushed DC motors with status indication and protection.
- Version
- 1.0.0
- License
- unset
- Stars
- 0
dist/index.cjs
'use strict';
var jsxRuntime = require('react/jsx-runtime');
var react = require('react');
var schematicSymbols = require('schematic-symbols');
const pinLabels$a = {
pin1: ["VIN"],
pin2: ["GND"],
pin3: ["EN"],
pin4: ["NC"],
pin5: ["VOUT"]
};
const pinAttributes$4 = {
pin1: { requiresPower: true },
pin2: { requiresGround: true },
pin4: { doNotConnect: true }
};
const AP2112K_3_3TRG1 = (props) => {
return (jsxRuntime.jsx("chip", { pinLabels: pinLabels$a, pinAttributes: pinAttributes$4, supplierPartNumbers: {
"jlcpcb": [
"C23380830"
]
}, manufacturerPartNumber: "AP2112K-3.3TRG1", footprint: "sot25_w2.2mm_pl1mm_pin1location(rightside,bottom)", cadModel: {
objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C23380830.obj?uuid=8c971aea3af54c53b74baeb1f489d393",
stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C23380830.step?uuid=8c971aea3af54c53b74baeb1f489d393",
pcbRotationOffset: 90,
modelOriginPosition: { x: -12699999956566899e-21, y: 0.00006349999989652133, z: -0.7 },
}, ...props }));
};
const pinLabels$9 = {
pin1: ["VDD"],
pin2: ["CFG2"],
pin3: ["CFG3"],
pin4: ["DP"],
pin5: ["DM"],
pin6: ["CC2"],
pin7: ["CC1"],
pin8: ["VBUS"],
pin9: ["CFG1"],
pin10: ["PG"],
pin11: ["GND"]
};
const pinAttributes$3 = {
pin1: { requiresPower: true },
pin11: { requiresGround: true }
};
const footprinterPinLabels$1 = {
...pinLabels$9,
"pin11": [...pinLabels$9["pin11"], "thermalpad"],
};
const CH224K = (props) => {
return (jsxRuntime.jsx("chip", { pinLabels: footprinterPinLabels$1, pinAttributes: pinAttributes$3, supplierPartNumbers: {
"jlcpcb": [
"C970725"
]
}, manufacturerPartNumber: "CH224K", footprint: "dfn10_thermalpad2.1mmx3.3mm_p1mm_w7.5mm_pl1.5mm_pin1location(leftside,bottom)", cadModel: {
objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C970725.obj?uuid=c37139ac11be40009679f32869d9459d",
stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C970725.step?uuid=c37139ac11be40009679f32869d9459d",
pcbRotationOffset: 0,
modelOriginPosition: { x: 0.000063500000123895, y: 0, z: -0.81 },
}, ...props }));
};
const pinLabels$8 = {
pin1: ["nSLEEP"],
pin2: ["OUT1"],
pin3: ["ISEN12"],
pin4: ["OUT2"],
pin5: ["OUT4"],
pin6: ["ISEN34"],
pin7: ["OUT3"],
pin8: ["nFAULT"],
pin9: ["IN3"],
pin10: ["IN4"],
pin11: ["TRQ"],
pin12: ["VM"],
pin13: ["GND"],
pin14: ["MODE"],
pin15: ["IN2"],
pin16: ["IN1"],
pin17: ["EP"]
};
const pinAttributes$2 = {
pin13: { requiresGround: true }
};
const footprinterPinLabels = {
...pinLabels$8,
"pin17": [...pinLabels$8["pin17"], "thermalpad"],
};
const DRV8847PWPR = (props) => {
return (jsxRuntime.jsx("chip", { pinLabels: footprinterPinLabels, pinAttributes: pinAttributes$2, supplierPartNumbers: {
"jlcpcb": [
"C544361"
]
}, manufacturerPartNumber: "DRV8847PWPR", footprint: "dfn16_thermalpad2.1mmx2.03mm_pillpads_p0.65mm_w7.5mm_pw0.34mm_pl1.75mm", cadModel: {
objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C544361.obj?uuid=92b9b56033084f819c4263ef71865976",
stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C544361.step?uuid=92b9b56033084f819c4263ef71865976",
pcbRotationOffset: 0,
modelOriginPosition: { x: 0, y: 0.00005080000005364127, z: 0 },
}, ...props }));
};
const pinLabels$7 = {
pin1: ["3V3"],
pin2: ["EN"],
pin3: ["IO4"],
pin4: ["IO5"],
pin5: ["IO6"],
pin6: ["IO7"],
pin7: ["IO8"],
pin8: ["IO9"],
pin9: ["GND"],
pin10: ["IO10"],
pin11: ["RXD"],
pin12: ["TXD"],
pin13: ["IO18"],
pin14: ["IO19"],
pin15: ["IO3"],
pin16: ["IO2"],
pin17: ["IO1"],
pin18: ["IO0"],
pin19: ["EP"]
};
const pinAttributes$1 = {
pin9: { requiresGround: true }
};
const ESP32_C3_WROOM_02_N4 = (props) => {
return (jsxRuntime.jsx("chip", { pinLabels: pinLabels$7, pinAttributes: pinAttributes$1, supplierPartNumbers: {
"jlcpcb": [
"C2934560"
]
}, manufacturerPartNumber: "ESP32-C3-WROOM-02-N4", footprint: jsxRuntime.jsxs("footprint", { children: [jsxRuntime.jsx("smtpad", { portHints: ["pin1"], pcbX: "-8.750046mm", pcbY: "5.999988mm", width: "1.999996mm", height: "0.999998mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin2"], pcbX: "-8.750046mm", pcbY: "4.500118mm", width: "1.999996mm", height: "0.999998mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin3"], pcbX: "-8.750046mm", pcbY: "2.999994mm", width: "1.999996mm", height: "0.999998mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin4"], pcbX: "-8.750046mm", pcbY: "1.500124mm", width: "1.999996mm", height: "0.999998mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin5"], pcbX: "-8.750046mm", pcbY: "0mm", width: "1.999996mm", height: "0.999998mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin6"], pcbX: "-8.750046mm", pcbY: "-1.49987mm", width: "1.999996mm", height: "0.999998mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin7"], pcbX: "-8.750046mm", pcbY: "-2.999994mm", width: "1.999996mm", height: "0.999998mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin8"], pcbX: "-8.750046mm", pcbY: "-4.499864mm", width: "1.999996mm", height: "0.999998mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin9"], pcbX: "-8.750046mm", pcbY: "-5.999988mm", width: "1.999996mm", height: "0.999998mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin10"], pcbX: "8.750046mm", pcbY: "-5.999988mm", width: "1.999996mm", height: "0.999998mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin11"], pcbX: "8.750046mm", pcbY: "-4.499864mm", width: "1.999996mm", height: "0.999998mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin12"], pcbX: "8.750046mm", pcbY: "-2.999994mm", width: "1.999996mm", height: "0.999998mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin13"], pcbX: "8.750046mm", pcbY: "-1.49987mm", width: "1.999996mm", height: "0.999998mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin14"], pcbX: "8.750046mm", pcbY: "0mm", width: "1.999996mm", height: "0.999998mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin15"], pcbX: "8.750046mm", pcbY: "1.500124mm", width: "1.999996mm", height: "0.999998mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin16"], pcbX: "8.750046mm", pcbY: "2.999994mm", width: "1.999996mm", height: "0.999998mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin17"], pcbX: "8.750046mm", pcbY: "4.500118mm", width: "1.999996mm", height: "0.999998mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin18"], pcbX: "8.750046mm", pcbY: "5.999988mm", width: "1.999996mm", height: "0.999998mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin19"], pcbX: "-0.139954mm", pcbY: "0.900176mm", width: "0.6999986mm", height: "0.6999986mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin19"], pcbX: "-0.139954mm", pcbY: "-0.199898mm", width: "0.6999986mm", height: "0.6999986mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin19"], pcbX: "-0.139954mm", pcbY: "-1.299972mm", width: "0.6999986mm", height: "0.6999986mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin19"], pcbX: "0.959866mm", pcbY: "0.900176mm", width: "0.6999986mm", height: "0.6999986mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin19"], pcbX: "0.959866mm", pcbY: "-0.199898mm", width: "0.6999986mm", height: "0.6999986mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin19"], pcbX: "0.959866mm", pcbY: "-1.299972mm", width: "0.6999986mm", height: "0.6999986mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin19"], pcbX: "2.05994mm", pcbY: "-1.299972mm", width: "0.6999986mm", height: "0.6999986mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin19"], pcbX: "2.05994mm", pcbY: "-0.199898mm", width: "0.6999986mm", height: "0.6999986mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin19"], pcbX: "2.05994mm", pcbY: "0.900176mm", width: "0.6999986mm", height: "0.6999986mm", shape: "rect" }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 9.000007399999959, "y": 6.654241200000001 }, { "x": 9.000007399999959, "y": 13.100100800000064 }, { "x": -9.000007400000072, "y": 13.100100800000064 }, { "x": -9.000007400000072, "y": 6.654241200000001 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -9.000007400000072, "y": 7.100087400000007 }, { "x": 9.000007399999959, "y": 7.100087400000007 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -9.000007400000072, "y": -6.654038000000014 }, { "x": -9.000007400000072, "y": -6.899909999999977 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -9.000007400000072, "y": -5.15409180000006 }, { "x": -9.000007400000072, "y": -5.345785599999999 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -9.000007400000072, "y": -3.6540948000000526 }, { "x": -9.000007400000072, "y": -3.8457885999999917 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -9.000007400000072, "y": -2.154097800000045 }, { "x": -9.000007400000072, "y": -2.345791599999984 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -9.000007400000072, "y": -0.6540499999998701 }, { "x": -9.000007400000072, "y": -0.8457691999999497 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -9.000007400000072, "y": 0.8459723999999369 }, { "x": -9.000007400000072, "y": 0.6542278000000579 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -9.000007400000072, "y": 2.3458931999999777 }, { "x": -9.000007400000072, "y": 2.154224800000179 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -9.000007400000072, "y": 3.845915600000012 }, { "x": -9.000007400000072, "y": 3.654221800000073 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -9.000007400000072, "y": 5.345912599999906 }, { "x": -9.000007400000072, "y": 5.154218799999967 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 9.000007399999959, "y": 5.154218799999967 }, { "x": 9.000007399999959, "y": 5.345912599999906 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 9.000007399999959, "y": 3.654221800000073 }, { "x": 9.000007399999959, "y": 3.845915600000012 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 9.000007399999959, "y": 2.154224800000179 }, { "x": 9.000007399999959, "y": 2.3458931999999777 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 9.000007399999959, "y": 0.6542278000000579 }, { "x": 9.000007399999959, "y": 0.8459723999999369 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 9.000007399999959, "y": -0.8457691999999497 }, { "x": 9.000007399999959, "y": -0.6540499999998701 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 9.000007399999959, "y": -2.345791599999984 }, { "x": 9.000007399999959, "y": -2.154097800000045 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 9.000007399999959, "y": -3.8457885999999917 }, { "x": 9.000007399999959, "y": -3.6540948000000526 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 9.000007399999959, "y": -5.345785599999999 }, { "x": 9.000007399999959, "y": -5.15409180000006 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -9.000007400000072, "y": -6.899909999999977 }, { "x": 9.000007399999959, "y": -6.899909999999977 }, { "x": 9.000007399999959, "y": -6.654038000000014 }] }), jsxRuntime.jsx("silkscreencircle", { pcbX: "-9.779mm", pcbY: "7.366mm", radius: "0.249936mm" }), jsxRuntime.jsx("silkscreentext", { text: "ANTENNA", pcbX: "-6.500114mm", pcbY: "9.100058mm", anchorAlignment: "bottom_left", fontSize: "2.032mm" }), jsxRuntime.jsx("silkscreentext", { text: "{NAME}", pcbX: "-0.1397mm", pcbY: "14.208mm", anchorAlignment: "center", fontSize: "1mm" }), jsxRuntime.jsx("fabricationnotepath", { route: [{ "x": -9.100007199999823, "y": 6.650024799999983 }, { "x": -9.100007199999823, "y": 13.050012000000038 }, { "x": -8.950020199999926, "y": 13.199998999999934 }, { "x": 8.89995680000004, "y": 13.199998999999934 }, { "x": 9.099956399999883, "y": 12.999999399999979 }, { "x": 9.099956399999883, "y": 6.849999000000025 }, { "x": 8.89995680000004, "y": 6.849999000000025 }, { "x": 8.89995680000004, "y": 12.999999399999979 }, { "x": -8.90000759999998, "y": 12.999999399999979 }, { "x": -8.90000759999998, "y": 6.700012000000129 }, { "x": -8.90000759999998, "y": 6.650024799999983 }, { "x": -9.100007199999823, "y": 6.650024799999983 }], strokeWidth: "0.254mm" }), jsxRuntime.jsx("courtyardoutline", { outline: [{ "x": -10.282999999999902, "y": 13.45799999999997 }, { "x": 10.003600000000006, "y": 13.45799999999997 }, { "x": 10.003600000000006, "y": -7.1334000000000515 }, { "x": -10.282999999999902, "y": -7.1334000000000515 }, { "x": -10.282999999999902, "y": 13.45799999999997 }] })] }), cadModel: {
objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C2934560.obj?uuid=3af5773cc1904a9197e0ebbdc043a5ad",
stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C2934560.step?uuid=3af5773cc1904a9197e0ebbdc043a5ad",
pcbRotationOffset: 0,
modelOriginPosition: { x: 0.000025399999913133797, y: -3.1000192000000197, z: -0.01 },
}, ...props }));
};
const HoLRT1206_1W_300mR_1_ = (props) => {
const { name = "R1", ...restProps } = props;
return (jsxRuntime.jsx("resistor", { name: name, resistance: "300mohm", supplierPartNumbers: {
"jlcpcb": [
"C5127777"
]
}, manufacturerPartNumber: "HoLRT1206-1W-300mR-1%", footprint: "smdpads2_p2.9576mm_pw1.2075mm_ph1.701mm", cadModel: {
objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C5127777.obj?uuid=da5f078ee43c429f91838a456f48f0a8",
stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C5127777.step?uuid=da5f078ee43c429f91838a456f48f0a8",
pcbRotationOffset: 0,
modelOriginPosition: { x: 0, y: 0, z: 0 },
}, ...restProps }));
};
// This pinned symbols release includes led_right at runtime but declares it undefined.
const ledSymbol = schematicSymbols.symbols.led_right;
if (!ledSymbol)
throw new Error("Missing led_right schematic primitive");
const pinLabels$6 = {
pin1: ["R_NEG"],
pin2: ["G_NEG"],
pin3: ["B_NEG"],
pin4: ["_POS"]
};
const LTST_C19HE1WT = (props) => {
return (jsxRuntime.jsx("chip", { pinLabels: pinLabels$6, symbol: jsxRuntime.jsxs("symbol", { children: [jsxRuntime.jsx("port", { name: "pin4", aliases: ["_POS"], pinNumber: 4, direction: "left", schX: -0.9, schY: 0, schStemLength: 0.3 }), jsxRuntime.jsx("schematicpath", { points: [{ x: -0.6, y: 0.8 }, { x: -0.6, y: -0.8 }], strokeWidth: 0.03 }), jsxRuntime.jsx("schematicpath", { points: [{ x: -0.9, y: 0 }, { x: -0.6, y: 0 }], strokeWidth: 0.03 }), ["R_NEG", "G_NEG", "B_NEG"].map((color, i) => {
const y = 0.8 - i * 0.8;
return jsxRuntime.jsxs(react.Fragment, { children: [ledSymbol.primitives.map((primitive, j) => primitive.type === "path" ?
jsxRuntime.jsx(react.Fragment, { children: jsxRuntime.jsx("schematicpath", { points: primitive.points.map(p => ({ x: p.x, y: p.y + y })), strokeWidth: 0.025 }) }, j) : null), jsxRuntime.jsx("schematicpath", { points: [{ x: -0.6, y }, { x: -0.54, y }], strokeWidth: 0.025 }), jsxRuntime.jsx("port", { name: `pin${i + 1}`, aliases: [color], pinNumber: i + 1, direction: "right", schX: 0.54, schY: y, schStemLength: 0.3 }), jsxRuntime.jsx("schematictext", { text: color[0], schX: -0.2, schY: y + 0.27, fontSize: 0.15 })] }, color);
}), jsxRuntime.jsx("schematictext", { text: props.name, schX: 0, schY: 1.4, fontSize: 0.18 })] }), supplierPartNumbers: {
"jlcpcb": [
"C458749"
]
}, manufacturerPartNumber: "LTST-C19HE1WT", footprint: jsxRuntime.jsxs("footprint", { children: [jsxRuntime.jsx("smtpad", { portHints: ["pin4"], pcbX: "-0.450088mm", pcbY: "-0.833501mm", width: "0.5500116mm", height: "0.9169908mm", radius: "0.2750058mm", shape: "pill" }), jsxRuntime.jsx("smtpad", { portHints: ["pin3"], pcbX: "0.450088mm", pcbY: "-0.833501mm", width: "0.5500116mm", height: "0.9169908mm", radius: "0.2750058mm", shape: "pill" }), jsxRuntime.jsx("smtpad", { portHints: ["pin2"], pcbX: "0.450088mm", pcbY: "0.833501mm", width: "0.5500116mm", height: "0.9169908mm", radius: "0.2750058mm", shape: "pill" }), jsxRuntime.jsx("smtpad", { portHints: ["pin1"], pcbX: "-0.450088mm", pcbY: "0.833501mm", width: "0.5500116mm", height: "0.9169908mm", radius: "0.2750058mm", shape: "pill" }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -0.8761984000000211, "y": -0.876071399999887 }, { "x": -0.8761984000000211, "y": 0.8763254000000416 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 0.8761984000000211, "y": -0.876071399999887 }, { "x": 0.8761984000000211, "y": 0.8763254000000416 }] }), jsxRuntime.jsx("silkscreencircle", { pcbX: "-0.508mm", pcbY: "1.524127mm", radius: "0.124968mm" }), jsxRuntime.jsx("silkscreentext", { text: "{NAME}", pcbX: "0.0127mm", pcbY: "2.651127mm", anchorAlignment: "center", fontSize: "0.55mm" }), jsxRuntime.jsx("courtyardrect", { width: 2.45, height: 3.1 })] }), cadModel: {
objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C458749.obj?uuid=32e1f1a4424a41c9860f9a94e64c798e",
stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C458749.step?uuid=32e1f1a4424a41c9860f9a94e64c798e",
pcbRotationOffset: 0,
modelOriginPosition: { x: 0, y: 0, z: -0.11 },
}, ...props }));
};
const pinLabels$5 = {
pin1: ["pin1"],
pin2: ["pin2"],
pin3: ["pin3"],
pin4: ["pin4"]
};
const SKRPACE010 = (props) => {
const { name = "SW1", ...restProps } = props;
return (jsxRuntime.jsx("pushbutton", { name: name, pinLabels: pinLabels$5, supplierPartNumbers: {
"jlcpcb": [
"C139797"
]
}, manufacturerPartNumber: "SKRPACE010", footprint: "smdpushbutton", cadModel: {
objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C139797.obj?uuid=00d848a7e8384bbd9286566957e8bb9c",
stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C139797.step?uuid=00d848a7e8384bbd9286566957e8bb9c",
pcbRotationOffset: 0,
modelOriginPosition: { x: 0.000012700000070253736, y: 0.00012700000002041634, z: -0.01 },
}, ...restProps }));
};
const pinLabels$4 = {
pin1: ["pin1"],
pin2: ["pin2"]
};
const SMBJ16CAQ_13_F = (props) => {
return (jsxRuntime.jsx("chip", { pinLabels: pinLabels$4, symbol: jsxRuntime.jsxs("symbol", { children: [jsxRuntime.jsx("schematicpath", { points: [{ "x": -0.04, "y": 0.12 }, { "x": -0.04, "y": 0.12 }, { "x": 0, "y": 0.12 }, { "x": 0, "y": -0.12 }, { "x": 0.04, "y": -0.12 }, { "x": 0.04, "y": -0.12 }], strokeColor: "#880000" }), jsxRuntime.jsx("schematicpath", { points: [{ "x": 0.2, "y": 0.1 }, { "x": 0, "y": 0 }, { "x": 0.2, "y": -0.1 }, { "x": 0.2, "y": 0.1 }], strokeColor: "#880000" }), jsxRuntime.jsx("schematicpath", { points: [{ "x": -0.2, "y": 0.1 }, { "x": 0, "y": 0 }, { "x": -0.2, "y": -0.1 }, { "x": -0.2, "y": 0.1 }], strokeColor: "#880000" }), jsxRuntime.jsx("port", { name: "pin1", pinNumber: 1, aliases: ["1"], direction: "left", schX: -0.4, schY: 0, schStemLength: 0.2 }), jsxRuntime.jsx("port", { name: "pin2", pinNumber: 2, aliases: ["2"], direction: "right", schX: 0.4, schY: 0, schStemLength: 0.2 })] }), supplierPartNumbers: {
"jlcpcb": [
"C1974058"
]
}, manufacturerPartNumber: "SMBJ16CAQ-13-F", footprint: "smdpads2_p5.1826mm_pw2.0475mm_ph2.241mm", cadModel: {
objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C1974058.obj?uuid=d8d17035e5884cddb4826824fad5689b",
stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C1974058.step?uuid=d8d17035e5884cddb4826824fad5689b",
pcbRotationOffset: 0,
modelOriginPosition: { x: 0, y: 0, z: -1.535 },
}, ...props }));
};
const pinLabels$3 = {
pin1: ["anode", "pos"],
pin2: ["cathode", "neg"]
};
const SS54 = (props) => {
const { name = "D1", ...restProps } = props;
return (jsxRuntime.jsx("diode", { name: name, pinLabels: pinLabels$3, supplierPartNumbers: {
"jlcpcb": [
"C22452"
]
}, manufacturerPartNumber: "SS54", footprint: "smdpads2_p5.0074mm_pw2.0625mm_ph1.539mm_pin1location(rightside,top)", cadModel: {
objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C22452.obj?uuid=16f5f0e72b3e4f43a77ecac0b819c7f8",
stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C22452.step?uuid=16f5f0e72b3e4f43a77ecac0b819c7f8",
pcbRotationOffset: 0,
modelOriginPosition: { x: 0, y: 0, z: -0.1 },
}, ...restProps }));
};
const TCJD107M025R0055E = (props) => {
const { name = "C1", ...restProps } = props;
return (jsxRuntime.jsx("capacitor", { name: name, capacitance: "100uF", polarized: true, supplierPartNumbers: {
"jlcpcb": [
"C2159920"
]
}, manufacturerPartNumber: "TCJD107M025R0055E", footprint: "cap_p6.7048mm_pw2.3mm_ph3mm", cadModel: {
objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C2159920.obj?uuid=a7253e4667014c2b8171994ff34e6c41",
stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C2159920.step?uuid=a7253e4667014c2b8171994ff34e6c41",
pcbRotationOffset: 0,
modelOriginPosition: { x: -0.15229840000006334, y: 0, z: -2.203761 },
}, ...restProps }));
};
const pinLabels$2 = {
pin1: ["EH1"],
pin2: ["EH2"],
pin3: ["EH3"],
pin4: ["EH4"],
pin5: ["A1B12", "GND1"],
pin6: ["A4B9", "VBUS1"],
pin7: ["B8", "SBU2"],
pin8: ["A5", "CC1"],
pin9: ["B7", "Dn2"],
pin10: ["A6", "Dp1"],
pin11: ["A7", "Dn1"],
pin12: ["B6", "Dp2"],
pin13: ["A8", "SBU1"],
pin14: ["B5", "CC2"],
pin15: ["B4A9", "VBUS2"],
pin16: ["B1A12", "GND2"]
};
const TYPE_C_16PIN_2MD_073_ = (props) => {
return (jsxRuntime.jsx("chip", { pinLabels: pinLabels$2, supplierPartNumbers: {
"jlcpcb": [
"C2765186"
]
}, manufacturerPartNumber: "TYPE-C 16PIN 2MD(073)", footprint: "usbcmidmount16_tophw0.6mm_bottomhw0.6mm_tophh1.4mm_bottomhh1mm_topring0.25mm_bottomring0.3mm_rowy2.125mm_ph1.1mm_pw0.3mm_powerpw0.55mm_powerx3.2mm_shellx4.325mm_topy1.5751mm_bottomy2.625mm_holex2.89mm_holey1.0549mm_holed0.7mm", cadModel: {
objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C2765186.obj?uuid=4ee8413127e64716b804db03d4b340ae",
stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C2765186.step?uuid=4ee8413127e64716b804db03d4b340ae",
pcbRotationOffset: 0,
modelOriginPosition: { x: -12699999956566899e-21, y: 1.5749970500000927, z: -1.6800018 },
}, ...props }));
};
const pinLabels$1 = {
pin1: ["pin1"],
pin2: ["GND"],
pin3: ["pin3"],
pin4: ["pin4"],
pin5: ["VBUS"],
pin6: ["pin6"]
};
const pinAttributes = {
pin2: { requiresGround: true }
};
const USBLC6_2SC6 = (props) => {
return (jsxRuntime.jsx("chip", { pinLabels: pinLabels$1, pinAttributes: pinAttributes, supplierPartNumbers: {
"jlcpcb": [
"C2687116"
]
}, manufacturerPartNumber: "USBLC6-2SC6", footprint: "dfn6_p0.95mm_w3.3702mm_pw0.532mm_pl1.072mm_pin1location(leftside,bottom)", cadModel: {
objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C2687116.obj?uuid=229b69761e2c45dba6a83d8866dec72d",
stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C2687116.step?uuid=229b69761e2c45dba6a83d8866dec72d",
pcbRotationOffset: 90,
modelOriginPosition: { x: -12700000070253736e-21, y: 0.000012700000070253736, z: -0.048939 },
}, ...props }));
};
const pinLabels = {
pin1: ["pin1"],
pin2: ["pin2"]
};
const WJ500V_5_08_2P = (props) => {
return (jsxRuntime.jsx("chip", { pinLabels: pinLabels, supplierPartNumbers: {
"jlcpcb": [
"C8465"
]
}, manufacturerPartNumber: "WJ500V-5.08-2P", footprint: "pinrow2_nosquareplating_p5.08mm_od2mm_id1.3mm", cadModel: {
objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C8465.obj?uuid=d60ef5d423934d3393dc75fa0a07b6bd",
stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C8465.step?uuid=d60ef5d423934d3393dc75fa0a07b6bd",
pcbRotationOffset: 0,
modelOriginPosition: { x: -2.5399878999999967, y: 0, z: -6999999999646178e-21 },
}, ...props }));
};
const R = ({ jlcpcb, ...props }) => jsxRuntime.jsx("resistor", { supplierPartNumbers: { jlcpcb: [jlcpcb] }, ...props });
const C = ({ jlcpcb, ...props }) => jsxRuntime.jsx("capacitor", { supplierPartNumbers: { jlcpcb: [jlcpcb] }, ...props });
const MountingHole = ({ name, pcbX, pcbY }) => (jsxRuntime.jsx("chip", { name: name, pcbX: pcbX, pcbY: pcbY, pinLabels: { pin1: ["GND"] }, connections: { pin1: "net.GND" }, footprint: jsxRuntime.jsx("footprint", { children: jsxRuntime.jsx("platedhole", { portHints: ["pin1"], shape: "circle", holeDiameter: "3.2mm", outerDiameter: "5.6mm" }) }) }));
/** Four brushed-DC channels inspired by the Adafruit Motor Shield V2 architecture,
* using two TI DRV8847 dual H-bridges and direct ESP32-C3 control. Each channel
* is hardware-limited to about 0.5 A by a 0.30 ohm shunt (150 mV / 0.30 ohm).
*/
function UsbPdQuadDcMotorController() {
return (jsxRuntime.jsxs("board", { width: "100mm", height: "70mm", layers: 4, thickness: "1.6mm", minViaHoleDiameter: "0.3mm", minViaPadDiameter: "0.55mm", autorouterVersion: "beta_pipeline7", autorouterEffortLevel: "2x", children: [jsxRuntime.jsx("net", { name: "GND" }), jsxRuntime.jsx("net", { name: "USB_5V" }), jsxRuntime.jsx("net", { name: "V3V3" }), jsxRuntime.jsx("net", { name: "USB_DM_CONN" }), jsxRuntime.jsx("net", { name: "USB_DP_CONN" }), jsxRuntime.jsx("net", { name: "USB_DM_ESD" }), jsxRuntime.jsx("net", { name: "USB_DP_ESD" }), jsxRuntime.jsx("net", { name: "PD_VBUS_RAW" }), jsxRuntime.jsx("net", { name: "PD_DP" }), jsxRuntime.jsx("net", { name: "PD_DM" }), jsxRuntime.jsx("net", { name: "PD_VDD" }), jsxRuntime.jsx("net", { name: "VMOTOR" }), jsxRuntime.jsx("net", { name: "PD_POWER_GOOD" }), jsxRuntime.jsx("net", { name: "DRIVERS_SLEEP" }), jsxRuntime.jsx("net", { name: "DRIVERS_FAULT" }), jsxRuntime.jsx("net", { name: "M1_IN1" }), jsxRuntime.jsx("net", { name: "M1_IN2" }), jsxRuntime.jsx("net", { name: "M2_IN1" }), jsxRuntime.jsx("net", { name: "M2_IN2" }), jsxRuntime.jsx("net", { name: "M3_IN1" }), jsxRuntime.jsx("net", { name: "M3_IN2" }), jsxRuntime.jsx("net", { name: "M4_IN1" }), jsxRuntime.jsx("net", { name: "M4_IN2" }), jsxRuntime.jsx(TYPE_C_16PIN_2MD_073_, { name: "J_DATA", pcbX: -36, pcbY: -31, noConnect: ["SBU1", "SBU2"], connections: { VBUS1: "net.USB_5V", VBUS2: "net.USB_5V", GND1: "net.GND", GND2: "net.GND", EH1: "net.GND", EH2: "net.GND", EH3: "net.GND", EH4: "net.GND", Dn1: "net.USB_DM_CONN", Dn2: "net.USB_DM_CONN", Dp1: "net.USB_DP_CONN", Dp2: "net.USB_DP_CONN" } }), jsxRuntime.jsx(R, { name: "R_DATA_CC1", resistance: "5.1k", footprint: "0402", jlcpcb: "C25905", pcbX: -39, pcbY: -25.5, pcbRotation: 180, connections: { pin1: ".J_DATA > .CC1", pin2: "net.GND" } }), jsxRuntime.jsx(R, { name: "R_DATA_CC2", resistance: "5.1k", footprint: "0402", jlcpcb: "C25905", pcbX: -34, pcbY: -25.5, connections: { pin1: ".J_DATA > .CC2", pin2: "net.GND" } }), jsxRuntime.jsx(USBLC6_2SC6, { name: "U_USB_ESD", pcbX: -35, pcbY: -21, pcbRotation: 90, connections: { pin1: "net.USB_DM_CONN", pin6: "net.USB_DM_ESD", pin3: "net.USB_DP_CONN", pin4: "net.USB_DP_ESD", VBUS: "net.USB_5V", GND: "net.GND" } }), jsxRuntime.jsx(R, { name: "R_USB_DM", resistance: "22", footprint: "0402", jlcpcb: "C25092", pcbX: -31, pcbY: -19.5, connections: { pin1: "net.USB_DM_ESD", pin2: ".U_MCU > .IO18" } }), jsxRuntime.jsx(R, { name: "R_USB_DP", resistance: "22", footprint: "0402", jlcpcb: "C25092", pcbX: -31, pcbY: -22.5, connections: { pin1: "net.USB_DP_ESD", pin2: ".U_MCU > .IO19" } }), jsxRuntime.jsx(AP2112K_3_3TRG1, { name: "U_LDO", pcbX: -45, pcbY: -17, noConnect: ["NC"], connections: { VIN: "net.USB_5V", EN: "net.USB_5V", VOUT: "net.V3V3", GND: "net.GND" } }), jsxRuntime.jsx(C, { name: "C_LDO_IN", capacitance: "1uF", footprint: "0603", jlcpcb: "C15849", pcbX: -48, pcbY: -13, connections: { pin1: "net.USB_5V", pin2: "net.GND" } }), jsxRuntime.jsx(C, { name: "C_LDO_OUT", capacitance: "1uF", footprint: "0603", jlcpcb: "C15849", pcbX: -42, pcbY: -13, connections: { pin1: "net.V3V3", pin2: "net.GND" } }), jsxRuntime.jsx(ESP32_C3_WROOM_02_N4, { name: "U_MCU", pcbX: -34, pcbY: 8, connections: { "3V3": "net.V3V3", GND: "net.GND", EP: "net.GND", IO0: "net.M1_IN1", IO1: "net.M1_IN2", IO2: "net.M2_IN1", IO3: "net.M2_IN2", IO4: "net.M3_IN1", IO5: "net.M3_IN2", IO6: "net.M4_IN1", IO7: "net.M4_IN2", TXD: "net.DRIVERS_SLEEP", RXD: "net.DRIVERS_FAULT", IO10: "net.PD_POWER_GOOD" } }), jsxRuntime.jsx(C, { name: "C_MCU_100N", capacitance: "100nF", footprint: "0402", jlcpcb: "C1525", pcbX: -21.5, pcbY: 14, connections: { pin1: "net.V3V3", pin2: "net.GND" } }), jsxRuntime.jsx(C, { name: "C_MCU_10U", capacitance: "10uF", footprint: "0805", jlcpcb: "C15850", pcbX: -21.5, pcbY: 10, connections: { pin1: "net.V3V3", pin2: "net.GND" } }), jsxRuntime.jsx(R, { name: "R_EN", resistance: "10k", footprint: "0402", jlcpcb: "C25744", pcbX: -47, pcbY: 12, connections: { pin1: "net.V3V3", pin2: ".U_MCU > .EN" } }), jsxRuntime.jsx(SKRPACE010, { name: "SW_RESET", pcbX: -18, pcbY: 24, noConnect: ["pin3", "pin4"], connections: { pin1: ".U_MCU > .EN", pin2: "net.GND" } }), jsxRuntime.jsx(R, { name: "R_IO8_STRAP", resistance: "10k", footprint: "0402", jlcpcb: "C25744", pcbX: -47, pcbY: 9, connections: { pin1: "net.V3V3", pin2: ".U_MCU > .IO8" } }), jsxRuntime.jsx(R, { name: "R_IO9_STRAP", resistance: "10k", footprint: "0402", jlcpcb: "C25744", pcbX: -47, pcbY: -1, connections: { pin1: "net.V3V3", pin2: ".U_MCU > .IO9" } }), jsxRuntime.jsx(SKRPACE010, { name: "SW_BOOT", pcbX: -10, pcbY: 24, noConnect: ["pin3", "pin4"], connections: { pin1: ".U_MCU > .IO9", pin2: "net.GND" } }), jsxRuntime.jsx(TYPE_C_16PIN_2MD_073_, { name: "J_POWER", pcbX: -16, pcbY: -31, noConnect: ["SBU1", "SBU2"], connections: { VBUS1: "net.PD_VBUS_RAW", VBUS2: "net.PD_VBUS_RAW", GND1: "net.GND", GND2: "net.GND", EH1: "net.GND", EH2: "net.GND", EH3: "net.GND", EH4: "net.GND", Dn1: "net.PD_DM", Dn2: "net.PD_DM", Dp1: "net.PD_DP", Dp2: "net.PD_DP" } }), jsxRuntime.jsx(CH224K, { name: "U_PD", pcbX: -16, pcbY: -23, pcbRotation: 90, noConnect: ["CFG2", "CFG3"], connections: { DP: "net.PD_DP", DM: "net.PD_DM", CC1: ".J_POWER > .CC1", CC2: ".J_POWER > .CC2", VDD: "net.PD_VDD", GND: "net.GND", PG: "net.PD_POWER_GOOD" } }), jsxRuntime.jsx(R, { name: "R_PD_VDD", resistance: "1k", footprint: "1206", jlcpcb: "C844867", manufacturerPartNumber: "CRCW12061K00FKEAHP", pcbX: -23, pcbY: -22, connections: { pin1: "net.PD_VBUS_RAW", pin2: "net.PD_VDD" } }), jsxRuntime.jsx(C, { name: "C_PD_VDD", capacitance: "1uF", footprint: "0603", jlcpcb: "C15849", pcbX: -22, pcbY: -18, connections: { pin1: "net.PD_VDD", pin2: "net.GND" } }), jsxRuntime.jsx(R, { name: "R_PD_VBUS", resistance: "10k", footprint: "0603", jlcpcb: "C2906982", pcbX: -10, pcbY: -20, pcbRotation: 180, connections: { pin1: "net.PD_VBUS_RAW", pin2: ".U_PD > .VBUS" } }), jsxRuntime.jsx(R, { name: "R_PD_CFG1", resistance: "56k", footprint: "0603", jlcpcb: "C23206", pcbX: -11, pcbY: -16, connections: { pin1: ".U_PD > .CFG1", pin2: "net.GND" } }), jsxRuntime.jsx(R, { name: "R_PD_PG", resistance: "10k", footprint: "0402", jlcpcb: "C25744", pcbX: -7, pcbY: -16, pcbRotation: 180, connections: { pin1: "net.V3V3", pin2: "net.PD_POWER_GOOD" } }), jsxRuntime.jsx("fuse", { name: "F1", currentRating: "3A", voltageRating: "30V", footprint: "1812", supplierPartNumbers: { jlcpcb: ["C48985875"] }, manufacturerPartNumber: "1812L300/30GR", pcbX: -3, pcbY: -27, connections: { pin1: "net.PD_VBUS_RAW" } }), jsxRuntime.jsx(SS54, { name: "D_REVERSE", pcbX: 5, pcbY: -27, pcbRotation: 180, connections: { anode: ".F1 > .pin2", cathode: "net.VMOTOR" } }), jsxRuntime.jsx(TCJD107M025R0055E, { name: "C_MOTOR_BULK", pcbX: 13, pcbY: -27, pcbRotation: 90, connections: { pin1: "net.VMOTOR", pin2: "net.GND" } }), jsxRuntime.jsx(C, { name: "C_VM_10U_A", capacitance: "10uF", footprint: "0805", jlcpcb: "C15850", pcbX: 20, pcbY: -27, connections: { pin1: "net.VMOTOR", pin2: "net.GND" } }), jsxRuntime.jsx(C, { name: "C_VM_10U_B", capacitance: "10uF", footprint: "0805", jlcpcb: "C15850", pcbX: 24, pcbY: -27, connections: { pin1: "net.VMOTOR", pin2: "net.GND" } }), jsxRuntime.jsx(C, { name: "C_VM_10U_C", capacitance: "10uF", footprint: "0805", jlcpcb: "C15850", pcbX: 28, pcbY: -27, connections: { pin1: "net.VMOTOR", pin2: "net.GND" } }), jsxRuntime.jsx(SMBJ16CAQ_13_F, { name: "D_TVS", pcbX: 16, pcbY: -20, pcbRotation: 180, connections: { pin1: "net.VMOTOR", pin2: "net.GND" } }), jsxRuntime.jsx(DRV8847PWPR, { name: "U_DRV12", pcbX: 10, pcbY: 11, connections: { nSLEEP: "net.DRIVERS_SLEEP", nFAULT: "net.DRIVERS_FAULT", IN1: "net.M1_IN1", IN2: "net.M1_IN2", IN3: "net.M2_IN1", IN4: "net.M2_IN2", OUT1: ".J_M1 > .pin1", OUT2: ".J_M1 > .pin2", OUT3: ".J_M2 > .pin1", OUT4: ".J_M2 > .pin2", ISEN12: ".RS_M1 > .pin1", ISEN34: ".RS_M2 > .pin1", TRQ: "net.GND", MODE: "net.GND", VM: "net.VMOTOR", GND: "net.GND", EP: "net.GND" } }), jsxRuntime.jsx(C, { name: "C_DRV12_VM", capacitance: "100nF", footprint: "0603", jlcpcb: "C14663", pcbX: 3, pcbY: 11, pcbRotation: 180, connections: { pin1: "net.VMOTOR", pin2: "net.GND" } }), jsxRuntime.jsx(HoLRT1206_1W_300mR_1_, { name: "RS_M1", pcbX: 17, pcbY: 15, connections: { pin2: "net.GND" } }), jsxRuntime.jsx(HoLRT1206_1W_300mR_1_, { name: "RS_M2", pcbX: 17, pcbY: 7, connections: { pin2: "net.GND" } }), jsxRuntime.jsx(DRV8847PWPR, { name: "U_DRV34", pcbX: 10, pcbY: -6, connections: { nSLEEP: "net.DRIVERS_SLEEP", nFAULT: "net.DRIVERS_FAULT", IN1: "net.M3_IN1", IN2: "net.M3_IN2", IN3: "net.M4_IN1", IN4: "net.M4_IN2", OUT1: ".J_M3 > .pin1", OUT2: ".J_M3 > .pin2", OUT3: ".J_M4 > .pin1", OUT4: ".J_M4 > .pin2", ISEN12: ".RS_M3 > .pin1", ISEN34: ".RS_M4 > .pin1", TRQ: "net.GND", MODE: "net.GND", VM: "net.VMOTOR", GND: "net.GND", EP: "net.GND" } }), jsxRuntime.jsx(C, { name: "C_DRV34_VM", capacitance: "100nF", footprint: "0603", jlcpcb: "C14663", pcbX: 3, pcbY: -6, connections: { pin1: "net.VMOTOR", pin2: "net.GND" } }), jsxRuntime.jsx(HoLRT1206_1W_300mR_1_, { name: "RS_M3", pcbX: 17, pcbY: -2, connections: { pin2: "net.GND" } }), jsxRuntime.jsx(HoLRT1206_1W_300mR_1_, { name: "RS_M4", pcbX: 17, pcbY: -10, connections: { pin2: "net.GND" } }), jsxRuntime.jsx(R, { name: "R_SLEEP_PD", resistance: "100k", footprint: "0402", jlcpcb: "C25741", pcbX: -1, pcbY: 3, connections: { pin1: "net.DRIVERS_SLEEP", pin2: "net.GND" } }), jsxRuntime.jsx(R, { name: "R_FAULT_PU", resistance: "10k", footprint: "0402", jlcpcb: "C25744", pcbX: -1, pcbY: 7, connections: { pin1: "net.V3V3", pin2: "net.DRIVERS_FAULT" } }), jsxRuntime.jsx(WJ500V_5_08_2P, { name: "J_M1", pcbX: 46, pcbY: 22, pcbRotation: 90 }), jsxRuntime.jsx(WJ500V_5_08_2P, { name: "J_M2", pcbX: 46, pcbY: 7, pcbRotation: 90 }), jsxRuntime.jsx(WJ500V_5_08_2P, { name: "J_M3", pcbX: 46, pcbY: -8, pcbRotation: 90 }), jsxRuntime.jsx(WJ500V_5_08_2P, { name: "J_M4", pcbX: 46, pcbY: -23, pcbRotation: 90 }), jsxRuntime.jsx(LTST_C19HE1WT, { name: "LED_STATUS", pcbX: -5, pcbY: 16, noConnect: ["B_NEG"], connections: { _POS: "net.V3V3" } }), jsxRuntime.jsx(R, { name: "R_LED_FAULT", resistance: "1k", footprint: "0402", jlcpcb: "C11702", pcbX: -1, pcbY: 18, connections: { pin1: ".LED_STATUS > .R_NEG", pin2: "net.DRIVERS_FAULT" } }), jsxRuntime.jsx(R, { name: "R_LED_POWER", resistance: "1k", footprint: "0402", jlcpcb: "C11702", pcbX: -1, pcbY: 15, connections: { pin1: ".LED_STATUS > .G_NEG", pin2: "net.GND" } }), jsxRuntime.jsx("trace", { name: "PD_INPUT_HEAVY", from: ".J_POWER > .VBUS1", to: ".F1 > .pin1", thickness: "1mm" }), jsxRuntime.jsx("trace", { name: "FUSE_TO_DIODE_HEAVY", from: ".F1 > .pin2", to: ".D_REVERSE > .anode", thickness: "1mm" }), jsxRuntime.jsx("trace", { name: "VMOTOR_HEAVY", from: ".D_REVERSE > .cathode", to: "net.VMOTOR", thickness: "1mm" }), jsxRuntime.jsx("trace", { name: "M1_OUT_A", from: ".U_DRV12 > .OUT1", to: ".J_M1 > .pin1", thickness: "0.8mm" }), jsxRuntime.jsx("trace", { name: "M1_OUT_B", from: ".U_DRV12 > .OUT2", to: ".J_M1 > .pin2", thickness: "0.8mm" }), jsxRuntime.jsx("trace", { name: "M2_OUT_A", from: ".U_DRV12 > .OUT3", to: ".J_M2 > .pin1", thickness: "0.8mm" }), jsxRuntime.jsx("trace", { name: "M2_OUT_B", from: ".U_DRV12 > .OUT4", to: ".J_M2 > .pin2", thickness: "0.8mm" }), jsxRuntime.jsx("trace", { name: "M3_OUT_A", from: ".U_DRV34 > .OUT1", to: ".J_M3 > .pin1", thickness: "0.8mm" }), jsxRuntime.jsx("trace", { name: "M3_OUT_B", from: ".U_DRV34 > .OUT2", to: ".J_M3 > .pin2", thickness: "0.8mm" }), jsxRuntime.jsx("trace", { name: "M4_OUT_A", from: ".U_DRV34 > .OUT3", to: ".J_M4 > .pin1", thickness: "0.8mm" }), jsxRuntime.jsx("trace", { name: "M4_OUT_B", from: ".U_DRV34 > .OUT4", to: ".J_M4 > .pin2", thickness: "0.8mm" }), jsxRuntime.jsx(MountingHole, { name: "MH1", pcbX: -44, pcbY: 29 }), jsxRuntime.jsx(MountingHole, { name: "MH2", pcbX: 38, pcbY: 30 }), jsxRuntime.jsx(MountingHole, { name: "MH3", pcbX: -44, pcbY: -27 }), jsxRuntime.jsx(MountingHole, { name: "MH4", pcbX: 38, pcbY: -30 }), jsxRuntime.jsx("silkscreentext", { text: "USB DATA", pcbX: -36, pcbY: -27, fontSize: "1.2mm" }), jsxRuntime.jsx("silkscreentext", { text: "15V USB-PD", pcbX: -16, pcbY: -27, fontSize: "1.2mm" }), jsxRuntime.jsx("silkscreentext", { text: "4x DC MOTOR CONTROLLER / 0.5A PER MOTOR", pcbX: 8, pcbY: 32, fontSize: "1.2mm" }), jsxRuntime.jsx("silkscreentext", { text: "M1", pcbX: 43, pcbY: 22, fontSize: "1.1mm" }), jsxRuntime.jsx("silkscreentext", { text: "M2", pcbX: 43, pcbY: 7, fontSize: "1.1mm" }), jsxRuntime.jsx("silkscreentext", { text: "M3", pcbX: 43, pcbY: -8, fontSize: "1.1mm" }), jsxRuntime.jsx("silkscreentext", { text: "M4", pcbX: 43, pcbY: -23, fontSize: "1.1mm" }), jsxRuntime.jsx("silkscreentext", { text: "DRV8847 x2 / ESP32-C3", pcbX: 9, pcbY: 29, fontSize: "0.9mm" })] }));
}
module.exports = UsbPdQuadDcMotorController;