aj0070/scope-frontend
A 4-layer dual-channel oscilloscope analog front end with BNC inputs, relay-selectable AC/DC coupling and attenuation, FET buffers, programmable VGAs, differential ADC drivers, dual 8-bit ADCs with 25 MHz clock, power conversion/LDOs, and control/data headers.
- Version
- 1.0.0
- License
- unset
- Stars
- 0
Use with the tscircuit CLI
tsci is the tscircuit CLI. Install it with npm install -g tscircuit.
tsci clone aj0070/scope-frontend # download the package files into ./scope-frontend
tsci add aj0070/scope-frontend # add it to your project as @tsci/aj0070.scope-frontendIn a cloned or new (tsci init) project: tsci dev starts a local preview, tsci build outputs Circuit JSON, and tsci push publishes to tscircuit.com.
dist/index.js
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
const pinLabels$b = {
pin1: ["NC3"],
pin2: ["pin2"],
pin3: ["pin3"],
pin4: ["pin4"],
pin5: ["NC1"],
pin6: ["pin6"],
pin7: ["pin7"],
pin8: ["NC2"]
};
const pinAttributes$7 = {
pin1: { doNotConnect: true },
pin5: { doNotConnect: true },
pin8: { doNotConnect: true }
};
const AD8065ARZ_REEL7 = (props) => {
return (jsx("chip", { pinLabels: pinLabels$b, pinAttributes: pinAttributes$7, supplierPartNumbers: {
"jlcpcb": [
"C30442"
]
}, manufacturerPartNumber: "AD8065ARZ-REEL7", footprint: "soic8_pillpads_w7mm_pw0.59mm_pl1.8mm_pin1location(leftside,bottom)", cadModel: {
objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C30442.obj?uuid=ec3b9f9b31a74655be3e55848dbee9c1",
stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C30442.step?uuid=ec3b9f9b31a74655be3e55848dbee9c1",
pcbRotationOffset: 0,
modelOriginPosition: { x: -12700000070253736e-21, y: 0, z: 0 },
}, ...props }));
};
const pinLabels$a = {
pin1: ["pin1"],
pin2: ["pin2"],
pin3: ["pin3"],
pin4: ["pin4"],
pin5: ["pin5"],
pin6: ["pin6"],
pin7: ["pin7"],
pin8: ["pin8"]
};
const G6K_2F_Y_TR_DC5 = (props) => {
return (jsx("chip", { pinLabels: pinLabels$a, symbol: jsxs("symbol", { children: [jsx("schematicpath", { points: [{ "x": -0.6, "y": 0.4 }, { "x": -0.6, "y": 0.1 }], strokeColor: "#000000" }), jsx("schematicrect", { schX: -0.6, schY: 0.05, width: 0.2, height: 0.1, strokeWidth: 0.02, color: "#000000" }), jsx("schematicpath", { points: [{ "x": -0.6, "y": 0 }, { "x": -0.6, "y": -0.3 }], strokeColor: "#000000" }), jsx("schematicpath", { points: [{ "x": -0.4, "y": -0.3 }, { "x": -0.4, "y": -0.1 }, { "x": 0.1, "y": -0.1 }, { "x": 0, "y": -0.06 }], strokeColor: "#000000" }), jsx("schematicpath", { points: [{ "x": 0.1, "y": -0.1 }, { "x": 0, "y": -0.14 }], strokeColor: "#000000" }), jsx("schematicpath", { points: [{ "x": 0.1, "y": 0 }, { "x": 0.2, "y": -0.2 }, { "x": 0.2, "y": -0.3 }], strokeColor: "#000000" }), jsx("schematicpath", { points: [{ "x": -0.4, "y": 0.4 }, { "x": -0.4, "y": 0.2 }, { "x": 0.1, "y": 0.2 }, { "x": 0, "y": 0.24 }], strokeColor: "#000000" }), jsx("schematicpath", { points: [{ "x": 0.1, "y": 0.1 }, { "x": 0.2, "y": 0.3 }, { "x": 0.2, "y": 0.4 }], strokeColor: "#000000" }), jsx("schematicpath", { points: [{ "x": 0.8, "y": 0.4 }, { "x": 0.8, "y": 0.2 }, { "x": 0.3, "y": 0.2 }, { "x": 0.4, "y": 0.16 }], strokeColor: "#000000" }), jsx("schematicpath", { points: [{ "x": 0.3, "y": 0.2 }, { "x": 0.4, "y": 0.24 }], strokeColor: "#000000" }), jsx("schematicpath", { points: [{ "x": 0.8, "y": -0.3 }, { "x": 0.8, "y": -0.1 }, { "x": 0.3, "y": -0.1 }, { "x": 0.4, "y": -0.14 }], strokeColor: "#000000" }), jsx("schematicpath", { points: [{ "x": 0.3, "y": -0.1 }, { "x": 0.4, "y": -0.06 }], strokeColor: "#000000" }), jsx("schematicpath", { points: [{ "x": -0.56, "y": -0.14 }, { "x": -0.48, "y": -0.14 }], strokeColor: "#000000" }), jsx("schematicpath", { points: [{ "x": -0.52, "y": -0.18 }, { "x": -0.52, "y": -0.1 }], strokeColor: "#000000" }), jsx("schematicpath", { points: [{ "x": -0.56, "y": 0.24 }, { "x": -0.48, "y": 0.24 }], strokeColor: "#000000" }), jsx("port", { name: "pin1", pinNumber: 1, aliases: ["1"], direction: "down", schX: -0.6, schY: -0.7, schStemLength: 0.4 }), jsx("port", { name: "pin2", pinNumber: 2, aliases: ["2"], direction: "down", schX: -0.4, schY: -0.7, schStemLength: 0.4 }), jsx("port", { name: "pin3", pinNumber: 3, aliases: ["3"], direction: "down", schX: 0.2, schY: -0.7, schStemLength: 0.4 }), jsx("port", { name: "pin4", pinNumber: 4, aliases: ["4"], direction: "down", schX: 0.8, schY: -0.7, schStemLength: 0.4 }), jsx("port", { name: "pin5", pinNumber: 5, aliases: ["5"], direction: "up", schX: 0.8, schY: 0.8, schStemLength: 0.4 }), jsx("port", { name: "pin6", pinNumber: 6, aliases: ["6"], direction: "up", schX: 0.2, schY: 0.8, schStemLength: 0.4 }), jsx("port", { name: "pin7", pinNumber: 7, aliases: ["7"], direction: "up", schX: -0.4, schY: 0.8, schStemLength: 0.4 }), jsx("port", { name: "pin8", pinNumber: 8, aliases: ["8"], direction: "up", schX: -0.6, schY: 0.8, schStemLength: 0.4 }), jsx("schematiccircle", { center: { x: -0.9, y: 0.06 }, radius: 0.3, strokeWidth: 0.02, color: "#000000" }), jsx("schematicpath", { points: [{ "x": -0.94, "y": 0.24 }, { "x": -0.86, "y": 0.24 }], strokeColor: "#000000" }), jsx("schematicpath", { points: [{ "x": -0.92, "y": 0.3 }, { "x": -0.88, "y": 0.3 }], strokeColor: "#000000" }), jsx("schematicpath", { points: [{ "x": -0.94, "y": 0.18 }, { "x": -0.86, "y": 0.18 }], strokeColor: "#000000" }), jsx("schematicpath", { points: [{ "x": -0.94, "y": 0.12 }, { "x": -0.86, "y": 0.12 }], strokeColor: "#000000" }), jsx("schematicpath", { points: [{ "x": -0.94, "y": 0.08 }, { "x": -0.86, "y": 0.08 }], strokeColor: "#000000" }), jsx("schematicpath", { points: [{ "x": -0.94, "y": 0.04 }, { "x": -0.86, "y": 0.04 }], strokeColor: "#000000" }), jsx("schematicpath", { points: [{ "x": -0.94, "y": -0.02 }, { "x": -0.86, "y": -0.02 }], strokeColor: "#000000" }), jsx("schematicpath", { points: [{ "x": -0.94, "y": -0.08 }, { "x": -0.86, "y": -0.08 }], strokeColor: "#000000" }), jsx("schematicpath", { points: [{ "x": -0.94, "y": -0.12 }, { "x": -0.86, "y": -0.12 }], strokeColor: "#000000" }), jsx("schematicpath", { points: [{ "x": -0.92, "y": -0.18 }, { "x": -0.88, "y": -0.18 }], strokeColor: "#000000" }), jsx("schematicrect", { schX: 0, schY: 0.05, width: 2, height: 0.7, strokeWidth: 0.02, color: "#000000" }), jsx("schematicpath", { points: [{ "x": 0.1, "y": 0.2 }, { "x": 0, "y": 0.16 }], strokeColor: "#000000" }), jsx("schematictext", { schX: 0, schY: 1.04, text: "{NAME}", fontSize: 0.2, anchor: "bottom_center" })] }), supplierPartNumbers: {
"jlcpcb": [
"C47190"
]
}, manufacturerPartNumber: "G6K-2F-Y-TR DC5", footprint: jsxs("footprint", { children: [jsx("smtpad", { portHints: ["pin1"], pcbX: "-3.799967mm", pcbY: "-3.5100006mm", width: "0.999998mm", height: "2.0999958mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin2"], pcbX: "-0.600075mm", pcbY: "-3.5100006mm", width: "0.999998mm", height: "2.0999958mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin3"], pcbX: "1.600073mm", pcbY: "-3.5100006mm", width: "0.999998mm", height: "2.0999958mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin4"], pcbX: "3.799967mm", pcbY: "-3.5100006mm", width: "0.999998mm", height: "2.0999958mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin5"], pcbX: "3.799967mm", pcbY: "3.5100006mm", width: "0.999998mm", height: "2.0999958mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin6"], pcbX: "1.600073mm", pcbY: "3.5100006mm", width: "0.999998mm", height: "2.0999958mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin7"], pcbX: "-0.600075mm", pcbY: "3.5100006mm", width: "0.999998mm", height: "2.0999958mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin8"], pcbX: "-3.799967mm", pcbY: "3.5100006mm", width: "0.999998mm", height: "2.0999958mm", shape: "rect" }), jsx("silkscreenpath", { route: [{ "x": -5.020183000000017, "y": 3.2600900000000053 }, { "x": -5.020183000000017, "y": -3.240023999999991 }] }), jsx("silkscreenpath", { route: [{ "x": 4.999863000000005, "y": 3.269996000000006 }, { "x": 4.999863000000005, "y": -3.2301180000000045 }] }), jsx("silkscreenpath", { route: [{ "x": -4.513706999999997, "y": 1.1953239999999994 }, { "x": -4.513706999999997, "y": -1.294637999999992 }] }), jsx("silkscreenpath", { route: [{ "x": -3.7037010000000095, "y": -1.3545820000000077 }, { "x": -3.7037010000000095, "y": 1.1953239999999994 }] }), jsx("silkscreenpath", { route: [{ "x": -4.510150999999993, "y": 1.1099800000000073 }, { "x": -3.760089000000008, "y": 1.1099800000000073 }, { "x": -3.730117000000007, "y": 1.1399519999999939 }] }), jsx("silkscreenpath", { route: [{ "x": -4.480178999999993, "y": 0.4800599999999946 }, { "x": -3.730117000000007, "y": 0.4800599999999946 }] }), jsx("silkscreenpath", { route: [{ "x": -4.510150999999993, "y": -0.18008600000000285 }, { "x": -3.730117000000007, "y": -0.18008600000000285 }] }), jsx("silkscreenpath", { route: [{ "x": -4.510150999999993, "y": -0.8100060000000013 }, { "x": -3.730117000000007, "y": -0.8100060000000013 }] }), jsx("silkscreenpath", { route: [{ "x": -4.510150999999993, "y": -1.3500099999999975 }, { "x": -4.510150999999993, "y": -1.3200379999999967 }, { "x": -3.760089000000008, "y": -1.3200379999999967 }, { "x": -3.730117000000007, "y": -1.3200379999999967 }] }), jsx("silkscreenpath", { route: [{ "x": -5.020183000000017, "y": 3.2600900000000053 }, { "x": -4.531131400000007, "y": 3.2600900000000053 }] }), jsx("silkscreenpath", { route: [{ "x": -3.068853400000009, "y": 3.2600900000000053 }, { "x": -1.3311378000000076, "y": 3.2600900000000053 }] }), jsx("silkscreenpath", { route: [{ "x": 0.13114020000000437, "y": 3.2600900000000053 }, { "x": 0.8688578000000007, "y": 3.2600900000000053 }] }), jsx("silkscreenpath", { route: [{ "x": 2.3311357999999984, "y": 3.2600900000000053 }, { "x": 3.0688533999999947, "y": 3.2600900000000053 }] }), jsx("silkscreenpath", { route: [{ "x": 4.5311313999999925, "y": 3.2600900000000053 }, { "x": 4.999863000000005, "y": 3.2600900000000053 }] }), jsx("silkscreenpath", { route: [{ "x": -5.020183000000017, "y": -3.240023999999991 }, { "x": -4.531131400000007, "y": -3.240023999999991 }] }), jsx("silkscreenpath", { route: [{ "x": -3.068853400000009, "y": -3.240023999999991 }, { "x": -1.3311378000000076, "y": -3.240023999999991 }] }), jsx("silkscreenpath", { route: [{ "x": 0.13114020000000437, "y": -3.240023999999991 }, { "x": 0.8688578000000007, "y": -3.240023999999991 }] }), jsx("silkscreenpath", { route: [{ "x": 2.3311357999999984, "y": -3.240023999999991 }, { "x": 3.0688533999999947, "y": -3.240023999999991 }] }), jsx("silkscreenpath", { route: [{ "x": 4.5311313999999925, "y": -3.240023999999991 }, { "x": 4.999863000000005, "y": -3.240023999999991 }] }), jsx("silkscreenpath", { route: [{ "x": -4.508627000000004, "y": 1.2319000000000102 }, { "x": -3.6983670000000046, "y": 1.2319000000000102 }] }), jsx("silkscreenpath", { route: [{ "x": -3.6983669999999904, "y": -1.3538199999999847 }, { "x": -3.7850400662151316, "y": -1.5875638188879009 }, { "x": -3.9921040090758027, "y": -1.7263907501455833 }, { "x": -4.24125172195339, "y": -1.7177994497015305 }, { "x": -4.438260926217083, "y": -1.565038961646465 }, { "x": -4.508627000000004, "y": -1.325879999999998 }] }), jsx("silkscreentext", { text: "{NAME}", pcbX: "-0.025527mm", pcbY: "5.572mm", anchorAlignment: "center", fontSize: "1mm" }), jsx("courtyardoutline", { outline: [{ "x": -5.2599976000000055, "y": 4.809998499999992 }, { "x": 5.239982399999988, "y": 4.809998499999992 }, { "x": 5.239982399999988, "y": -4.809998499999992 }, { "x": -5.2599976000000055, "y": -4.809998499999992 }, { "x": -5.2599976000000055, "y": 4.809998499999992 }] })] }), cadModel: {
objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C47190.obj?uuid=0806ec17d863463db74fec66bbaf2af8",
stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C47190.step?uuid=0806ec17d863463db74fec66bbaf2af8",
pcbRotationOffset: 0,
modelOriginPosition: { x: 0.010007599999994454, y: 0, z: -0.175 },
}, ...props }));
};
const pinLabels$9 = {
pin1: ["OUT"],
pin2: ["pin2"],
pin3: ["pin3"],
pin4: ["pin4"]
};
const KH_BNC50_3511 = (props) => {
return (jsx("chip", { pinLabels: pinLabels$9, symbol: jsxs("symbol", { children: [jsx("port", { name: "pin2", pinNumber: 2, aliases: ["2"], direction: "down", schX: 0, schY: -0.4, schStemLength: 0.2 }), jsx("port", { name: "pin1", pinNumber: 1, aliases: ["OUT"], direction: "right", schX: 0.4, schY: 0, schStemLength: 0.4 }), jsx("schematiccircle", { center: { x: 0, y: 0 }, radius: 0.04, strokeWidth: 0.02, color: "#8D2323" }), jsx("schematiccircle", { center: { x: 0, y: 0 }, radius: 0.2, strokeWidth: 0.02, color: "#8D2323" }), jsx("port", { name: "pin3", pinNumber: 3, aliases: ["3"], direction: "down", schX: -0.2, schY: -0.4, schStemLength: 0.2 }), jsx("port", { name: "pin4", pinNumber: 4, aliases: ["4"], direction: "down", schX: 0.2, schY: -0.4, schStemLength: 0.2 }), jsx("schematictext", { schX: 0.1, schY: 0.4, text: "{NAME}", fontSize: 0.2, anchor: "bottom_center" })] }), supplierPartNumbers: {
"jlcpcb": [
"C2837587"
]
}, manufacturerPartNumber: "KH-BNC50-3511", footprint: jsxs("footprint", { children: [jsx("platedhole", { portHints: ["pin2"], pcbX: "2.500122mm", pcbY: "2.7752548mm", outerDiameter: "1.5999968mm", holeDiameter: "0.999998mm", shape: "circle" }), jsx("platedhole", { portHints: ["pin1"], pcbX: "0mm", pcbY: "2.7752548mm", outerDiameter: "1.5999968mm", holeDiameter: "0.999998mm", shape: "circle" }), jsx("platedhole", { portHints: ["pin3"], pcbX: "5.050028mm", pcbY: "-2.2747732mm", outerDiameter: "2.60096mm", holeDiameter: "2.19964mm", shape: "circle" }), jsx("platedhole", { portHints: ["pin4"], pcbX: "-5.050028mm", pcbY: "-2.2747732mm", outerDiameter: "2.60096mm", holeDiameter: "2.19964mm", shape: "circle" }), jsx("silkscreenpath", { route: [{ "x": 7.493000000000009, "y": 4.710226800000001 }, { "x": -7.492999999999995, "y": 4.710226800000001 }, { "x": -7.492999999999995, "y": -8.091881199999989 }, { "x": 7.493000000000009, "y": -8.091881199999989 }, { "x": 7.493000000000009, "y": 4.710226800000001 }] }), jsx("silkscreenpath", { route: [{ "x": 7.112000000000009, "y": -8.095945199999996 }, { "x": 7.112000000000009, "y": -17.1129452 }, { "x": 6.603999999999999, "y": -17.1129452 }, { "x": -6.603999999999999, "y": -17.1129452 }, { "x": -7.08659999999999, "y": -17.1129452 }, { "x": -7.111999999999995, "y": -17.1129452 }, { "x": -7.111999999999995, "y": -8.095945199999996 }] }), jsx("silkscreenpath", { route: [{ "x": -6.603999999999999, "y": -17.1129452 }, { "x": -6.603999999999999, "y": -30.955945199999988 }, { "x": 6.603999999999999, "y": -30.955945199999988 }, { "x": 6.603999999999999, "y": -17.1129452 }] }), jsx("silkscreenpath", { route: [{ "x": 7.08659999999999, "y": -14.979345199999997 }, { "x": -7.08659999999999, "y": -15.842945199999988 }] }), jsx("silkscreenpath", { route: [{ "x": 7.08659999999999, "y": -13.709345200000001 }, { "x": -7.08659999999999, "y": -14.572945199999992 }] }), jsx("silkscreenpath", { route: [{ "x": 7.08659999999999, "y": -12.439345199999998 }, { "x": -7.08659999999999, "y": -13.30294519999999 }] }), jsx("silkscreenpath", { route: [{ "x": 7.08659999999999, "y": -11.169345200000002 }, { "x": -7.08659999999999, "y": -12.032945199999993 }] }), jsx("silkscreenpath", { route: [{ "x": 7.08659999999999, "y": -9.899345199999999 }, { "x": -7.08659999999999, "y": -10.762945199999997 }] }), jsx("silkscreenpath", { route: [{ "x": 7.08659999999999, "y": -8.629345199999996 }, { "x": -7.08659999999999, "y": -9.492945199999987 }] }), jsx("silkscreenpath", { route: [{ "x": 7.08659999999999, "y": -16.249345199999993 }, { "x": -7.08659999999999, "y": -17.1129452 }] }), jsx("silkscreencircle", { pcbX: "0mm", pcbY: "-27.7047452mm", radius: "0.8128mm" }), jsx("silkscreentext", { text: "{NAME}", pcbX: "0mm", pcbY: "5.7564548mm", anchorAlignment: "center", fontSize: "1mm" }), jsx("fabricationnotepath", { route: [{ "x": 4.6999905999999925, "y": -19.649770199999992 }, { "x": 4.6999905999999925, "y": -30.749773399999995 }, { "x": -4.6999905999999925, "y": -30.749773399999995 }, { "x": -4.6999905999999925, "y": -19.649770199999992 }, { "x": -4.499990999999994, "y": -19.649770199999992 }, { "x": -4.499990999999994, "y": -30.549773799999997 }, { "x": 4.499990999999994, "y": -30.549773799999997 }, { "x": 4.499990999999994, "y": -19.649770199999992 }, { "x": 4.6999905999999925, "y": -19.649770199999992 }], strokeWidth: "0mm", isFilled: true, hasStroke: false }), jsx("courtyardoutline", { outline: [{ "x": -7.599997999999999, "y": 5.00020640000001 }, { "x": 7.599972599999987, "y": 5.00020640000001 }, { "x": 7.599972599999987, "y": -30.9997226 }, { "x": -7.599997999999999, "y": -30.9997226 }, { "x": -7.599997999999999, "y": 5.00020640000001 }] })] }), cadModel: {
objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C2837587.obj?uuid=0dcde789bcd54cae9917a7278df9ba96",
stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C2837587.step?uuid=0dcde789bcd54cae9917a7278df9ba96",
pcbRotationOffset: 180,
modelOriginPosition: { x: -12700000013410317e-21, y: -12.999758099999994, z: -0.6000079999999999 },
}, ...props }));
};
const pinLabels$8 = {
pin1: ["OUTAUX_POS"],
pin2: ["OUTAUX_NEG"],
pin3: ["VCC1"],
pin4: ["VCC2"],
pin5: ["GND1"],
pin6: ["IN_POS"],
pin7: ["IN_NEG"],
pin8: ["GND2"],
pin9: ["N_CS"],
pin10: ["SDIO"],
pin11: ["SCLK"],
pin12: ["VDD"],
pin13: ["VCM"],
pin14: ["OUT_NEG"],
pin15: ["OUT_POS"],
pin16: ["VCM_AUX"],
pin17: ["EP"]
};
const pinAttributes$6 = {
pin3: { requiresPower: true },
pin4: { requiresPower: true },
pin5: { requiresGround: true },
pin8: { requiresGround: true },
pin12: { requiresPower: true }
};
const footprinterPinLabels$2 = {
...pinLabels$8,
"pin17": [...pinLabels$8["pin17"], "thermalpad"],
};
const LMH6518SQ_NOPB = (props) => {
return (jsx("chip", { pinLabels: footprinterPinLabels$2, pinAttributes: pinAttributes$6, supplierPartNumbers: {
"jlcpcb": [
"C701921"
]
}, manufacturerPartNumber: "LMH6518SQ/NOPB", footprint: "qfn16_thermalpad2.6mmx2.6mm_pillpads_h5mm_pl0.8mm_pin1location(bottomside,left)", cadModel: {
objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C701921.obj?uuid=0eedfb47f78043c1a9ef967b6ece3c72",
stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C701921.step?uuid=0eedfb47f78043c1a9ef967b6ece3c72",
pcbRotationOffset: 0,
modelOriginPosition: { x: 0, y: 0, z: -0.01 },
}, ...props }));
};
/**
* One scope channel. Signal order left to right:
* BNC, 1M termination, AC/DC coupling relay, 10:1 attenuator relay,
* FET buffer, VGA.
*/
function channelParts(o) {
const { ch, y, sheet, j, kc, ka, u, vga, r, c } = o;
const n = (s) => `net.CH${ch}_${s}`;
const sch = (x, yy) => ({ schSheetName: sheet, schX: x, schY: yy });
const pcb = (x, yy) => ({ pcbX: x, pcbY: yy });
const inNet = `net.CH${ch}_IN`;
return (jsxs(Fragment, { children: [jsx(KH_BNC50_3511, { name: j, allowOffBoard: true, pcbRotation: 270, ...pcb(-34, y), ...sch(-13, 3) }), jsx("trace", { from: `${j}.pin1`, to: inNet }), jsx("trace", { from: `${j}.pin2`, to: "net.GND" }), jsx("trace", { from: `${j}.pin3`, to: "net.GND" }), jsx("trace", { from: `${j}.pin4`, to: "net.GND" }), jsx("resistor", { name: `R${r}`, resistance: "1M", footprint: "0402", pcbRotation: 180, ...pcb(-24.5, y > 0 ? 5.5 : -5.5), ...sch(-8.5, 5.5), schRotation: y > 0 ? 270 : 90 }), jsx("trace", { from: `R${r}.pin1`, to: inNet }), jsx("trace", { from: `R${r}.pin2`, to: "net.GND" }), jsx("capacitor", { name: `C${c}`, capacitance: "100nF", footprint: "0402", ...pcb(-24.5, y > 0 ? 18.5 : -18.5), ...sch(-4.5, 5), schOrientation: "vertical" }), jsx("trace", { from: `C${c}.pin1`, to: inNet }), jsx(G6K_2F_Y_TR_DC5, { name: kc, noConnect: ["pin5", "pin6", "pin7"], ...pcb(-22.5, y), ...sch(-6, 3) }), jsx("trace", { from: `${kc}.pin1`, to: "net.P5V" }), jsx("trace", { from: `${kc}.pin8`, to: `net.K${kc}_DRV` }), jsx("trace", { from: `${kc}.pin2`, to: inNet }), jsx("trace", { from: `${kc}.pin4`, to: `C${c}.pin2` }), jsx("trace", { from: `${kc}.pin3`, to: n("CPL") }), jsx("resistor", { name: `R${r + 1}`, resistance: "9M", footprint: "0402", ...pcb(-18, y > 0 ? 5.5 : -5.5), ...sch(-6.1, 0) }), jsx("resistor", { name: `R${r + 2}`, resistance: "1M", footprint: "0402", pcbRotation: y > 0 ? 180 : 0, ...pcb(y > 0 ? -18 : -10, y > 0 ? 18.5 : -18.5), ...sch(-3.5, -3), schRotation: 270 }), jsx("trace", { from: `R${r + 1}.pin1`, to: n("CPL") }), jsx("trace", { from: `R${r + 1}.pin2`, to: n("TAP") }), jsx("trace", { from: `R${r + 2}.pin1`, to: n("TAP") }), jsx("trace", { from: `R${r + 2}.pin2`, to: "net.GND" }), jsx(G6K_2F_Y_TR_DC5, { name: ka, noConnect: ["pin5", "pin6", "pin7"], ...pcb(-11.5, y), ...sch(-0.5, 3) }), jsx("trace", { from: `${ka}.pin1`, to: "net.P5V" }), jsx("trace", { from: `${ka}.pin8`, to: `net.K${ka}_DRV` }), jsx("trace", { from: `${ka}.pin2`, to: n("TAP") }), jsx("trace", { from: `${ka}.pin4`, to: n("CPL") }), jsx("trace", { from: `${ka}.pin3`, to: n("BUF") }), jsx(AD8065ARZ_REEL7, { name: u, ...pcb(-3, y), ...sch(3, 3) }), jsx("trace", { from: `${u}.pin3`, to: n("BUF") }), jsx("trace", { from: `${u}.pin7`, to: "net.P5VA" }), jsx("trace", { from: `${u}.pin4`, to: "net.N5VA" }), jsx("resistor", { name: `R${r + 3}`, resistance: "0", footprint: "0402", ...pcb(-4.5, y > 0 ? 6.6 : -6.6), ...sch(4.5, 6), schRotation: y > 0 ? 270 : 90 }), jsx("trace", { from: `R${r + 3}.pin1`, to: `${u}.pin6` }), jsx("trace", { from: `R${r + 3}.pin2`, to: `${u}.pin2` }), jsx("resistor", { name: `R${r + 4}`, resistance: "50", footprint: "0402", ...pcb(1.0, y), ...sch(5.5, 3) }), jsx("trace", { from: `${u}.pin6`, to: `R${r + 4}.pin1` }), jsx("trace", { from: `R${r + 4}.pin2`, to: n("DIF") }), jsx("capacitor", { name: `C${c + 1}`, capacitance: "100nF", footprint: "0402", pcbRotation: 180, ...pcb(-8.5, y > 0 ? 5.5 : -5.5), ...sch(2, 6), schRotation: 270 }), jsx("capacitor", { name: `C${c + 2}`, capacitance: "100nF", footprint: "0402", ...pcb(-10.5, y > 0 ? 5.5 : -5.5), ...sch(1.5, 0), schRotation: 270 }), jsx("trace", { from: `C${c + 1}.pin1`, to: "net.P5VA" }), jsx("trace", { from: `C${c + 1}.pin2`, to: "net.GND" }), jsx("trace", { from: `C${c + 2}.pin1`, to: "net.N5VA" }), jsx("trace", { from: `C${c + 2}.pin2`, to: "net.GND" }), jsx(LMH6518SQ_NOPB, { name: vga, noConnect: ["OUTAUX_POS", "OUTAUX_NEG"], ...pcb(7, y), ...sch(9, 3) }), jsx("trace", { from: `${vga}.IN_POS`, to: `C${c + 3}.pin2` }), jsx("trace", { from: `${vga}.IN_NEG`, to: `C${c + 4}.pin2` }), jsx("capacitor", { name: `C${c + 3}`, capacitance: "100nF", footprint: "0402", ...pcb(4.5, y > 0 ? 15.5 : -15.5), ...sch(7.5, 0), schOrientation: "vertical" }), jsx("capacitor", { name: `C${c + 4}`, capacitance: "100nF", footprint: "0402", ...pcb(6.5, y > 0 ? 15.5 : -15.5), ...sch(7.5, 1.5) }), jsx("trace", { from: `C${c + 3}.pin1`, to: n("DIFP") }), jsx("trace", { from: `C${c + 4}.pin1`, to: n("DIFN") }), jsx("trace", { from: `${vga}.VCC1`, to: "net.P5VA" }), jsx("trace", { from: `${vga}.VCC2`, to: "net.P5VA" }), jsx("trace", { from: `${vga}.VDD`, to: "net.P5VA" }), jsx("trace", { from: `${vga}.GND1`, to: "net.GND" }), jsx("trace", { from: `${vga}.GND2`, to: "net.GND" }), jsx("trace", { from: `${vga}.OUT_POS`, to: `net.VGA_${ch}_OUTP` }), jsx("trace", { from: `${vga}.OUT_NEG`, to: `net.VGA_${ch}_OUTN` }), jsx("trace", { from: `${vga}.N_CS`, to: `net.VGA_${ch}_CS` }), jsx("trace", { from: `${vga}.SDIO`, to: "net.VGA_SDIO" }), jsx("trace", { from: `${vga}.SCLK`, to: "net.VGA_SCLK" }), jsx("trace", { from: `${vga}.VCM`, to: `net.VCM_${ch}` }), jsx("trace", { from: `${vga}.VCM_AUX`, to: `net.VCM_AUX_${ch}` }), jsx("capacitor", { name: `C${c + 5}`, capacitance: "100nF", footprint: "0402", ...pcb(6.5, y > 0 ? 17.5 : -17.5), ...sch(8, 6), schRotation: 270 }), jsx("capacitor", { name: `C${c + 6}`, capacitance: "100nF", footprint: "0402", ...pcb(8.5, y > 0 ? 17.5 : -17.5), ...sch(9.5, 6), schRotation: 270 }), jsx("trace", { from: `C${c + 5}.pin1`, to: `net.VCM_${ch}` }), jsx("trace", { from: `C${c + 5}.pin2`, to: "net.GND" }), jsx("trace", { from: `C${c + 6}.pin1`, to: `net.VCM_AUX_${ch}` }), jsx("trace", { from: `C${c + 6}.pin2`, to: "net.GND" })] }));
}
const pinLabels$7 = {
pin1: ["GND1"],
pin2: ["AINA"],
pin3: ["N_AINA"],
pin4: ["DFS"],
pin5: ["REFINA"],
pin6: ["REFOUT"],
pin7: ["REFINB"],
pin8: ["S1"],
pin9: ["S2"],
pin10: ["N_AINB"],
pin11: ["AINB"],
pin12: ["GND2"],
pin13: ["VD1"],
pin14: ["ENCB"],
pin15: ["VDD1"],
pin16: ["GND3"],
pin17: ["MSB_D7B"],
pin18: ["D6B"],
pin19: ["D5B"],
pin20: ["D4B"],
pin21: ["D3B"],
pin22: ["D2B"],
pin23: ["D1B"],
pin24: ["D0B"],
pin25: ["NC1"],
pin26: ["NC2"],
pin27: ["GND4"],
pin28: ["VDD2"],
pin29: ["GND5"],
pin30: ["VD2"],
pin31: ["VD3"],
pin32: ["GND6"],
pin33: ["VDD3"],
pin34: ["GND7"],
pin35: ["NC3"],
pin36: ["NC4"],
pin37: ["D0A"],
pin38: ["D1A"],
pin39: ["D2A"],
pin40: ["D3A"],
pin41: ["D4A"],
pin42: ["D5A"],
pin43: ["D6A"],
pin44: ["D7A_MSB"],
pin45: ["GND8"],
pin46: ["VDD4"],
pin47: ["ENCA"],
pin48: ["VD4"]
};
const pinAttributes$5 = {
pin1: { requiresGround: true },
pin12: { requiresGround: true },
pin16: { requiresGround: true },
pin25: { doNotConnect: true },
pin26: { doNotConnect: true },
pin27: { requiresGround: true },
pin29: { requiresGround: true },
pin32: { requiresGround: true },
pin34: { requiresGround: true },
pin35: { doNotConnect: true },
pin36: { doNotConnect: true },
pin45: { requiresGround: true }
};
const AD9288BSTZ_80 = (props) => {
return (jsx("chip", { pinLabels: pinLabels$7, pinAttributes: pinAttributes$5, supplierPartNumbers: {
"jlcpcb": [
"C514284"
]
}, manufacturerPartNumber: "AD9288BSTZ-80", footprint: "qfn48_pillpads_h10.2mm_pw0.27mm_pl1.5mm_pin1location(bottomside,left)", cadModel: {
objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C514284.obj?uuid=a4b96ad857dc48c08dab3d0efdf20aec",
stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C514284.step?uuid=a4b96ad857dc48c08dab3d0efdf20aec",
pcbRotationOffset: 0,
modelOriginPosition: { x: 0, y: 0, z: 0.000795 },
}, ...props }));
};
const pinLabels$6 = {
pin1: ["OE", "N_ST", "NC"],
pin2: ["GND"],
pin3: ["OUT"],
pin4: ["VDD"]
};
const pinAttributes$4 = {
pin2: { requiresGround: true },
pin4: { requiresPower: true }
};
const SiT8008BI_21_33E_25_000000 = (props) => {
return (jsx("chip", { pinLabels: pinLabels$6, pinAttributes: pinAttributes$4, supplierPartNumbers: {
"jlcpcb": [
"C818511"
]
}, manufacturerPartNumber: "SiT8008BI-21-33E-25.000000", footprint: jsxs("footprint", { children: [jsx("smtpad", { portHints: ["pin1"], pcbX: "-1.100074mm", pcbY: "-0.87503mm", width: "1.3999972mm", height: "1.1999976mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin2"], pcbX: "1.100074mm", pcbY: "-0.87503mm", width: "1.3999972mm", height: "1.1999976mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin3"], pcbX: "1.100074mm", pcbY: "0.87503mm", width: "1.3999972mm", height: "1.1999976mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin4"], pcbX: "-1.100074mm", pcbY: "0.87503mm", width: "1.3999972mm", height: "1.1999976mm", shape: "rect" }), jsx("silkscreenpath", { route: [{ "x": -2.029459999999972, "y": 1.7213071999999556 }, { "x": -2.029459999999972, "y": -1.6786859999999706 }, { "x": 2.070531800000026, "y": -1.6786859999999706 }, { "x": 2.070531800000026, "y": 1.7213071999999556 }, { "x": -2.029459999999972, "y": 1.7213071999999556 }] }), jsx("silkscreenpath", { route: [{ "x": -2.286000000000058, "y": -1.396872999999914 }, { "x": -2.286000000000058, "y": -1.9048729999999523 }, { "x": -1.7780000000001337, "y": -1.9048729999999523 }] }), jsx("silkscreentext", { text: "{NAME}", pcbX: "-0.1016mm", pcbY: "2.727454mm", anchorAlignment: "center", fontSize: "1mm" }), jsx("fabricationnotepath", { route: [{ "x": -1.4860777999999755, "y": -0.42781219999994846 }, { "x": -1.450085999999942, "y": -0.42781219999994846 }, { "x": -1.450085999999942, "y": -1.0038079999999354 }, { "x": -1.4860777999999755, "y": -1.0038079999999354 }, { "x": -1.4860777999999755, "y": -0.42781219999994846 }], strokeWidth: "0mm", isFilled: true, hasStroke: false }), jsx("fabricationnotepath", { route: [{ "x": -1.522069600000009, "y": -0.42781219999994846 }, { "x": -1.4860777999999755, "y": -0.42781219999994846 }, { "x": -1.4860777999999755, "y": -1.0038079999999354 }, { "x": -1.522069600000009, "y": -1.0038079999999354 }, { "x": -1.522069600000009, "y": -0.42781219999994846 }], strokeWidth: "0mm", isFilled: true, hasStroke: false }), jsx("fabricationnotepath", { route: [{ "x": -1.5580867999999555, "y": -0.42781219999994846 }, { "x": -1.522069600000009, "y": -0.42781219999994846 }, { "x": -1.522069600000009, "y": -1.0038079999999354 }, { "x": -1.5580867999999555, "y": -1.0038079999999354 }, { "x": -1.5580867999999555, "y": -0.42781219999994846 }], strokeWidth: "0mm", isFilled: true, hasStroke: false }), jsx("fabricationnotepath", { route: [{ "x": -1.594078599999989, "y": -0.4638039999999819 }, { "x": -1.5580867999999555, "y": -0.4638039999999819 }, { "x": -1.5580867999999555, "y": -1.0038079999999354 }, { "x": -1.594078599999989, "y": -1.0038079999999354 }, { "x": -1.594078599999989, "y": -0.4638039999999819 }], strokeWidth: "0mm", isFilled: true, hasStroke: false }), jsx("fabricationnotepath", { route: [{ "x": -1.6300704000000223, "y": -0.4638039999999819 }, { "x": -1.594078599999989, "y": -0.4638039999999819 }, { "x": -1.594078599999989, "y": -0.5718047999998817 }, { "x": -1.6300704000000223, "y": -0.5718047999998817 }, { "x": -1.6300704000000223, "y": -0.4638039999999819 }], strokeWidth: "0mm", isFilled: true, hasStroke: false }), jsx("fabricationnotepath", { route: [{ "x": -1.666087599999969, "y": -0.49979579999990165 }, { "x": -1.6300704000000223, "y": -0.49979579999990165 }, { "x": -1.6300704000000223, "y": -0.6077965999999151 }, { "x": -1.666087599999969, "y": -0.6077965999999151 }, { "x": -1.666087599999969, "y": -0.49979579999990165 }], strokeWidth: "0mm", isFilled: true, hasStroke: false }), jsx("fabricationnotepath", { route: [{ "x": -1.7020794000000024, "y": -0.5358129999998482 }, { "x": -1.666087599999969, "y": -0.5358129999998482 }, { "x": -1.666087599999969, "y": -0.6077965999999151 }, { "x": -1.7020794000000024, "y": -0.6077965999999151 }, { "x": -1.7020794000000024, "y": -0.5358129999998482 }], strokeWidth: "0mm", isFilled: true, hasStroke: false }), jsx("fabricationnotepath", { route: [{ "x": -1.7380712000000358, "y": -0.5358129999998482 }, { "x": -1.7020794000000024, "y": -0.5358129999998482 }, { "x": -1.7020794000000024, "y": -0.6077965999999151 }, { "x": -1.7380712000000358, "y": -0.6077965999999151 }, { "x": -1.7380712000000358, "y": -0.5358129999998482 }], strokeWidth: "0mm", isFilled: true, hasStroke: false }), jsx("fabricationnotepath", { route: [{ "x": -1.2065000000000055, "y": 1.2065000000000055 }, { "x": -1.2065000000000055, "y": 0.5715000000000146 }, { "x": -1.0795000000000528, "y": 0.5715000000000146 }, { "x": -1.0795000000000528, "y": 1.2065000000000055 }, { "x": -1.2065000000000055, "y": 1.2065000000000055 }], strokeWidth: "0mm", isFilled: true, hasStroke: false }), jsx("fabricationnotepath", { route: [{ "x": -1.4677136000000246, "y": 0.8197595999999976 }, { "x": -0.8327136000000337, "y": 0.8197595999999976 }, { "x": -0.8327136000000337, "y": 0.946759600000064 }, { "x": -1.4677136000000246, "y": 0.946759600000064 }, { "x": -1.4677136000000246, "y": 0.8197595999999976 }], strokeWidth: "0mm", isFilled: true, hasStroke: false }), jsx("courtyardoutline", { outline: [{ "x": -2.0500725999999077, "y": 1.7250288000000182 }, { "x": 2.0500725999999077, "y": 1.7250288000000182 }, { "x": 2.0500725999999077, "y": -1.7250287999999045 }, { "x": -2.0500725999999077, "y": -1.7250287999999045 }, { "x": -2.0500725999999077, "y": 1.7250288000000182 }] })] }), cadModel: {
objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C818511.obj?uuid=3d8e5f33629249f9a4089449c02742d4",
stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C818511.step?uuid=3d8e5f33629249f9a4089449c02742d4",
pcbRotationOffset: 0,
modelOriginPosition: { x: 0, y: -12700000070253736e-21, z: -0.01 },
}, ...props }));
};
const pinLabels$5 = {
pin1: ["N_PD1"],
pin2: ["VIN1_POS"],
pin3: ["VIN1_NEG"],
pin4: ["VOCM1"],
pin5: ["N_PD2"],
pin6: ["VIN2_POS"],
pin7: ["VIN2_NEG"],
pin8: ["VOCM2"],
pin9: ["VS2_POS"],
pin10: ["VOUT2_POS"],
pin11: ["VOUT2_NEG"],
pin12: ["VS_NEG2"],
pin13: ["VS1_POS"],
pin14: ["VOUT1_POS"],
pin15: ["VOUT1_NEG"],
pin16: ["VS_NEG1"]
};
const THS4522IPWR = (props) => {
return (jsx("chip", { pinLabels: pinLabels$5, supplierPartNumbers: {
"jlcpcb": [
"C575549"
]
}, manufacturerPartNumber: "THS4522IPWR", footprint: "tssop16_p0.65mm_w4mm_pw0.343mm_pl1.7315mm_rounded0.1715mm_pin1location(leftside,bottom)", cadModel: {
objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C575549.obj?uuid=534f03d8fe164fbab551f91e5a792e30",
stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C575549.step?uuid=534f03d8fe164fbab551f91e5a792e30",
pcbRotationOffset: 90,
modelOriginPosition: { x: -12700000002041634e-20, y: 0, z: -0.019205 },
}, ...props }));
};
const DATA_A = ["DA0", "DA1", "DA2", "DA3", "DA4", "DA5", "DA6", "DA7"];
const DATA_B = ["DB0", "DB1", "DB2", "DB3", "DB4", "DB5", "DB6", "DB7"];
function adcParts() {
return (jsxs(Fragment, { children: [jsx(THS4522IPWR, { name: "U5", pcbX: 1.5, pcbY: 0, schSheetName: "ADC", schX: -9, schY: 3 }), jsx("trace", { from: "U5.VS1_POS", to: "net.P5VA" }), jsx("trace", { from: "U5.VS2_POS", to: "net.P5VA" }), jsx("trace", { from: "U5.VS_NEG1", to: "net.GND" }), jsx("trace", { from: "U5.VS_NEG2", to: "net.GND" }), jsx("trace", { from: "U5.N_PD1", to: "net.P5VA" }), jsx("trace", { from: "U5.N_PD2", to: "net.P5VA" }), jsx("trace", { from: "U5.VOCM1", to: "net.VMID25" }), jsx("trace", { from: "U5.VOCM2", to: "net.VMID25" }), jsx("resistor", { name: "R301", resistance: "200", footprint: "0402", pcbX: -4, pcbY: 5, schSheetName: "ADC", schX: -14.59, schY: -3 }), jsx("resistor", { name: "R302", resistance: "200", footprint: "0402", pcbX: -2, pcbY: 5, schSheetName: "ADC", schX: -12.35, schY: -3, schRotation: 270 }), jsx("resistor", { name: "R303", resistance: "200", footprint: "0402", pcbX: 0, pcbY: 5, schSheetName: "ADC", schX: -10.47, schY: -3 }), jsx("resistor", { name: "R304", resistance: "200", footprint: "0402", pcbX: 2, pcbY: 5, schSheetName: "ADC", schX: -8.59, schY: -3 }), jsx("trace", { from: "R301.pin1", to: "net.CHA_DIF" }), jsx("trace", { from: "R301.pin2", to: "U5.VIN1_POS" }), jsx("trace", { from: "R302.pin1", to: "U5.VIN1_NEG" }), jsx("trace", { from: "R302.pin2", to: "net.GND" }), jsx("trace", { from: "R303.pin1", to: "U5.VOUT1_NEG" }), jsx("trace", { from: "R303.pin2", to: "U5.VIN1_POS" }), jsx("trace", { from: "R304.pin1", to: "U5.VOUT1_POS" }), jsx("trace", { from: "R304.pin2", to: "U5.VIN1_NEG" }), jsx("resistor", { name: "R305", resistance: "200", footprint: "0402", pcbX: -6, pcbY: -5, schSheetName: "ADC", schX: -14.59, schY: -6 }), jsx("resistor", { name: "R306", resistance: "200", footprint: "0402", pcbRotation: 180, pcbX: -4, pcbY: -5, schSheetName: "ADC", schX: -12.35, schY: -6, schRotation: 270 }), jsx("resistor", { name: "R307", resistance: "200", footprint: "0402", pcbRotation: 180, pcbX: -2, pcbY: -5, schSheetName: "ADC", schX: -10.47, schY: -6 }), jsx("resistor", { name: "R308", resistance: "200", footprint: "0402", pcbX: 0, pcbY: -5, schSheetName: "ADC", schX: -8.59, schY: -6 }), jsx("trace", { from: "U5.VOUT1_POS", to: "net.CHA_DIFP" }), jsx("trace", { from: "U5.VOUT1_NEG", to: "net.CHA_DIFN" }), jsx("trace", { from: "U5.VOUT2_POS", to: "net.CHB_DIFP" }), jsx("trace", { from: "U5.VOUT2_NEG", to: "net.CHB_DIFN" }), jsx("trace", { from: "R305.pin1", to: "net.CHB_DIF" }), jsx("trace", { from: "R305.pin2", to: "U5.VIN2_POS" }), jsx("trace", { from: "R306.pin1", to: "U5.VIN2_NEG" }), jsx("trace", { from: "R306.pin2", to: "net.GND" }), jsx("trace", { from: "R307.pin1", to: "U5.VOUT2_NEG" }), jsx("trace", { from: "R307.pin2", to: "U5.VIN2_POS" }), jsx("trace", { from: "R308.pin1", to: "U5.VOUT2_POS" }), jsx("trace", { from: "R308.pin2", to: "U5.VIN2_NEG" }), jsx("capacitor", { name: "C301", capacitance: "100nF", footprint: "0402", pcbX: 4, pcbY: 5, schSheetName: "ADC", schX: -8.5, schY: -2, schRotation: 270 }), jsx("capacitor", { name: "C302", capacitance: "100nF", footprint: "0402", pcbRotation: 180, pcbX: 6, pcbY: 5, schSheetName: "ADC", schX: -7, schY: -2, schRotation: 270 }), jsx("trace", { from: "C301.pin1", to: "net.P5VA" }), jsx("trace", { from: "C301.pin2", to: "net.GND" }), jsx("trace", { from: "C302.pin1", to: "net.P5VA" }), jsx("trace", { from: "C302.pin2", to: "net.GND" }), jsx("resistor", { name: "R309", resistance: "10k", footprint: "0402", pcbX: 8, pcbY: 5, schSheetName: "ADC", schX: -7.5, schY: -1 }), jsx("resistor", { name: "R310", resistance: "10k", footprint: "0402", pcbX: 10, pcbY: 5, schSheetName: "ADC", schX: -6, schY: -1, schRotation: 270 }), jsx("capacitor", { name: "C305", capacitance: "100nF", footprint: "0402", pcbX: 12, pcbY: 5, schSheetName: "ADC", schX: -4.5, schY: -1, schRotation: 270 }), jsx("trace", { from: "R309.pin1", to: "net.P5VA" }), jsx("trace", { from: "R309.pin2", to: "net.VMID25" }), jsx("trace", { from: "R310.pin1", to: "net.VMID25" }), jsx("trace", { from: "R310.pin2", to: "net.GND" }), jsx("trace", { from: "C305.pin1", to: "net.VMID25" }), jsx("trace", { from: "C305.pin2", to: "net.GND" }), jsx(THS4522IPWR, { name: "U6", pcbX: 13, pcbY: 0, schSheetName: "ADC", schX: 0, schY: 3 }), jsx("trace", { from: "U6.VS1_POS", to: "net.P5VA" }), jsx("trace", { from: "U6.VS2_POS", to: "net.P5VA" }), jsx("trace", { from: "U6.VS_NEG1", to: "net.GND" }), jsx("trace", { from: "U6.VS_NEG2", to: "net.GND" }), jsx("trace", { from: "U6.N_PD1", to: "net.P5VA" }), jsx("trace", { from: "U6.N_PD2", to: "net.P5VA" }), jsx("trace", { from: "U6.VOCM1", to: "net.VREF125" }), jsx("trace", { from: "U6.VOCM2", to: "net.VREF125" }), jsx("capacitor", { name: "C312", capacitance: "100nF", footprint: "0402", pcbX: 2.8, pcbY: 7, schSheetName: "ADC", schX: -5.5, schY: -2, schRotation: 270 }), jsx("capacitor", { name: "C313", capacitance: "100nF", footprint: "0402", pcbX: 4.9, pcbY: 7, schSheetName: "ADC", schX: -4, schY: -2, schRotation: 270 }), jsx("trace", { from: "C312.pin1", to: "net.P5VA" }), jsx("trace", { from: "C312.pin2", to: "net.GND" }), jsx("trace", { from: "C313.pin1", to: "net.P5VA" }), jsx("trace", { from: "C313.pin2", to: "net.GND" }), jsx("capacitor", { name: "C310", capacitance: "100nF", footprint: "0402", pcbX: 7.0, pcbY: 7, schSheetName: "ADC", schX: 0.81, schY: -1, schRotation: 270 }), jsx("capacitor", { name: "C311", capacitance: "100nF", footprint: "0402", pcbX: 9.1, pcbY: 7, schSheetName: "ADC", schX: 1.69, schY: -3, schRotation: 270 }), jsx("trace", { from: "C310.pin1", to: "net.VGA_A_OUTP" }), jsx("trace", { from: "C310.pin2", to: "net.ADCA_IP" }), jsx("trace", { from: "C311.pin1", to: "net.VGA_A_OUTN" }), jsx("trace", { from: "C311.pin2", to: "net.ADCA_IN" }), jsx("resistor", { name: "R311", resistance: "200", footprint: "0402", pcbX: 11.2, pcbY: 7, schSheetName: "ADC", schX: 2.29, schY: -1 }), jsx("resistor", { name: "R312", resistance: "200", footprint: "0402", pcbX: 13.3, pcbY: 7, schSheetName: "ADC", schX: 4.05, schY: -1 }), jsx("resistor", { name: "R313", resistance: "200", footprint: "0402", pcbX: 15.4, pcbY: 7, schSheetName: "ADC", schX: 6.91, schY: -1 }), jsx("resistor", { name: "R314", resistance: "200", footprint: "0402", pcbX: 17.5, pcbY: 7, schSheetName: "ADC", schX: 8.55, schY: -1 }), jsx("trace", { from: "R311.pin1", to: "net.ADCA_IP" }), jsx("trace", { from: "R311.pin2", to: "U6.VIN1_POS" }), jsx("trace", { from: "R312.pin1", to: "net.ADCA_IN" }), jsx("trace", { from: "R312.pin2", to: "U6.VIN1_NEG" }), jsx("trace", { from: "R313.pin1", to: "U6.VOUT1_NEG" }), jsx("trace", { from: "R313.pin2", to: "U6.VIN1_POS" }), jsx("trace", { from: "R314.pin1", to: "U6.VOUT1_POS" }), jsx("trace", { from: "R314.pin2", to: "U6.VIN1_NEG" }), jsx("trace", { from: "U6.VOUT1_POS", to: "net.ADCA_P" }), jsx("trace", { from: "U6.VOUT1_NEG", to: "net.ADCA_N" }), jsx("capacitor", { name: "C314", capacitance: "100nF", footprint: "0402", pcbX: 7.0, pcbY: -7, schSheetName: "ADC", schX: 0.5, schY: -5, schRotation: 270 }), jsx("capacitor", { name: "C315", capacitance: "100nF", footprint: "0402", pcbX: 9.1, pcbY: -7, schSheetName: "ADC", schX: 1.92, schY: -7, schRotation: 270 }), jsx("trace", { from: "C314.pin1", to: "net.VGA_B_OUTP" }), jsx("trace", { from: "C314.pin2", to: "net.ADCB_IP" }), jsx("trace", { from: "C315.pin1", to: "net.VGA_B_OUTN" }), jsx("trace", { from: "C315.pin2", to: "net.ADCB_IN" }), jsx("resistor", { name: "R315", resistance: "200", footprint: "0402", pcbX: 11.2, pcbY: -7, schSheetName: "ADC", schX: 5.9, schY: -5 }), jsx("resistor", { name: "R316", resistance: "200", footprint: "0402", pcbX: 13.3, pcbY: -7, schSheetName: "ADC", schX: 2.6, schY: -5 }), jsx("resistor", { name: "R317", resistance: "200", footprint: "0402", pcbRotation: 180, pcbX: 15.4, pcbY: -7, schSheetName: "ADC", schX: 8.2, schY: -5 }), jsx("resistor", { name: "R318", resistance: "200", footprint: "0402", pcbRotation: 180, pcbX: 17.5, pcbY: -7, schSheetName: "ADC", schX: 9.87, schY: -5 }), jsx("trace", { from: "R315.pin1", to: "net.ADCB_IP" }), jsx("trace", { from: "R315.pin2", to: "U6.VIN2_POS" }), jsx("trace", { from: "R316.pin1", to: "net.ADCB_IN" }), jsx("trace", { from: "R316.pin2", to: "U6.VIN2_NEG" }), jsx("trace", { from: "R317.pin1", to: "U6.VOUT2_NEG" }), jsx("trace", { from: "R317.pin2", to: "U6.VIN2_POS" }), jsx("trace", { from: "R318.pin1", to: "U6.VOUT2_POS" }), jsx("trace", { from: "R318.pin2", to: "U6.VIN2_NEG" }), jsx("trace", { from: "U6.VOUT2_POS", to: "net.ADCB_P" }), jsx("trace", { from: "U6.VOUT2_NEG", to: "net.ADCB_N" }), jsx("capacitor", { name: "C318", capacitance: "10uF", footprint: "0805", pcbX: 14, pcbY: 10, schSheetName: "ADC", schX: -2.5, schY: -2, schRotation: 270 }), jsx("trace", { from: "C318.pin1", to: "net.P5VA" }), jsx("trace", { from: "C318.pin2", to: "net.GND" }), jsx(AD9288BSTZ_80, { name: "U7", pcbX: 22.5, pcbY: 0, noConnect: ["NC1", "NC2", "NC3", "NC4"], pinAttributes: {
GND1: { requiresGround: true },
GND2: { requiresGround: true },
GND3: { requiresGround: true },
GND4: { requiresGround: true },
GND5: { requiresGround: true },
GND6: { requiresGround: true },
GND7: { requiresGround: true },
GND8: { requiresGround: true },
VDD1: { requiresPower: true },
VDD2: { requiresPower: true },
VDD3: { requiresPower: true },
VDD4: { requiresPower: true },
VD1: { requiresPower: true },
VD2: { requiresPower: true },
VD3: { requiresPower: true },
VD4: { requiresPower: true },
ENCA: { mustBeConnected: true },
ENCB: { mustBeConnected: true },
REFINA: { mustBeConnected: true },
REFOUT: { mustBeConnected: true },
S1: { mustBeConnected: true },
S2: { mustBeConnected: true },
DFS: { mustBeConnected: true },
}, schSheetName: "ADC", schX: 8.96, schY: 3, schWidth: 2.2, schHeight: 5 }), jsx("trace", { from: "U7.AINA", to: "net.ADCA_P" }), jsx("trace", { from: "U7.N_AINA", to: "net.ADCA_N" }), jsx("trace", { from: "U7.AINB", to: "net.ADCB_P" }), jsx("trace", { from: "U7.N_AINB", to: "net.ADCB_N" }), jsx("trace", { from: "U7.ENCA", to: "net.CLK25" }), jsx("trace", { from: "U7.ENCB", to: "net.CLK25" }), jsx("trace", { from: "U7.S1", to: "net.GND" }), jsx("trace", { from: "U7.S2", to: "net.GND" }), jsx("trace", { from: "U7.DFS", to: "net.GND" }), jsx("trace", { from: "U7.REFINA", to: "net.VREF125" }), jsx("trace", { from: "U7.REFOUT", to: "net.VREF125" }), jsx("capacitor", { name: "C320", capacitance: "100nF", footprint: "0402", pcbX: 19, pcbY: 9.5, schSheetName: "ADC", schX: 6.78, schY: 0, schRotation: 270 }), jsx("trace", { from: "C320.pin1", to: "net.VREF125" }), jsx("trace", { from: "C320.pin2", to: "net.GND" }), jsx("trace", { from: "U7.GND1", to: "net.GND" }), jsx("trace", { from: "U7.GND2", to: "net.GND" }), jsx("trace", { from: "U7.GND3", to: "net.GND" }), jsx("trace", { from: "U7.GND4", to: "net.GND" }), jsx("trace", { from: "U7.GND5", to: "net.GND" }), jsx("trace", { from: "U7.GND6", to: "net.GND" }), jsx("trace", { from: "U7.GND7", to: "net.GND" }), jsx("trace", { from: "U7.GND8", to: "net.GND" }), jsx("trace", { from: "U7.VDD1", to: "net.P3V3" }), jsx("trace", { from: "U7.VDD2", to: "net.P3V3" }), jsx("trace", { from: "U7.VDD3", to: "net.P3V3" }), jsx("trace", { from: "U7.VDD4", to: "net.P3V3" }), jsx("trace", { from: "U7.VD1", to: "net.P3V3" }), jsx("trace", { from: "U7.VD2", to: "net.P3V3" }), jsx("trace", { from: "U7.VD3", to: "net.P3V3" }), jsx("trace", { from: "U7.VD4", to: "net.P3V3" }), jsx("capacitor", { name: "C321", capacitance: "100nF", footprint: "0402", pcbX: 17.5, pcbY: 8.5, schSheetName: "ADC", schX: 11.16, schY: 0, schRotation: 270 }), jsx("capacitor", { name: "C322", capacitance: "100nF", footprint: "0402", pcbRotation: 180, pcbX: 26, pcbY: -8, schSheetName: "ADC", schX: 12.8, schY: 0, schRotation: 270 }), jsx("trace", { from: "C321.pin1", to: "net.P3V3" }), jsx("trace", { from: "C321.pin2", to: "net.GND" }), jsx("trace", { from: "C322.pin1", to: "net.P3V3" }), jsx("trace", { from: "C322.pin2", to: "net.GND" }), jsx(SiT8008BI_21_33E_25_000000, { name: "X1", pcbX: 22.5, pcbY: 9, schSheetName: "ADC", schX: 11.33, schY: -4 }), jsx("trace", { from: "X1.OE", to: "net.P3V3" }), jsx("trace", { from: "X1.VDD", to: "net.P3V3" }), jsx("trace", { from: "X1.GND", to: "net.GND" }), jsx("resistor", { name: "R320", resistance: "33", footprint: "0402", pcbX: 22.5, pcbY: 6.5, schSheetName: "ADC", schX: 13.68, schY: -4, schRotation: 270 }), jsx("trace", { from: "X1.OUT", to: "R320.pin1" }), jsx("trace", { from: "R320.pin2", to: "net.CLK25" }), jsx("capacitor", { name: "C323", capacitance: "100nF", footprint: "0402", pcbX: 19.5, pcbY: 10.5, schSheetName: "ADC", schX: 14.4, schY: 0, schRotation: 270 }), jsx("trace", { from: "C323.pin1", to: "net.P3V3" }), jsx("trace", { from: "C323.pin2", to: "net.GND" }), jsx("pinheader", { name: "J3", pinCount: 20, doubleRow: true, pitch: "2.54mm", footprint: "pinrow20_p2.54mm_rows2", pinLabels: ["GND", ...DATA_A, "GND", "P3V3", ...DATA_B, "CLK25"], schWidth: 0.675, schSheetName: "ADC", schX: 17, schY: 3, schRotation: 90, pcbX: 36, pcbY: 0, pcbRotation: 90 }), jsx("trace", { from: "J3.pin1", to: "net.GND" }), jsx("trace", { from: "J3.pin10", to: "net.GND" }), jsx("trace", { from: "J3.pin11", to: "net.P3V3" }), jsx("trace", { from: "J3.pin20", to: "net.CLK25" }), jsx("trace", { name: "DA0", from: "U7.D0A", to: "J3.pin2" }), jsx("trace", { name: "DA1", from: "U7.D1A", to: "J3.pin3" }), jsx("trace", { name: "DA2", from: "U7.D2A", to: "J3.pin4" }), jsx("trace", { name: "DA3", from: "U7.D3A", to: "J3.pin5" }), jsx("trace", { name: "DA4", from: "U7.D4A", to: "J3.pin6" }), jsx("trace", { name: "DA5", from: "U7.D5A", to: "J3.pin7" }), jsx("trace", { name: "DA6", from: "U7.D6A", to: "J3.pin8" }), jsx("trace", { name: "DA7", from: "U7.D7A_MSB", to: "J3.pin9" }), jsx("trace", { name: "DB0", from: "U7.D0B", to: "J3.pin12" }), jsx("trace", { name: "DB1", from: "U7.D1B", to: "J3.pin13" }), jsx("trace", { name: "DB2", from: "U7.D2B", to: "J3.pin14" }), jsx("trace", { name: "DB3", from: "U7.D3B", to: "J3.pin15" }), jsx("trace", { name: "DB4", from: "U7.D4B", to: "J3.pin16" }), jsx("trace", { name: "DB5", from: "U7.D5B", to: "J3.pin17" }), jsx("trace", { name: "DB6", from: "U7.D6B", to: "J3.pin18" }), jsx("trace", { name: "DB7", from: "U7.MSB_D7B", to: "J3.pin19" }), jsx("bus", { name: "ADC_DATA", connections: [
"U7.D0A",
"U7.D1A",
"U7.D2A",
"U7.D3A",
"U7.D4A",
"U7.D5A",
"U7.D6A",
"U7.D7A_MSB",
"U7.D0B",
"U7.D1B",
"U7.D2B",
"U7.D3B",
"U7.D4B",
"U7.D5B",
"U7.D6B",
"U7.MSB_D7B",
], pcbTraceWidth: "0.15mm", pcbSpacingToOtherSignals: "0.2mm" })] }));
}
const pinLabels$4 = {
pin1: ["VIN"],
pin2: ["GND"],
pin3: ["EN"],
pin4: ["NC"],
pin5: ["VOUT"]
};
const pinAttributes$3 = {
pin1: { isInput: true, requiresPower: true, mustBeConnected: true, shouldHaveDecouplingCapacitor: true, recommendedDecouplingCapacitorCapacitance: "1uF" },
pin2: { requiresGround: true, mustBeConnected: true },
pin4: { doNotConnect: true },
pin5: { isOutput: true, providesPower: true, providesVoltage: "3.3V", shouldHaveDecouplingCapacitor: true, recommendedDecouplingCapacitorCapacitance: "1uF" },
pin3: { isInput: true }
};
const AP2112K_3_3TRG1 = (props) => {
return (jsx("chip", { pinLabels: pinLabels$4, pinAttributes: pinAttributes$3, supplierPartNumbers: {
"jlcpcb": [
"C51118"
]
}, manufacturerPartNumber: "AP2112K-3.3TRG1", footprint: "dfn6_missing(5)_p0.95mm_w3.7mm_pw0.62mm_pl1.1mm_pin1location(leftside,bottom)", cadModel: {
objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C51118.obj?uuid=6d166d1d6c064b99aa79465714e989c1",
stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C51118.step?uuid=6d166d1d6c064b99aa79465714e989c1",
pcbRotationOffset: 0,
modelOriginPosition: { x: -12700000070253736e-21, y: 0, z: -0.15 },
}, ...props }));
};
const pinLabels$3 = {
pin1: ["SC"],
pin2: ["SE"],
pin3: ["TC"],
pin4: ["GND"],
pin5: ["CII"],
pin6: ["VCC"],
pin7: ["IPK"],
pin8: ["DC"]
};
const pinAttributes$2 = {
pin4: { requiresGround: true },
pin6: { requiresPower: true }
};
const MC34063ADR2G = (props) => {
return (jsx("chip", { pinLabels: pinLabels$3, pinAttributes: pinAttributes$2, supplierPartNumbers: {
"jlcpcb": [
"C32078"
]
}, manufacturerPartNumber: "MC34063ADR2G", footprint: "soic8_pillpads_w7.36mm_pw0.57mm_pl1.95mm_pin1location(leftside,bottom)", cadModel: {
objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C32078.obj?uuid=7abc64c95a1a4a04a4ef38f9097c870b",
stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C32078.step?uuid=7abc64c95a1a4a04a4ef38f9097c870b",
pcbRotationOffset: 0,
modelOriginPosition: { x: 0.000012700000070253736, y: 0, z: 0 },
}, ...props }));
};
const pinLabels$2 = {
pin1: ["OUT"],
pin2: ["FB"],
pin3: ["NC"],
pin4: ["GND"],
pin5: ["EN"],
pin6: ["NRSS"],
pin7: ["DNC"],
pin8: ["IN"],
pin9: ["EP"]
};
const pinAttributes$1 = {
pin3: { doNotConnect: true },
pin4: { requiresGround: true }
};
const footprinterPinLabels$1 = {
...pinLabels$2,
"pin9": [...pinLabels$2["pin9"], "thermalpad"],
};
const TPS7A3001DGNR = (props) => {
return (jsx("chip", { pinLabels: footprinterPinLabels$1, pinAttributes: pinAttributes$1, supplierPartNumbers: {
"jlcpcb": [
"C33835"
]
}, manufacturerPartNumber: "TPS7A3001DGNR", footprint: "tssop8_thermalpad1.57mmx1.89mm_p0.65mm_pw0.36mm_pl1.4mm_pin1location(leftside,bottom)", ...props }));
};
const pinLabels$1 = {
pin1: ["OUT"],
pin2: ["FB"],
pin3: ["NC"],
pin4: ["GND"],
pin5: ["EN"],
pin6: ["NR", "SS"],
pin7: ["DNC"],
pin8: ["IN"],
pin9: ["PwPd"]
};
const pinAttributes = {
pin3: { doNotConnect: true },
pin4: { requiresGround: true }
};
const footprinterPinLabels = {
...pinLabels$1,
"pin9": [...pinLabels$1["pin9"], "thermalpad"],
};
const TPS7A4901DGNR = (props) => {
return (jsx("chip", { pinLabels: footprinterPinLabels, pinAttributes: pinAttributes, supplierPartNumbers: {
"jlcpcb": [
"C16430"
]
}, manufacturerPartNumber: "TPS7A4901DGNR", footprint: "tssop8_thermalpad1.57mmx1.89mm_p0.65mm_pw0.36mm_pl1.4mm_pin1location(leftside,bottom)", ...props }));
};
const pinLabels = {
pin1: ["1B"],
pin2: ["2B"],
pin3: ["3B"],
pin4: ["4B"],
pin5: ["5B"],
pin6: ["6B"],
pin7: ["7B"],
pin8: ["E"],
pin9: ["COM"],
pin10: ["7C"],
pin11: ["6C"],
pin12: ["5C"],
pin13: ["4C"],
pin14: ["3C"],
pin15: ["2C"],
pin16: ["1C"]
};
const ULN2003ADR = (props) => {
return (jsx("chip", { pinLabels: pinLabels, supplierPartNumbers: {
"jlcpcb": [
"C7512"
]
}, manufacturerPartNumber: "ULN2003ADR", footprint: "soic16_pillpads_w7.44mm_pl1.97mm_pin1location(leftside,bottom)", cadModel: {
objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C7512.obj?uuid=9adfdf34b7774b23880141fd3e8b4dbb",
stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C7512.step?uuid=9adfdf34b7774b23880141fd3e8b4dbb",
pcbRotationOffset: 0,
modelOriginPosition: { x: -12699999842880061e-21, y: 0, z: 0.000575 },
}, ...props }));
};
function powerParts() {
const sch = (x, y) => ({ schSheetName: "POWER", schX: x, schY: y });
return (jsxs(Fragment, { children: [jsx("pinheader", { name: "J5", pinCount: 2, pitch: "2.54mm", footprint: "pinrow2_p2.54mm", pinLabels: ["P5V", "GND"], schPinArrangement: { topSide: ["P5V"], bottomSide: ["GND"] }, schWidth: 0.5, pcbX: 11, pcbY: 23.2, ...sch(12.5, 8) }), jsx("trace", { from: "J5.P5V", to: "net.P5V_IN" }), jsx("trace", { from: "J5.GND", to: "net.GND" }), jsx("fuse", { name: "F401", currentRating: "0.5A", footprint: "0805", pcbX: 5, pcbY: 23.2, ...sch(12.5, 9.4), schRotation: 270 }), jsx("trace", { from: "F401.pin1", to: "net.P5V_IN" }), jsx("trace", { from: "F401.pin2", to: "net.P5V" }), jsx(MC34063ADR2G, { name: "U11", pcbX: 25, pcbY: 20, ...sch(-12, 6) }), jsx("inductor", { name: "L401", inductance: "47uH", footprint: "0805", pcbX: 10, pcbY: 19.5, ...sch(-12, 8), schRotation: 270 }), jsx("diode", { name: "D401", manufacturerPartNumber: "MBRS340T3G", footprint: "sma", pcbX: 18, pcbY: 21, ...sch(-9, 8), schRotation: 90 }), jsx("capacitor", { name: "C401", capacitance: "10uF", footprint: "1206", pcbX: 16, pcbY: 15.5, ...sch(-14, 3), schRotation: 270 }), jsx("capacitor", { name: "C402", capacitance: "10uF", footprint: "1206", pcbX: 16, pcbY: 13.0, ...sch(-9, 3), schRotation: 270 }), jsx("resistor", { name: "R401", resistance: "0.22", footprint: "0402", pcbX: 21, pcbY: 24, ...sch(-6, 8), schRotation: 270 }), jsx("resistor", { name: "R402", resistance: "1k", footprint: "0402", pcbX: 11.5, pcbY: 16.8, ...sch(-3, 8), schRotation: 270 }), jsx("capacitor", { name: "C403", capacitance: "1nF", footprint: "0402", pcbX: 21, pcbY: 17, ...sch(-14.5, 6.5), schRotation: 270 }), jsx("resistor", { name: "R403", resistance: "10k", footprint: "0402", pcbX: 11.5, pcbY: 15.3, ...sch(-5.5, 3), schRotation: 270 }), jsx("resistor", { name: "R404", resistance: "43k", footprint: "0402", pcbX: 11.5, pcbY: 13.8, ...sch(-4, 3), schRotation: 270 }), jsx("trace", { from: "U11.VCC", to: "net.P5V" }), jsx("trace", { from: "U11.DC", to: "net.P5V" }), jsx("trace", { from: "U11.IPK", to: "R401.pin1" }), jsx("trace", { from: "R401.pin2", to: "net.P5V" }), jsx("trace", { from: "U11.SE", to: "net.GND" }), jsx("trace", { from: "U11.GND", to: "net.GND" }), jsx("trace", { from: "U11.TC", to: "C403.pin1" }), jsx("trace", { from: "C403.pin2", to: "net.GND" }), jsx("trace", { from: "R402.pin1", to: "U11.TC" }), jsx("trace", { from: "R402.pin2", to: "net.P5V" }), jsx("trace", { from: "U11.SC", to: "net.NEG_SW" }), jsx("trace", { from: "L401.pin1", to: "net.P5V" }), jsx("trace", { from: "L401.pin2", to: "net.NEG_SW" }), jsx("trace", { from: "D401.pin1", to: "net.NEG_PRE" }), jsx("trace", { from: "D401.pin2", to: "net.NEG_SW" }), jsx("trace", { from: "C402.pin1", to: "net.NEG_PRE" }), jsx("trace", { from: "C402.pin2", to: "net.GND" }), jsx("trace", { from: "C401.pin1", to: "net.P5V" }), jsx("trace", { from: "C401.pin2", to: "net.GND" }), jsx("trace", { from: "U11.CII", to: "net.NEG_FB" }), jsx("trace", { from: "R403.pin1", to: "net.NEG_FB" }), jsx("trace", { from: "R403.pin2", to: "net.GND" }), jsx("trace", { from: "R404.pin1", to: "net.NEG_FB" }), jsx("trace", { from: "R404.pin2", to: "net.NEG_PRE" }), jsx(TPS7A4901DGNR, { name: "U13", pcbX: 35, pcbY: 20, ...sch(0, 6) }), jsx("capacitor", { name: "C404", capacitance: "1uF", footprint: "0402", pcbX: 31.5, pcbY: 18.4, ...sch(-12.5, 3), schRotation: 270 }), jsx("capacitor", { name: "C405", capacitance: "10uF", footprint: "0805", layer: "bottom", pcbX: 35, pcbY: 16.5, ...sch(3, 8), schRotation: 270 }), jsx("resistor", { name: "R405", resistance: "100k", footprint: "0402", pcbRotation: 180, pcbX: 31.5, pcbY: 22.0, ...sch(-2, 3), schRotation: 270 }), jsx("resistor", { name: "R406", resistance: "31.6k", footprint: "0402", pcbX: 31.5, pcbY: 20.8, ...sch(-0.5, 3), schRotation: 270 }), jsx("capacitor", { name: "C406", capacitance: "10nF", footprint: "0402", pcbX: 31.5, pcbY: 19.6, ...sch(1, 3), schRotation: 270 }), jsx("trace", { from: "U13.IN", to: "net.P5V" }), jsx("trace", { from: "U13.OUT", to: "net.P5VA" }), jsx("trace", { from: "U13.GND", to: "net.GND" }), jsx("trace", { from: "U13.PwPd", to: "net.GND" }), jsx("trace", { from: "U13.EN", to: "net.P5V" }), jsx("trace", { from: "U13.FB", to: "net.P5VA_FB" }), jsx("trace", { from: "U13.NR", to: "C406.pin1" }), jsx("trace", { from: "C406.pin2", to: "net.GND" }), jsx("trace", { from: "R405.pin1", to: "net.P5VA" }), jsx("trace", { from: "R405.pin2", to: "net.P5VA_FB" }), jsx("trace", { from: "R406.pin1", to: "net.P5VA_FB" }), jsx("trace", { from: "R406.pin2", to: "net.GND" }), jsx("trace", { from: "C404.pin1", to: "net.P5V" }), jsx("trace", { from: "C404.pin2", to: "net.GND" }), jsx("trace", { from: "C405.pin1", to: "net.P5VA" }), jsx("trace", { from: "C405.pin2", to: "net.GND" }), jsx(TPS7A3001DGNR, { name: "U14", pcbX: 26.5, pcbY: 12.5, ...sch(-6, 6) }), jsx("capacitor", { name: "C407", capacitance: "1uF", footprint: "0402", pcbX: 29, pcbY: 22.0, ...sch(-7.5, 3), schRotation: 270 }), jsx("capacitor", { name: "C408", capacitance: "10uF", footprint: "0805", layer: "bottom", pcbX: 26, pcbY: 9.0, ...sch(5, 8), schRotation: 270 }), jsx("resistor", { name: "R407", resistance: "100k", footprint: "0402", pcbX: 29, pcbY: 20.8, ...sch(-9, 5.0), schRotation: 270 }), jsx("resistor", { name: "R408", resistance: "30.1k", footprint: "0402", pcbX: 29, pcbY: 19.6, ...sch(-9, 6.5), schRotation: 270 }), jsx("capacitor", { name: "C409", capacitance: "10nF", footprint: "0402", pcbX: 29, pcbY: 18.4, ...sch(1, 8), schRotation: 270 }), jsx("trace", { from: "U14.IN", to: "net.NEG_PRE" }), jsx("trace", { from: "U14.OUT", to: "net.N5VA" }), jsx("trace", { from: "U14.GND", to: "net.GND" }), jsx("trace", { from: "U14.EP", to: "net.GND" }), jsx("trace", { from: "U14.EN", to: "net.P5V" }), jsx("trace", { from: "U14.FB", to: "net.N5VA_FB" }), jsx("trace", { from: "U14.NRSS", to: "C409.pin1" }), jsx("trace", { from: "C409.pin2", to: "net.GND" }), jsx("trace", { from: "R407.pin1", to: "net.N5VA_FB" }), jsx("trace", { from: "R407.pin2", to: "net.GND" }), jsx("trace", { from: "R408.pin1", to: "net.N5VA_FB" }), jsx("trace", { from: "R408.pin2", to: "net.N5VA" }), jsx("trace", { from: "C407.pin1", to: "net.NEG_PRE" }), jsx("trace", { from: "C407.pin2", to: "net.GND" }), jsx("trace", { from: "C408.pin1", to: "net.N5VA" }), jsx("trace", { from: "C408.pin2", to: "net.GND" }), jsx(AP2112K_3_3TRG1, { name: "U12", pcbX: 30.75, pcbY: 12.5, ...sch(6, 6) }), jsx("capacitor", { name: "C410", capacitance: "1uF", footprint: "0402", pcbX: 31, pcbY: 17.4, ...sch(-11, 3), schRotation: 270 }), jsx("capacitor", { name: "C411", capacitance: "1uF", footprint: "0402", pcbX: 31, pcbY: 16.0, ...sch(7, 8), schRotation: 270 }), jsx("trace", { from: "U12.VIN", to: "net.P5V" }), jsx("trace", { from: "U12.GND", to: "net.GND" }), jsx("trace", { from: "U12.EN", to: "net.P5V" }), jsx("trace", { from: "U12.VOUT", to: "net.P3V3" }), jsx("trace", { from: "C410.pin1", to: "net.P5V" }), jsx("trace", { from: "C410.pin2", to: "net.GND" }), jsx("trace", { from: "C411.pin1", to: "net.P3V3" }), jsx("trace", { from: "C411.pin2", to: "net.GND" }), jsx(ULN2003ADR, { name: "U8", pcbX: -14, pcbY: 0, ...sch(-12, -3) }), jsx("trace", { from: "U8.E", to: "net.GND" }), jsx("trace", { from: "U8.COM", to: "net.P5V" }), jsx("trace", { from: "U8.1B", to: "net.AC_A" }), jsx("trace", { from: "U8.2B", to: "net.ATT_A" }), jsx("trace", { from: "U8.3B", to: "net.AC_B" }), jsx("trace", { from: "U8.4B", to: "net.ATT_B" }), jsx("trace", { from: "U8.5B", to: "net.GND" }), jsx("trace", { from: "U8.6B", to: "net.GND" }), jsx("trace", { from: "U8.7B", to: "net.GND" }), jsx("trace", { from: "U8.1C", to: "net.KK1_DRV" }), jsx("trace", { from: "U8.2C", to: "net.KK2_DRV" }), jsx("trace", { from: "U8.3C", to: "net.KK3_DRV" }), jsx("trace", { from: "U8.4C", to: "net.KK4_DRV" }), jsx("pinheader", { name: "J4", pinCount: 5, pitch: "2.54mm", footprint: "pinrow5_p2.54mm", pinLabels: ["GND", "AC_A", "ATT_A", "AC_B", "ATT_B"], schWidth: 0.675, pcbX: -17, pcbY: -22, ...sch(-14, -8), schRotation: 90 }), jsx("trace", { from: "J4.GND", to: "net.GND" }), jsx("trace", { from: "J4.AC_A", to: "net.AC_A" }), jsx("trace", { from: "J4.ATT_A", to: "net.ATT_A" }), jsx("trace", { from: "J4.AC_B", to: "net.AC_B" }), jsx("trace", { from: "J4.ATT_B", to: "net.ATT_B" }), jsx("pinheader", { name: "J6", pinCount: 6, doubleRow: true, pitch: "2.54mm", footprint: "pinrow6_p2.54mm_rows2", pinLabels: ["GND", "VGA_A_CS", "VGA_B_CS", "VGA_SDIO", "VGA_SCLK", "P3V3"], schWidth: 0.96, pcbX: -2, pcbY: -20, ...sch(10, 2), schRotation: 90 }), jsx("trace", { from: "J6.GND", to: "net.GND" }), jsx("trace", { from: "J6.VGA_A_CS", to: "net.VGA_A_CS" }), jsx("trace", { from: "J6.VGA_B_CS", to: "net.VGA_B_CS" }), jsx("trace", { from: "J6.VGA_SDIO", to: "net.VGA_SDIO" }), jsx("trace", { from: "J6.VGA_SCLK", to: "net.VGA_SCLK" }), jsx("trace", { from: "J6.P3V3", to: "net.P3V3" })] }));
}
/**
* Two channel oscilloscope analog front end, 80 x 50 mm, 4 layers.
*
* Left: two 50 ohm BNC inputs, cable entry from outside the left edge.
* Per channel: 1M termination, AC/DC coupling relay, 10:1 attenuator relay,
* FET input buffer, differential VGA. Centre: single ended to differential
* conversion, ADC driver and a dual 8 bit ADC with its own 25 MHz oscillator.
* Right: 2x10 ADC data bus header. Top right: +5 V input, inverting converter
* for -5 V and the analog LDOs. Bottom: relay control and VGA SPI headers.
*/
var index_circuit = () => (jsxs("board", { width: "80mm", height: "50mm", layers: 4, title: "Dual Channel Scope Front End", defaultTraceWidth: 0.2, minTraceWidth: 0.12, preflightRoutingCheckPolicy: "none", children: [jsx("net", { name: "GND", isGroundNet: true, nominalTraceWidth: 0.4 }), jsx("net", { name: "P5V_IN", isPowerNet: true, nominalTraceWidth: 0.5 }), jsx("net", { name: "P5V", isPowerNet: true, nominalTraceWidth: 0.5 }), jsx("net", { name: "P5VA", isPowerNet: true, nominalTraceWidth: 0.4 }), jsx("net", { name: "N5VA", isPowerNet: true, nominalTraceWidth: 0.4 }), jsx("net", { name: "NEG_PRE", isPowerNet: true, nominalTraceWidth: 0.4 }), jsx("net", { name: "NEG_SW", isPowerNet: true, nominalTraceWidth: 0.4 }), jsx("net", { name: "P3V3", isPowerNet: true, nominalTraceWidth: 0.4 }), jsx("net", { name: "CLK25", nominalTraceWidth: 0.15 }), jsx("net", { name: "VREF125", nominalTraceWidth: 0.15 }), jsx("net", { name: "VMID25", nominalTraceWidth: 0.15 }), jsx("schematicsheet", { name: "CH A", displayName: "Channel A", sheetIndex: 0 }), jsx("schematicsheet", { name: "CH B", displayName: "Channel B", sheetIndex: 1 }), jsx("schematicsheet", { name: "ADC", displayName: "ADC and clock", sheetIndex: 2, sheetSize: "ANSI_B" }), jsx("schematicsheet", { name: "POWER", displayName: "Power and control", sheetIndex: 3 }), channelParts({
ch: "A",
y: 12,
sheet: "CH A",
j: "J1",
kc: "K1",
ka: "K2",
u: "U1",
vga: "U3",
r: 101,
c: 101}), channelParts({
ch: "B",
y: -12,
sheet: "CH B",
j: "J2",
kc: "K3",
ka: "K4",
u: "U2",
vga: "U4",
r: 201,
c: 201}), adcParts(), powerParts()] }));
export { index_circuit as default };