gokul/six-digit-logic-clock
This code defines the physical layout and schematic connections for a multi-layer PCB featuring components like RTC modules (DS3231MZ), microcontroller (ATMEGA328P), LED display driver (MAX7219), and various passive and discrete components, with detailed footprints, pinouts, and placement for a clock and control interface.
- Version
- 0.1.2
- License
- unset
- Stars
- 0
dist/index.cjs
'use strict';
var jsxRuntime = require('react/jsx-runtime');
const pinLabels$5 = {
pin1: ["g"],
pin2: ["f"],
pin3: ["GND1"],
pin4: ["e"],
pin5: ["d"],
pin6: ["dp"],
pin7: ["c"],
pin8: ["GND2"],
pin9: ["b"],
pin10: ["a"]
};
const FJ3191AH = (props) => {
return (jsxRuntime.jsx("chip", { pinLabels: pinLabels$5, symbol: jsxRuntime.jsxs("symbol", { children: [jsxRuntime.jsx("schematicrect", { schX: 0, schY: 0, width: 1.6, height: 1.4, strokeWidth: 0.02, color: "#880000" }), jsxRuntime.jsx("schematicpath", { points: [{ "x": -0.24, "y": 0.48 }, { "x": -0.2, "y": 0.52 }, { "x": 0.16, "y": 0.52 }, { "x": 0.22, "y": 0.48 }, { "x": 0.18, "y": 0.44 }, { "x": -0.2, "y": 0.44 }, { "x": -0.24, "y": 0.48 }], strokeColor: "#880000" }), jsxRuntime.jsx("schematicpath", { points: [{ "x": -0.26, "y": 0 }, { "x": -0.3, "y": 0.04 }, { "x": -0.3, "y": 0.4 }, { "x": -0.26, "y": 0.46 }, { "x": -0.22, "y": 0.42 }, { "x": -0.22, "y": 0.04 }, { "x": -0.26, "y": 0 }], strokeColor: "#880000" }), jsxRuntime.jsx("schematicpath", { points: [{ "x": 0.24, "y": 0 }, { "x": 0.2, "y": 0.04 }, { "x": 0.2, "y": 0.4 }, { "x": 0.24, "y": 0.46 }, { "x": 0.28, "y": 0.42 }, { "x": 0.28, "y": 0.04 }, { "x": 0.24, "y": 0 }], strokeColor: "#880000" }), jsxRuntime.jsx("schematicpath", { points: [{ "x": -0.24, "y": -0.02 }, { "x": -0.2, "y": 0.02 }, { "x": 0.16, "y": 0.02 }, { "x": 0.22, "y": -0.02 }, { "x": 0.18, "y": -0.06 }, { "x": -0.2, "y": -0.06 }, { "x": -0.24, "y": -0.02 }], strokeColor: "#880000" }), jsxRuntime.jsx("schematicpath", { points: [{ "x": -0.26, "y": -0.5 }, { "x": -0.3, "y": -0.46 }, { "x": -0.3, "y": -0.1 }, { "x": -0.26, "y": -0.04 }, { "x": -0.22, "y": -0.08 }, { "x": -0.22, "y": -0.46 }, { "x": -0.26, "y": -0.5 }], strokeColor: "#880000" }), jsxRuntime.jsx("schematicpath", { points: [{ "x": 0.24, "y": -0.5 }, { "x": 0.2, "y": -0.46 }, { "x": 0.2, "y": -0.1 }, { "x": 0.24, "y": -0.04 }, { "x": 0.28, "y": -0.08 }, { "x": 0.28, "y": -0.46 }, { "x": 0.24, "y": -0.5 }], strokeColor: "#880000" }), jsxRuntime.jsx("schematicpath", { points: [{ "x": -0.24, "y": -0.52 }, { "x": -0.2, "y": -0.48 }, { "x": 0.16, "y": -0.48 }, { "x": 0.22, "y": -0.52 }, { "x": 0.18, "y": -0.56 }, { "x": -0.2, "y": -0.56 }, { "x": -0.24, "y": -0.52 }], strokeColor: "#880000" }), jsxRuntime.jsx("schematiccircle", { center: { x: 0.36, y: -0.52 }, radius: 0.04, strokeWidth: 0.02, color: "#880000" }), jsxRuntime.jsx("schematictext", { schX: -0.08, schY: 0.32, text: "a", fontSize: 0.13, anchor: "left", color: "#880000", schRotation: 0 }), jsxRuntime.jsx("schematictext", { schX: 0.08, schY: 0.130938, text: "b", fontSize: 0.13, anchor: "left", color: "#880000", schRotation: 0 }), jsxRuntime.jsx("schematictext", { schX: 0.08, schY: -0.32, text: "c", fontSize: 0.13, anchor: "left", color: "#880000", schRotation: 0 }), jsxRuntime.jsx("schematictext", { schX: -0.08, schY: -0.44, text: "d", fontSize: 0.13, anchor: "left", color: "#880000", schRotation: 0 }), jsxRuntime.jsx("schematictext", { schX: -0.2, schY: -0.32, text: "e", fontSize: 0.13, anchor: "left", color: "#880000", schRotation: 0 }), jsxRuntime.jsx("schematictext", { schX: -0.2, schY: 0.12, text: "f", fontSize: 0.13, anchor: "left", color: "#880000", schRotation: 0 }), jsxRuntime.jsx("port", { name: "pin1", pinNumber: 1, aliases: ["g"], direction: "left", schX: -1.2, schY: 0.4, schStemLength: 0.4 }), jsxRuntime.jsx("port", { name: "pin2", pinNumber: 2, aliases: ["f"], direction: "left", schX: -1.2, schY: 0.2, schStemLength: 0.4 }), jsxRuntime.jsx("port", { name: "pin3", pinNumber: 3, aliases: ["GND1"], direction: "left", schX: -1.2, schY: 0, schStemLength: 0.4 }), jsxRuntime.jsx("port", { name: "pin4", pinNumber: 4, aliases: ["e"], direction: "left", schX: -1.2, schY: -0.2, schStemLength: 0.4 }), jsxRuntime.jsx("port", { name: "pin5", pinNumber: 5, aliases: ["d"], direction: "left", schX: -1.2, schY: -0.4, schStemLength: 0.4 }), jsxRuntime.jsx("port", { name: "pin6", pinNumber: 6, aliases: ["dp"], direction: "right", schX: 1.2, schY: -0.4, schStemLength: 0.4 }), jsxRuntime.jsx("port", { name: "pin7", pinNumber: 7, aliases: ["c"], direction: "right", schX: 1.2, schY: -0.2, schStemLength: 0.4 }), jsxRuntime.jsx("port", { name: "pin8", pinNumber: 8, aliases: ["GND2"], direction: "right", schX: 1.2, schY: 0, schStemLength: 0.4 }), jsxRuntime.jsx("port", { name: "pin9", pinNumber: 9, aliases: ["b"], direction: "right", schX: 1.2, schY: 0.2, schStemLength: 0.4 }), jsxRuntime.jsx("port", { name: "pin10", pinNumber: 10, aliases: ["a"], direction: "right", schX: 1.2, schY: 0.4, schStemLength: 0.4 }), jsxRuntime.jsx("schematictext", { schX: -0.1, schY: -0.0734, text: "g", fontSize: 0.13, anchor: "left", color: "#880000", schRotation: 0 })] }), supplierPartNumbers: {
"jlcpcb": [
"C44296"
]
}, manufacturerPartNumber: "FJ3191AH", footprint: jsxRuntime.jsxs("footprint", { children: [jsxRuntime.jsx("platedhole", { portHints: ["pin1"], pcbX: "-5.08mm", pcbY: "-3.8735mm", outerDiameter: "1.524mm", holeDiameter: "0.762mm", shape: "circle" }), jsxRuntime.jsx("platedhole", { portHints: ["pin2"], pcbX: "-2.54mm", pcbY: "-3.8735mm", outerDiameter: "1.524mm", holeDiameter: "0.762mm", shape: "circle" }), jsxRuntime.jsx("platedhole", { portHints: ["pin3"], pcbX: "-0mm", pcbY: "-3.8735mm", outerDiameter: "1.524mm", holeDiameter: "0.762mm", shape: "circle" }), jsxRuntime.jsx("platedhole", { portHints: ["pin4"], pcbX: "2.54mm", pcbY: "-3.8735mm", outerDiameter: "1.524mm", holeDiameter: "0.762mm", shape: "circle" }), jsxRuntime.jsx("platedhole", { portHints: ["pin5"], pcbX: "5.08mm", pcbY: "-3.8735mm", outerDiameter: "1.524mm", holeDiameter: "0.762mm", shape: "circle" }), jsxRuntime.jsx("platedhole", { portHints: ["pin6"], pcbX: "5.08mm", pcbY: "3.7465mm", outerDiameter: "1.524mm", holeDiameter: "0.762mm", shape: "circle" }), jsxRuntime.jsx("platedhole", { portHints: ["pin7"], pcbX: "2.54mm", pcbY: "3.7465mm", outerDiameter: "1.524mm", holeDiameter: "0.762mm", shape: "circle" }), jsxRuntime.jsx("platedhole", { portHints: ["pin8"], pcbX: "-0mm", pcbY: "3.7465mm", outerDiameter: "1.524mm", holeDiameter: "0.762mm", shape: "circle" }), jsxRuntime.jsx("platedhole", { portHints: ["pin9"], pcbX: "-2.54mm", pcbY: "3.7465mm", outerDiameter: "1.524mm", holeDiameter: "0.762mm", shape: "circle" }), jsxRuntime.jsx("platedhole", { portHints: ["pin10"], pcbX: "-5.08mm", pcbY: "3.7465mm", outerDiameter: "1.524mm", holeDiameter: "0.762mm", shape: "circle" }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -4.572000000000003, "y": -0.8255000000000337 }, { "x": -4.572000000000003, "y": 2.222499999999968 }, { "x": -4.318000000000097, "y": 2.349499999999921 }, { "x": -4.064000000000078, "y": 1.8414999999999964 }, { "x": -4.064000000000078, "y": -1.0795000000000528 }, { "x": -4.318000000000097, "y": -1.2065000000000055 }, { "x": -4.572000000000003, "y": -0.8255000000000337 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -1.0160000000000764, "y": -2.222500000000082 }, { "x": -3.9370000000001255, "y": -1.7145000000001573 }, { "x": -4.064000000000078, "y": -1.4605000000001382 }, { "x": -3.6830000000001064, "y": -1.2065000000000055 }, { "x": -0.6350000000001046, "y": -1.7145000000001573 }, { "x": -0.5080000000001519, "y": -1.9685000000000628 }, { "x": -1.0160000000000764, "y": -2.222500000000082 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -1.0160000000000764, "y": 1.8414999999999964 }, { "x": -3.9370000000001255, "y": 2.349499999999921 }, { "x": -4.064000000000078, "y": 2.60349999999994 }, { "x": -3.6830000000001064, "y": 2.8574999999998454 }, { "x": -0.6350000000001046, "y": 2.349499999999921 }, { "x": -0.5080000000001519, "y": 2.0954999999999018 }, { "x": -1.0160000000000764, "y": 1.8414999999999964 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 2.7939999999999827, "y": -2.9845000000000255 }, { "x": -0.1270000000000664, "y": -2.476500000000101 }, { "x": -0.2540000000000191, "y": -2.222500000000082 }, { "x": 0.1269999999999527, "y": -1.9685000000000628 }, { "x": 3.1749999999999545, "y": -2.476500000000101 }, { "x": 3.3019999999999072, "y": -2.7305000000000064 }, { "x": 2.7939999999999827, "y": -2.9845000000000255 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -0.2540000000000191, "y": -1.7145000000001573 }, { "x": 0, "y": -1.587500000000091 }, { "x": 0, "y": 1.3334999999998445 }, { "x": -0.2540000000000191, "y": 1.8414999999999964 }, { "x": -0.5080000000001519, "y": 1.7144999999998163 }, { "x": -0.5080000000001519, "y": -1.3335000000001855 }, { "x": -0.2540000000000191, "y": -1.7145000000001573 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 0.2539999999999054, "y": 1.8414999999999964 }, { "x": 0.3809999999999718, "y": 1.5874999999998636 }, { "x": 3.4289999999999736, "y": 1.079499999999939 }, { "x": 3.8099999999999454, "y": 1.3334999999998445 }, { "x": 3.682999999999879, "y": 1.5874999999998636 }, { "x": 0.7619999999999436, "y": 2.0954999999999018 }, { "x": 0.2539999999999054, "y": 1.8414999999999964 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 3.8099999999999454, "y": -2.7305000000000064 }, { "x": 4.063999999999851, "y": -2.6035000000000537 }, { "x": 4.063999999999851, "y": 0.31749999999999545 }, { "x": 3.8099999999999454, "y": 0.82549999999992 }, { "x": 3.5559999999999263, "y": 0.6984999999999673 }, { "x": 3.5559999999999263, "y": -2.3495000000000346 }, { "x": 3.8099999999999454, "y": -2.7305000000000064 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 3.8150799999999663, "y": 2.6771599999998443 }, { "x": 3.9106170400945075, "y": 2.4831164692946004 }, { "x": 4.121757484857994, "y": 2.4362130533872914 }, { "x": 4.290465566138323, "y": 2.5715563249208344 }, { "x": 4.290465566138209, "y": 2.78784367507933 }, { "x": 4.121757484857881, "y": 2.9231869466125318 }, { "x": 3.9106170400945075, "y": 2.87628353070545 }, { "x": 3.8150799999999663, "y": 2.682239999999979 }] }), jsxRuntime.jsx("silkscreenrect", { pcbX: "0mm", pcbY: "0mm", width: "13.208mm", height: "10.033mm", strokeWidth: "0.254mm" }), jsxRuntime.jsx("silkscreentext", { text: "{NAME}", pcbX: "0mm", pcbY: "6.0165mm", anchorAlignment: "center", fontSize: "1mm" }), jsxRuntime.jsx("fabricationnotepath", { route: [{ "x": -4.318000000000097, "y": 2.222499999999968 }, { "x": -4.572000000000116, "y": 2.0954999999999018 }, { "x": -4.572000000000116, "y": -0.8255000000000337 }, { "x": -4.318000000000097, "y": -1.2065000000001191 }, { "x": -4.064000000000078, "y": -1.0795000000000528 }, { "x": -4.064000000000078, "y": 1.8414999999998827 }, { "x": -4.318000000000097, "y": 2.222499999999968 }], strokeWidth: "0.254mm" }), jsxRuntime.jsx("fabricationnotepath", { route: [{ "x": -4.064000000000078, "y": -1.4605000000000246 }, { "x": -3.937000000000012, "y": -1.7145000000000437 }, { "x": -1.143000000000029, "y": -2.222500000000082 }, { "x": -0.5080000000000382, "y": -1.9685000000000628 }, { "x": -0.7620000000000573, "y": -1.7145000000000437 }, { "x": -3.55600000000004, "y": -1.2065000000001191 }, { "x": -4.064000000000078, "y": -1.4605000000000246 }], strokeWidth: "0.254mm" }), jsxRuntime.jsx("fabricationnotepath", { route: [{ "x": -4.037457000000131, "y": 2.6760931999999684 }, { "x": -3.910457000000065, "y": 2.4220931999999493 }, { "x": -1.1164570000000822, "y": 1.9140931999999111 }, { "x": -0.4814570000000913, "y": 2.16809319999993 }, { "x": -0.7354570000001104, "y": 2.4220931999999493 }, { "x": -3.529457000000093, "y": 2.9300931999999875 }, { "x": -4.037457000000131, "y": 2.6760931999999684 }], strokeWidth: "0.254mm" }), jsxRuntime.jsx("fabricationnotepath", { route: [{ "x": 0.2805429999998523, "y": 1.9140931999999111 }, { "x": 0.4075429999999187, "y": 1.660093199999892 }, { "x": 3.2015429999999014, "y": 1.1520931999999675 }, { "x": 3.8365429999998923, "y": 1.4060931999999866 }, { "x": 3.5825429999998732, "y": 1.660093199999892 }, { "x": 0.7885429999998905, "y": 2.16809319999993 }, { "x": 0.2805429999998523, "y": 1.9140931999999111 }], strokeWidth: "0.254mm" }), jsxRuntime.jsx("fabricationnotepath", { route: [{ "x": -0.10045700000011948, "y": -2.27690680000012 }, { "x": 0.026542999999946915, "y": -2.530906800000025 }, { "x": 2.8205429999999296, "y": -3.0389068000000634 }, { "x": 3.4555429999999205, "y": -2.7849068000000443 }, { "x": 3.2015429999999014, "y": -2.530906800000025 }, { "x": 0.4075429999999187, "y": -2.0229068000001007 }, { "x": -0.10045700000011948, "y": -2.27690680000012 }], strokeWidth: "0.254mm" }), jsxRuntime.jsx("fabricationnotepath", { route: [{ "x": -0.27825700000005327, "y": 1.7489931999999726 }, { "x": -0.5322570000000724, "y": 1.6219931999999062 }, { "x": -0.5322570000000724, "y": -1.2990068000000292 }, { "x": -0.27825700000005327, "y": -1.6800068000001147 }, { "x": -0.024257000000147855, "y": -1.5530068000000483 }, { "x": -0.024257000000147855, "y": 1.367993199999887 }, { "x": -0.27825700000005327, "y": 1.7489931999999726 }], strokeWidth: "0.254mm" }), jsxRuntime.jsx("fabricationnotepath", { route: [{ "x": 3.7857429999999113, "y": 0.7329931999998962 }, { "x": 3.531742999999892, "y": 0.6059931999999435 }, { "x": 3.531742999999892, "y": -2.3150068000001056 }, { "x": 3.7857429999999113, "y": -2.6960068000000774 }, { "x": 4.03974299999993, "y": -2.569006800000011 }, { "x": 4.03974299999993, "y": 0.3519931999999244 }, { "x": 3.7857429999999113, "y": 0.7329931999998962 }], strokeWidth: "0.254mm" }), jsxRuntime.jsx("courtyardoutline", { outline: [{ "x": -6.8540000000001555, "y": 5.266499999999951 }, { "x": 6.853999999999928, "y": 5.266499999999951 }, { "x": 6.853999999999928, "y": -5.342700000000036 }, { "x": -6.8540000000001555, "y": -5.342700000000036 }, { "x": -6.8540000000001555, "y": 5.266499999999951 }] })] }), cadModel: {
objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C44296.obj?uuid=2ef1db56c16b4745bfb9ba4cc9d83515",
stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C44296.step?uuid=2ef1db56c16b4745bfb9ba4cc9d83515",
pcbRotationOffset: 90,
modelOriginPosition: { x: 0.06349999999997635, y: 0, z: -0.10000699999999973 },
}, ...props }));
};
const pinLabels$4 = {
pin1: ["pin1"],
pin2: ["pin2"],
pin3: ["pin3"],
pin4: ["pin4"],
pin5: ["pin5"],
pin6: ["pin6"]
};
const YTSPS_22E58LM = (props) => {
const { name = "SW1", ...restProps } = props;
return (jsxRuntime.jsx("switch", { name: name, pinLabels: pinLabels$4, supplierPartNumbers: {
"jlcpcb": [
"C2941005"
]
}, manufacturerPartNumber: "YTSPS-22E58LM", footprint: jsxRuntime.jsxs("footprint", { children: [jsxRuntime.jsx("smtpad", { portHints: ["pin4"], pcbX: "3.325114mm", pcbY: "1.999996mm", width: "2.350008mm", height: "0.999998mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin5"], pcbX: "3.325114mm", pcbY: "0mm", width: "2.350008mm", height: "0.999998mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin6"], pcbX: "3.325114mm", pcbY: "-1.999996mm", width: "2.350008mm", height: "0.999998mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin3"], pcbX: "-3.325114mm", pcbY: "-1.999996mm", width: "2.350008mm", height: "0.999998mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin2"], pcbX: "-3.325114mm", pcbY: "0mm", width: "2.350008mm", height: "0.999998mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin1"], pcbX: "-3.325114mm", pcbY: "1.999996mm", width: "2.350008mm", height: "0.999998mm", shape: "rect" }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 1.2696190000000342, "y": -1.651076200000034 }, { "x": 1.2696190000000342, "y": -1.7780761999999868 }, { "x": -1.2703809999999294, "y": -1.7780761999999868 }, { "x": -1.2703809999999294, "y": 1.7779237999999395 }, { "x": 1.2696190000000342, "y": 1.7779237999999395 }, { "x": 1.2696190000000342, "y": -1.7780761999999868 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 0.761618999999996, "y": -1.2700762000000623 }, { "x": -0.7623809999998912, "y": -1.2700762000000623 }, { "x": -0.7623809999998912, "y": 0.6349238000000241 }, { "x": 0.761618999999996, "y": 0.6349238000000241 }, { "x": 0.761618999999996, "y": -1.2700762000000623 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 0.761618999999996, "y": 1.7779237999999395 }, { "x": 0.761618999999996, "y": 1.269923800000015 }, { "x": -0.7623809999998912, "y": 1.269923800000015 }, { "x": -0.7623809999998912, "y": 1.7779237999999395 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -2.8999941999999237, "y": -2.8999942000000374 }, { "x": 2.8999942000000374, "y": -2.8999942000000374 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -2.8999941999999237, "y": 2.8999942000000374 }, { "x": 2.8999942000000374, "y": 2.8999942000000374 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -0.7261605999998437, "y": -1.8159222000000454 }, { "x": -0.5734337355729622, "y": -2.0168676215412233 }, { "x": -0.3671285024388453, "y": -2.162272945850873 }, { "x": -0.1265310973500391, "y": -2.23854513095489 }, { "x": 0.12586652046365998, "y": -2.2385539633038434 }, { "x": 0.36646926306889327, "y": -2.162298617216038 }, { "x": 0.5727846722639924, "y": -2.0169077320658744 }, { "x": 0.7255256000001964, "y": -1.8159729999999854 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -0.7261605999998437, "y": 1.815744400000085 }, { "x": -0.5734337355729622, "y": 2.0166898215411493 }, { "x": -0.3671285024388453, "y": 2.162095145850685 }, { "x": -0.1265310973500391, "y": 2.2383673309548158 }, { "x": 0.12586652046365998, "y": 2.2383761633036556 }, { "x": 0.36646926306889327, "y": 2.162120817215964 }, { "x": 0.5727846722638787, "y": 2.0167299320658003 }, { "x": 0.7255256000000827, "y": 1.8157951999999113 }] }), jsxRuntime.jsx("silkscreencircle", { pcbX: "-3.683mm", pcbY: "3.175mm", radius: "0.254mm" }), jsxRuntime.jsx("silkscreentext", { text: "{NAME}", pcbX: "0.002286mm", pcbY: "4.422396mm", anchorAlignment: "center", fontSize: "1mm" }), jsxRuntime.jsx("fabricationnotepath", { route: [{ "x": 0.6348222000000305, "y": 1.904949199999919 }, { "x": -0.6351777999999513, "y": 1.904949199999919 }, { "x": -0.6351777999999513, "y": 1.6509491999999 }, { "x": 0.6348222000000305, "y": 1.6509491999999 }, { "x": 0.6348222000000305, "y": 1.904949199999919 }], strokeWidth: "0.254mm" }), jsxRuntime.jsx("fabricationnotepath", { route: [{ "x": 0.6348222000000305, "y": 1.1429491999998618 }, { "x": -0.6351777999999513, "y": 1.1429491999998618 }, { "x": -0.6351777999999513, "y": 1.3969491999998809 }, { "x": 0.6348222000000305, "y": 1.3969491999998809 }, { "x": 0.6348222000000305, "y": 1.1429491999998618 }], strokeWidth: "0.254mm" }), jsxRuntime.jsx("fabricationnotepath", { route: [{ "x": 0.8888222000000496, "y": 1.7779491999998527 }, { "x": 0.8888222000000496, "y": 1.1429491999998618 }, { "x": 0.6348222000000305, "y": 1.1429491999998618 }, { "x": 0.6348222000000305, "y": 1.904949199999919 }, { "x": 0.8888222000000496, "y": 1.904949199999919 }, { "x": 0.8888222000000496, "y": 1.7779491999998527 }], strokeWidth: "0.254mm" }), jsxRuntime.jsx("fabricationnotepath", { route: [{ "x": -0.8891777999999704, "y": 1.904949199999919 }, { "x": -0.8891777999999704, "y": 1.1429491999998618 }, { "x": -0.6351777999999513, "y": 1.1429491999998618 }, { "x": -0.6351777999999513, "y": 1.904949199999919 }, { "x": -0.8891777999999704, "y": 1.904949199999919 }], strokeWidth: "0.254mm" }), jsxRuntime.jsx("fabricationnotepath", { route: [{ "x": -1.1431777999999895, "y": 1.904949199999919 }, { "x": -0.8891777999999704, "y": 1.904949199999919 }, { "x": -0.8891777999999704, "y": 1.6509491999999 }, { "x": -1.1431777999999895, "y": 1.6509491999999 }, { "x": -1.1431777999999895, "y": 1.904949199999919 }], strokeWidth: "0.254mm" }), jsxRuntime.jsx("fabricationnotepath", { route: [{ "x": 1.142822199999955, "y": 1.904949199999919 }, { "x": 0.8888222000000496, "y": 1.904949199999919 }, { "x": 0.8888222000000496, "y": 1.6509491999999 }, { "x": 1.142822199999955, "y": 1.6509491999999 }, { "x": 1.142822199999955, "y": 1.904949199999919 }], strokeWidth: "0.254mm" }), jsxRuntime.jsx("fabricationnotepath", { route: [{ "x": 1.142822199999955, "y": -1.90505080000014 }, { "x": -1.1431777999999895, "y": -1.90505080000014 }, { "x": -1.1431777999999895, "y": -1.651050800000121 }, { "x": 1.142822199999955, "y": -1.651050800000121 }, { "x": 1.142822199999955, "y": -1.90505080000014 }], strokeWidth: "0.254mm" }), jsxRuntime.jsx("fabricationnotepath", { route: [{ "x": -1.3971778000000086, "y": 1.904949199999919 }, { "x": -1.3971778000000086, "y": -1.90505080000014 }, { "x": -1.1431777999999895, "y": -1.90505080000014 }, { "x": -1.1431777999999895, "y": 1.904949199999919 }, { "x": -1.3971778000000086, "y": 1.904949199999919 }], strokeWidth: "0.254mm" }), jsxRuntime.jsx("fabricationnotepath", { route: [{ "x": 1.3968221999999741, "y": 1.904949199999919 }, { "x": 1.3968221999999741, "y": -1.90505080000014 }, { "x": 1.142822199999955, "y": -1.90505080000014 }, { "x": 1.142822199999955, "y": 1.904949199999919 }, { "x": 1.3968221999999741, "y": 1.904949199999919 }], strokeWidth: "0.254mm" }), jsxRuntime.jsx("fabricationnotepath", { route: [{ "x": -4.000525400000015, "y": 1.77800000000002 }, { "x": -4.000525400000015, "y": 2.286000000000058 }, { "x": -4.127525399999968, "y": 2.286000000000058 }, { "x": -4.127525399999968, "y": 1.77800000000002 }, { "x": -4.000525400000015, "y": 1.77800000000002 }], strokeWidth: "0.254mm" }), jsxRuntime.jsx("fabricationnotepath", { route: [{ "x": -4.127525399999968, "y": 2.286000000000058 }, { "x": -4.25452539999992, "y": 2.286000000000058 }, { "x": -4.25452539999992, "y": 2.158999999999992 }, { "x": -4.127525399999968, "y": 2.158999999999992 }, { "x": -4.127525399999968, "y": 2.286000000000058 }], strokeWidth: "0.254mm" }), jsxRuntime.jsx("fabricationnotepath", { route: [{ "x": -4.25452539999992, "y": 1.77800000000002 }, { "x": -3.8735253999999486, "y": 1.77800000000002 }, { "x": -3.8735253999999486, "y": 1.6509999999999536 }, { "x": -4.25452539999992, "y": 1.6509999999999536 }, { "x": -4.25452539999992, "y": 1.77800000000002 }], strokeWidth: "0.254mm" }), jsxRuntime.jsx("courtyardoutline", { outline: [{ "x": -4.743513999999891, "y": 3.672395999999935 }, { "x": 4.748086000000171, "y": 3.672395999999935 }, { "x": 4.748086000000171, "y": -3.152204000000097 }, { "x": -4.743513999999891, "y": -3.152204000000097 }, { "x": -4.743513999999891, "y": 3.672395999999935 }] })] }), ...restProps }));
};
const pinLabels$3 = {
pin1: ["pin1"],
pin2: ["pin2"],
pin3: ["GND3"],
pin4: ["VCC2"],
pin5: ["GND2"],
pin6: ["VCC1"],
pin7: ["pin7"],
pin8: ["pin8"],
pin9: ["pin9"],
pin10: ["pin10"],
pin11: ["pin11"],
pin12: ["pin12"],
pin13: ["pin13"],
pin14: ["pin14"],
pin15: ["pin15"],
pin16: ["pin16"],
pin17: ["pin17"],
pin18: ["AVCC"],
pin19: ["ADC6"],
pin20: ["AREF"],
pin21: ["GND1"],
pin22: ["ADC7"],
pin23: ["pin23"],
pin24: ["pin24"],
pin25: ["pin25"],
pin26: ["pin26"],
pin27: ["pin27"],
pin28: ["pin28"],
pin29: ["pin29"],
pin30: ["pin30"],
pin31: ["pin31"],
pin32: ["pin32"]
};
const pinAttributes$2 = {
pin3: { requiresGround: true },
pin4: { requiresPower: true },
pin5: { requiresGround: true },
pin6: { requiresPower: true },
pin21: { requiresGround: true }
};
const ATMEGA328P_AU = (props) => {
return (jsxRuntime.jsx("chip", { pinLabels: pinLabels$3, pinAttributes: pinAttributes$2, supplierPartNumbers: {
"jlcpcb": [
"C14877"
]
}, manufacturerPartNumber: "ATMEGA328P-AU", footprint: jsxRuntime.jsxs("footprint", { children: [jsxRuntime.jsx("smtpad", { portHints: ["pin32"], pcbX: "-4.3815mm", pcbY: "-2.7999944mm", width: "1.6500094mm", height: "0.4500118mm", radius: "0.2250059mm", shape: "pill" }), jsxRuntime.jsx("smtpad", { portHints: ["pin31"], pcbX: "-4.3815mm", pcbY: "-1.999996mm", width: "1.6500094mm", height: "0.4500118mm", radius: "0.2250059mm", shape: "pill" }), jsxRuntime.jsx("smtpad", { portHints: ["pin30"], pcbX: "-4.3815mm", pcbY: "-1.1999976mm", width: "1.6500094mm", height: "0.4500118mm", radius: "0.2250059mm", shape: "pill" }), jsxRuntime.jsx("smtpad", { portHints: ["pin29"], pcbX: "-4.3815mm", pcbY: "-0.3999992mm", width: "1.6500094mm", height: "0.4500118mm", radius: "0.2250059mm", shape: "pill" }), jsxRuntime.jsx("smtpad", { portHints: ["pin28"], pcbX: "-4.3815mm", pcbY: "0.3999992mm", width: "1.6500094mm", height: "0.4500118mm", radius: "0.2250059mm", shape: "pill" }), jsxRuntime.jsx("smtpad", { portHints: ["pin27"], pcbX: "-4.3815mm", pcbY: "1.1999976mm", width: "1.6500094mm", height: "0.4500118mm", radius: "0.2250059mm", shape: "pill" }), jsxRuntime.jsx("smtpad", { portHints: ["pin26"], pcbX: "-4.3815mm", pcbY: "1.999996mm", width: "1.6500094mm", height: "0.4500118mm", radius: "0.2250059mm", shape: "pill" }), jsxRuntime.jsx("smtpad", { portHints: ["pin25"], pcbX: "-4.3815mm", pcbY: "2.7999944mm", width: "1.6500094mm", height: "0.4500118mm", radius: "0.2250059mm", shape: "pill" }), jsxRuntime.jsx("smtpad", { portHints: ["pin24"], pcbX: "-2.7999944mm", pcbY: "4.3688mm", width: "0.4500118mm", height: "1.6500094mm", radius: "0.2250059mm", shape: "pill" }), jsxRuntime.jsx("smtpad", { portHints: ["pin23"], pcbX: "-1.999996mm", pcbY: "4.3688mm", width: "0.4500118mm", height: "1.6500094mm", radius: "0.2250059mm", shape: "pill" }), jsxRuntime.jsx("smtpad", { portHints: ["pin22"], pcbX: "-1.1999976mm", pcbY: "4.3688mm", width: "0.4500118mm", height: "1.6500094mm", radius: "0.2250059mm", shape: "pill" }), jsxRuntime.jsx("smtpad", { portHints: ["pin21"], pcbX: "-0.3999992mm", pcbY: "4.3688mm", width: "0.4500118mm", height: "1.6500094mm", radius: "0.2250059mm", shape: "pill" }), jsxRuntime.jsx("smtpad", { portHints: ["pin20"], pcbX: "0.3999992mm", pcbY: "4.3688mm", width: "0.4500118mm", height: "1.6500094mm", radius: "0.2250059mm", shape: "pill" }), jsxRuntime.jsx("smtpad", { portHints: ["pin19"], pcbX: "1.1999976mm", pcbY: "4.3688mm", width: "0.4500118mm", height: "1.6500094mm", radius: "0.2250059mm", shape: "pill" }), jsxRuntime.jsx("smtpad", { portHints: ["pin18"], pcbX: "1.999996mm", pcbY: "4.3688mm", width: "0.4500118mm", height: "1.6500094mm", radius: "0.2250059mm", shape: "pill" }), jsxRuntime.jsx("smtpad", { portHints: ["pin17"], pcbX: "2.7999944mm", pcbY: "4.3688mm", width: "0.4500118mm", height: "1.6500094mm", radius: "0.2250059mm", shape: "pill" }), jsxRuntime.jsx("smtpad", { portHints: ["pin16"], pcbX: "4.3815mm", pcbY: "2.7999944mm", width: "1.6500094mm", height: "0.4500118mm", radius: "0.2250059mm", shape: "pill" }), jsxRuntime.jsx("smtpad", { portHints: ["pin15"], pcbX: "4.3815mm", pcbY: "1.999996mm", width: "1.6500094mm", height: "0.4500118mm", radius: "0.2250059mm", shape: "pill" }), jsxRuntime.jsx("smtpad", { portHints: ["pin14"], pcbX: "4.3815mm", pcbY: "1.1999976mm", width: "1.6500094mm", height: "0.4500118mm", radius: "0.2250059mm", shape: "pill" }), jsxRuntime.jsx("smtpad", { portHints: ["pin13"], pcbX: "4.3815mm", pcbY: "0.3999992mm", width: "1.6500094mm", height: "0.4500118mm", radius: "0.2250059mm", shape: "pill" }), jsxRuntime.jsx("smtpad", { portHints: ["pin12"], pcbX: "4.3815mm", pcbY: "-0.3999992mm", width: "1.6500094mm", height: "0.4500118mm", radius: "0.2250059mm", shape: "pill" }), jsxRuntime.jsx("smtpad", { portHints: ["pin11"], pcbX: "4.3815mm", pcbY: "-1.1999976mm", width: "1.6500094mm", height: "0.4500118mm", radius: "0.2250059mm", shape: "pill" }), jsxRuntime.jsx("smtpad", { portHints: ["pin10"], pcbX: "4.3815mm", pcbY: "-1.999996mm", width: "1.6500094mm", height: "0.4500118mm", radius: "0.2250059mm", shape: "pill" }), jsxRuntime.jsx("smtpad", { portHints: ["pin9"], pcbX: "4.3815mm", pcbY: "-2.7999944mm", width: "1.6500094mm", height: "0.4500118mm", radius: "0.2250059mm", shape: "pill" }), jsxRuntime.jsx("smtpad", { portHints: ["pin8"], pcbX: "2.7999944mm", pcbY: "-4.3688mm", width: "0.4500118mm", height: "1.6500094mm", radius: "0.2250059mm", shape: "pill" }), jsxRuntime.jsx("smtpad", { portHints: ["pin7"], pcbX: "1.999996mm", pcbY: "-4.3688mm", width: "0.4500118mm", height: "1.6500094mm", radius: "0.2250059mm", shape: "pill" }), jsxRuntime.jsx("smtpad", { portHints: ["pin6"], pcbX: "1.1999976mm", pcbY: "-4.3688mm", width: "0.4500118mm", height: "1.6500094mm", radius: "0.2250059mm", shape: "pill" }), jsxRuntime.jsx("smtpad", { portHints: ["pin5"], pcbX: "0.3999992mm", pcbY: "-4.3688mm", width: "0.4500118mm", height: "1.6500094mm", radius: "0.2250059mm", shape: "pill" }), jsxRuntime.jsx("smtpad", { portHints: ["pin4"], pcbX: "-0.3999992mm", pcbY: "-4.3688mm", width: "0.4500118mm", height: "1.6500094mm", radius: "0.2250059mm", shape: "pill" }), jsxRuntime.jsx("smtpad", { portHints: ["pin3"], pcbX: "-1.1999976mm", pcbY: "-4.3688mm", width: "0.4500118mm", height: "1.6500094mm", radius: "0.2250059mm", shape: "pill" }), jsxRuntime.jsx("smtpad", { portHints: ["pin2"], pcbX: "-1.999996mm", pcbY: "-4.3688mm", width: "0.4500118mm", height: "1.6500094mm", radius: "0.2250059mm", shape: "pill" }), jsxRuntime.jsx("smtpad", { portHints: ["pin1"], pcbX: "-2.7999944mm", pcbY: "-4.3688mm", width: "0.4500118mm", height: "1.6500094mm", radius: "0.2250059mm", shape: "pill" }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -2.967482000000004, "y": -4.825999999999993 }, { "x": -2.819400000000016, "y": -4.677917989294684 }, { "x": -2.6713180000000136, "y": -4.825999999999993 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -2.6713180000000136, "y": -4.825999999999993 }, { "x": -2.819400000000016, "y": -4.9740820107053025 }, { "x": -2.967482000000004, "y": -4.825999999999993 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -2.9626559999999813, "y": 2.9499560000000145 }, { "x": -2.9626559999999813, "y": -2.949955999999986 }, { "x": 2.937256000000019, "y": -2.949955999999986 }, { "x": 2.937256000000019, "y": 2.9499560000000145 }, { "x": -2.9626559999999813, "y": 2.9499560000000145 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -3.7591999999999928, "y": -4.063999999999993 }, { "x": -3.907941055997668, "y": -4.214642029703938 }, { "x": -3.7579300000000018, "y": -4.364019424014728 }, { "x": -3.6079189440023356, "y": -4.214642029703938 }, { "x": -3.7566599999999966, "y": -4.063999999999993 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -2.2123399999999975, "y": -1.998980000000003 }, { "x": -2.4015150142161303, "y": -2.137897449194128 }, { "x": -2.3284212288967012, "y": -2.3609278108984313 }, { "x": -2.0937187711032834, "y": -2.3609278108984313 }, { "x": -2.0206249857838543, "y": -2.137897449194128 }, { "x": -2.209799999999987, "y": -1.998980000000003 }] }), jsxRuntime.jsx("silkscreentext", { text: "{NAME}", pcbX: "0mm", pcbY: "5.9657mm", anchorAlignment: "center", fontSize: "1mm" }), jsxRuntime.jsx("courtyardoutline", { outline: [{ "x": -5.228400000000008, "y": 5.215700000000012 }, { "x": 5.2283999999999935, "y": 5.215700000000012 }, { "x": 5.2283999999999935, "y": -5.215699999999998 }, { "x": -5.228400000000008, "y": -5.215699999999998 }, { "x": -5.228400000000008, "y": 5.215700000000012 }] })] }), cadModel: {
objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C14877.obj?uuid=4d9f6c3430024506b87ce44b53201fc5",
stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C14877.step?uuid=4d9f6c3430024506b87ce44b53201fc5",
pcbRotationOffset: 90,
modelOriginPosition: { x: -0.0012984000000164642, y: -0.0030292999999934622, z: 0.000917 },
}, ...props }));
};
const pinLabels$2 = {
pin1: ["DIN"],
pin2: ["DIG0"],
pin3: ["DIG4"],
pin4: ["GND1"],
pin5: ["DIG6"],
pin6: ["DIG2"],
pin7: ["DIG3"],
pin8: ["DIG7"],
pin9: ["GND2"],
pin10: ["DIG5"],
pin11: ["DIG1"],
pin12: ["pin12"],
pin13: ["CLK"],
pin14: ["pin14"],
pin15: ["pin15"],
pin16: ["pin16"],
pin17: ["pin17"],
pin18: ["ISET"],
pin19: ["V_POS"],
pin20: ["pin20"],
pin21: ["pin21"],
pin22: ["pin22"],
pin23: ["pin23"],
pin24: ["DOUT"]
};
const pinAttributes$1 = {
pin4: { requiresGround: true },
pin9: { requiresGround: true }
};
const MAX7219EWG_T = (props) => {
return (jsxRuntime.jsx("chip", { pinLabels: pinLabels$2, pinAttributes: pinAttributes$1, supplierPartNumbers: {
"jlcpcb": [
"C52476"
]
}, manufacturerPartNumber: "MAX7219EWG+T", footprint: jsxRuntime.jsxs("footprint", { children: [jsxRuntime.jsx("smtpad", { portHints: ["pin1"], pcbX: "-6.985mm", pcbY: "-4.743958mm", width: "0.5739892mm", height: "2.3880064mm", radius: "0.2869946mm", shape: "pill" }), jsxRuntime.jsx("smtpad", { portHints: ["pin2"], pcbX: "-5.715mm", pcbY: "-4.743958mm", width: "0.5739892mm", height: "2.3880064mm", radius: "0.2869946mm", shape: "pill" }), jsxRuntime.jsx("smtpad", { portHints: ["pin3"], pcbX: "-4.445mm", pcbY: "-4.743958mm", width: "0.5739892mm", height: "2.3880064mm", radius: "0.2869946mm", shape: "pill" }), jsxRuntime.jsx("smtpad", { portHints: ["pin4"], pcbX: "-3.175mm", pcbY: "-4.743958mm", width: "0.5739892mm", height: "2.3880064mm", radius: "0.2869946mm", shape: "pill" }), jsxRuntime.jsx("smtpad", { portHints: ["pin5"], pcbX: "-1.905mm", pcbY: "-4.743958mm", width: "0.5739892mm", height: "2.3880064mm", radius: "0.2869946mm", shape: "pill" }), jsxRuntime.jsx("smtpad", { portHints: ["pin6"], pcbX: "-0.635mm", pcbY: "-4.743958mm", width: "0.5739892mm", height: "2.3880064mm", radius: "0.2869946mm", shape: "pill" }), jsxRuntime.jsx("smtpad", { portHints: ["pin7"], pcbX: "0.635mm", pcbY: "-4.743958mm", width: "0.5739892mm", height: "2.3880064mm", radius: "0.2869946mm", shape: "pill" }), jsxRuntime.jsx("smtpad", { portHints: ["pin8"], pcbX: "1.905mm", pcbY: "-4.743958mm", width: "0.5739892mm", height: "2.3880064mm", radius: "0.2869946mm", shape: "pill" }), jsxRuntime.jsx("smtpad", { portHints: ["pin9"], pcbX: "3.175mm", pcbY: "-4.743958mm", width: "0.5739892mm", height: "2.3880064mm", radius: "0.2869946mm", shape: "pill" }), jsxRuntime.jsx("smtpad", { portHints: ["pin10"], pcbX: "4.445mm", pcbY: "-4.743958mm", width: "0.5739892mm", height: "2.3880064mm", radius: "0.2869946mm", shape: "pill" }), jsxRuntime.jsx("smtpad", { portHints: ["pin11"], pcbX: "5.715mm", pcbY: "-4.743958mm", width: "0.5739892mm", height: "2.3880064mm", radius: "0.2869946mm", shape: "pill" }), jsxRuntime.jsx("smtpad", { portHints: ["pin12"], pcbX: "6.985mm", pcbY: "-4.743958mm", width: "0.5739892mm", height: "2.3880064mm", radius: "0.2869946mm", shape: "pill" }), jsxRuntime.jsx("smtpad", { portHints: ["pin24"], pcbX: "-6.985mm", pcbY: "4.743958mm", width: "0.5739892mm", height: "2.3880064mm", radius: "0.2869946mm", shape: "pill" }), jsxRuntime.jsx("smtpad", { portHints: ["pin23"], pcbX: "-5.715mm", pcbY: "4.743958mm", width: "0.5739892mm", height: "2.3880064mm", radius: "0.2869946mm", shape: "pill" }), jsxRuntime.jsx("smtpad", { portHints: ["pin22"], pcbX: "-4.445mm", pcbY: "4.743958mm", width: "0.5739892mm", height: "2.3880064mm", radius: "0.2869946mm", shape: "pill" }), jsxRuntime.jsx("smtpad", { portHints: ["pin21"], pcbX: "-3.175mm", pcbY: "4.743958mm", width: "0.5739892mm", height: "2.3880064mm", radius: "0.2869946mm", shape: "pill" }), jsxRuntime.jsx("smtpad", { portHints: ["pin20"], pcbX: "-1.905mm", pcbY: "4.743958mm", width: "0.5739892mm", height: "2.3880064mm", radius: "0.2869946mm", shape: "pill" }), jsxRuntime.jsx("smtpad", { portHints: ["pin19"], pcbX: "-0.635mm", pcbY: "4.743958mm", width: "0.5739892mm", height: "2.3880064mm", radius: "0.2869946mm", shape: "pill" }), jsxRuntime.jsx("smtpad", { portHints: ["pin18"], pcbX: "0.635mm", pcbY: "4.743958mm", width: "0.5739892mm", height: "2.3880064mm", radius: "0.2869946mm", shape: "pill" }), jsxRuntime.jsx("smtpad", { portHints: ["pin17"], pcbX: "1.905mm", pcbY: "4.743958mm", width: "0.5739892mm", height: "2.3880064mm", radius: "0.2869946mm", shape: "pill" }), jsxRuntime.jsx("smtpad", { portHints: ["pin16"], pcbX: "3.175mm", pcbY: "4.743958mm", width: "0.5739892mm", height: "2.3880064mm", radius: "0.2869946mm", shape: "pill" }), jsxRuntime.jsx("smtpad", { portHints: ["pin15"], pcbX: "4.445mm", pcbY: "4.743958mm", width: "0.5739892mm", height: "2.3880064mm", radius: "0.2869946mm", shape: "pill" }), jsxRuntime.jsx("smtpad", { portHints: ["pin14"], pcbX: "5.715mm", pcbY: "4.743958mm", width: "0.5739892mm", height: "2.3880064mm", radius: "0.2869946mm", shape: "pill" }), jsxRuntime.jsx("smtpad", { portHints: ["pin13"], pcbX: "6.985mm", pcbY: "4.743958mm", width: "0.5739892mm", height: "2.3880064mm", radius: "0.2869946mm", shape: "pill" }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -7.776209999999992, "y": -3.3214056000000483 }, { "x": -7.776209999999992, "y": 3.3214055999999346 }, { "x": 7.776209999999878, "y": 3.3214055999999346 }, { "x": 7.776209999999878, "y": -3.3214056000000483 }, { "x": -7.776209999999992, "y": -3.3214056000000483 }] }), jsxRuntime.jsx("silkscreencircle", { pcbX: "-6.985mm", pcbY: "-2.568956mm", radius: "0.150114mm" }), jsxRuntime.jsx("silkscreencircle", { pcbX: "-7.724394mm", pcbY: "-4.743958mm", radius: "0.150114mm" }), jsxRuntime.jsx("silkscreentext", { text: "{NAME}", pcbX: "-0.0508mm", pcbY: "6.6388mm", anchorAlignment: "center", fontSize: "1mm" }), jsxRuntime.jsx("courtyardoutline", { outline: [{ "x": -8.124000000000137, "y": 5.8887999999999465 }, { "x": 8.022400000000061, "y": 5.8887999999999465 }, { "x": 8.022400000000061, "y": -5.965000000000032 }, { "x": -8.124000000000137, "y": -5.965000000000032 }, { "x": -8.124000000000137, "y": 5.8887999999999465 }] })] }), cadModel: {
objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C52476.obj?uuid=5627e3ed011b44938077791de7f8dec1",
stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C52476.step?uuid=5627e3ed011b44938077791de7f8dec1",
pcbRotationOffset: 0,
modelOriginPosition: { x: 0, y: 0, z: 0 },
}, ...props }));
};
const pinLabels$1 = {
pin1: ["32kHz"],
pin2: ["VCC"],
pin3: ["pin3"],
pin4: ["N_RST"],
pin5: ["GND"],
pin6: ["VBAT"],
pin7: ["SDA"],
pin8: ["SCL"]
};
const pinAttributes = {
pin2: { requiresPower: true },
pin5: { requiresGround: true }
};
const DS3231MZ_TRL = (props) => {
return (jsxRuntime.jsx("chip", { pinLabels: pinLabels$1, pinAttributes: pinAttributes, supplierPartNumbers: {
"jlcpcb": [
"C107410"
]
}, manufacturerPartNumber: "DS3231MZ+TRL", footprint: jsxRuntime.jsxs("footprint", { children: [jsxRuntime.jsx("smtpad", { portHints: ["pin5"], pcbX: "1.905mm", pcbY: "2.599944mm", width: "0.58801mm", height: "1.7999964mm", radius: "0.294005mm", shape: "pill" }), jsxRuntime.jsx("smtpad", { portHints: ["pin6"], pcbX: "0.635mm", pcbY: "2.599944mm", width: "0.58801mm", height: "1.7999964mm", radius: "0.294005mm", shape: "pill" }), jsxRuntime.jsx("smtpad", { portHints: ["pin7"], pcbX: "-0.635mm", pcbY: "2.599944mm", width: "0.58801mm", height: "1.7999964mm", radius: "0.294005mm", shape: "pill" }), jsxRuntime.jsx("smtpad", { portHints: ["pin8"], pcbX: "-1.905mm", pcbY: "2.599944mm", width: "0.58801mm", height: "1.7999964mm", radius: "0.294005mm", shape: "pill" }), jsxRuntime.jsx("smtpad", { portHints: ["pin4"], pcbX: "1.905mm", pcbY: "-2.599944mm", width: "0.58801mm", height: "1.7999964mm", radius: "0.294005mm", shape: "pill" }), jsxRuntime.jsx("smtpad", { portHints: ["pin3"], pcbX: "0.635mm", pcbY: "-2.599944mm", width: "0.58801mm", height: "1.7999964mm", radius: "0.294005mm", shape: "pill" }), jsxRuntime.jsx("smtpad", { portHints: ["pin2"], pcbX: "-0.635mm", pcbY: "-2.599944mm", width: "0.58801mm", height: "1.7999964mm", radius: "0.294005mm", shape: "pill" }), jsxRuntime.jsx("smtpad", { portHints: ["pin1"], pcbX: "-1.905mm", pcbY: "-2.599944mm", width: "0.58801mm", height: "1.7999964mm", radius: "0.294005mm", shape: "pill" }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -2.5262078000000656, "y": -1.5214091999999937 }, { "x": 2.526207799999952, "y": -1.5214091999999937 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -2.5262078000000656, "y": 1.5214092000001074 }, { "x": 2.526207799999952, "y": 1.5214092000001074 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -2.5262078000000656, "y": -0.43538139999998293 }, { "x": -2.5262078000000656, "y": -1.5214091999999937 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -2.5262078000000656, "y": 0.44889420000004066 }, { "x": -2.5262078000000656, "y": 1.5214092000001074 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -2.0675600000000713, "y": -1.5214091999999937 }, { "x": -2.5262078000000656, "y": -1.5214091999999937 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -0.7975599999999758, "y": -1.5214091999999937 }, { "x": -1.7424400000001015, "y": -1.5214091999999937 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 0.47244000000000597, "y": -1.5214091999999937 }, { "x": -0.47244000000011965, "y": -1.5214091999999937 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 1.7424399999999878, "y": -1.5214091999999937 }, { "x": 0.7975599999999758, "y": -1.5214091999999937 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 2.526207799999952, "y": -1.5214091999999937 }, { "x": 2.0675599999999577, "y": -1.5214091999999937 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 2.526207799999952, "y": 1.5214092000001074 }, { "x": 2.526207799999952, "y": -1.5214091999999937 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -2.0675600000000713, "y": 1.5214092000001074 }, { "x": -2.5262078000000656, "y": 1.5214092000001074 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -0.7975599999999758, "y": 1.5214092000001074 }, { "x": -1.7424400000001015, "y": 1.5214092000001074 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 0.47244000000000597, "y": 1.5214092000001074 }, { "x": -0.47244000000011965, "y": 1.5214092000001074 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 1.7424399999999878, "y": 1.5214092000001074 }, { "x": 0.7975599999999758, "y": 1.5214092000001074 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 2.526207799999952, "y": 1.5214092000001074 }, { "x": 2.0675599999999577, "y": 1.5214092000001074 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -2.5262078000000656, "y": -0.43538139999998293 }, { "x": -2.5262078000000656, "y": 0.44889420000004066 }] }), jsxRuntime.jsx("silkscreencircle", { pcbX: "-1.905mm", pcbY: "-1.016mm", radius: "0.150114mm" }), jsxRuntime.jsx("silkscreentext", { text: "{NAME}", pcbX: "0.0127mm", pcbY: "4.2004mm", anchorAlignment: "center", fontSize: "1mm" }), jsxRuntime.jsx("courtyardoutline", { outline: [{ "x": -2.764599999999973, "y": 3.4504000000000588 }, { "x": 2.7899999999999636, "y": 3.4504000000000588 }, { "x": 2.7899999999999636, "y": -3.80600000000004 }, { "x": -2.764599999999973, "y": -3.80600000000004 }, { "x": -2.764599999999973, "y": 3.4504000000000588 }] })] }), cadModel: {
objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C107410.obj?uuid=ec3b9f9b31a74655be3e55848dbee9c1",
stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C107410.step?uuid=ec3b9f9b31a74655be3e55848dbee9c1",
pcbRotationOffset: 0,
modelOriginPosition: { x: -12700000070253736e-21, y: 0, z: 0 },
}, ...props }));
};
const pinLabels = {
pin1: ["pin1"],
pin2: ["pin2"]
};
const CR1220_2 = (props) => {
return (jsxRuntime.jsx("chip", { pinLabels: pinLabels, symbol: jsxRuntime.jsxs("symbol", { children: [jsxRuntime.jsx("schematicpath", { points: [{ "x": -0.1, "y": 0.18 }, { "x": -0.1, "y": -0.14 }], strokeColor: "#880000" }), jsxRuntime.jsx("schematicpath", { points: [{ "x": -0.04, "y": 0.1 }, { "x": -0.04, "y": -0.08 }], strokeColor: "#880000" }), jsxRuntime.jsx("schematicpath", { points: [{ "x": 0.02, "y": 0.18 }, { "x": 0.02, "y": -0.14 }], strokeColor: "#880000" }), jsxRuntime.jsx("schematicpath", { points: [{ "x": 0.08, "y": 0.1 }, { "x": 0.08, "y": -0.08 }], strokeColor: "#880000" }), jsxRuntime.jsx("port", { name: "pin1", pinNumber: 1, aliases: ["1"], direction: "left", schX: -0.4, schY: 0, schStemLength: 0.3 }), jsxRuntime.jsx("port", { name: "pin2", pinNumber: 2, aliases: ["2"], direction: "right", schX: 0.4, schY: 0, schStemLength: 0.3 })] }), supplierPartNumbers: {
"jlcpcb": [
"C70381"
]
}, manufacturerPartNumber: "CR1220-2", footprint: jsxRuntime.jsxs("footprint", { children: [jsxRuntime.jsx("hole", { pcbX: "-3.750056mm", pcbY: "0mm", diameter: "1.1999976mm" }), jsxRuntime.jsx("hole", { pcbX: "3.750056mm", pcbY: "0mm", diameter: "0.999998mm" }), jsxRuntime.jsx("smtpad", { portHints: ["pin2"], pcbX: "8.599932mm", pcbY: "0mm", width: "4.499991mm", height: "2.2999954mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin1"], pcbX: "-8.599932mm", pcbY: "0mm", width: "4.499991mm", height: "2.2999954mm", shape: "rect" }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -8.25500000000011, "y": -2.2859999999999445 }, { "x": -8.25500000000011, "y": -7.239000000000033 }, { "x": -4.44500000000005, "y": -7.239000000000033 }, { "x": -4.44500000000005, "y": -5.842000000000098 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -4.44500000000005, "y": 5.968999999999937 }, { "x": -4.44500000000005, "y": 7.239000000000033 }, { "x": -8.25500000000011, "y": 7.239000000000033 }, { "x": -8.25500000000011, "y": 2.2859999999999445 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -6.815429600000016, "y": -2.29745539999999 }, { "x": -6.731098962128954, "y": -2.533908417869611 }, { "x": -6.638567687262821, "y": -2.76727433079418 }, { "x": -6.537948508226236, "y": -2.99726882410539 }, { "x": -6.4293640115110975, "y": -3.223611690607754 }, { "x": -6.312946487924933, "y": -3.4460271719607363 }, { "x": -6.188837771419003, "y": -3.6642442946407527 }, { "x": -6.0571890662895385, "y": -3.8779972000739917 }, { "x": -5.918160762960838, "y": -4.087025468537718 }, { "x": -5.771922242579649, "y": -4.291074436435451 }, { "x": -5.6186516706532075, "y": -4.489895506558582 }, { "x": -5.458535779988324, "y": -4.683246450957313 }, { "x": -5.291769643188104, "y": -4.87089170605384 }, { "x": -5.118556434993479, "y": -5.052602659632157 }, { "x": -4.939107184749446, "y": -5.228157929362851 }, { "x": -4.753640519303758, "y": -5.397343632517618 }, { "x": -4.56238239665015, "y": -5.5599536465464325 }, { "x": -4.365565830637706, "y": -5.71578986020188 }, { "x": -4.1634306070852745, "y": -5.8646624149017725 }, { "x": -3.9562229916462, "y": -6.006389936038204 }, { "x": -3.744195429776937, "y": -6.1407997539503185 }, { "x": -3.5276062391769756, "y": -6.267728114290776 }, { "x": -3.3067192950755953, "y": -6.387020377531371 }, { "x": -3.081803708747202, "y": -6.498531207364067 }, { "x": -2.853133499646674, "y": -6.602124747767448 }, { "x": -2.620987261565574, "y": -6.697674788522022 }, { "x": -2.385647823215777, "y": -6.78506491897565 }, { "x": -2.1474019036536447, "y": -6.864188669869009 }, { "x": -1.9065397629632344, "y": -6.934949643048981 }, { "x": -1.6633548486261134, "y": -6.99726162891352 }, { "x": -1.4181434380095652, "y": -7.0510487114410125 }, { "x": -1.1712042774034899, "y": -7.09624536068236 }, { "x": -0.9228382180531298, "y": -7.132796512595519 }, { "x": -0.6733478496246335, "y": -7.160657636133351 }, { "x": -0.42303713155354217, "y": -7.179794787494302 }, { "x": -0.1722110227254916, "y": -7.190184651479171 }, { "x": 0.07882489006271953, "y": -7.191814569894859 }, { "x": 0.32976476440546776, "y": -7.184682556977577 }, { "x": 0.5803028749030545, "y": -7.168797301810173 }, { "x": 0.8301339856330969, "y": -7.144178157737883 }, { "x": 1.0789537220259717, "y": -7.110855118788891 }, { "x": 1.3264589416912713, "y": -7.068868783132302 }, { "x": 1.5723481037421152, "y": -7.01827030361585 }, { "x": 1.8163216361692776, "y": -6.95912132544629 }, { "x": 2.058082300815613, "y": -6.8914939110850355 }, { "x": 2.297335555508198, "y": -6.815470452452814 }, { "x": 2.533789912905263, "y": -6.731143570550557 }, { "x": 2.767157295621132, "y": -6.638616002616573 }, { "x": 2.9971533871971587, "y": -6.538000476959951 }, { "x": 3.223497978490741, "y": -6.429419575620955 }, { "x": 3.445915309059842, "y": -6.3130055850269855 }, { "x": 3.6641344031277185, "y": -6.188900334825462 }, { "x": 3.8778893997189243, "y": -6.05725502508858 }, { "x": 4.086919876563343, "y": -5.91823004210471 }, { "x": 4.290971167373527, "y": -5.771994762975055 }, { "x": 4.489794672110861, "y": -5.618727349258393 }, { "x": 4.683148159859684, "y": -5.458614529912893 }, { "x": 4.870796063943317, "y": -5.291851373800796 }, { "x": 5.052509768918753, "y": -5.118641052030966 }, { "x": 5.228067889104295, "y": -4.939194590432294 }, { "x": 5.39725653829862, "y": -4.753730612454774 }, { "x": 5.559869590362723, "y": -4.562475072817847 }, { "x": 5.715708930347887, "y": -4.3656609822236305 }, { "x": 5.864584695863186, "y": -4.163528123475544 }, { "x": 6.00631550838898, "y": -3.956322759345653 }, { "x": 6.140728694253767, "y": -3.744297332547035 }, { "x": 6.267660495007476, "y": -3.527710158178593 }, { "x": 6.386956266930497, "y": -3.3068251090134027 }, { "x": 6.498470669440053, "y": -3.081911294016777 }, { "x": 6.602067842161546, "y": -2.853242730485249 }, { "x": 6.6976215704506785, "y": -2.621098010206083 }, { "x": 6.785015439162635, "y": -2.385759960042151 }, { "x": 6.864142974483457, "y": -2.1475152973580407 }, { "x": 6.9349077736497975, "y": -1.9066542807065616 }, { "x": 6.997223622397655, "y": -1.6634703562003779 }, { "x": 7.05101460000003, "y": -1.4182598000001008 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 7.108774199999971, "y": 1.399463800000035 }, { "x": 7.055833345828091, "y": 1.6457206153829702 }, { "x": 6.994364556876235, "y": 1.8899883806484468 }, { "x": 6.924442126435224, "y": 2.1319718653829796 }, { "x": 6.846150565156677, "y": 2.3713786000324717 }, { "x": 6.759584498911522, "y": 2.6079192293922233 }, { "x": 6.66484855442161, "y": 2.8413078623300407 }, { "x": 6.562057232804591, "y": 3.0712624173257836 }, { "x": 6.451334771183383, "y": 3.297504963403071 }, { "x": 6.3328149925291655, "y": 3.5197620560476253 }, { "x": 6.206641143918887, "y": 3.737765067700707 }, { "x": 6.0729657234007846, "y": 3.95125051243258 }, { "x": 5.931950295681077, "y": 4.159960364399467 }, { "x": 5.783765296850788, "y": 4.363642369703598 }, { "x": 5.628589828391, "y": 4.562050351274934 }, { "x": 5.466611440704128, "y": 4.754944506410425 }, { "x": 5.298025906434987, "y": 4.942091696606326 }, { "x": 5.123036983852444, "y": 5.123265729338641 }, { "x": 4.941856170581104, "y": 5.298247631446316 }, { "x": 4.754702447976342, "y": 5.466825913791013 }, { "x": 4.561802016457932, "y": 5.628796826867983 }, { "x": 4.363388022115032, "y": 5.7839646070669914 }, { "x": 4.15970027491835, "y": 5.9321417132777015 }, { "x": 3.950984958877484, "y": 6.073149053558268 }, { "x": 3.737494334494386, "y": 6.206816201592346 }, { "x": 3.519486433873226, "y": 6.332981602672476 }, { "x": 3.2972247488526136, "y": 6.451492768960065 }, { "x": 3.0709779125419345, "y": 6.562206463787561 }, { "x": 2.8410193746406094, "y": 6.664988874779738 }, { "x": 2.6076270709387472, "y": 6.75971577558289 }, { "x": 2.371083087393572, "y": 6.8462726760104715 }, { "x": 2.131673319190895, "y": 6.924554960418163 }, { "x": 1.8896871252020446, "y": 6.994468014147969 }, { "x": 1.6454169782554118, "y": 7.055927337880462 }, { "x": 1.3991581116432599, "y": 7.108858649766034 }, { "x": 1.1512081622927326, "y": 7.15319797520192 }, { "x": 0.9018668110318231, "y": 7.188891724156292 }, { "x": 0.6514354203847006, "y": 7.215896755937592 }, { "x": 0.40021667033408903, "y": 7.234180431336881 }, { "x": 0.14851419249316677, "y": 7.243720652075467 }, { "x": -0.10336779687554554, "y": 7.244505887514947 }, { "x": -0.35512486454524606, "y": 7.236535188593052 }, { "x": -0.6064527282743484, "y": 7.219818188969953 }, { "x": -0.8570476245714644, "y": 7.194375093386043 }, { "x": -1.106606675834655, "y": 7.160236653240531 }, { "x": -1.3548282564206602, "y": 7.1174441294255075 }, { "x": -1.6014123571982282, "y": 7.066049242455392 }, { "x": -1.846060948151262, "y": 7.006114109956002 }, { "x": -2.088478338587038, "y": 6.937711171588489 }, { "x": -2.3283715345183964, "y": 6.860923101493768 }, { "x": -2.5654505927864193, "y": 6.775842708371897 }, { "x": -2.7994289714955585, "y": 6.682572823308988 }, { "x": -3.0300238763384186, "y": 6.581226175493043 }, { "x": -3.2569566023902325, "y": 6.471925255964493 }, { "x": -3.479952870960915, "y": 6.354802169570348 }, { "x": -3.698743161098946, "y": 6.229998475296611 }, { "x": -3.913063035342134, "y": 6.09766501517629 }, { "x": -4.122653459326671, "y": 5.95796173197607 }, { "x": -4.3272611148654505, "y": 5.811057475884127 }, { "x": -4.526638706115932, "y": 5.657129800431562 }, { "x": -4.720545258470793, "y": 5.4963647478956545 }, { "x": -4.9087464098086, "y": 5.328956624442412 }, { "x": -5.091014693751845, "y": 5.155107765281855 }, { "x": -5.267129814589907, "y": 4.975028290118303 }, { "x": -5.4368789135370434, "y": 4.788935849192626 }, { "x": -5.600056825999559, "y": 4.597055360222498 }, { "x": -5.756466329546129, "y": 4.399618736559887 }, { "x": -5.905918382276923, "y": 4.196864606891609 }, { "x": -6.048232351306069, "y": 3.9890380268249146 }, { "x": -6.1832362310809685, "y": 3.7763901827053132 }, { "x": -6.310766851273911, "y": 3.5591780880230317 }, { "x": -6.430670073995543, "y": 3.337664272778966 }, { "x": -6.542800980091442, "y": 3.112116466181078 }, { "x": -6.64702404429579, "y": 2.8828072730577787 }, { "x": -6.743213299032277, "y": 2.6500138443785772 }, { "x": -6.831252486662606, "y": 2.4140175422795664 }, { "x": -6.911035200000015, "y": 2.175103599999943 }] }), jsxRuntime.jsx("silkscreentext", { text: "{NAME}", pcbX: "-0.009144mm", pcbY: "8.4422mm", anchorAlignment: "center", fontSize: "1mm" }), jsxRuntime.jsx("fabricationnotepath", { route: [{ "x": -8.314816999999948, "y": 2.299868399999923 }, { "x": -8.314816999999948, "y": 7.169861200000014 }, { "x": -8.292839214414471, "y": 7.222882173667244 }, { "x": -8.2398108000001, "y": 7.244842000000062 }, { "x": -5.509869600000002, "y": 7.244842000000062 }, { "x": -4.469841200000133, "y": 7.244842000000062 }, { "x": -4.416812785585535, "y": 7.222882173667244 }, { "x": -4.394835000000057, "y": 7.169861200000014 }, { "x": -4.394835000000057, "y": 5.9499245999999175 }, { "x": -4.469841200000133, "y": 5.874918409878774 }, { "x": -4.5448473999999806, "y": 5.9499245999999175 }, { "x": -4.5448473999999806, "y": 7.094854999999939 }, { "x": -5.509869600000002, "y": 7.094854999999939 }, { "x": -8.164804600000025, "y": 7.094854999999939 }, { "x": -8.164804600000025, "y": 2.299868399999923 }, { "x": -8.239810799999873, "y": 2.224862209878779 }, { "x": -8.314816999999948, "y": 2.299868399999923 }], strokeWidth: "0.254mm" }), jsxRuntime.jsx("fabricationnotepath", { route: [{ "x": -4.324807200000123, "y": -7.150074600000039 }, { "x": -4.346776007349035, "y": -7.203111992650975 }, { "x": -4.399813399999971, "y": -7.225080800000114 }, { "x": -8.2398108000001, "y": -7.225080800000114 }, { "x": -8.29284819265115, "y": -7.203111992650975 }, { "x": -8.314816999999948, "y": -7.150074600000039 }, { "x": -8.314816999999948, "y": -2.260117400000013 }, { "x": -8.292501012263756, "y": -2.207719228512474 }, { "x": -8.2398108000001, "y": -2.1861017999999603 }, { "x": -8.187120587736217, "y": -2.207719228512474 }, { "x": -8.164804599999911, "y": -2.260117400000013 }, { "x": -8.164804600000025, "y": -7.0750937999999906 }, { "x": -4.474819600000046, "y": -7.0750937999999906 }, { "x": -4.474819600000046, "y": -5.706262400000014 }, { "x": -4.452841814414569, "y": -5.653241426332784 }, { "x": -4.399813399999971, "y": -5.631281599999966 }, { "x": -4.377918600000157, "y": -5.631281599999966 }, { "x": -4.325512988012861, "y": -5.6535797230884555 }, { "x": -4.303877600000078, "y": -5.706262400000014 }, { "x": -4.309303406629397, "y": -5.7342876979176935 }, { "x": -4.324807200000123, "y": -5.758256200000119 }, { "x": -4.324807200000123, "y": -7.150074600000039 }], strokeWidth: "0.254mm" }), jsxRuntime.jsx("fabricationnotepath", { route: [{ "x": 0.00009143999989191798, "y": -7.267473399999972 }, { "x": -0.5024335345445934, "y": -7.25007792145459 }, { "x": -1.2509612047889505, "y": -7.158979339557391 }, { "x": -1.7429892577787314, "y": -7.055334041613719 }, { "x": -2.2266725428108884, "y": -6.917913400895941 }, { "x": -2.699695490468798, "y": -6.747375300449676 }, { "x": -3.3843047388894547, "y": -6.431301255766812 }, { "x": -3.8209077513141665, "y": -6.181878397439277 }, { "x": -4.2392182372741445, "y": -5.902861749099316 }, { "x": -4.63723359093558, "y": -5.595587065852669 }, { "x": -5.192063908539808, "y": -5.084944389010502 }, { "x": -5.5312399695400245, "y": -4.713738849774927 }, { "x": -5.843935515986232, "y": -4.31996804340713 }, { "x": -6.1286535595261284, "y": -3.9055170952869958 }, { "x": -6.500329378855099, "y": -3.2494304317500564 }, { "x": -6.709449206738668, "y": -2.792152780535048 }, { "x": -6.886448000000087, "y": -2.321509200000037 }, { "x": -6.886448000000087, "y": -2.321509200000037 }, { "x": -6.889675427988095, "y": -2.309171211722173 }, { "x": -6.890766000000099, "y": -2.2964648000000807 }, { "x": -6.890766000000099, "y": -2.296439400000054 }, { "x": -6.868797192650959, "y": -2.2434020073491183 }, { "x": -6.8157598000000235, "y": -2.2214332000000923 }, { "x": -6.8157547200002, "y": -2.2214332000000923 }, { "x": -6.771521727349068, "y": -2.2358645964162633 }, { "x": -6.744309600000179, "y": -2.2736048000000437 }, { "x": -6.744309600000179, "y": -2.2736048000000437 }, { "x": -6.565544010261647, "y": -2.7475195171939504 }, { "x": -6.353525554970474, "y": -3.207520027914825 }, { "x": -5.975542434028171, "y": -3.866357486990978 }, { "x": -5.685444546404369, "y": -4.281562870920197 }, { "x": -5.366551225433454, "y": -4.67508459216026 }, { "x": -5.0204775673829545, "y": -5.044929584624811 }, { "x": -4.648976328540584, "y": -5.389224697552663 }, { "x": -4.04819650469517, "y": -5.853984463947654 }, { "x": -3.6216161591153195, "y": -6.12708060821285 }, { "x": -3.176693034120035, "y": -6.369146111934128 }, { "x": -2.7156805280438903, "y": -6.578954988030887 }, { "x": -2.2409135269723492, "y": -6.755444619287573 }, { "x": -1.7547965792638252, "y": -6.897721140182853 }, { "x": -1.0097383580726955, "y": -7.045458353621598 }, { "x": -0.506112937521948, "y": -7.09943734048386 }, { "x": 0.00007619999985308823, "y": -7.117460999999935 }, { "x": 6.758609799999931, "y": -2.385009200000013 }, { "x": 6.81164719265098, "y": -2.406978007349039 }, { "x": 6.833616000000006, "y": -2.4600154000000884 }, { "x": 6.833616000000006, "y": -2.460023019999994 }, { "x": 6.832476954548952, "y": -2.4730439288370007 }, { "x": 6.829094800000007, "y": -2.485669400000006 }, { "x": 6.829094800000007, "y": -2.485669400000006 }, { "x": 6.639082302237512, "y": -2.955987782071361 }, { "x": 6.416724555376845, "y": -3.4119057157297448 }, { "x": 6.024952181603226, "y": -4.063944676217034 }, { "x": 5.72680242432773, "y": -4.474323588999823 }, { "x": 5.400752053791962, "y": -4.862904707550001 }, { "x": 5.048389590357601, "y": -5.2277948611340435 }, { "x": 4.67143174714181, "y": -5.567216301615304 }, { "x": 4.0639266559555836, "y": -6.02501315943357 }, { "x": 3.633755206930573, "y": -6.293819138280583 }, { "x": 3.185880489667852, "y": -6.531962724079676 }, { "x": 2.7224845538517, "y": -6.738283679121309 }, { "x": 2.2458250686834162, "y": -6.911776805841555 }, { "x": 1.75822432349662, "y": -7.051596844153778 }, { "x": 1.0115166897844574, "y": -7.196745418384694 }, { "x": 0.5070440965696434, "y": -7.2497693046558425 }, { "x": 0.0001015999999935957, "y": -7.267473399999972 }, { "x": 0.00009143999989191798, "y": -7.267473399999972 }], strokeWidth: "0.254mm" }), jsxRuntime.jsx("fabricationnotepath", { route: [{ "x": 6.7378579999998465, "y": 2.45231919999992 }, { "x": 6.329219729626857, "y": 3.369453400849693 }, { "x": 5.645072072830317, "y": 4.420966558920668 }, { "x": 4.972153100606533, "y": 5.166151391833637 }, { "x": 3.9956341244885607, "y": 5.953646551931342 }, { "x": 3.1247910730298827, "y": 6.453399248880942 }, { "x": 1.952195433930683, "y": 6.899221416411706 }, { "x": 0.9693022436497358, "y": 7.104261302485497 }, { "x": -0.2837402582373443, "y": 7.164447898675803 }, { "x": -1.2817603689579755, "y": 7.054555965489271 }, { "x": -2.2546450911012244, "y": 6.806330874489504 }, { "x": -3.4064192036973964, "y": 6.309184687287029 }, { "x": -4.254354330804517, "y": 5.771479936889932 }, { "x": -5.195161391555985, "y": 4.9416486212981 }, { "x": -5.834531936452436, "y": 4.167487343074413 }, { "x": -6.471598845385074, "y": 3.0868006671876174 }, { "x": -6.839356399999929, "y": 2.1525229999999738 }, { "x": -6.98246000000006, "y": 2.197531799999979 }, { "x": -6.500774015032675, "y": 3.3650669532390793 }, { "x": -5.9752043153856675, "y": 4.228544506644994 }, { "x": -5.15939565561996, "y": 5.192710442993189 }, { "x": -4.394838213221192, "y": 5.853973561347061 }, { "x": -3.3231537626157888, "y": 6.522293963918969 }, { "x": -2.3929397890905193, "y": 6.917918732962903 }, { "x": -1.1681683178346702, "y": 7.226292800226702 }, { "x": -0.1615176859705798, "y": 7.31833355093147 }, { "x": 1.09886895755551, "y": 7.237184114799788 }, { "x": 2.0854050843996674, "y": 7.016812916922504 }, { "x": 3.2605190838448834, "y": 6.553923285940073 }, { "x": 4.132318790451336, "y": 6.042276663764596 }, { "x": 5.1094511084057785, "y": 5.242044100460589 }, { "x": 5.782897225893635, "y": 4.488195759437531 }, { "x": 6.468327897289328, "y": 3.427373193278072 }, { "x": 6.878827999999999, "y": 2.5036271999999826 }, { "x": 6.7378579999998465, "y": 2.45231919999992 }], strokeWidth: "0.254mm" }), jsxRuntime.jsx("fabricationnotepath", { route: [{ "x": 6.790334399999892, "y": 0.26990040000009685 }, { "x": 10.360329800000045, "y": 0.26990040000009685 }, { "x": 10.360329800000045, "y": -0.24013160000004063 }, { "x": 6.790334399999892, "y": -0.24013160000004063 }, { "x": 6.790334399999892, "y": 0.26990040000009685 }], strokeWidth: "0.254mm" }), jsxRuntime.jsx("fabricationnotepath", { route: [{ "x": -8.870010200000138, "y": -1.8099786000000222 }, { "x": -8.870010200000138, "y": 1.7600168000000167 }, { "x": -8.360003600000027, "y": 1.7600168000000167 }, { "x": -8.360003600000027, "y": -1.8099786000000222 }, { "x": -8.870010200000138, "y": -1.8099786000000222 }], strokeWidth: "0.254mm" }), jsxRuntime.jsx("fabricationnotepath", { route: [{ "x": -10.409986799999956, "y": 0.27000199999997676 }, { "x": -6.839991400000031, "y": 0.27000199999997676 }, { "x": -6.839991400000031, "y": -0.24000460000002022 }, { "x": -10.409986799999956, "y": -0.24000460000002022 }, { "x": -10.409986799999956, "y": 0.27000199999997676 }], strokeWidth: "0.254mm" }), jsxRuntime.jsx("courtyardoutline", { outline: [{ "x": -11.104944000000046, "y": 7.692199999999957 }, { "x": 11.086655999999948, "y": 7.692199999999957 }, { "x": 11.086655999999948, "y": -7.717599999999948 }, { "x": -11.104944000000046, "y": -7.717599999999948 }, { "x": -11.104944000000046, "y": 7.692199999999957 }] })] }), cadModel: {
objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C70381.obj?uuid=ab4536f5a0f441b3b448449758257e7f",
stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C70381.step?uuid=ab4536f5a0f441b3b448449758257e7f",
pcbRotationOffset: 180,
modelOriginPosition: { x: -0.09780120000004544, y: -15200000070159092e-21, z: -0.05000160000000009 },
}, ...props }));
};
const segments = ["A", "B", "C", "D", "E", "F", "G"];
const jlc = (partNumber) => ({ jlcpcb: [partNumber] });
const digits = [
{ display: "DS1", role: "H10", x: -47.5, digitNet: "DIG5" },
{ display: "DS2", role: "H1", x: -32.5, digitNet: "DIG4" },
{ display: "DS3", role: "M10", x: -7.5, digitNet: "DIG3" },
{ display: "DS4", role: "M1", x: 7.5, digitNet: "DIG2" },
{ display: "DS5", role: "S10", x: 32.5, digitNet: "DIG1" },
{ display: "DS6", role: "S1", x: 47.5, digitNet: "DIG0" },
];
const digitSchPositionByRole = {
H10: { x: -8, y: 4 },
H1: { x: -8, y: -4 },
M10: { x: 0, y: 4 },
M1: { x: 0, y: -4 },
S10: { x: 8, y: 4 },
S1: { x: 8, y: -4 },
};
function DisplayDigit({ display, role, x, digitNet }) {
const resistorX = [x - 4.5, x - 1.5, x + 1.5, x + 4.5];
return (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsx(FJ3191AH, { name: display, pcbX: x, pcbY: 0, pcbRotation: "270deg", schX: digitSchPositionByRole[role].x, schY: digitSchPositionByRole[role].y, schSheetName: "display_digits", noConnect: ["dp"], connections: {
GND1: `net.${digitNet}`,
GND2: `net.${digitNet}`,
a: "net.SEG_A",
b: "net.SEG_B",
c: "net.SEG_C",
d: "net.SEG_D",
e: "net.SEG_E",
f: "net.SEG_F",
g: "net.SEG_G",
} }), segments.map((segment, index) => (jsxRuntime.jsx("chip", { name: `U_VIS_${display}_${segment}`, manufacturerPartNumber: "0OHM-VISUAL-LINK", footprint: "0603", supplierPartNumbers: jlc("C21189"), pcbX: resistorX[index % 4], pcbY: index < 4 ? 12 : -12, pinLabels: { pin1: ["1"], pin2: ["2"] }, noSchematicRepresentation: true, noConnect: ["pin1", "pin2"] }, `${display}-${segment}`)))] }));
}
const atmegaPinLabels = {
pin1: ["PD3_HOUR"], pin2: ["PD4"], pin3: ["GND1"], pin4: ["VCC1"],
pin5: ["GND2"], pin6: ["VCC2"], pin7: ["PB6_XTAL1"], pin8: ["PB7_XTAL2"],
pin9: ["PD5"], pin10: ["PD6"], pin11: ["PD7"], pin12: ["PB0"],
pin13: ["PB1"], pin14: ["PB2_LOAD"], pin15: ["PB3_MOSI"], pin16: ["PB4_MISO"],
pin17: ["PB5_SCK"], pin18: ["AVCC"], pin19: ["ADC6"], pin20: ["AREF"],
pin21: ["GND3"], pin22: ["ADC7"], pin23: ["PC0"], pin24: ["PC1"],
pin25: ["PC2"], pin26: ["PC3"], pin27: ["PC4_SDA"], pin28: ["PC5_SCL"],
pin29: ["N_RESET"], pin30: ["PD0_RX"], pin31: ["PD1_TX"], pin32: ["PD2_MINUTE"],
};
const maxPinLabels = {
pin1: ["DIN"], pin2: ["DIG0"], pin3: ["DIG4"], pin4: ["GND1"],
pin5: ["DIG6"], pin6: ["DIG2"], pin7: ["DIG3"], pin8: ["DIG7"],
pin9: ["GND2"], pin10: ["DIG5"], pin11: ["DIG1"], pin12: ["LOAD"],
pin13: ["CLK"], pin14: ["SEG_A"], pin15: ["SEG_F"], pin16: ["SEG_B"],
pin17: ["SEG_G"], pin18: ["ISET"], pin19: ["V5"], pin20: ["SEG_C"],
pin21: ["SEG_E"], pin22: ["SEG_DP"], pin23: ["SEG_D"], pin24: ["DOUT"],
};
const ispPinLabels = {
pin1: ["MISO"], pin2: ["V5"], pin3: ["SCK"],
pin4: ["MOSI"], pin5: ["RESET"], pin6: ["GND"],
};
const ispFootprint = (jsxRuntime.jsxs("footprint", { children: [jsxRuntime.jsx("smtpad", { portHints: ["pin1"], pcbX: -1.27, pcbY: 2.54, width: "1.6mm", height: "1.6mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin2"], pcbX: 1.27, pcbY: 2.54, width: "1.6mm", height: "1.6mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin3"], pcbX: -1.27, pcbY: 0, width: "1.6mm", height: "1.6mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin4"], pcbX: 1.27, pcbY: 0, width: "1.6mm", height: "1.6mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin5"], pcbX: -1.27, pcbY: -2.54, width: "1.6mm", height: "1.6mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin6"], pcbX: 1.27, pcbY: -2.54, width: "1.6mm", height: "1.6mm", shape: "rect" }), jsxRuntime.jsx("silkscreenrect", { pcbX: 0, pcbY: 0, width: "5.6mm", height: "7.9mm" }), jsxRuntime.jsx("silkscreencircle", { pcbX: -1.27, pcbY: 2.54, radius: "0.3mm" })] }));
function ClockBoard() {
return (jsxRuntime.jsxs("board", { name: "CLOCKBOARD", width: "120mm", height: "45mm", borderRadius: "20mm", layers: 4, thickness: "1.6mm", title: "Six Digit RTC Clock - Fabrication Revision", minViaHoleDiameter: "0.3mm", minViaPadDiameter: "0.6mm", minViaEdgeToPadEdgeClearance: "0.09mm", minTraceToPadEdgeClearance: "0.07mm", defaultTraceWidth: "0.2mm", schLayout: { layoutMode: "relative" }, schTraceAutoLabelEnabled: true, schMaxTraceDistance: 0.5, autorouter: {
preset: "tscircuit_beta",
allowViaInPad: false,
traceClearance: "0.25mm",
serverCacheEnabled: false,
}, children: [jsxRuntime.jsxs("schematicsheet", { name: "power", displayName: "1 - Power Input and 5V Buck", sheetIndex: 0, children: [jsxRuntime.jsx("schematicsection", { name: "entry", displayName: "2S BATTERY INPUT" }), jsxRuntime.jsx("schematicsection", { name: "buck", displayName: "5V BUCK SUPPLY" }), jsxRuntime.jsx("pinheader", { name: "J_POWER", pinCount: 2, pitch: "2.54mm", footprint: "pinrow2_p2.54", pcbX: 0, pcbY: 20, schX: -11, schY: 3, schSectionName: "entry", connections: { pin1: "net.VBAT_2S", pin2: "net.GND" } }), jsxRuntime.jsx(YTSPS_22E58LM, { name: "SW_POWER", pcbX: 0, pcbY: -18, layer: "top", schX: -7, schY: 3, schSectionName: "entry", noConnect: ["pin3", "pin6"], connections: {
pin2: "net.VBAT_2S", pin5: "net.VBAT_2S",
pin1: "net.VBAT_SWITCHED", pin4: "net.VBAT_SWITCHED",
} }), jsxRuntime.jsx("diode", { name: "D_REVERSE", manufacturerPartNumber: "SS34", supplierPartNumbers: { jlcpcb: ["C8678"] }, footprint: "sma", pcbX: 0, pcbY: 8, layer: "bottom", schX: -3, schY: 3, schSectionName: "entry", connections: { anode: "net.VBAT_SWITCHED", cathode: "net.VBAT_SW" } }), jsxRuntime.jsx("chip", { name: "U_BUCK", manufacturerPartNumber: "AP63205WU-7", supplierPartNumbers: { jlcpcb: ["C2071056"] }, footprint: "sot23_6", pinLabels: {
pin1: ["FB"], pin2: ["EN"], pin3: ["VIN"],
pin4: ["GND"], pin5: ["SW"], pin6: ["BST"],
}, pinAttributes: { pin3: { requiresPower: true }, pin4: { requiresGround: true } }, pcbX: -31, pcbY: 16, layer: "bottom", schX: 1, schY: 3, schSectionName: "buck", connections: {
FB: "net.V5", EN: "net.VBAT_SW", VIN: "net.VBAT_SW",
GND: "net.GND", SW: "net.BUCK_SW", BST: "net.BUCK_BST",
} }), jsxRuntime.jsx("capacitor", { name: "C_BUCK_IN", capacitance: "10uF", manufacturerPartNumber: "TCC1206X7R106K250HT", supplierPartNumbers: { jlcpcb: ["C380364"] }, footprint: "1206", pcbX: -36, pcbY: 16, layer: "bottom", schX: -2, schY: -4, schSectionName: "buck", connections: { pin1: "net.VBAT_SW", pin2: "net.GND" } }), jsxRuntime.jsx("capacitor", { name: "C_BUCK_BOOT", capacitance: "100nF", supplierPartNumbers: jlc("C14663"), footprint: "0603", pcbX: -31, pcbY: 20, layer: "bottom", schX: 2, schY: 7, schSectionName: "buck", connections: { pin1: "net.BUCK_BST", pin2: "net.BUCK_SW" } }), jsxRuntime.jsx("inductor", { name: "L_BUCK", manufacturerPartNumber: "SRN6045TA-4R7M", supplierPartNumbers: { jlcpcb: ["C2044594"] }, inductance: "4.7uH", pcbX: -22, pcbY: 16, layer: "bottom", schX: 5, schY: 3, schSectionName: "buck", footprint: jsxRuntime.jsxs("footprint", { children: [jsxRuntime.jsx("smtpad", { portHints: ["pin1"], pcbX: -2.15, pcbY: 0, width: "2mm", height: "6mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin2"], pcbX: 2.15, pcbY: 0, width: "2mm", height: "6mm", shape: "rect" }), jsxRuntime.jsx("courtyardoutline", { outline: [
{ x: -3.5, y: -3.5 }, { x: 3.5, y: -3.5 },
{ x: 3.5, y: 3.5 }, { x: -3.5, y: 3.5 },
{ x: -3.5, y: -3.5 },
] })] }), connections: { pin1: "net.BUCK_SW", pin2: "net.V5" } }), jsxRuntime.jsx("capacitor", { name: "C_BUCK_OUT1", capacitance: "22uF", supplierPartNumbers: jlc("C12891"), footprint: "1206", pcbX: -15, pcbY: 14, layer: "bottom", schX: 10, schY: 4, schSectionName: "buck", connections: { pin1: "net.V5", pin2: "net.GND" } }), jsxRuntime.jsx("capacitor", { name: "C_BUCK_OUT2", capacitance: "22uF", supplierPartNumbers: jlc("C12891"), footprint: "1206", pcbX: -15, pcbY: 19, layer: "bottom", schX: 10, schY: -1, schSectionName: "buck", connections: { pin1: "net.V5", pin2: "net.GND" } })] }), jsxRuntime.jsxs("schematicsheet", { name: "controller", displayName: "2 - Controller and Programming", sheetIndex: 1, children: [jsxRuntime.jsx("schematicsection", { name: "mcu", displayName: "ATMEGA328P CONTROLLER" }), jsxRuntime.jsx("schematicsection", { name: "programming", displayName: "AVR ICSP PROGRAMMING" }), jsxRuntime.jsx(ATMEGA328P_AU, { name: "U_MCU", pinLabels: atmegaPinLabels, pcbX: 29, pcbY: -16, pcbRotation: "45deg", layer: "bottom", schX: -5, schY: 2, schSectionName: "mcu", noConnect: [
"PD4", "PB6_XTAL1", "PB7_XTAL2", "PD5", "PD6", "PD7", "PB0", "PB1",
"ADC6", "ADC7", "PC0", "PC1", "PC2", "PC3", "PD0_RX", "PD1_TX",
], connections: {
GND1: "net.GND", GND2: "net.GND", GND3: "net.GND",
VCC1: "net.V5", VCC2: "net.V5", AVCC: "net.V5",
AREF: "net.AREF",
PD3_HOUR: "net.HOUR_BUTTON",
PD2_MINUTE: "net.MINUTE_BUTTON",
PB2_LOAD: "net.MAX_LOAD",
PB3_MOSI: "net.MAX_DIN",
PB4_MISO: "net.ISP_MISO",
PB5_SCK: "net.MAX_CLK",
PC4_SDA: "net.I2C_SDA",
PC5_SCL: "net.I2C_SCL",
N_RESET: "net.MCU_RESET",
} }), jsxRuntime.jsx("capacitor", { name: "C_MCU_VCC1", capacitance: "100nF", supplierPartNumbers: jlc("C14663"), footprint: "0603", pcbX: 20, pcbY: -12, layer: "bottom", schX: -11, schY: -6, schSectionName: "mcu", connections: { pin1: "net.V5", pin2: "net.GND" } }), jsxRuntime.jsx("capacitor", { name: "C_MCU_VCC2", capacitance: "100nF", supplierPartNumbers: jlc("C14663"), footprint: "0603", pcbX: 22, pcbY: -9, layer: "bottom", schX: -8, schY: -6, schSectionName: "mcu", connections: { pin1: "net.V5", pin2: "net.GND" } }), jsxRuntime.jsx("capacitor", { name: "C_MCU_AVCC", capacitance: "100nF", supplierPartNumbers: jlc("C14663"), footprint: "0603", pcbX: 27, pcbY: -7, layer: "bottom", schX: -5, schY: -6, schSectionName: "mcu", connections: { pin1: "net.V5", pin2: "net.GND" } }), jsxRuntime.jsx("capacitor", { name: "C_MCU_BULK", capacitance: "4.7uF", supplierPartNumbers: jlc("C1779"), footprint: "0805", pcbX: 32, pcbY: -7, layer: "bottom", schX: -2, schY: -6, schSectionName: "mcu", connections: { pin1: "net.V5", pin2: "net.GND" } }), jsxRuntime.jsx("capacitor", { name: "C_AREF", capacitance: "100nF", supplierPartNumbers: jlc("C14663"), footprint: "0603", pcbX: 37, pcbY: -8, layer: "bottom", schX: 1, schY: -6, schSectionName: "mcu", connections: { pin1: "net.AREF", pin2: "net.GND" } }), jsxRuntime.jsx("resistor", { name: "R_RESET", resistance: "10kohm", supplierPartNumbers: jlc("C25804"), footprint: "0603", pcbX: 39, pcbY: -12, layer: "bottom", schX: 0, schY: 6, schSectionName: "mcu", connections: { pin1: "net.V5", pin2: "net.MCU_RESET" } }), jsxRuntime.jsx(DS3231MZ_TRL, { name: "U_RTC", pcbX: 37, pcbY: 16, layer: "bottom", schX: -8, schY: 4, schSheetName: "rtc_driver", schSectionName: "rtc", noConnect: ["32kHz", "pin3", "N_RST"], connections: {
VCC: "net.V5", GND: "net.GND", VBAT: "net.RTC_BAT",
SDA: "net.I2C_SDA", SCL: "net.I2C_SCL",
} }), jsxRuntime.jsx(CR1220_2, { name: "BT_RTC", pcbX: -42, pcbY: 0, pcbRotation: "90deg", layer: "bottom", schX: -12, schY: 4, schSheetName: "rtc_driver", schSectionName: "rtc", connections: { pin1: "net.RTC_BAT", pin2: "net.GND" } }), jsxRuntime.jsx("capacitor", { name: "C_RTC", capacitance: "100nF", supplierPartNumbers: jlc("C14663"), footprint: "0603", pcbX: 44, pcbY: 19, layer: "bottom", schX: -8, schY: 0, schSheetName: "rtc_driver", schSectionName: "rtc", connections: { pin1: "net.V5", pin2: "net.GND" } }), jsxRuntime.jsx("resistor", { name: "R_SDA", resistance: "4.7kohm", supplierPartNumbers: jlc("C23162"), footprint: "0603", pcbX: 45, pcbY: 15, layer: "bottom", schX: -3, schY: 5, schSheetName: "rtc_driver", schSectionName: "rtc", connections: { pin1: "net.V5", pin2: "net.I2C_SDA" } }), jsxRuntime.jsx("resistor", { name: "R_SCL", resistance: "4.7kohm", supplierPartNumbers: jlc("C23162"), footprint: "0603", pcbX: 49, pcbY: 12, layer: "bottom", schX: -3, schY: 2, schSheetName: "rtc_driver", schSectionName: "rtc", connections: { pin1: "net.V5", pin2: "net.I2C_SCL" } }), jsxRuntime.jsx("pushbutton", { name: "SW_HOUR", footprint: "pushbutton_id1.3mm_od2mm", pcbX: -20, pcbY: -18, layer: "top", schX: -10, schY: -4, schSheetName: "rtc_driver", schSectionName: "controls", noConnect: ["pin3", "pin4"], connections: { pin1: "net.HOUR_BUTTON", pin2: "net.GND" } }), jsxRuntime.jsx("resistor", { name: "R_SET_HOUR", resistance: "10kohm", supplierPartNumbers: jlc("C25804"), footprint: "0603", pcbX: -27, pcbY: -18, layer: "top", schX: -13, schY: -4, schSheetName: "rtc_driver", schSectionName: "controls", connections: { pin1: "net.V5", pin2: "net.HOUR_BUTTON" } }), jsxRuntime.jsx("capacitor", { name: "C_SET_HOUR", capacitance: "100nF", supplierPartNumbers: jlc("C14663"), footprint: "0603", pcbX: -31, pcbY: -18, layer: "top", schX: -10, schY: -7, schSheetName: "rtc_driver", schSectionName: "controls", connections: { pin1: "net.HOUR_BUTTON", pin2: "net.GND" } }), jsxRuntime.jsx("pushbutton", { name: "SW_MINUTE", footprint: "pushbutton_id1.3mm_od2mm", pcbX: 20, pcbY: -18, layer: "top", schX: -3, schY: -4, schSheetName: "rtc_driver", schSectionName: "controls", noConnect: ["pin3", "pin4"], connections: { pin1: "net.MINUTE_BUTTON", pin2: "net.GND" } }), jsxRuntime.jsx("resistor", { name: "R_SET_MINUTE", resistance: "10kohm", supplierPartNumbers: jlc("C25804"), footprint: "0603", pcbX: 27, pcbY: -18, layer: "top", schX: -6, schY: -4, schSheetName: "rtc_driver", schSectionName: "controls", connections: { pin1: "net.V5", pin2: "net.MINUTE_BUTTON" } }), jsxRuntime.jsx("capacitor", { name: "C_SET_MINUTE", capacitance: "100nF", supplierPartNumbers: jlc("C14663"), footprint: "0603", pcbX: 31, pcbY: -18, layer: "top", schX: -3, schY: -7, schSheetName: "rtc_driver", schSectionName: "controls", connections: { pin1: "net.MINUTE_BUTTON", pin2: "net.GND" } }), jsxRuntime.jsx("chip", { name: "J_ICSP", manufacturerPartNumber: "AVR-ISP-POGO-PADS", footprint: ispFootprint, pinLabels: ispPinLabels, pcbX: 41, pcbY: -17, layer: "bottom", schX: 7, schY: -1, schSheetName: "controller", schSectionName: "programming", connections: {
MISO: "net.ISP_MISO", V5: "net.V5", SCK: "net.MAX_CLK",
MOSI: "net.MAX_DIN", RESET: "net.MCU_RESET", GND: "net.GND",
} })] }), jsxRuntime.jsxs("schematicsheet", { name: "rtc_driver", displayName: "3 - RTC, Controls and Display Driver", sheetIndex: 2, children: [jsxRuntime.jsx("schematicsection", { name: "rtc", displayName: "DS3231M RTC + CR1220 BACKUP" }), jsxRuntime.jsx("schematicsection", { name: "controls", displayName: "HOUR / MINUTE BUTTONS" }), jsxRuntime.jsx("schematicsection", { name: "driver", displayName: "MAX7219 DRIVER" }), jsxRuntime.jsx(MAX7219EWG_T, { name: "U_DISPLAY", pinLabels: maxPinLabels, pcbX: 11, pcbY: 16, layer: "bottom", schX: 6, schY: 1, schSectionName: "driver", noConnect: ["DIG6", "DIG7", "SEG_DP", "DOUT"], connections: {
DIN: "net.MAX_DIN", LOAD: "net.MAX_LOAD", CLK: "net.MAX_CLK",
GND1: "net.GND", GND2: "net.GND", V5: "net.V5", ISET: "net.MAX_ISET",
DIG0: "net.DIG0", DIG1: "net.DIG1", DIG2: "net.DIG2",
DIG3: "net.DIG3", DIG4: "net.DIG4", DIG5: "net.DIG5",
SEG_A: "net.SEG_A", SEG_B: "net.SEG_B", SEG_C: "net.SEG_C",
SEG_D: "net.SEG_D", SEG_E: "net.SEG_E", SEG_F: "net.SEG_F", SEG_G: "net.SEG_G",
} }), jsxRuntime.jsx("resistor", { name: "R_SET_CURRENT", resistance: "82kohm", supplierPartNumbers: jlc("C23254"), footprint: "0603", pcbX: 23, pcbY: 18.5, layer: "bottom", schX: 12, schY: 5, schSectionName: "driver", connections: { pin1: "net.V5", pin2: "net.MAX_ISET" } }), jsxRuntime.jsx("capacitor", { name: "C_MAX_LOCAL", capacitance: "100nF", supplierPartNumbers: jlc("C14663"), footprint: "0603", pcbX: 21, pcbY: 16, layer: "bottom", schX: 7, schY: -6, schSectionName: "driver", connections: { pin1: "net.V5", pin2: "net.GND" } }), jsxRuntime.jsx("capacitor", { name: "C_MAX_BULK", capacitance: "10uF", supplierPartNumbers: jlc("C15850"), footprint: "0805", pcbX: 21, pcbY: 13, layer: "bottom", schX: 12, schY: -6, schSectionName: "driver", connections: { pin1: "net.V5", pin2: "net.GND" } }), digits.map((digit) => jsxRuntime.jsx(DisplayDigit, { ...digit }, digit.display))] }), jsxRuntime.jsxs("schematicsheet", { name: "display_digits", displayName: "4 - Six-Digit LED Display", sheetIndex: 3, children: [jsxRuntime.jsx("schematictext", { text: "HOURS", schX: -8, schY: 8, fontSize: 0.45 }), jsxRuntime.jsx("schematictext", { text: "MINUTES", schX: 0, schY: 8, fontSize: 0.45 }), jsxRuntime.jsx("schematictext", { text: "SECONDS", schX: 8, schY: 8, fontSize: 0.45 })] }), jsxRuntime.jsx("silkscreentext", { text: "HH", pcbX: -40, pcbY: 17, fontSize: "1mm" }), jsxRuntime.jsx("silkscreentext", { text: "MM", pcbX: 0, pcbY: 17, fontSize: "1mm" }), jsxRuntime.jsx("silkscreentext", { text: "SS", pcbX: 40, pcbY: 17, fontSize: "1mm" }), jsxRuntime.jsx("silkscreentext", { text: "HOUR", pcbX: -20, pcbY: -21, fontSize: "0.7mm" }), jsxRuntime.jsx("silkscreentext", { text: "MIN", pcbX: 20, pcbY: -21, fontSize: "0.7mm" }), jsxRuntime.jsx("silkscreentext", { text: "2S BATTERY", pcbX: 0, pcbY: 17, fontSize: "0.7mm" }), jsxRuntime.jsx("silkscreentext", { text: "CR1220 + FACE OUT", pcbX: -42, pcbY: 9, layer: "bottom", fontSize: "0.7mm" }), jsxRuntime.jsx("silkscreentext", { text: "ICSP", pcbX: 41, pcbY: -12.5, layer: "bottom", fontSize: "0.7mm" }), jsxRuntime.jsx("copperpour", { connectsTo: "net.GND", layer: "top", clearance: "0.2mm", boardEdgeMargin: "0.3mm" }), jsxRuntime.jsx("copperpour", { connectsTo: "net.GND", layer: "bottom", clearance: "0.2mm", boardEdgeMargin: "0.3mm" })] }));
}
module.exports = ClockBoard;