seveibar/usbc-pd-charger
This code defines and assembles a hardware schematic of an 18W USB-C PD wall charger with mains input, protection, high-voltage isolation, a DC buck converter with switching regulator, filtering, and USB-C output with ESD protection.
- Version
- 1.0.2
- License
- unset
- Stars
- 0
dist/index.cjs
'use strict';
var jsxRuntime = require('react/jsx-runtime');
const pinLabels$9 = {
pin1: ["pin1"],
pin2: ["pin2"]
};
const A_2010T1A250V = (props) => {
return (jsxRuntime.jsx("chip", { pinLabels: pinLabels$9, symbol: jsxRuntime.jsxs("symbol", { children: [jsxRuntime.jsx("schematictext", { schX: -0.44, schY: 0.21, text: "{NAME}", fontSize: 0.18, anchor: "left", color: "#006464" }), jsxRuntime.jsx("schematicrect", { schX: 0, schY: 0, width: 0.4, height: 0.16, color: "#A00000", strokeWidth: 0.02 }), jsxRuntime.jsx("port", { name: "pin2", pinNumber: 2, aliases: ["2"], direction: "right", schX: 0.4, schY: 0, schStemLength: 0.2 }), jsxRuntime.jsx("port", { name: "pin1", pinNumber: 1, aliases: ["1"], direction: "left", schX: -0.4, schY: 0, schStemLength: 0.2 }), jsxRuntime.jsx("schematicpath", { points: [{ "x": -0.2, "y": 0 }, { "x": 0.2, "y": 0 }], strokeColor: "#880000" })] }), supplierPartNumbers: {
"jlcpcb": [
"C354900"
]
}, manufacturerPartNumber: "2010T1A250V", footprint: jsxRuntime.jsxs("footprint", { children: [jsxRuntime.jsx("platedhole", { portHints: ["pin1"], pcbX: "-2.54mm", pcbY: "0mm", outerDiameter: "1.7999964mm", holeDiameter: "0.999998mm", shape: "circle" }), jsxRuntime.jsx("platedhole", { portHints: ["pin2"], pcbX: "2.54mm", pcbY: "0mm", outerDiameter: "1.7999964mm", holeDiameter: "0.999998mm", shape: "circle" }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -4.249978800000008, "y": 1.99999600000001 }, { "x": 4.250029599999948, "y": 1.99999600000001 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 4.250029599999948, "y": 1.99999600000001 }, { "x": 4.250029599999948, "y": -1.9999959999998964 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 4.250004199999921, "y": -1.9999959999998964 }, { "x": -4.250004200000149, "y": -1.9999959999998964 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -4.250004200000149, "y": -1.9999959999998964 }, { "x": -4.250004200000149, "y": 1.99999600000001 }] }), jsxRuntime.jsx("silkscreentext", { text: "{NAME}", pcbX: "-0.0254mm", pcbY: "3.0066mm", anchorAlignment: "center", fontSize: "1mm" }), jsxRuntime.jsx("courtyardoutline", { outline: [{ "x": -4.542599999999993, "y": 2.2566000000001623 }, { "x": 4.491799999999898, "y": 2.2566000000001623 }, { "x": 4.491799999999898, "y": -2.2819999999999254 }, { "x": -4.542599999999993, "y": -2.2819999999999254 }, { "x": -4.542599999999993, "y": 2.2566000000001623 }] })] }), cadModel: {
objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C354900.obj?uuid=6842cf7d0e914ff8945ad05eb706165d",
stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C354900.step?uuid=6842cf7d0e914ff8945ad05eb706165d",
pcbRotationOffset: 0,
modelOriginPosition: { x: 0.000012700000070253736, y: 0, z: -6999999999646178e-21 },
}, ...props }));
};
const A_7447709680 = (props) => {
return (jsxRuntime.jsx("inductor", { inductance: "68uH", supplierPartNumbers: {
"jlcpcb": [
"C5155055"
]
}, manufacturerPartNumber: "7447709680", footprint: jsxRuntime.jsxs("footprint", { children: [jsxRuntime.jsx("smtpad", { portHints: ["pin1"], pcbX: "-5.0999898mm", pcbY: "0mm", width: "3.499993mm", height: "5.3999892mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin2"], pcbX: "5.0999898mm", pcbY: "0mm", width: "3.499993mm", height: "5.3999892mm", shape: "rect" }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 5.999988000000002, "y": -5.999988000000002 }, { "x": 6.0064649999999915, "y": -3.2579309999999992 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -5.999988000000002, "y": -5.999988000000002 }, { "x": -6.018784000000011, "y": -3.2579309999999992 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 6.0085731999999865, "y": 3.281934000000007 }, { "x": 6.026734199999993, "y": 5.979922000000002 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -6.007734999999997, "y": 3.2203136000000114 }, { "x": -5.999988000000002, "y": 5.999988000000016 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -5.999988000000002, "y": 5.999988000000016 }, { "x": 5.999988000000002, "y": 5.999988000000016 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -5.999988000000002, "y": -5.999988000000002 }, { "x": 5.999988000000002, "y": -5.999988000000002 }] }), jsxRuntime.jsx("silkscreentext", { text: "{NAME}", pcbX: "-0.000635mm", pcbY: "7.096mm", anchorAlignment: "center", fontSize: "1mm" }), jsxRuntime.jsx("courtyardoutline", { outline: [{ "x": -7.095934999999997, "y": 6.346000000000004 }, { "x": 7.094664999999992, "y": 6.346000000000004 }, { "x": 7.094664999999992, "y": -6.345999999999989 }, { "x": -7.095934999999997, "y": -6.345999999999989 }, { "x": -7.095934999999997, "y": 6.346000000000004 }] })] }), cadModel: {
objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C5155055.obj?uuid=4b24542e605e42cd8d2c360af4467b39",
stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C5155055.step?uuid=4b24542e605e42cd8d2c360af4467b39",
pcbRotationOffset: 90,
modelOriginPosition: { x: 0, y: 0, z: -0.2 },
}, ...props }));
};
const pinLabels$8 = {
pin1: ["LINE", "L"],
pin2: ["NEUTRAL", "N"],
};
/**
* TE Connectivity 282838-2 (JLCPCB C5168775), a direct wire-to-board
* 2-position screw terminal rated 600 Vac / 13.5 A.
*
* `tsci import` currently emits terminal blocks as generic chips. Preserve its
* exact 10 mm / 1.4 mm copper geometry and JLCPCB CAD model, then add the body,
* courtyard, insertion direction, and connector semantics it omitted.
*/
const WireTerminal = (props) => {
return (jsxRuntime.jsx("connector", { pinCount: 2, pinLabels: pinLabels$8, supplierPartNumbers: {
jlcpcb: ["C5168775"],
}, manufacturerPartNumber: "282838-2", footprint: jsxRuntime.jsxs("footprint", { insertionDirection: "from_bottom", children: [jsxRuntime.jsx("platedhole", { portHints: ["pin1"], pcbX: "-5mm", holeDiameter: "1.4mm", outerDiameter: "2mm", shape: "circle" }), jsxRuntime.jsx("platedhole", { portHints: ["pin2"], pcbX: "5mm", holeDiameter: "1.4mm", outerDiameter: "2mm", shape: "circle" }), jsxRuntime.jsx("silkscreenrect", { pcbX: 0, pcbY: 0, width: "15.6mm", height: "8.2mm" }), jsxRuntime.jsx("silkscreentext", { text: "{NAME}", pcbX: 0, pcbY: "5.2mm", fontSize: "1mm" }), jsxRuntime.jsx("courtyardoutline", { outline: [
{ x: -8.1, y: -4.4 },
{ x: 8.1, y: -4.4 },
{ x: 8.1, y: 4.4 },
{ x: -8.1, y: 4.4 },
{ x: -8.1, y: -4.4 },
] })] }), cadModel: {
objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C5168775.obj?uuid=9a6b3086fd7f411fa88414530c0a6a94",
stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C5168775.step?uuid=9a6b3086fd7f411fa88414530c0a6a94",
pcbRotationOffset: 0,
modelOriginPosition: {
x: 0.3049993999999332,
y: 0,
z: -6999999999646178e-21,
},
}, ...props }));
};
const pinLabels$7 = {
pin1: ["pin1"],
pin2: ["pin2"]
};
const ESDA25P35_1U1M = (props) => {
return (jsxRuntime.jsx("chip", { pinLabels: pinLabels$7, symbol: jsxRuntime.jsxs("symbol", { children: [jsxRuntime.jsx("schematicpath", { points: [{ "x": -0.2, "y": 0.14 }, { "x": -0.2, "y": -0.14 }], strokeColor: "#880000" }), jsxRuntime.jsx("schematicpath", { svgPath: "M 0 0.12 L -0.2 0 L 0 -0.14 Z", strokeColor: "#880000", isFilled: true, fillColor: "#880000" }), jsxRuntime.jsx("port", { name: "pin1", pinNumber: 1, aliases: ["1"], direction: "left", schX: -0.5, schY: 0, schStemLength: 0.3 }), jsxRuntime.jsx("port", { name: "pin2", pinNumber: 2, aliases: ["2"], direction: "right", schX: 0.3, schY: 0, schStemLength: 0.3 })] }), supplierPartNumbers: {
"jlcpcb": [
"C1974707"
]
}, manufacturerPartNumber: "ESDA25P35-1U1M", footprint: jsxRuntime.jsxs("footprint", { children: [jsxRuntime.jsx("smtpad", { portHints: ["pin2"], pcbX: "0.524891mm", pcbY: "0mm", width: "0.5999988mm", height: "0.8999982mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin1"], pcbX: "-0.524891mm", pcbY: "0mm", width: "0.5999988mm", height: "0.8999982mm", shape: "rect" }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 1.1500103999999283, "y": 0.6999223999999913 }, { "x": 1.1500103999999283, "y": -0.7000747999999248 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -1.3999972000001435, "y": 0.6999223999999913 }, { "x": 1.1500103999999283, "y": 0.6999223999999913 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -1.3999972000001435, "y": -0.7000747999999248 }, { "x": 1.1500103999999283, "y": -0.7000747999999248 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -1.1500104000001556, "y": 0.6999223999999913 }, { "x": -1.1500104000001556, "y": -0.7000747999999248 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -1.3999972000001435, "y": 0.6999223999999913 }, { "x": -1.3999972000001435, "y": -0.7000747999999248 }] }), jsxRuntime.jsx("silkscreentext", { text: "{NAME}", pcbX: "-0.127635mm", pcbY: "1.688848mm", anchorAlignment: "center", fontSize: "1mm" }), jsxRuntime.jsx("courtyardoutline", { outline: [{ "x": -1.6476350000000366, "y": 0.9388480000000072 }, { "x": 1.392364999999927, "y": 0.9388480000000072 }, { "x": 1.392364999999927, "y": -0.958152000000041 }, { "x": -1.6476350000000366, "y": -0.958152000000041 }, { "x": -1.6476350000000366, "y": 0.9388480000000072 }] })] }), cadModel: {
objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C1974707.obj?uuid=f410d8974c0443bc9ff656f954d8e306",
stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C1974707.step?uuid=f410d8974c0443bc9ff656f954d8e306",
pcbRotationOffset: 0,
modelOriginPosition: { x: 0, y: 0.0000762000000804619, z: -0.02 },
}, ...props }));
};
const pinLabels$6 = {
pin1: ["pin1"],
pin2: ["VNEG"],
pin3: ["VPOS"],
pin4: ["pin4"]
};
const IRM_20_24 = (props) => {
return (jsxRuntime.jsx("chip", { pinLabels: pinLabels$6, supplierPartNumbers: {
"jlcpcb": [
"C194964"
]
}, manufacturerPartNumber: "IRM-20-24", footprint: jsxRuntime.jsxs("footprint", { children: [jsxRuntime.jsx("platedhole", { portHints: ["pin1"], pcbX: "-22.499955mm", pcbY: "-10.40003mm", outerDiameter: "2.1999956mm", holeDiameter: "1.5000224mm", shape: "circle" }), jsxRuntime.jsx("platedhole", { portHints: ["pin2"], pcbX: "22.499955mm", pcbY: "-10.40003mm", outerDiameter: "2.1999956mm", holeDiameter: "1.5000224mm", shape: "circle" }), jsxRuntime.jsx("platedhole", { portHints: ["pin3"], pcbX: "22.499955mm", pcbY: "-2.400046mm", outerDiameter: "2.1999956mm", holeDiameter: "1.5000224mm", shape: "circle" }), jsxRuntime.jsx("platedhole", { portHints: ["pin4"], pcbX: "-22.499955mm", pcbY: "10.40003mm", outerDiameter: "2.1999956mm", holeDiameter: "1.5000224mm", shape: "circle" }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -26.000201999999945, "y": -13.599972800000046 }, { "x": 26.39976939999997, "y": -13.599972800000046 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -26.000201999999945, "y": -13.599972800000046 }, { "x": -26.000201999999945, "y": 13.599972799999932 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 26.39976939999997, "y": 13.599972799999932 }, { "x": -26.000201999999945, "y": 13.599972799999932 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 26.39976939999997, "y": 13.599972799999932 }, { "x": 26.39976939999997, "y": -13.599972800000046 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -21.140038999999888, "y": -11.937999999999988 }, { "x": -21.14855536268044, "y": -12.002688196856752 }, { "x": -21.173524074679676, "y": -12.062968000000069 }, { "x": -21.213243559537204, "y": -12.114731440462492 }, { "x": -21.265006999999855, "y": -12.154450925320248 }, { "x": -21.32528680314317, "y": -12.17941963731937 }, { "x": -21.389974999999936, "y": -12.187936000000036 }, { "x": -21.4546631968567, "y": -12.17941963731937 }, { "x": -21.514943000000017, "y": -12.154450925320248 }, { "x": -21.566706440462667, "y": -12.114731440462492 }, { "x": -21.606425925320195, "y": -12.062968000000069 }, { "x": -21.63139463731943, "y": -12.002688196856752 }, { "x": -21.639910999999984, "y": -11.937999999999988 }, { "x": -21.63139463731943, "y": -11.873311803143224 }, { "x": -21.606425925320195, "y": -11.813031999999907 }, { "x": -21.566706440462667, "y": -11.761268559537257 }, { "x": -21.514943000000017, "y": -11.721549074679729 }, { "x": -21.4546631968567, "y": -11.696580362680493 }, { "x": -21.389974999999936, "y": -11.68806399999994 }, { "x": -21.32528680314317, "y": -11.696580362680493 }, { "x": -21.265006999999855, "y": -11.721549074679729 }, { "x": -21.213243559537204, "y": -11.761268559537257 }, { "x": -21.173524074679676, "y": -11.813031999999907 }, { "x": -21.14855536268044, "y": -11.873311803143224 }, { "x": -21.140038999999888, "y": -11.937999999999988 }] }), jsxRuntime.jsx("silkscreentext", { text: "{NAME}", pcbX: "0.263271mm", pcbY: "14.589mm", anchorAlignment: "center", fontSize: "1mm" }), jsxRuntime.jsx("courtyardoutline", { outline: [{ "x": -26.23762899999997, "y": 13.839000000000055 }, { "x": 26.764171000000033, "y": 13.839000000000055 }, { "x": 26.764171000000033, "y": -13.889799999999923 }, { "x": -26.23762899999997, "y": -13.889799999999923 }, { "x": -26.23762899999997, "y": 13.839000000000055 }] })] }), cadModel: {
objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C194964.obj?uuid=99d6f4eecc8244d6a7fc53960f7fc2de",
stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C194964.step?uuid=99d6f4eecc8244d6a7fc53960f7fc2de",
pcbRotationOffset: 0,
modelOriginPosition: { x: -0.19999959999995554, y: 0.0005005000000002369, z: -12.100006 },
}, ...props }));
};
const pinLabels$5 = {
pin1: ["pin1"],
pin2: ["pin2"]
};
const MOV_14D471K = (props) => {
return (jsxRuntime.jsx("chip", { pinLabels: pinLabels$5, symbol: jsxRuntime.jsxs("symbol", { children: [jsxRuntime.jsx("schematictext", { schX: -0.44, schY: 0.25, text: "{NAME}", fontSize: 0.18, anchor: "left", color: "#006464" }), jsxRuntime.jsx("schematicpath", { points: [{ "x": 0.2, "y": 0.12 }, { "x": 0.12, "y": 0.12 }], strokeColor: "#880000" }), jsxRuntime.jsx("schematicrect", { schX: 0, schY: 0, width: 0.4, height: 0.16, color: "#880000", strokeWidth: 0.02 }), jsxRuntime.jsx("schematicpath", { points: [{ "x": -0.2, "y": -0.12 }, { "x": -0.12, "y": -0.12 }], strokeColor: "#880000" }), jsxRuntime.jsx("schematicpath", { points: [{ "x": 0.12, "y": 0.12 }, { "x": -0.12, "y": -0.12 }], 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": [
"C1527439"
]
}, manufacturerPartNumber: "MOV-14D471K", footprint: jsxRuntime.jsxs("footprint", { children: [jsxRuntime.jsx("platedhole", { portHints: ["pin1"], pcbX: "-3.750056mm", pcbY: "1.199896mm", outerDiameter: "1.7999964mm", holeDiameter: "1.199896mm", shape: "circle" }), jsxRuntime.jsx("platedhole", { portHints: ["pin2"], pcbX: "3.750056mm", pcbY: "-1.199896mm", outerDiameter: "1.7999964mm", holeDiameter: "1.199896mm", shape: "circle" }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -8.29995800000006, "y": 2.699994600000082 }, { "x": 8.29995800000006, "y": 2.699994600000082 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 8.29995800000006, "y": 2.699994600000082 }, { "x": 8.29995800000006, "y": -2.699994599999968 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 8.29995800000006, "y": -2.699994599999968 }, { "x": -8.29995800000006, "y": -2.699994599999968 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -8.29995800000006, "y": -2.699994599999968 }, { "x": -8.29995800000006, "y": 2.699994600000082 }] }), jsxRuntime.jsx("silkscreentext", { text: "{NAME}", pcbX: "0mm", pcbY: "3.7178mm", anchorAlignment: "center", fontSize: "1mm" }), jsxRuntime.jsx("courtyardoutline", { outline: [{ "x": -8.55580000000009, "y": 2.967800000000011 }, { "x": 8.55580000000009, "y": 2.967800000000011 }, { "x": 8.55580000000009, "y": -2.967800000000125 }, { "x": -8.55580000000009, "y": -2.967800000000125 }, { "x": -8.55580000000009, "y": 2.967800000000011 }] })] }), cadModel: {
objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C1527439.obj?uuid=4fde5b87db414f8a9aff6ac2ffee6467",
stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C1527439.step?uuid=4fde5b87db414f8a9aff6ac2ffee6467",
pcbRotationOffset: 0,
modelOriginPosition: { x: 0.000012700000070253736, y: 0, z: -11.50001 },
}, ...props }));
};
const pinLabels$4 = {
pin1: ["S1"],
pin2: ["G1"],
pin3: ["S2"],
pin4: ["G2"],
pin5: ["D21"],
pin6: ["D22"],
pin7: ["D11"],
pin8: ["D12"]
};
const SI4925DDY_T1_GE3 = (props) => {
return (jsxRuntime.jsx("chip", { pinLabels: pinLabels$4, supplierPartNumbers: {
"jlcpcb": [
"C469464"
]
}, manufacturerPartNumber: "SI4925DDY-T1-GE3", footprint: jsxRuntime.jsxs("footprint", { children: [jsxRuntime.jsx("smtpad", { portHints: ["pin3"], pcbX: "0.635mm", pcbY: "-2.450084mm", width: "0.5999988mm", height: "1.7999964mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin4"], pcbX: "1.905mm", pcbY: "-2.450084mm", width: "0.5999988mm", height: "1.7999964mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin2"], pcbX: "-0.635mm", pcbY: "-2.450084mm", width: "0.5999988mm", height: "1.7999964mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin1"], pcbX: "-1.905mm", pcbY: "-2.450084mm", width: "0.5999988mm", height: "1.7999964mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin5"], pcbX: "1.905mm", pcbY: "2.450084mm", width: "0.5999988mm", height: "1.7999964mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin6"], pcbX: "0.635mm", pcbY: "2.450084mm", width: "0.5999988mm", height: "1.7999964mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin7"], pcbX: "-0.635mm", pcbY: "2.450084mm", width: "0.5999988mm", height: "1.7999964mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin8"], pcbX: "-1.905mm", pcbY: "2.450084mm", width: "0.5999988mm", height: "1.7999964mm", shape: "rect" }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -2.5400000000000773, "y": 1.9049999999999727 }, { "x": -2.5400000000000773, "y": -1.9049999999999727 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 2.5399999999999636, "y": 1.9049999999999727 }, { "x": 2.5399999999999636, "y": -1.9049999999999727 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -2.8910280000000057, "y": -1.7779999999999063 }, { "x": -2.9007041112571414, "y": -1.8514973618758859 }, { "x": -2.9290730340366053, "y": -1.919986000000108 }, { "x": -2.9742014731330073, "y": -1.9787985268669672 }, { "x": -3.03301399999998, "y": -2.023926965963483 }, { "x": -3.1015026381242023, "y": -2.0522958887429468 }, { "x": -3.1749999999999545, "y": -2.061971999999969 }, { "x": -3.248497361875934, "y": -2.0522958887429468 }, { "x": -3.3169860000001563, "y": -2.023926965963483 }, { "x": -3.375798526867129, "y": -1.9787985268669672 }, { "x": -3.4209269659636448, "y": -1.919986000000108 }, { "x": -3.449295888742995, "y": -1.8514973618758859 }, { "x": -3.458972000000017, "y": -1.7779999999999063 }, { "x": -3.449295888742995, "y": -1.7045026381241541 }, { "x": -3.4209269659636448, "y": -1.636013999999932 }, { "x": -3.375798526867129, "y": -1.5772014731328454 }, { "x": -3.3169860000001563, "y": -1.5320730340365571 }, { "x": -3.248497361875934, "y": -1.5037041112570932 }, { "x": -3.1749999999999545, "y": -1.4940279999999575 }, { "x": -3.1015026381242023, "y": -1.5037041112570932 }, { "x": -3.03301399999998, "y": -1.5320730340365571 }, { "x": -2.9742014731330073, "y": -1.5772014731328454 }, { "x": -2.9290730340366053, "y": -1.636013999999932 }, { "x": -2.9007041112571414, "y": -1.7045026381241541 }, { "x": -2.8910280000000057, "y": -1.7779999999999063 }] }), jsxRuntime.jsx("silkscreentext", { text: "{NAME}", pcbX: "-0.4572mm", pcbY: "4.3528mm", anchorAlignment: "center", fontSize: "1mm" }), jsxRuntime.jsx("courtyardoutline", { outline: [{ "x": -3.704400000000078, "y": 3.6027999999998883 }, { "x": 2.7899999999999636, "y": 3.6027999999998883 }, { "x": 2.7899999999999636, "y": -3.704399999999964 }, { "x": -3.704400000000078, "y": -3.704399999999964 }, { "x": -3.704400000000078, "y": 3.6027999999998883 }] })] }), cadModel: {
objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C469464.obj?uuid=e3b253c99fe6456e9f120c6035859cd8",
stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C469464.step?uuid=e3b253c99fe6456e9f120c6035859cd8",
pcbRotationOffset: 0,
modelOriginPosition: { x: -12700000070253736e-21, y: 0, z: -0.85 },
}, ...props }));
};
const pinLabels$3 = {
pin1: ["BOOT"],
pin2: ["PG"],
pin3: ["EN1"],
pin4: ["FB"],
pin5: ["EN2"],
pin6: ["GND"],
pin7: ["VIN"],
pin8: ["SW"],
pin9: ["PAD"]
};
const ST1S14PHR = (props) => {
return (jsxRuntime.jsx("chip", { pinLabels: pinLabels$3, supplierPartNumbers: {
"jlcpcb": [
"C84130"
]
}, manufacturerPartNumber: "ST1S14PHR", footprint: jsxRuntime.jsxs("footprint", { children: [jsxRuntime.jsx("smtpad", { portHints: ["pin1"], pcbX: "-1.905mm", pcbY: "-2.769108mm", width: "0.5739892mm", height: "2.0379944mm", radius: "0.2869946mm", shape: "pill" }), jsxRuntime.jsx("smtpad", { portHints: ["pin2"], pcbX: "-0.635mm", pcbY: "-2.769108mm", width: "0.5739892mm", height: "2.0379944mm", radius: "0.2869946mm", shape: "pill" }), jsxRuntime.jsx("smtpad", { portHints: ["pin3"], pcbX: "0.635mm", pcbY: "-2.769108mm", width: "0.5739892mm", height: "2.0379944mm", radius: "0.2869946mm", shape: "pill" }), jsxRuntime.jsx("smtpad", { portHints: ["pin4"], pcbX: "1.905mm", pcbY: "-2.769108mm", width: "0.5739892mm", height: "2.0379944mm", radius: "0.2869946mm", shape: "pill" }), jsxRuntime.jsx("smtpad", { portHints: ["pin8"], pcbX: "-1.905mm", pcbY: "2.769108mm", width: "0.5739892mm", height: "2.0379944mm", radius: "0.2869946mm", shape: "pill" }), jsxRuntime.jsx("smtpad", { portHints: ["pin7"], pcbX: "-0.635mm", pcbY: "2.769108mm", width: "0.5739892mm", height: "2.0379944mm", radius: "0.2869946mm", shape: "pill" }), jsxRuntime.jsx("smtpad", { portHints: ["pin6"], pcbX: "0.635mm", pcbY: "2.769108mm", width: "0.5739892mm", height: "2.0379944mm", radius: "0.2869946mm", shape: "pill" }), jsxRuntime.jsx("smtpad", { portHints: ["pin5"], pcbX: "1.905mm", pcbY: "2.769108mm", width: "0.5739892mm", height: "2.0379944mm", radius: "0.2869946mm", shape: "pill" }), jsxRuntime.jsx("smtpad", { portHints: ["pin9"], pcbX: "0mm", pcbY: "0mm", width: "3.1999936mm", height: "2.3999952mm", shape: "rect" }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -2.5262078000000656, "y": -1.5214091999999937 }, { "x": -2.5262078000000656, "y": 1.5214092000001074 }, { "x": 2.526207799999952, "y": 1.5214092000001074 }, { "x": 2.526207799999952, "y": -1.5214091999999937 }, { "x": -2.5262078000000656, "y": -1.5214091999999937 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -1.8818860000001223, "y": -1.0159999999999627 }, { "x": -1.887001010512563, "y": -1.0548523621365575 }, { "x": -1.9019974625363147, "y": -1.0910570000000916 }, { "x": -1.9258533726489304, "y": -1.1221466273509577 }, { "x": -1.9569430000000239, "y": -1.1460025374635734 }, { "x": -1.993147637863558, "y": -1.1609989894875525 }, { "x": -2.032000000000039, "y": -1.1661139999999932 }, { "x": -2.070852362136634, "y": -1.1609989894875525 }, { "x": -2.107057000000168, "y": -1.1460025374635734 }, { "x": -2.138146627351034, "y": -1.1221466273509577 }, { "x": -2.16200253746365, "y": -1.0910570000000916 }, { "x": -2.176998989487629, "y": -1.0548523621365575 }, { "x": -2.1821140000000696, "y": -1.0159999999999627 }, { "x": -2.176998989487629, "y": -0.9771476378634816 }, { "x": -2.16200253746365, "y": -0.9409429999999475 }, { "x": -2.138146627351034, "y": -0.909853372648854 }, { "x": -2.107057000000168, "y": -0.8859974625362383 }, { "x": -2.070852362136634, "y": -0.8710010105124866 }, { "x": -2.032000000000039, "y": -0.8658860000000459 }, { "x": -1.993147637863558, "y": -0.8710010105124866 }, { "x": -1.9569430000000239, "y": -0.8859974625362383 }, { "x": -1.9258533726489304, "y": -0.909853372648854 }, { "x": -1.9019974625363147, "y": -0.9409429999999475 }, { "x": -1.887001010512563, "y": -0.9771476378634816 }, { "x": -1.8818860000001223, "y": -1.0159999999999627 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -2.494280000000117, "y": -2.76910799999996 }, { "x": -2.499395010512444, "y": -2.8079603621364413 }, { "x": -2.514391462536423, "y": -2.844165000000089 }, { "x": -2.538247372649039, "y": -2.875254627351069 }, { "x": -2.569336999999905, "y": -2.8991105374636845 }, { "x": -2.605541637863439, "y": -2.91410698948755 }, { "x": -2.644394000000034, "y": -2.919221999999877 }, { "x": -2.683246362136515, "y": -2.91410698948755 }, { "x": -2.719451000000163, "y": -2.8991105374636845 }, { "x": -2.7505406273511426, "y": -2.875254627351069 }, { "x": -2.7743965374637582, "y": -2.844165000000089 }, { "x": -2.7893929894876237, "y": -2.8079603621364413 }, { "x": -2.7945079999999507, "y": -2.76910799999996 }, { "x": -2.7893929894876237, "y": -2.7302556378633653 }, { "x": -2.7743965374637582, "y": -2.694050999999945 }, { "x": -2.7505406273511426, "y": -2.6629613726488515 }, { "x": -2.719451000000163, "y": -2.639105462536236 }, { "x": -2.683246362136515, "y": -2.624109010512484 }, { "x": -2.644394000000034, "y": -2.6189940000000433 }, { "x": -2.605541637863439, "y": -2.624109010512484 }, { "x": -2.569336999999905, "y": -2.639105462536236 }, { "x": -2.538247372649039, "y": -2.6629613726488515 }, { "x": -2.514391462536423, "y": -2.694050999999945 }, { "x": -2.499395010512444, "y": -2.7302556378633653 }, { "x": -2.494280000000117, "y": -2.76910799999996 }] }), jsxRuntime.jsx("silkscreentext", { text: "{NAME}", pcbX: "-0.1397mm", pcbY: "4.5052mm", anchorAlignment: "center", fontSize: "1mm" }), jsxRuntime.jsx("courtyardoutline", { outline: [{ "x": -3.0439999999999827, "y": 3.7552000000001726 }, { "x": 2.764599999999973, "y": 3.7552000000001726 }, { "x": 2.764599999999973, "y": -3.80600000000004 }, { "x": -3.0439999999999827, "y": -3.80600000000004 }, { "x": -3.0439999999999827, "y": 3.7552000000001726 }] })] }), cadModel: {
objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C84130.obj?uuid=bc65995474e34a35a984be00a21713ca",
stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C84130.step?uuid=bc65995474e34a35a984be00a21713ca",
pcbRotationOffset: 90,
modelOriginPosition: { x: -12700000070253736e-21, y: 0.000012700000070253736, z: -0.099425 },
}, ...props }));
};
const pinLabels$2 = {
pin1: ["cathode", "neg"],
pin2: ["anode", "pos"]
};
const STPS3L60U = (props) => {
const { name = "D1", ...restProps } = props;
return (jsxRuntime.jsx("diode", { name: name, pinLabels: pinLabels$2, supplierPartNumbers: {
"jlcpcb": [
"C132769"
]
}, manufacturerPartNumber: "STPS3L60U", footprint: jsxRuntime.jsxs("footprint", { children: [jsxRuntime.jsx("smtpad", { portHints: ["pin2", "anode", "pos"], pcbX: "2.360676mm", pcbY: "0mm", width: "2.047494mm", height: "2.192401mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin1", "cathode", "neg"], pcbX: "-2.360676mm", pcbY: "0mm", width: "2.047494mm", height: "2.192401mm", shape: "rect" }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -1.0160000000000764, "y": 1.8862040000000206 }, { "x": -1.0160000000000764, "y": -1.886203999999907 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -2.7437080000000833, "y": 1.8862040000000206 }, { "x": 2.7437079999999696, "y": 1.8862040000000206 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -2.7437080000000833, "y": -1.886203999999907 }, { "x": 2.7437079999999696, "y": -1.886203999999907 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 2.7437079999999696, "y": 1.8862040000000206 }, { "x": 2.7437079999999696, "y": 1.2993877999999768 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 2.7437079999999696, "y": -1.886203999999907 }, { "x": 2.7437079999999696, "y": -1.2993877999999768 }] }), jsxRuntime.jsx("silkscreentext", { text: "{NAME}", pcbX: "0mm", pcbY: "2.9558mm", anchorAlignment: "center", fontSize: "1mm" }), jsxRuntime.jsx("courtyardoutline", { outline: [{ "x": -3.6282000000001062, "y": 2.2058000000000675 }, { "x": 3.628199999999879, "y": 2.2058000000000675 }, { "x": 3.628199999999879, "y": -2.231200000000058 }, { "x": -3.6282000000001062, "y": -2.231200000000058 }, { "x": -3.6282000000001062, "y": 2.2058000000000675 }] })] }), cadModel: {
objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C132769.obj?uuid=892cc756ed79448ab4afad0e5bfcdfa6",
stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C132769.step?uuid=892cc756ed79448ab4afad0e5bfcdfa6",
pcbRotationOffset: 0,
modelOriginPosition: { x: 0, y: 0, z: -0.1 },
}, ...restProps }));
};
const pinLabels$1 = {
pin1: ["IN"],
pin2: ["NC"],
pin3: ["GND1"],
pin4: ["GND2"],
pin5: ["OUT"]
};
const TPS7B6933QDBVRQ1 = (props) => {
return (jsxRuntime.jsx("chip", { pinLabels: pinLabels$1, supplierPartNumbers: {
"jlcpcb": [
"C781801"
]
}, manufacturerPartNumber: "TPS7B6933QDBVRQ1", footprint: jsxRuntime.jsxs("footprint", { children: [jsxRuntime.jsx("smtpad", { portHints: ["pin1"], pcbX: "-0.94996mm", pcbY: "-1.15817015mm", width: "0.4899914mm", height: "1.1569954mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin2"], pcbX: "0mm", pcbY: "-1.15817015mm", width: "0.4899914mm", height: "1.1569954mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin3"], pcbX: "0.94996mm", pcbY: "-1.15817015mm", width: "0.4899914mm", height: "1.1569954mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin4"], pcbX: "0.94996mm", pcbY: "1.14916585mm", width: "0.4899914mm", height: "1.175004mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin5"], pcbX: "-0.94996mm", pcbY: "1.14916585mm", width: "0.4899914mm", height: "1.175004mm", shape: "rect" }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -1.5262098000000606, "y": -0.8557069500000125 }, { "x": -1.5262098000000606, "y": 0.8467026499999974 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 1.5262097999998332, "y": -0.8557069500000125 }, { "x": 1.5262097999998332, "y": 0.8467026499999974 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 0.4764023999998699, "y": 0.8467026499999974 }, { "x": -0.4764023999999836, "y": 0.8467026499999974 }] }), jsxRuntime.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 }] }), jsxRuntime.jsx("silkscreentext", { text: "{NAME}", pcbX: "-0.1397mm", pcbY: "2.74809785mm", anchorAlignment: "center", fontSize: "1mm" }), jsxRuntime.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/C781801.obj?uuid=460193f9bf2d42e58cf3c2f675b07dc6",
stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C781801.step?uuid=460193f9bf2d42e58cf3c2f675b07dc6",
pcbRotationOffset: 90,
modelOriginPosition: { x: 0.004489450000050965, y: 0.000012700000070253736, z: -0.049083 },
}, ...props }));
};
const pinLabels = {
// The EasyEDA import labels these contacts A1..A12, but this 16-contact
// receptacle combines the duplicate USB-C power contacts. The aliases
// below follow the physical left-to-right contact order in the footprint.
pin1: ["GND_R"],
pin2: ["VBUS_R"],
pin3: ["VBUS_L"],
pin4: ["GND_L"],
pin5: ["SBU2"],
pin6: ["CC1"],
pin7: ["D_N2"],
pin8: ["D_P2"],
pin9: ["D_N1"],
pin10: ["D_P1"],
pin11: ["CC2"],
pin12: ["SBU1"],
pin13: ["SHIELD1"],
pin14: ["SHIELD2"],
pin15: ["SHIELD3"],
pin16: ["SHIELD4"]
};
const TYPE_C_16PIN_5A_143 = (props) => {
return (jsxRuntime.jsx("chip", { pinLabels: pinLabels, supplierPartNumbers: {
"jlcpcb": [
"C7431072"
]
}, manufacturerPartNumber: "TYPE-C 16PIN 5A 143", footprint: jsxRuntime.jsxs("footprint", { children: [jsxRuntime.jsx("hole", { pcbX: "-2.890012mm", pcbY: "0.9904794mm", diameter: "0.649986mm" }), jsxRuntime.jsx("hole", { pcbX: "2.890012mm", pcbY: "0.9904794mm", diameter: "0.649986mm" }), jsxRuntime.jsx("platedhole", { portHints: ["pin13"], pcbX: "-4.320032mm", pcbY: "-2.6899806mm", holeWidth: "0.700024mm", holeHeight: "1.3000228mm", outerWidth: "1.1999976mm", outerHeight: "1.7999964mm", shape: "pill" }), jsxRuntime.jsx("platedhole", { portHints: ["pin14"], pcbX: "4.320032mm", pcbY: "-2.6894726mm", holeWidth: "0.700024mm", holeHeight: "1.3000228mm", outerWidth: "1.1999976mm", outerHeight: "1.7999964mm", shape: "pill" }), jsxRuntime.jsx("platedhole", { portHints: ["pin15"], pcbX: "4.320032mm", pcbY: "1.4906054mm", holeWidth: "0.700024mm", holeHeight: "1.5000224mm", outerWidth: "1.1999976mm", outerHeight: "1.999996mm", shape: "pill" }), jsxRuntime.jsx("platedhole", { portHints: ["pin16"], pcbX: "-4.320032mm", pcbY: "1.4906054mm", holeWidth: "0.700024mm", holeHeight: "1.5000224mm", outerWidth: "1.1999976mm", outerHeight: "1.999996mm", shape: "pill" }), jsxRuntime.jsx("smtpad", { portHints: ["pin1"], pcbX: "3.218434mm", pcbY: "2.1649754mm", width: "0.499999mm", height: "1.1500104mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin2"], pcbX: "2.400046mm", pcbY: "2.1649754mm", width: "0.499999mm", height: "1.1500104mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin3"], pcbX: "-2.399792mm", pcbY: "2.1649754mm", width: "0.499999mm", height: "1.1500104mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin4"], pcbX: "-3.199892mm", pcbY: "2.1649754mm", width: "0.499999mm", height: "1.1500104mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin5"], pcbX: "-1.749806mm", pcbY: "2.1649754mm", width: "0.2999994mm", height: "1.1500104mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin6"], pcbX: "-1.249934mm", pcbY: "2.1649754mm", width: "0.2999994mm", height: "1.1500104mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin7"], pcbX: "-0.749808mm", pcbY: "2.1649754mm", width: "0.2999994mm", height: "1.1500104mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin8"], pcbX: "-0.249936mm", pcbY: "2.1649754mm", width: "0.2999994mm", height: "1.1500104mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin9"], pcbX: "0.25019mm", pcbY: "2.1649754mm", width: "0.2999994mm", height: "1.1500104mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin10"], pcbX: "0.750062mm", pcbY: "2.1649754mm", width: "0.2999994mm", height: "1.1500104mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin11"], pcbX: "1.250188mm", pcbY: "2.1649754mm", width: "0.2999994mm", height: "1.1500104mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin12"], pcbX: "1.75006mm", pcbY: "2.1649754mm", width: "0.2999994mm", height: "1.1500104mm", shape: "rect" }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 4.44510159999993, "y": -1.4385480000000825 }, { "x": 4.44510159999993, "y": 0.36820479999983036 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -4.444898399999943, "y": -3.681876000000102 }, { "x": -4.444898399999943, "y": -5.173008400000072 }, { "x": 4.44510159999993, "y": -5.173008400000072 }, { "x": 4.44510159999993, "y": -3.681876000000102 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -4.444898399999943, "y": 0.36820479999983036 }, { "x": -4.444898399999943, "y": -1.4385480000000825 }] }), jsxRuntime.jsx("silkscreentext", { text: "{NAME}", pcbX: "-0.007112mm", pcbY: "3.7407934mm", anchorAlignment: "center", fontSize: "1mm" }), jsxRuntime.jsx("courtyardoutline", { outline: [{ "x": -5.172012000000109, "y": 2.990793399999916 }, { "x": 5.157787999999869, "y": 2.990793399999916 }, { "x": 5.157787999999869, "y": -5.535606600000051 }, { "x": -5.172012000000109, "y": -5.535606600000051 }, { "x": -5.172012000000109, "y": 2.990793399999916 }] })] }), cadModel: {
objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C7431072.obj?uuid=7b2b5bea24f944ca8310215fac973989",
stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C7431072.step?uuid=7b2b5bea24f944ca8310215fac973989",
pcbRotationOffset: 180,
modelOriginPosition: { x: 0, y: -1.3874432000002344, z: -0.09000220000000003 },
}, ...props }));
};
const stusb4710PinLabels = {
pin1: ["NC1"],
pin2: ["CC1"],
pin3: ["NC3"],
pin4: ["CC2"],
pin5: ["NC5"],
pin6: ["NC6"],
pin7: ["SCL"],
pin8: ["SDA"],
pin9: ["NC9"],
pin10: ["GND"],
pin11: ["SEL_PDO3"],
pin12: ["SEL_PDO2"],
pin13: ["ADDR0"],
pin14: ["SEL_PDO4"],
pin15: ["SEL_PDO5"],
pin16: ["NC16"],
pin17: ["NC17"],
pin18: ["VBUS_SENSE"],
pin19: ["VBUS_DISCH"],
pin20: ["VBUS_EN_SRC"],
pin21: ["VREG_1V2"],
pin22: ["NC22"],
pin23: ["VREG_2V7"],
pin24: ["VDD"],
pin25: ["EP"],
};
const STUSB4710A = (props) => (jsxRuntime.jsx("chip", { ...props, pinLabels: stusb4710PinLabels, internallyConnectedPins: [["pin10", "pin25"]], manufacturerPartNumber: "STUSB4710AQTR", footprint: jsxRuntime.jsxs("footprint", { children: [jsxRuntime.jsx("smtpad", { shape: "rect", pcbX: -1.85, pcbY: 1.25, width: "0.65mm", height: "0.25mm", portHints: ["pin1"] }), jsxRuntime.jsx("smtpad", { shape: "rect", pcbX: -1.85, pcbY: 0.75, width: "0.65mm", height: "0.25mm", portHints: ["pin2"] }), jsxRuntime.jsx("smtpad", { shape: "rect", pcbX: -1.85, pcbY: 0.25, width: "0.65mm", height: "0.25mm", portHints: ["pin3"] }), jsxRuntime.jsx("smtpad", { shape: "rect", pcbX: -1.85, pcbY: -0.25, width: "0.65mm", height: "0.25mm", portHints: ["pin4"] }), jsxRuntime.jsx("smtpad", { shape: "rect", pcbX: -1.85, pcbY: -0.75, width: "0.65mm", height: "0.25mm", portHints: ["pin5"] }), jsxRuntime.jsx("smtpad", { shape: "rect", pcbX: -1.85, pcbY: -1.25, width: "0.65mm", height: "0.25mm", portHints: ["pin6"] }), jsxRuntime.jsx("smtpad", { shape: "rect", pcbX: -1.25, pcbY: -1.85, width: "0.25mm", height: "0.65mm", portHints: ["pin7"] }), jsxRuntime.jsx("smtpad", { shape: "rect", pcbX: -0.75, pcbY: -1.85, width: "0.25mm", height: "0.65mm", portHints: ["pin8"] }), jsxRuntime.jsx("smtpad", { shape: "rect", pcbX: -0.25, pcbY: -1.85, width: "0.25mm", height: "0.65mm", portHints: ["pin9"] }), jsxRuntime.jsx("smtpad", { shape: "rect", pcbX: 0.25, pcbY: -1.85, width: "0.25mm", height: "0.65mm", portHints: ["pin10"] }), jsxRuntime.jsx("smtpad", { shape: "rect", pcbX: 0.75, pcbY: -1.85, width: "0.25mm", height: "0.65mm", portHints: ["pin11"] }), jsxRuntime.jsx("smtpad", { shape: "rect", pcbX: 1.25, pcbY: -1.85, width: "0.25mm", height: "0.65mm", portHints: ["pin12"] }), jsxRuntime.jsx("smtpad", { shape: "rect", pcbX: 1.85, pcbY: -1.25, width: "0.65mm", height: "0.25mm", portHints: ["pin13"] }), jsxRuntime.jsx("smtpad", { shape: "rect", pcbX: 1.85, pcbY: -0.75, width: "0.65mm", height: "0.25mm", portHints: ["pin14"] }), jsxRuntime.jsx("smtpad", { shape: "rect", pcbX: 1.85, pcbY: -0.25, width: "0.65mm", height: "0.25mm", portHints: ["pin15"] }), jsxRuntime.jsx("smtpad", { shape: "rect", pcbX: 1.85, pcbY: 0.25, width: "0.65mm", height: "0.25mm", portHints: ["pin16"] }), jsxRuntime.jsx("smtpad", { shape: "rect", pcbX: 1.85, pcbY: 0.75, width: "0.65mm", height: "0.25mm", portHints: ["pin17"] }), jsxRuntime.jsx("smtpad", { shape: "rect", pcbX: 1.85, pcbY: 1.25, width: "0.65mm", height: "0.25mm", portHints: ["pin18"] }), jsxRuntime.jsx("smtpad", { shape: "rect", pcbX: 1.25, pcbY: 1.85, width: "0.25mm", height: "0.65mm", portHints: ["pin19"] }), jsxRuntime.jsx("smtpad", { shape: "rect", pcbX: 0.75, pcbY: 1.85, width: "0.25mm", height: "0.65mm", portHints: ["pin20"] }), jsxRuntime.jsx("smtpad", { shape: "rect", pcbX: 0.25, pcbY: 1.85, width: "0.25mm", height: "0.65mm", portHints: ["pin21"] }), jsxRuntime.jsx("smtpad", { shape: "rect", pcbX: -0.25, pcbY: 1.85, width: "0.25mm", height: "0.65mm", portHints: ["pin22"] }), jsxRuntime.jsx("smtpad", { shape: "rect", pcbX: -0.75, pcbY: 1.85, width: "0.25mm", height: "0.65mm", portHints: ["pin23"] }), jsxRuntime.jsx("smtpad", { shape: "rect", pcbX: -1.25, pcbY: 1.85, width: "0.25mm", height: "0.65mm", portHints: ["pin24"] }), jsxRuntime.jsx("smtpad", { shape: "rect", pcbX: 0, pcbY: 0, width: "2.7mm", height: "2.7mm", portHints: ["pin25"] }), jsxRuntime.jsx("silkscreenrect", { pcbX: 0, pcbY: 0, width: "4mm", height: "4mm" }), jsxRuntime.jsx("silkscreencircle", { pcbX: -2.1, pcbY: 1.6, radius: "0.2mm" })] }) }));
const RadialElectrolytic = (props) => (jsxRuntime.jsx("capacitor", { ...props, footprint: jsxRuntime.jsxs("footprint", { children: [jsxRuntime.jsx("platedhole", { shape: "circle", holeDiameter: "0.9mm", outerDiameter: "1.8mm", pcbX: "-1.75mm", portHints: ["pin1", "positive"] }), jsxRuntime.jsx("platedhole", { shape: "circle", holeDiameter: "0.9mm", outerDiameter: "1.8mm", pcbX: "1.75mm", portHints: ["pin2", "negative"] }), jsxRuntime.jsx("silkscreencircle", { pcbX: 0, pcbY: 0, radius: "4mm" }), jsxRuntime.jsx("silkscreentext", { text: "+", pcbX: "-2.7mm", pcbY: "2.4mm", fontSize: "1mm" })] }) }));
/**
* 18 W USB-C PD source for 120 Vac nominal (85-305 Vac module rating).
*
* Architecture:
* protected AC input -> reinforced-isolation IRM-20-24 -> ST1S14 buck
* -> back-to-back PMOS load switch -> USB-C receptacle.
*
* The STUSB4710A must be NVM-programmed before use. See PD_PROGRAMMING.md.
*/
var index_circuit = () => (jsxRuntime.jsxs("board", { name: "US_PD_WALL_CHARGER_18W", width: "136mm", height: "52mm", autorouter: "auto", pcbStyle: { viaPadDiameter: "0.6mm", viaHoleDiameter: "0.3mm" }, minViaPadDiameter: "0.6mm", minViaHoleDiameter: "0.3mm", children: [jsxRuntime.jsx("net", { name: "PSU24" }), jsxRuntime.jsx("net", { name: "VIN24" }), jsxRuntime.jsx("net", { name: "GND", isGroundNet: true }), jsxRuntime.jsx("net", { name: "SW" }), jsxRuntime.jsx("net", { name: "BOOT" }), jsxRuntime.jsx("net", { name: "VSRC" }), jsxRuntime.jsx("net", { name: "FB" }), jsxRuntime.jsx("net", { name: "FB_20" }), jsxRuntime.jsx("net", { name: "FB_15" }), jsxRuntime.jsx("net", { name: "FB_12" }), jsxRuntime.jsx("net", { name: "FB_9" }), jsxRuntime.jsx("net", { name: "V3V3" }), jsxRuntime.jsx("net", { name: "VREG1V2" }), jsxRuntime.jsx("net", { name: "VREG2V7" }), jsxRuntime.jsx("net", { name: "ADDR0" }), jsxRuntime.jsx("net", { name: "EN_SRC" }), jsxRuntime.jsx("net", { name: "SCL" }), jsxRuntime.jsx("net", { name: "SDA" }), jsxRuntime.jsx("net", { name: "CC1" }), jsxRuntime.jsx("net", { name: "CC2" }), jsxRuntime.jsx("net", { name: "QCOMMON" }), jsxRuntime.jsx("net", { name: "GATE" }), jsxRuntime.jsx("net", { name: "VBUS" }), jsxRuntime.jsxs("schematicsheet", { name: "main", displayName: "18 W USB-C PD Wall Charger", sheetIndex: 0, children: [jsxRuntime.jsx("schematicsection", { name: "ac_input", displayName: "1. AC Input & Protection", sectionTitleFontSize: 0.22 }), jsxRuntime.jsx("schematicsection", { name: "isolated_supply", displayName: "2. Isolated 24 V Supply", sectionTitleFontSize: 0.22 }), jsxRuntime.jsx("schematicsection", { name: "buck_power", displayName: "3. Programmable Buck Stage", sectionTitleFontSize: 0.22 }), jsxRuntime.jsx("schematicsection", { name: "feedback", displayName: "4. Feedback & PDO Selection", sectionTitleFontSize: 0.22 }), jsxRuntime.jsx("schematicsection", { name: "pd_control", displayName: "5. USB-PD Control & I2C", sectionTitleFontSize: 0.22 }), jsxRuntime.jsx("schematicsection", { name: "usb_output", displayName: "6. Protected USB-C Output", sectionTitleFontSize: 0.22 })] }), jsxRuntime.jsx("keepout", { shape: "rect", pcbX: -20, pcbY: 0, width: "8mm", height: "52mm", layers: ["top", "bottom"] }), jsxRuntime.jsx("pcbnoteline", { x1: -20, y1: -26, x2: -20, y2: 26, strokeWidth: "0.4mm", isDashed: true }), jsxRuntime.jsx("pcbnotetext", { text: "PRIMARY | REINFORCED ISOLATION BARRIER | SELV", pcbX: -20, pcbY: 24, fontSize: "1mm" }), jsxRuntime.jsx(WireTerminal, { name: "J1", pcbX: -62, pcbY: 0, pcbRotation: 270, schX: -13, schY: 6, schSheetName: "main", schSectionName: "ac_input" }), jsxRuntime.jsx(A_2010T1A250V, { name: "F1", pcbX: -43, pcbY: -19, schX: -10, schY: 6, schSheetName: "main", schSectionName: "ac_input" }), jsxRuntime.jsx(MOV_14D471K, { name: "RV1", pcbX: -55, pcbY: 19, schX: -10, schY: 3.5, schSheetName: "main", schSectionName: "ac_input" }), jsxRuntime.jsx(IRM_20_24, { name: "PS1", pcbX: -20, pcbY: 0, schX: -4, schY: 6, schSheetName: "main", schSectionName: "isolated_supply" }), jsxRuntime.jsx("trace", { from: ".J1 > .pin1", to: ".F1 > .pin1", schDisplayLabel: "LINE", width: "1mm", pcbPathRelativeTo: ".F1 > .pin1", pcbPath: [{ x: -22, y: 0 }, { x: -22, y: 24 }, { x: -19, y: 24 }] }), jsxRuntime.jsx("trace", { from: ".F1 > .pin2", to: ".PS1 > .pin1", schDisplayLabel: "LINE_FUSED", width: "1mm", pcbPath: [{ x: 2.5, y: 5 }] }), jsxRuntime.jsx("trace", { from: ".F1 > .pin2", to: ".RV1 > .pin1", width: "1mm", pcbPath: [{ x: 5.5, y: 4 }, { x: 5.5, y: 41 }, { x: -15.75, y: 41 }] }), jsxRuntime.jsx("trace", { from: ".J1 > .pin2", to: ".PS1 > .pin4", schDisplayLabel: "NEUTRAL", width: "1mm", pcbPath: [{ x: 6, y: 7 }, { x: 12, y: 10.4 }] }), jsxRuntime.jsx("trace", { from: ".J1 > .pin2", to: ".RV1 > .pin2", width: "1mm", pcbPath: [{ x: 5, y: 8 }, { x: 7.75, y: 13 }] }), jsxRuntime.jsx("trace", { from: ".PS1 > .pin3", to: "net.PSU24", width: "1mm" }), jsxRuntime.jsx("trace", { from: ".PS1 > .pin2", to: "net.GND", width: "1mm" }), jsxRuntime.jsx("resistor", { name: "R12", resistance: "0", footprint: "1206", pcbX: 8.8, pcbY: -9, pcbRotation: 90, schX: 0, schY: 6, schSheetName: "main", schSectionName: "isolated_supply" }), jsxRuntime.jsx("pinheader", { name: "J4", pinCount: 2, pitch: "2.54mm", footprint: "pinrow2", pcbX: 8.8, pcbY: 7, pcbRotation: 90, schX: 0, schY: 3.5, schSheetName: "main", schSectionName: "isolated_supply" }), jsxRuntime.jsx("trace", { from: ".R12 > .pin1", to: "net.PSU24", width: "1mm" }), jsxRuntime.jsx("trace", { from: ".R12 > .pin2", to: "net.VIN24", width: "1mm" }), jsxRuntime.jsx("trace", { from: ".J4 > .pin1", to: "net.VIN24", width: "1mm" }), jsxRuntime.jsx("trace", { from: ".J4 > .pin2", to: "net.GND", width: "1mm" }), jsxRuntime.jsx("capacitor", { name: "C1", capacitance: "10uF", maxVoltageRating: "50V", footprint: "1210", pcbX: 12.5, pcbY: 4, pcbRotation: 90, schX: 6.5, schY: 7.5, schSheetName: "main", schSectionName: "buck_power" }), jsxRuntime.jsx("capacitor", { name: "C2", capacitance: "10uF", maxVoltageRating: "50V", footprint: "1210", pcbX: 17, pcbY: 4, pcbRotation: 90, schX: 8, schY: 7.5, schSheetName: "main", schSectionName: "buck_power" }), jsxRuntime.jsx(ST1S14PHR, { name: "U1", pcbX: 14, pcbY: -4, schX: 9.5, schY: 5.5, schSheetName: "main", schSectionName: "buck_power" }), jsxRuntime.jsx("capacitor", { name: "C3", capacitance: "220nF", maxVoltageRating: "100V", footprint: "1206", pcbX: 9.3, pcbY: -4, pcbRotation: 90, schX: 9.5, schY: 8.8, schSheetName: "main", schSectionName: "buck_power" }), jsxRuntime.jsx(STPS3L60U, { name: "D1", pcbX: 21, pcbY: -16, pcbRotation: 90, schX: 11.5, schY: 3.5, schSheetName: "main", schSectionName: "buck_power" }), jsxRuntime.jsx(A_7447709680, { name: "L1", pcbX: 27, pcbY: -4, schX: 12, schY: 5.5, schSheetName: "main", schSectionName: "buck_power" }), jsxRuntime.jsx(RadialElectrolytic, { name: "C5", capacitance: "220uF", maxVoltageRating: "35V", pcbX: 40, pcbY: -15, schX: 14, schY: 3.5, schSheetName: "main", schSectionName: "buck_power" }), jsxRuntime.jsx("capacitor", { name: "C6", capacitance: "22uF", maxVoltageRating: "25V", footprint: "1210", pcbX: 38, pcbY: -5, schX: 14, schY: 5.5, schSheetName: "main", schSectionName: "buck_power" }), jsxRuntime.jsx("trace", { from: ".C1 > .pin1", to: "net.VIN24", width: "0.8mm" }), jsxRuntime.jsx("trace", { from: ".C1 > .pin2", to: "net.GND", width: "0.8mm" }), jsxRuntime.jsx("trace", { from: ".C2 > .pin1", to: "net.VIN24", width: "0.8mm" }), jsxRuntime.jsx("trace", { from: ".C2 > .pin2", to: "net.GND", width: "0.8mm" }), jsxRuntime.jsx("trace", { from: ".U1 > .VIN", to: "net.VIN24", width: "1mm" }), jsxRuntime.jsx("trace", { from: ".U1 > .EN2", to: "net.VIN24", width: "0.25mm" }), jsxRuntime.jsx("trace", { from: ".U1 > .EN1", to: "net.GND", width: "0.25mm" }), jsxRuntime.jsx("trace", { from: ".U1 > .GND", to: "net.GND", width: "1mm" }), jsxRuntime.jsx("trace", { from: ".U1 > .PAD", to: "net.GND", width: "1mm" }), jsxRuntime.jsx("trace", { from: ".U1 > .BOOT", to: "net.BOOT", width: "0.25mm" }), jsxRuntime.jsx("trace", { from: ".C3 > .pin1", to: "net.BOOT", width: "0.25mm" }), jsxRuntime.jsx("trace", { from: ".C3 > .pin2", to: "net.SW", width: "0.25mm" }), jsxRuntime.jsx("trace", { from: ".U1 > .SW", to: "net.SW", width: "1mm" }), jsxRuntime.jsx("trace", { from: ".D1 > .cathode", to: "net.SW", width: "1mm" }), jsxRuntime.jsx("trace", { from: ".D1 > .anode", to: "net.GND", width: "1mm" }), jsxRuntime.jsx("trace", { from: ".L1 > .pin1", to: "net.SW", width: "1.5mm" }), jsxRuntime.jsx("trace", { from: ".L1 > .pin2", to: "net.VSRC", width: "1.5mm" }), jsxRuntime.jsx("trace", { from: ".C5 > .pin1", to: "net.VSRC", width: "1.5mm" }), jsxRuntime.jsx("trace", { from: ".C5 > .pin2", to: "net.GND", width: "1.5mm" }), jsxRuntime.jsx("trace", { from: ".C6 > .pin1", to: "net.VSRC", width: "1.5mm" }), jsxRuntime.jsx("trace", { from: ".C6 > .pin2", to: "net.GND", width: "1.5mm" }), jsxRuntime.jsx("resistor", { name: "R1", resistance: "200k", tolerance: "1%", footprint: "0603", pcbX: 25, pcbY: 15, schX: -13.5, schY: -3, schSheetName: "main", schSectionName: "feedback" }), jsxRuntime.jsx("capacitor", { name: "C4", capacitance: "100pF", maxVoltageRating: "50V", footprint: "0603", pcbX: 25, pcbY: 18, schX: -13.5, schY: -5, schSheetName: "main", schSectionName: "feedback" }), jsxRuntime.jsx("resistor", { name: "R2", resistance: "13k", tolerance: "1%", footprint: "0603", pcbX: 30, pcbY: 19, schX: -12, schY: -3, schSheetName: "main", schSectionName: "feedback" }), jsxRuntime.jsx("resistor", { name: "R3", resistance: "4.7k", tolerance: "1%", footprint: "0603", pcbX: 34, pcbY: 19, schX: -10.7, schY: -3, schSheetName: "main", schSectionName: "feedback" }), jsxRuntime.jsx("resistor", { name: "R4", resistance: "4.87k", tolerance: "1%", footprint: "0603", pcbX: 38, pcbY: 19, schX: -9.4, schY: -3, schSheetName: "main", schSectionName: "feedback" }), jsxRuntime.jsx("resistor", { name: "R5", resistance: "8.66k", tolerance: "1%", footprint: "0603", pcbX: 42, pcbY: 19, schX: -8.1, schY: -3, schSheetName: "main", schSectionName: "feedback" }), jsxRuntime.jsx("resistor", { name: "R6", resistance: "33k", tolerance: "1%", footprint: "0603", pcbX: 46, pcbY: 19, schX: -6.8, schY: -3, schSheetName: "main", schSectionName: "feedback" }), jsxRuntime.jsx("trace", { from: ".R1 > .pin1", to: "net.VSRC", width: "0.25mm" }), jsxRuntime.jsx("trace", { from: ".R1 > .pin2", to: "net.FB", width: "0.25mm" }), jsxRuntime.jsx("trace", { from: ".C4 > .pin1", to: "net.VSRC", width: "0.25mm" }), jsxRuntime.jsx("trace", { from: ".C4 > .pin2", to: "net.FB", width: "0.25mm" }), jsxRuntime.jsx("trace", { from: ".U1 > .FB", to: "net.FB", width: "0.25mm" }), jsxRuntime.jsx("trace", { from: ".R2 > .pin1", to: "net.FB", width: "0.25mm" }), jsxRuntime.jsx("trace", { from: ".R2 > .pin2", to: "net.FB_20", width: "0.25mm" }), jsxRuntime.jsx("trace", { from: ".R3 > .pin1", to: "net.FB_20", width: "0.25mm" }), jsxRuntime.jsx("trace", { from: ".R3 > .pin2", to: "net.FB_15", width: "0.25mm" }), jsxRuntime.jsx("trace", { from: ".R4 > .pin1", to: "net.FB_15", width: "0.25mm" }), jsxRuntime.jsx("trace", { from: ".R4 > .pin2", to: "net.FB_12", width: "0.25mm" }), jsxRuntime.jsx("trace", { from: ".R5 > .pin1", to: "net.FB_12", width: "0.25mm" }), jsxRuntime.jsx("trace", { from: ".R5 > .pin2", to: "net.FB_9", width: "0.25mm" }), jsxRuntime.jsx("trace", { from: ".R6 > .pin1", to: "net.FB_9", width: "0.25mm" }), jsxRuntime.jsx("trace", { from: ".R6 > .pin2", to: "net.GND", width: "0.25mm" }), jsxRuntime.jsx(TPS7B6933QDBVRQ1, { name: "U3", pcbX: 41, pcbY: 12, schX: -3, schY: -6, schSheetName: "main", schSectionName: "pd_control" }), jsxRuntime.jsx("capacitor", { name: "C7", capacitance: "2.2uF", maxVoltageRating: "25V", footprint: "0805", pcbX: 37, pcbY: 12, schX: -4, schY: -8.5, schSheetName: "main", schSectionName: "pd_control" }), jsxRuntime.jsx("capacitor", { name: "C8", capacitance: "2.2uF", maxVoltageRating: "10V", footprint: "0805", pcbX: 44, pcbY: 8, schX: -2, schY: -8.5, schSheetName: "main", schSectionName: "pd_control" }), jsxRuntime.jsx("trace", { from: ".U3 > .IN", to: "net.VSRC", width: "0.25mm" }), jsxRuntime.jsx("trace", { from: ".U3 > .GND1", to: "net.GND", width: "0.25mm" }), jsxRuntime.jsx("trace", { from: ".U3 > .GND2", to: "net.GND", width: "0.25mm" }), jsxRuntime.jsx("trace", { from: ".U3 > .OUT", to: "net.V3V3", width: "0.25mm" }), jsxRuntime.jsx("trace", { from: ".C7 > .pin1", to: "net.VSRC", width: "0.25mm" }), jsxRuntime.jsx("trace", { from: ".C7 > .pin2", to: "net.GND", width: "0.25mm" }), jsxRuntime.jsx("trace", { from: ".C8 > .pin1", to: "net.V3V3", width: "0.25mm" }), jsxRuntime.jsx("trace", { from: ".C8 > .pin2", to: ".U3 > .GND2", width: "0.25mm", pcbStraightLine: true }), jsxRuntime.jsx(STUSB4710A, { name: "U2", pcbX: 50, pcbY: 10, schX: 0.5, schY: -4, schSheetName: "main", schSectionName: "pd_control" }), jsxRuntime.jsx("capacitor", { name: "C9", capacitance: "1uF", maxVoltageRating: "10V", footprint: "0402", pcbX: 50.25, pcbY: 13.3, pcbRotation: 90, schX: -1, schY: -0.5, schSheetName: "main", schSectionName: "pd_control" }), jsxRuntime.jsx("capacitor", { name: "C10", capacitance: "1uF", maxVoltageRating: "10V", footprint: "0402", pcbX: 49.25, pcbY: 13.3, pcbRotation: 90, schX: 1.5, schY: -0.5, schSheetName: "main", schSectionName: "pd_control" }), jsxRuntime.jsx("resistor", { name: "R7", resistance: "100k", footprint: "0402", pcbX: 52, pcbY: 6.5, schX: -0.5, schY: -9, schSheetName: "main", schSectionName: "pd_control" }), jsxRuntime.jsx("resistor", { name: "R8", resistance: "2.2k", footprint: "0603", pcbX: 54, pcbY: 16, schX: 1, schY: -9, schSheetName: "main", schSectionName: "pd_control" }), jsxRuntime.jsx("resistor", { name: "R9", resistance: "2.2k", footprint: "0603", pcbX: 58, pcbY: 16, schX: 2.5, schY: -9, schSheetName: "main", schSectionName: "pd_control" }), jsxRuntime.jsx("pinheader", { name: "J3", pinCount: 4, pitch: "2.54mm", footprint: "pinrow4", pcbX: 55, pcbY: -20, schX: 4, schY: -8, schSheetName: "main", schSectionName: "pd_control" }), jsxRuntime.jsx("trace", { from: ".U2 > .VDD", to: "net.VSRC", width: "0.25mm" }), jsxRuntime.jsx("trace", { from: ".U2 > .GND", to: "net.GND", width: "0.25mm" }), jsxRuntime.jsx("trace", { from: ".U2 > .VREG_1V2", to: "net.VREG1V2", width: "0.25mm" }), jsxRuntime.jsx("trace", { from: ".C9 > .pin1", to: "net.VREG1V2", width: "0.25mm" }), jsxRuntime.jsx("trace", { from: ".C9 > .pin2", to: "net.GND", width: "0.25mm" }), jsxRuntime.jsx("trace", { from: ".U2 > .VREG_2V7", to: "net.VREG2V7", width: "0.25mm" }), jsxRuntime.jsx("trace", { from: ".C10 > .pin1", to: "net.VREG2V7", width: "0.25mm" }), jsxRuntime.jsx("trace", { from: ".C10 > .pin2", to: "net.GND", width: "0.25mm" }), jsxRuntime.jsx("trace", { from: ".U2 > .ADDR0", to: "net.ADDR0", width: "0.25mm" }), jsxRuntime.jsx("trace", { from: ".R7 > .pin1", to: "net.ADDR0", width: "0.25mm" }), jsxRuntime.jsx("trace", { from: ".R7 > .pin2", to: "net.GND", width: "0.25mm" }), jsxRuntime.jsx("trace", { from: ".U2 > .SEL_PDO5", to: "net.FB_20", width: "0.25mm" }), jsxRuntime.jsx("trace", { from: ".U2 > .SEL_PDO4", to: "net.FB_15", width: "0.25mm" }), jsxRuntime.jsx("trace", { from: ".U2 > .SEL_PDO3", to: "net.FB_12", width: "0.25mm" }), jsxRuntime.jsx("trace", { from: ".U2 > .SEL_PDO2", to: "net.FB_9", width: "0.25mm" }), jsxRuntime.jsx("trace", { from: ".U2 > .SCL", to: "net.SCL", width: "0.25mm" }), jsxRuntime.jsx("trace", { from: ".U2 > .SDA", to: "net.SDA", width: "0.25mm" }), jsxRuntime.jsx("trace", { from: ".R8 > .pin1", to: "net.V3V3", width: "0.25mm" }), jsxRuntime.jsx("trace", { from: ".R8 > .pin2", to: "net.SCL", width: "0.25mm" }), jsxRuntime.jsx("trace", { from: ".R9 > .pin1", to: "net.V3V3", width: "0.25mm" }), jsxRuntime.jsx("trace", { from: ".R9 > .pin2", to: "net.SDA", width: "0.25mm" }), jsxRuntime.jsx("trace", { from: ".J3 > .pin1", to: "net.GND", width: "0.25mm" }), jsxRuntime.jsx("trace", { from: ".J3 > .pin2", to: "net.V3V3", width: "0.25mm" }), jsxRuntime.jsx("trace", { from: ".J3 > .pin3", to: "net.SDA", width: "0.25mm" }), jsxRuntime.jsx("trace", { from: ".J3 > .pin4", to: "net.SCL", width: "0.25mm" }), jsxRuntime.jsx(SI4925DDY_T1_GE3, { name: "Q1", pcbX: 57, pcbY: 6, schX: 8, schY: -4, schSheetName: "main", schSectionName: "usb_output" }), jsxRuntime.jsx("resistor", { name: "R10", resistance: "47k", footprint: "0603", pcbX: 57, pcbY: 1, schX: 7, schY: -8, schSheetName: "main", schSectionName: "usb_output" }), jsxRuntime.jsx("resistor", { name: "R11", resistance: "22k", footprint: "0603", pcbX: 54.5, pcbY: 13.5, pcbRotation: 180, schX: 9, schY: -8, schSheetName: "main", schSectionName: "usb_output" }), jsxRuntime.jsx("trace", { from: ".Q1 > .D11", to: "net.VSRC", width: "1.5mm" }), jsxRuntime.jsx("trace", { from: ".Q1 > .D12", to: "net.VSRC", width: "1.5mm" }), jsxRuntime.jsx("trace", { from: ".Q1 > .S1", to: "net.QCOMMON", width: "1.5mm" }), jsxRuntime.jsx("trace", { from: ".Q1 > .S2", to: "net.QCOMMON", width: "1.5mm" }), jsxRuntime.jsx("trace", { from: ".Q1 > .D21", to: "net.VBUS", width: "1.5mm" }), jsxRuntime.jsx("trace", { from: ".Q1 > .D22", to: "net.VBUS", width: "1.5mm" }), jsxRuntime.jsx("trace", { from: ".Q1 > .G1", to: "net.GATE", width: "0.25mm" }), jsxRuntime.jsx("trace", { from: ".Q1 > .G2", to: "net.GATE", width: "0.25mm" }), jsxRuntime.jsx("trace", { from: ".R10 > .pin1", to: "net.QCOMMON", width: "0.25mm" }), jsxRuntime.jsx("trace", { from: ".R10 > .pin2", to: "net.GATE", width: "0.25mm" }), jsxRuntime.jsx("trace", { from: ".R11 > .pin1", to: "net.GATE", width: "0.25mm" }), jsxRuntime.jsx("trace", { from: ".R11 > .pin2", to: "net.EN_SRC", width: "0.25mm" }), jsxRuntime.jsx("trace", { from: ".U2 > .VBUS_EN_SRC", to: "net.EN_SRC", width: "0.25mm" }), jsxRuntime.jsx("trace", { from: ".U2 > .VBUS_SENSE", to: "net.VBUS", width: "0.25mm" }), jsxRuntime.jsx(TYPE_C_16PIN_5A_143, { name: "J2", pcbX: 62.5, pcbY: -3, pcbRotation: 90, schX: 12, schY: -4, schSheetName: "main", schSectionName: "usb_output" }), jsxRuntime.jsx("chip", { name: "D2", pinLabels: { pin1: ["K1"], pin2: ["K2"], pin3: ["A"] }, manufacturerPartNumber: "ESDA25L", supplierPartNumbers: { jlcpcb: ["C343997"] }, footprint: "sot23", pcbX: 56, pcbY: -11, schX: 10, schY: -8.5, schSheetName: "main", schSectionName: "usb_output" }), jsxRuntime.jsx("capacitor", { name: "C11", capacitance: "10uF", maxVoltageRating: "25V", footprint: "1206", pcbX: 62, pcbY: -16, schX: 12, schY: -7.5, schSheetName: "main", schSectionName: "usb_output" }), jsxRuntime.jsx(ESDA25P35_1U1M, { name: "D3", pcbX: 61, pcbY: -11, schX: 14, schY: -7.5, schSheetName: "main", schSectionName: "usb_output" }), jsxRuntime.jsx("trace", { from: ".U2 > .CC1", to: "net.CC1", width: "0.25mm" }), jsxRuntime.jsx("trace", { from: ".U2 > .CC2", to: "net.CC2", width: "0.25mm" }), jsxRuntime.jsx("trace", { from: ".J2 > .CC1", to: "net.CC1", width: "0.25mm" }), jsxRuntime.jsx("trace", { from: ".J2 > .CC2", to: "net.CC2", width: "0.25mm" }), jsxRuntime.jsx("trace", { from: ".D2 > .pin1", to: "net.CC1", width: "0.25mm" }), jsxRuntime.jsx("trace", { from: ".D2 > .pin2", to: "net.CC2", width: "0.25mm" }), jsxRuntime.jsx("trace", { from: ".D2 > .pin3", to: "net.GND", width: "0.5mm" }), jsxRuntime.jsx("trace", { from: ".J2 > .VBUS_L", to: "net.VBUS", width: "1.5mm" }), jsxRuntime.jsx("trace", { from: ".J2 > .VBUS_R", to: "net.VBUS", width: "1.5mm" }), jsxRuntime.jsx("trace", { from: ".J2 > .GND_L", to: "net.GND", width: "1.5mm" }), jsxRuntime.jsx("trace", { from: ".J2 > .GND_R", to: "net.GND", width: "1.5mm" }), jsxRuntime.jsx("trace", { name: "USB_SHIELD_BOTTOM", from: ".J2 > .SHIELD1", to: ".J2 > .SHIELD4", width: "0.5mm", pcbPath: [".J2 > .SHIELD4"] }), jsxRuntime.jsx("trace", { name: "USB_SHIELD_TOP", from: ".J2 > .SHIELD2", to: ".J2 > .SHIELD3", width: "0.5mm", pcbPath: [".J2 > .SHIELD3"] }), jsxRuntime.jsx("trace", { name: "USB_SHIELD_TO_GND_R", from: ".J2 > .SHIELD3", to: ".J2 > .GND_R", width: "0.5mm", pcbPath: [".J2 > .GND_R"] }), jsxRuntime.jsx("trace", { name: "USB_SHIELD_TO_GND_L", from: ".J2 > .SHIELD4", to: ".J2 > .GND_L", width: "0.5mm", pcbPath: [".J2 > .GND_L"] }), jsxRuntime.jsx("trace", { from: ".C11 > .pin1", to: "net.VBUS", width: "1mm" }), jsxRuntime.jsx("trace", { from: ".C11 > .pin2", to: "net.GND", width: "1mm" }), jsxRuntime.jsx("trace", { from: ".D3 > .pin1", to: "net.VBUS", width: "0.5mm" }), jsxRuntime.jsx("trace", { from: ".D3 > .pin2", to: "net.GND", width: "0.5mm" }), jsxRuntime.jsx("silkscreentext", { text: "DANGER: MAINS PROTOTYPE - ENCLOSURE REQUIRED", pcbX: -35, pcbY: -24, fontSize: "1mm" }), jsxRuntime.jsx("silkscreentext", { text: "USB-C PD 18W: 5/9/12/15/20V", pcbX: 47, pcbY: 24, fontSize: "1mm" }), jsxRuntime.jsx("silkscreentext", { text: "J3: GND 3V3 SDA SCL", pcbX: 55, pcbY: -24, fontSize: "1mm" }), jsxRuntime.jsx("silkscreentext", { text: "J4: BENCH 24V/GND - REMOVE R12", pcbX: 10, pcbY: 11, fontSize: "0.8mm" })] }));
module.exports = index_circuit;