astra/iphone-encoder-counter

A CR2450-powered MSP430 FRAM counter combines an always-on dual-channel TMR rotation sensor, pushbutton input, and ST25DV NFC tag with an integrated tuned printed antenna and I²C/GPIO interface.

Version
1.0.3
License
unset
Stars
0

dist/index.cjs

'use strict';

var jsxRuntime = require('react/jsx-runtime');

const pinLabels$3 = {
    pin1: ["pin1"],
    pin2: ["pin2"],
    pin3: ["pin3"],
    pin4: ["pin4"]
};
const SKRPANE010 = (props) => {
    const { name = "SW1", ...restProps } = props;
    return (jsxRuntime.jsx("pushbutton", { name: name, pinLabels: pinLabels$3, supplierPartNumbers: {
            "jlcpcb": [
                "C470426"
            ]
        }, manufacturerPartNumber: "SKRPANE010", footprint: jsxRuntime.jsxs("footprint", { children: [jsxRuntime.jsx("smtpad", { portHints: ["pin3"], pcbX: "-2.135505mm", pcbY: "-1.074928mm", width: "0.999998mm", height: "0.6999986mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin4"], pcbX: "2.135759mm", pcbY: "-1.074928mm", width: "0.999998mm", height: "0.6999986mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin2"], pcbX: "2.135759mm", pcbY: "1.074928mm", width: "0.999998mm", height: "0.6999986mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin1"], pcbX: "-2.135759mm", pcbY: "1.074928mm", width: "0.999998mm", height: "0.6999986mm", shape: "rect" }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -2.09227420000002, "y": 1.6000222000001258 }, { "x": 2.1077174000000696, "y": 1.6000222000001258 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -2.09227420000002, "y": -1.5999713999998448 }, { "x": 2.1077174000000696, "y": -1.5999713999998448 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -2.09227420000002, "y": 0.4938776000000189 }, { "x": -2.09227420000002, "y": -0.4938267999998516 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 2.1077174000000696, "y": -0.4938267999998516 }, { "x": 2.1077174000000696, "y": 0.4938776000000189 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -0.7555737999999792, "y": -0.7609585999998671 }, { "x": 0.7684262000000217, "y": -0.7609585999998671 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -0.7555737999999792, "y": 0.7630414000000201 }, { "x": 0.7696961999999985, "y": 0.7620254000000841 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -2.09227420000002, "y": 0.4938776000000189 }, { "x": -2.09227420000002, "y": 0.4940046000000393 }, { "x": -2.0916645999999446, "y": 0.4946142000000009 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -1.5119095999999672, "y": 1.0743691999999783 }, { "x": -0.986256600000047, "y": 1.6000222000001258 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 1.5273019999999633, "y": 1.1311636000000362 }, { "x": 1.0584433999999874, "y": 1.6000222000001258 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 1.5273019999999633, "y": -1.18191279999985 }, { "x": 1.1092434000000821, "y": -1.5999713999998448 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -1.5119095999999672, "y": -1.1505183999998962 }, { "x": -1.062456599999905, "y": -1.5999713999998448 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -0.7555737999999792, "y": -0.7609585999998671 }, { "x": -0.9910447497136374, "y": -0.7236636654167796 }, { "x": -1.2034661622468548, "y": -0.6154295497136673 }, { "x": -1.3720447497136092, "y": -0.4468509622467991 }, { "x": -1.480278865416949, "y": -0.23442954971369545 }, { "x": -1.5175738000000365, "y": 0.0010414000000764645 }, { "x": -1.480278865416949, "y": 0.23651234971384838 }, { "x": -1.3720447497136092, "y": 0.44893376224695203 }, { "x": -1.2034661622468548, "y": 0.6175123497138202 }, { "x": -0.9910447497136374, "y": 0.7257464654169326 }, { "x": -0.7555737999999792, "y": 0.7630414000000201 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 0.7696961999999985, "y": 0.7620254000000841 }, { "x": 0.7684262000000217, "y": -0.7609585999998671 }] }), jsxRuntime.jsx("silkscreentext", { text: "{NAME}", pcbX: "0.017145mm", pcbY: "2.62687mm", anchorAlignment: "center", fontSize: "1mm" }), jsxRuntime.jsx("courtyardoutline", { outline: [{ "x": -2.8744550000000118, "y": 1.8768700000000536 }, { "x": 2.908745000000067, "y": 1.8768700000000536 }, { "x": 2.908745000000067, "y": -1.848929999999882 }, { "x": -2.8744550000000118, "y": -1.848929999999882 }, { "x": -2.8744550000000118, "y": 1.8768700000000536 }] })] }), cadModel: {
            objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C470426.obj?uuid=3b4659526cb047749d5c2a5ae931fe04",
            stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C470426.step?uuid=3b4659526cb047749d5c2a5ae931fe04",
            pcbRotationOffset: 0,
            modelOriginPosition: { x: -7619999996677507e-20, y: -25400000140507473e-21, z: 0 },
        }, ...restProps }));
};

const pinLabels$2 = {
    pin1: ["LPD"],
    pin2: ["NC2"],
    pin3: ["V_EH"],
    pin4: ["AC0"],
    pin5: ["AC1"],
    pin6: ["VSS"],
    pin7: ["SDA"],
    pin8: ["SCL"],
    pin9: ["NC1"],
    pin10: ["VDCG"],
    pin11: ["GPO"],
    pin12: ["VCC"],
    pin13: ["EP"]
};
const pinAttributes = {
    pin2: { doNotConnect: true },
    pin6: { requiresGround: true },
    pin9: { doNotConnect: true },
    pin12: { requiresPower: true }
};
const ST25DV04KC_JF6D3 = (props) => {
    return (jsxRuntime.jsx("chip", { pinLabels: pinLabels$2, pinAttributes: pinAttributes, supplierPartNumbers: {
            "jlcpcb": [
                "C5267456"
            ]
        }, manufacturerPartNumber: "ST25DV04KC-JF6D3", footprint: jsxRuntime.jsxs("footprint", { children: [jsxRuntime.jsx("smtpad", { portHints: ["pin13"], pcbX: "-0mm", pcbY: "0.000127mm", width: "2.5500076mm", height: "1.3999972mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin12"], pcbX: "1.249934mm", pcbY: "-1.307465mm", width: "0.2800096mm", height: "0.499999mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin11"], pcbX: "0.750062mm", pcbY: "-1.307465mm", width: "0.2800096mm", height: "0.499999mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin10"], pcbX: "0.249936mm", pcbY: "-1.307465mm", width: "0.2800096mm", height: "0.499999mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin9"], pcbX: "-0.249936mm", pcbY: "-1.307465mm", width: "0.2800096mm", height: "0.499999mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin8"], pcbX: "-0.750062mm", pcbY: "-1.307465mm", width: "0.2800096mm", height: "0.499999mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin7"], pcbX: "-1.249934mm", pcbY: "-1.307465mm", width: "0.2800096mm", height: "0.499999mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin6"], pcbX: "-1.249934mm", pcbY: "1.307465mm", width: "0.2800096mm", height: "0.499999mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin5"], pcbX: "-0.750062mm", pcbY: "1.307465mm", width: "0.2800096mm", height: "0.499999mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin4"], pcbX: "-0.249936mm", pcbY: "1.307465mm", width: "0.2800096mm", height: "0.499999mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin3"], pcbX: "0.249936mm", pcbY: "1.307465mm", width: "0.2800096mm", height: "0.499999mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin2"], pcbX: "0.750062mm", pcbY: "1.307465mm", width: "0.2800096mm", height: "0.499999mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin1"], pcbX: "1.249934mm", pcbY: "1.307465mm", width: "0.2800096mm", height: "0.499999mm", shape: "rect" }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 1.5761207999998987, "y": 1.5762223999998923 }, { "x": 1.5761207999998987, "y": -1.5762224000002334 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -1.5763240000001133, "y": 1.5762223999998923 }, { "x": -1.5763240000001133, "y": -1.5762224000002334 }] }), jsxRuntime.jsx("silkscreencircle", { pcbX: "1.249934mm", pcbY: "2.040001mm", radius: "0.07493mm" }), jsxRuntime.jsx("silkscreentext", { text: "{NAME}", pcbX: "-0.013716mm", pcbY: "3.102485mm", anchorAlignment: "center", fontSize: "1mm" }), jsxRuntime.jsx("courtyardoutline", { outline: [{ "x": -1.838516000000027, "y": 2.352484999999888 }, { "x": 1.811083999999937, "y": 2.352484999999888 }, { "x": 1.811083999999937, "y": -1.830515000000105 }, { "x": -1.838516000000027, "y": -1.830515000000105 }, { "x": -1.838516000000027, "y": 2.352484999999888 }] })] }), cadModel: {
            objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C5267456.obj?uuid=95f0de340b814e88b7c382937a5b132b",
            stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C5267456.step?uuid=95f0de340b814e88b7c382937a5b132b",
            pcbRotationOffset: 0,
            modelOriginPosition: { x: 0.00010160000010728254, y: -25400000026820635e-21, z: 0 },
        }, ...props }));
};

const pinLabels$1 = {
    pin1: ["RST_SBWTDIO"],
    pin2: ["TEST_SBWTCK"],
    pin3: ["P1_4"],
    pin4: ["P1_5"],
    pin5: ["P1_6"],
    pin6: ["P1_7"],
    pin7: ["P1_0"],
    pin8: ["P1_1"],
    pin9: ["P1_2_SDA"],
    pin10: ["P1_3_SCL"],
    pin11: ["P2_2"],
    pin12: ["P3_0"],
    pin13: ["P2_3"],
    pin14: ["P3_1"],
    pin15: ["P2_4"],
    pin16: ["P2_5"],
    pin17: ["P2_6"],
    pin18: ["DVSS2"],
    pin19: ["P2_7"],
    pin20: ["P3_2"],
    pin21: ["P2_0"],
    pin22: ["P2_1"],
    pin23: ["DVSS1"],
    pin24: ["DVCC"],
    pin25: ["EP"]
};
const MSP430FR2433IRGER = (props) => {
    return (jsxRuntime.jsx("chip", { pinLabels: pinLabels$1, supplierPartNumbers: {
            "jlcpcb": [
                "C191026"
            ]
        }, manufacturerPartNumber: "MSP430FR2433IRGER", footprint: jsxRuntime.jsxs("footprint", { children: [jsxRuntime.jsx("smtpad", { portHints: ["pin25"], pcbX: "-0.001016mm", pcbY: "-0.000889mm", width: "2.7999944mm", height: "2.7999944mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin24"], pcbX: "-1.250188mm", pcbY: "2.048129mm", width: "0.299974mm", height: "0.7999984mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin23"], pcbX: "-0.750316mm", pcbY: "2.048129mm", width: "0.299974mm", height: "0.7999984mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin22"], pcbX: "-0.25019mm", pcbY: "2.048129mm", width: "0.299974mm", height: "0.7999984mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin21"], pcbX: "0.249682mm", pcbY: "2.048129mm", width: "0.299974mm", height: "0.7999984mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin20"], pcbX: "0.749808mm", pcbY: "2.048129mm", width: "0.299974mm", height: "0.7999984mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin19"], pcbX: "1.24968mm", pcbY: "2.048129mm", width: "0.299974mm", height: "0.7999984mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin18"], pcbX: "2.041652mm", pcbY: "1.250061mm", width: "0.7999984mm", height: "0.2999994mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin17"], pcbX: "2.041652mm", pcbY: "0.749935mm", width: "0.7999984mm", height: "0.2999994mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin16"], pcbX: "2.041652mm", pcbY: "0.250063mm", width: "0.7999984mm", height: "0.2999994mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin15"], pcbX: "2.041652mm", pcbY: "-0.250063mm", width: "0.7999984mm", height: "0.2999994mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin14"], pcbX: "2.041652mm", pcbY: "-0.749935mm", width: "0.7999984mm", height: "0.2999994mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin13"], pcbX: "2.041652mm", pcbY: "-1.250061mm", width: "0.7999984mm", height: "0.2999994mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin12"], pcbX: "1.24968mm", pcbY: "-2.048129mm", width: "0.299974mm", height: "0.7999984mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin11"], pcbX: "0.749808mm", pcbY: "-2.048129mm", width: "0.299974mm", height: "0.7999984mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin10"], pcbX: "0.249682mm", pcbY: "-2.048129mm", width: "0.299974mm", height: "0.7999984mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin9"], pcbX: "-0.25019mm", pcbY: "-2.048129mm", width: "0.299974mm", height: "0.7999984mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin8"], pcbX: "-0.750316mm", pcbY: "-2.048129mm", width: "0.299974mm", height: "0.7999984mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin7"], pcbX: "-1.250188mm", pcbY: "-2.048129mm", width: "0.299974mm", height: "0.7999984mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin6"], pcbX: "-2.041652mm", pcbY: "-1.249807mm", width: "0.7999984mm", height: "0.2999994mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin5"], pcbX: "-2.041652mm", pcbY: "-0.749935mm", width: "0.7999984mm", height: "0.2999994mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin4"], pcbX: "-2.041652mm", pcbY: "-0.249809mm", width: "0.7999984mm", height: "0.2999994mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin3"], pcbX: "-2.041652mm", pcbY: "0.250063mm", width: "0.7999984mm", height: "0.2999994mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin2"], pcbX: "-2.041652mm", pcbY: "0.750189mm", width: "0.7999984mm", height: "0.2999994mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin1"], pcbX: "-2.041652mm", pcbY: "1.250061mm", width: "0.7999984mm", height: "0.2999994mm", shape: "rect" }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -2.104491600000074, "y": 1.7001743999999235 }, { "x": -2.104491600000074, "y": 2.1001481999999214 }, { "x": -1.7001743999999235, "y": 2.1000212000000147 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -2.1001990000000887, "y": -1.6998696000000564 }, { "x": -2.1001990000000887, "y": -2.099970399999961 }, { "x": -1.7001743999999235, "y": -2.099970399999961 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 2.0997926000000007, "y": -1.5999460000000454 }, { "x": 2.0997926000000007, "y": -2.099970399999961 }, { "x": 1.699818799999889, "y": -2.099970399999961 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 1.6954753999999639, "y": 2.1001481999999214 }, { "x": 2.095449199999962, "y": 2.1001481999999214 }, { "x": 2.095449199999962, "y": 1.7001743999999235 }] }), jsxRuntime.jsx("silkscreencircle", { pcbX: "-2.540254mm", pcbY: "1.905127mm", radius: "0.127mm" }), jsxRuntime.jsx("silkscreentext", { text: "{NAME}", pcbX: "-0.126238mm", pcbY: "3.448687mm", anchorAlignment: "center", fontSize: "1mm" }), jsxRuntime.jsx("courtyardoutline", { outline: [{ "x": -2.9289380000000165, "y": 2.69868699999995 }, { "x": 2.6764619999999013, "y": 2.69868699999995 }, { "x": 2.6764619999999013, "y": -2.7035130000001573 }, { "x": -2.9289380000000165, "y": -2.7035130000001573 }, { "x": -2.9289380000000165, "y": 2.69868699999995 }] })] }), cadModel: {
            objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C191026.obj?uuid=f9f49049b1e946aebac8a4ca9e490364",
            stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C191026.step?uuid=f9f49049b1e946aebac8a4ca9e490364",
            pcbRotationOffset: 0,
            modelOriginPosition: { x: 0.00013970000009067007, y: -5079999993995443e-20, z: -0.02 },
        }, ...props }));
};

const pinLabels = {
    pin1: ["pin1"],
    pin2: ["pin2"]
};
const BS_24_B4AA016 = (props) => {
    return (jsxRuntime.jsx("chip", { pinLabels: pinLabels, symbol: jsxRuntime.jsxs("symbol", { children: [jsxRuntime.jsx("port", { name: "pin2", pinNumber: 2, aliases: ["2"], direction: "right", schX: 0.4, schY: 0, schStemLength: 0.3 }), jsxRuntime.jsx("port", { name: "pin1", pinNumber: 1, aliases: ["1"], direction: "left", schX: -0.4, schY: 0, schStemLength: 0.3 }), jsxRuntime.jsx("schematicpath", { points: [{ "x": 0.08, "y": 0.1 }, { "x": 0.08, "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.04, "y": 0.1 }, { "x": -0.04, "y": -0.08 }], strokeColor: "#880000" }), jsxRuntime.jsx("schematicpath", { points: [{ "x": -0.1, "y": 0.18 }, { "x": -0.1, "y": -0.14 }], strokeColor: "#880000" })] }), supplierPartNumbers: {
            "jlcpcb": [
                "C964809"
            ]
        }, manufacturerPartNumber: "BS-24-B4AA016", footprint: jsxRuntime.jsxs("footprint", { insertionDirection: "from_above", children: [jsxRuntime.jsx("smtpad", { portHints: ["pin1"], pcbX: "16.687546mm", pcbY: "0mm", width: "3.6250118mm", height: "4.499991mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin2"], pcbX: "-16.687546mm", pcbY: "0mm", width: "3.6250118mm", height: "4.499991mm", shape: "rect" }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 16.50999999999999, "y": -2.481148200000007 }, { "x": 16.50999999999999, "y": -3.55600000000004 }, { "x": 13.588999999999942, "y": -3.55600000000004 }, { "x": 13.588999999999942, "y": -3.810000000000059 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 13.589253999999983, "y": 3.6829999999999927 }, { "x": 13.589253999999983, "y": 3.55600000000004 }, { "x": 16.50999999999999, "y": 3.55600000000004 }, { "x": 16.50999999999999, "y": 2.4811482000001206 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -13.589025400000082, "y": 8.000999999999976 }, { "x": -13.589025400000082, "y": 3.6829999999999927 }, { "x": -16.50999999999999, "y": 3.6829999999999927 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -16.50999999999999, "y": -2.481148200000007 }, { "x": -16.50999999999999, "y": -3.55600000000004 }, { "x": -13.588999999999942, "y": -3.55600000000004 }, { "x": -13.588999999999942, "y": -3.810000000000059 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -16.50999999999999, "y": 3.6829999999999927 }, { "x": -16.50999999999999, "y": 2.4811482000001206 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 10.159974599999941, "y": 0 }, { "x": 12.699974599999905, "y": 0 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -13.589025400000082, "y": -3.810000000000059 }, { "x": -13.589025400000082, "y": -8.000999999999976 }, { "x": 13.588974599999801, "y": -8.000999999999976 }, { "x": 13.588974599999801, "y": -3.810000000000059 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 11.42994920000001, "y": 1.2700000000000955 }, { "x": 11.42994920000001, "y": -1.2699999999999818 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 12.606273999999985, "y": 8.000999999999976 }, { "x": -13.589025400000082, "y": 8.000999999999976 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 13.589253999999983, "y": 3.6829999999999927 }, { "x": 13.589253999999983, "y": 7.018020000000092 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 12.606273999999985, "y": 8.000999999999976 }, { "x": 13.589253999999983, "y": 7.018020000000092 }] }), jsxRuntime.jsx("silkscreentext", { text: "{NAME}", pcbX: "0.012954mm", pcbY: "9.0264mm", anchorAlignment: "center", fontSize: "1mm" }), jsxRuntime.jsx("fabricationnotepath", { route: [{ "x": 10.029951999999867, "y": 0.14000480000004245 }, { "x": 11.299951999999848, "y": 0.14000480000004245 }, { "x": 11.309959599999956, "y": 0.129997200000048 }, { "x": 11.309959599999956, "y": 1.379982000000041 }, { "x": 11.579961599999933, "y": 1.3800074000000677 }, { "x": 11.579961599999933, "y": 0.14000480000004245 }, { "x": 11.569954000000052, "y": 0.129997200000048 }, { "x": 12.80995659999985, "y": 0.129997200000048 }, { "x": 12.80995659999985, "y": -0.15001239999992322 }, { "x": 11.549964199999977, "y": -0.14000479999992876 }, { "x": 11.549964199999977, "y": -1.3599921999999651 }, { "x": 11.539956599999869, "y": -1.3699997999999596 }, { "x": 11.2799622, "y": -1.3699997999999596 }, { "x": 11.269954599999892, "y": -1.3800074000000677 }, { "x": 11.269954599999892, "y": -0.15001239999992322 }, { "x": 10.039959599999975, "y": -0.15001239999992322 }, { "x": 10.029951999999867, "y": 0.14000480000004245 }], strokeWidth: "0.254mm" }), jsxRuntime.jsx("courtyardoutline", { outline: [{ "x": -18.740946000000122, "y": 8.276399999999967 }, { "x": 18.766853999999967, "y": 8.276399999999967 }, { "x": 18.766853999999967, "y": -8.250999999999976 }, { "x": -18.740946000000122, "y": -8.250999999999976 }, { "x": -18.740946000000122, "y": 8.276399999999967 }] })] }), cadModel: {
            objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C964809.obj?uuid=ee1e308568be4734a34a02fa83817e70",
            stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C964809.step?uuid=ee1e308568be4734a34a02fa83817e70",
            pcbRotationOffset: 180,
            modelOriginPosition: { x: -25399999913133797e-21, y: 0, z: -0.01 },
        }, ...props }));
};

const pins = { pin1: ["VDD"], pin2: ["SIN"], pin3: ["DNC3"], pin4: ["DNC4"], pin5: ["COS"], pin6: ["GND"], pin7: ["EP"] };
const ADT002 = (props) => jsxRuntime.jsx("chip", { supplierPartNumbers: { jlcpcb: ["C17208043"] }, manufacturerPartNumber: "ADT002-10E", pinLabels: pins, noConnect: ["DNC3", "DNC4"], footprint: jsxRuntime.jsxs("footprint", { children: [[[-0.65, -1.25, 1], [0, -1.25, 2], [0.65, -1.25, 3], [0.65, 1.25, 4], [0, 1.25, 5], [-0.65, 1.25, 6]].map(([x, y, n]) => jsxRuntime.jsx("smtpad", { portHints: [`pin${n}`], pcbX: x, pcbY: y, width: 0.35, height: 0.6, shape: "rect" }, n)), jsxRuntime.jsx("smtpad", { portHints: ["pin7"], pcbX: 0, pcbY: 0, width: 2, height: 1.3, shape: "rect" }), jsxRuntime.jsx("silkscreenpath", { route: [{ x: -1.25, y: -1.25 }, { x: -1.25, y: 1.25 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ x: 1.25, y: -1.25 }, { x: 1.25, y: 1.25 }] }), jsxRuntime.jsx("silkscreentext", { text: "1", pcbX: -2, pcbY: -1.25, fontSize: 1 })] }), ...props });

const Debug4 = (props) => jsxRuntime.jsx("connector", { pinLabels: { pin1: "GND", pin2: "VTREF", pin3: "SBWTDIO", pin4: "SBWTCK" }, footprint: jsxRuntime.jsx("footprint", { insertionDirection: "from_above", children: Array.from({ length: 4 }, (_, i) => jsxRuntime.jsx("smtpad", { portHints: [`pin${i + 1}`], pcbX: (i - 1.5) * 2, pcbY: 0, width: 1.2, height: 2, shape: "rect" }, i)) }), ...props });

const connect = (net, pins) => pins.map(pin => jsxRuntime.jsx("trace", { from: pin, to: `net.${net}` }, pin));
const spiral = [{ x: 17, y: -9 }];
for (let k = 0; k < 7; k++) {
    const d = k * 0.5;
    spiral.push({ x: 17 - d, y: 18 - d }, { x: -17 + d, y: 18 - d }, { x: -17 + d, y: -8 + d }, { x: 16.5 - d, y: -8 + d });
}
spiral[spiral.length - 1] = { x: 13, y: -5 };
spiral.push({ x: 13, y: -3 });
var index_circuit = () => jsxRuntime.jsxs("board", { schAutoLayoutEnabled: false, schLayout: { layoutMode: "relative" }, schMaxTraceDistance: 4, width: 60, height: 100, layers: 2, thickness: 1.6, fabricatorPreset: "jlcpcb_economy", minTraceWidth: 0.15, minViaHoleDiameter: 0.3, minViaPadDiameter: 0.6, minTraceToPadEdgeClearance: 0.18, minPadEdgeToPadEdgeClearance: 0.18, minViaEdgeToPadEdgeClearance: 0.20, minBoardEdgeClearance: 0.3, autorouter: { preset: "auto-local", traceClearance: 0.20, allowViaInPad: false }, children: [jsxRuntime.jsxs("schematicsheet", { name: "counter", sheetWidth: 340, sheetHeight: 230, displayName: "iPhone encoder counter \u2014 Rev C", children: [jsxRuntime.jsxs("schematicsection", { name: "power", displayName: "CR2450 and measurement link", children: [jsxRuntime.jsx(BS_24_B4AA016, { name: "BT1", pcbX: 0, pcbY: -34, layer: "top", schX: -13.5, schY: 6.0, schRotation: 180 }), jsxRuntime.jsx("resistor", { pcbStyle: { silkscreenTextVisibility: "hidden" }, name: "R0", supplierPartNumbers: { jlcpcb: ["C21189"] }, manufacturerPartNumber: "0603WAF0000T5E", resistance: "0", footprint: "0603", pcbX: 23, pcbY: -27, schX: -11.5, schY: 6.0, schRotation: 0 }), jsxRuntime.jsx("capacitor", { pcbStyle: { silkscreenTextVisibility: "hidden" }, name: "C1", supplierPartNumbers: { jlcpcb: ["C19666"] }, manufacturerPartNumber: "CL10A475KO8NNNC", capacitance: "4.7uF", footprint: "0603", pcbX: 8, pcbY: 0.0, schX: -9.5, schY: 5.5, schRotation: 270 }), jsxRuntime.jsx("capacitor", { pcbStyle: { silkscreenTextVisibility: "hidden" }, name: "C2", supplierPartNumbers: { jlcpcb: ["C1525"] }, manufacturerPartNumber: "CL05B104KO5NNNC", capacitance: "100nF", footprint: "0402", pcbX: 9, pcbY: -2, schX: -7.5, schY: 5.5, schRotation: 270 })] }), jsxRuntime.jsxs("schematicsection", { name: "sensor", displayName: "Always-on TMR quadrant sensing", children: [jsxRuntime.jsx(ADT002, { name: "U2", schWidth: 2, schHeight: 2, schPinArrangement: { leftSide: [3, 4], rightSide: [2, 5], topSide: [1], bottomSide: [6, 7] }, pcbX: 0, pcbY: -13, schX: -12.5, schY: -5, schRotation: 0 }), jsxRuntime.jsx("capacitor", { pcbStyle: { silkscreenTextVisibility: "hidden" }, name: "C3", supplierPartNumbers: { jlcpcb: ["C1525"] }, manufacturerPartNumber: "CL05B104KO5NNNC", capacitance: "100nF", footprint: "0402", pcbX: -3, pcbY: -12, schX: -14.5, schY: -3.5, schRotation: 270 }), jsxRuntime.jsx("resistor", { pcbStyle: { silkscreenTextVisibility: "hidden" }, name: "R1", supplierPartNumbers: { jlcpcb: ["C11702"] }, manufacturerPartNumber: "0402WGF1001TCE", resistance: "1k", footprint: "0402", pcbX: 0, pcbY: -16.5, schX: -10, schY: -4, schRotation: 0 }), jsxRuntime.jsx("resistor", { pcbStyle: { silkscreenTextVisibility: "hidden" }, name: "R2", supplierPartNumbers: { jlcpcb: ["C11702"] }, manufacturerPartNumber: "0402WGF1001TCE", resistance: "1k", footprint: "0402", pcbX: 1, pcbY: -9.5, schX: -10, schY: -6, schRotation: 0 }), jsxRuntime.jsx("capacitor", { pcbStyle: { silkscreenTextVisibility: "hidden" }, name: "C4", supplierPartNumbers: { jlcpcb: ["C1546"] }, manufacturerPartNumber: "0402CG101J500NT", capacitance: "100pF", footprint: "0402", pcbX: 2.5, pcbY: -16.5, schX: -8, schY: -4.5, schRotation: 270 }), jsxRuntime.jsx("capacitor", { pcbStyle: { silkscreenTextVisibility: "hidden" }, name: "C5", supplierPartNumbers: { jlcpcb: ["C1546"] }, manufacturerPartNumber: "0402CG101J500NT", capacitance: "100pF", footprint: "0402", pcbX: 3.5, pcbY: -9.5, schX: -8, schY: -6.5, schRotation: 270 })] }), jsxRuntime.jsxs("schematicsection", { name: "mcu", displayName: "FRAM counter / sleep between transitions", children: [jsxRuntime.jsx(MSP430FR2433IRGER, { pcbStyle: { silkscreenTextVisibility: "hidden" }, name: "U1", schWidth: 3.2, schHeight: 5.5, schPinSpacing: 0.32, schPinArrangement: { leftSide: [7, 8, 15, 1, 2], rightSide: [9, 10, 11, 13, 21, 3, 4, 5, 6, 12, 14, 16, 17, 19, 20, 22], topSide: [24], bottomSide: [18, 23, 25] }, pcbX: 9, pcbY: -6, schX: 0.0, schY: 5.0, schRotation: 0, noConnect: ["P1_4", "P1_5", "P1_6", "P1_7", "P3_0", "P3_1", "P2_5", "P2_6", "P2_7", "P3_2", "P2_1"] }), jsxRuntime.jsx("resistor", { pcbStyle: { silkscreenTextVisibility: "hidden" }, name: "R3", supplierPartNumbers: { jlcpcb: ["C25792"] }, manufacturerPartNumber: "0402WGF4702TCE", resistance: "47k", footprint: "0402", pcbX: 5, pcbY: -3.5, schX: -2.5, schY: 0.0, schRotation: 270 }), jsxRuntime.jsx("capacitor", { pcbStyle: { silkscreenTextVisibility: "hidden" }, name: "C6", supplierPartNumbers: { jlcpcb: ["C53547"] }, manufacturerPartNumber: "0402CG102J500NT", capacitance: "1nF", footprint: "0402", pcbX: 3, pcbY: -6, schX: -0.5, schY: 0.0, schRotation: 270 }), jsxRuntime.jsx(Debug4, { doNotPlace: true, name: "J2", pcbX: -12, pcbY: -3, schX: 2.0, schY: 0.0, schRotation: 0 })] }), jsxRuntime.jsx("schematicsection", { name: "nfc", displayName: "Integrated NFC antenna", children: jsxRuntime.jsx("resistor", { pcbStyle: { silkscreenTextVisibility: "hidden" }, name: "R4", supplierPartNumbers: { jlcpcb: ["C25117"] }, manufacturerPartNumber: "0402WGF4700TCE", resistance: "470", footprint: "0402", pcbX: 10, pcbY: 13, schX: 8.0, schY: -3.5, schRotation: 0 }) }), jsxRuntime.jsxs("schematicsection", { name: "rf", displayName: "13.56 MHz coil / tune on actual phone", children: [jsxRuntime.jsx("inductor", { doNotPlace: true, name: "L1", inductance: "3uH", schX: 13.5, schY: 6.0, schRotation: 270, pcbX: 0, pcbY: 29.0, footprint: jsxRuntime.jsxs("footprint", { children: [jsxRuntime.jsx("smtpad", { portHints: ["pin1"], pcbX: 17, pcbY: -9, width: 0.7, height: 0.7, shape: "rect" }), jsxRuntime.jsx("platedhole", { portHints: ["pin2"], pcbX: 13, pcbY: -3, shape: "circle", holeDiameter: 0.3, outerDiameter: 0.6 }), jsxRuntime.jsx("pcbtrace", { route: spiral.map(p => ({ ...p, route_type: "wire", width: 0.25, layer: "top" })) })] }) }), jsxRuntime.jsx("capacitor", { pcbStyle: { silkscreenTextVisibility: "hidden" }, name: "C9", supplierPartNumbers: { jlcpcb: ["C441742"] }, manufacturerPartNumber: "GJM1555C1H150FB01D", capacitance: "15pF", footprint: "0402", pcbX: 18, pcbY: 18, schX: 12.0, schY: 6.0, schRotation: 270 }), jsxRuntime.jsx(ST25DV04KC_JF6D3, { name: "U3", pcbRotation: 180, schWidth: 2.3, schHeight: 3, schPinSpacing: 0.4, schPinArrangement: { leftSide: [7, 8, 1, 11], rightSide: [4, 5, 3, 2, 9, 13], topSide: [12, 10], bottomSide: [6] }, pcbX: 14, pcbY: 17.5, schX: 9.0, schY: 5.0, schRotation: 0, noConnect: ["NC1", "NC2", "V_EH", "EP"] })] }), jsxRuntime.jsxs("schematicsection", { name: "host", displayName: "GPIO power gating / no battery charging", children: [jsxRuntime.jsx("capacitor", { pcbStyle: { silkscreenTextVisibility: "hidden" }, name: "C7", supplierPartNumbers: { jlcpcb: ["C15195"] }, manufacturerPartNumber: "CL05B103KB5NNNC", capacitance: "10nF", footprint: "0402", pcbX: 11, pcbY: 16, schX: 10.0, schY: -4.5, schRotation: 270 }), jsxRuntime.jsx("capacitor", { pcbStyle: { silkscreenTextVisibility: "hidden" }, name: "C8", supplierPartNumbers: { jlcpcb: ["C1525"] }, manufacturerPartNumber: "CL05B104KO5NNNC", capacitance: "100nF", footprint: "0402", pcbX: 17, pcbY: 14, schX: 12.5, schY: -4.5, schRotation: 270 }), jsxRuntime.jsx("resistor", { pcbStyle: { silkscreenTextVisibility: "hidden" }, name: "R5", supplierPartNumbers: { jlcpcb: ["C25744"] }, manufacturerPartNumber: "0402WGF1002TCE", resistance: "10k", footprint: "0402", pcbX: 12, pcbY: 13, schX: 9.0, schY: -7, schRotation: 270 }), jsxRuntime.jsx("resistor", { pcbStyle: { silkscreenTextVisibility: "hidden" }, name: "R6", supplierPartNumbers: { jlcpcb: ["C25744"] }, manufacturerPartNumber: "0402WGF1002TCE", resistance: "10k", footprint: "0402", pcbX: 14, pcbY: 13, schX: 11.5, schY: -7, schRotation: 270 })] }), jsxRuntime.jsx(SKRPANE010, { internallyConnectedPins: [["pin1", "pin2"], ["pin3", "pin4"]], name: "SW1", pcbX: -15, pcbY: -12, schX: -2, schY: -5.5, schRotation: 0 }), jsxRuntime.jsx("resistor", { pcbStyle: { silkscreenTextVisibility: "hidden" }, name: "R7", supplierPartNumbers: { jlcpcb: ["C25767"] }, manufacturerPartNumber: "0402WGF2203TCE", resistance: "220k", footprint: "0402", pcbX: -10, pcbY: -10, schX: 0.0, schY: -4, schRotation: 270 }), jsxRuntime.jsx("capacitor", { pcbStyle: { silkscreenTextVisibility: "hidden" }, name: "C10", supplierPartNumbers: { jlcpcb: ["C53547"] }, manufacturerPartNumber: "0402CG102J500NT", capacitance: "1nF", footprint: "0402", pcbX: -10, pcbY: -13, schX: 2.0, schY: -5.5, schRotation: 270 }), connect("BAT_RAW", [".BT1 > .pin1", ".R0 > .pin1"]), connect("VBAT", [".R0 > .pin2", ".C1 > .pin1", ".C2 > .pin1", ".C3 > .pin1", ".U1 > .DVCC", ".U2 > .VDD", ".R3 > .pin1", ".J2 > .VTREF", ".U3 > .VDCG", ".C8 > .pin1", ".R7 > .pin1"]), connect("GND", [".BT1 > .pin2", ".C1 > .pin2", ".C2 > .pin2", ".C3 > .pin2", ".C4 > .pin2", ".C5 > .pin2", ".C6 > .pin2", ".U1 > .DVSS1", ".U1 > .DVSS2", ".U1 > .EP", ".U2 > .GND", ".U2 > .EP", ".J2 > .GND", ".U3 > .VSS", ".C7 > .pin2", ".C8 > .pin2", ".C10 > .pin2", ".SW1 > .pin3", ".SW1 > .pin4"]), connect("SIN_RAW", [".U2 > .SIN", ".R1 > .pin1"]), connect("COS_RAW", [".U2 > .COS", ".R2 > .pin1"]), connect("SIN", [".R1 > .pin2", ".C4 > .pin1", ".U1 > .P1_0"]), connect("COS", [".R2 > .pin2", ".C5 > .pin1", ".U1 > .P1_1"]), connect("RESET", [".U1 > .RST_SBWTDIO", ".R3 > .pin2", ".C6 > .pin1", ".J2 > .SBWTDIO"]), connect("TEST", [".U1 > .TEST_SBWTCK", ".J2 > .SBWTCK"]), connect("NFC_GPIO", [".U1 > .P2_2", ".R4 > .pin1"]), connect("NFC_VCC", [".R4 > .pin2", ".U3 > .VCC", ".C7 > .pin1", ".R5 > .pin1", ".R6 > .pin1"]), connect("LPD", [".U1 > .P2_3", ".U3 > .LPD"]), connect("SDA", [".U1 > .P1_2_SDA", ".U3 > .SDA", ".R5 > .pin2"]), connect("SCL", [".U1 > .P1_3_SCL", ".U3 > .SCL", ".R6 > .pin2"]), connect("GPO", [".U1 > .P2_0", ".U3 > .GPO"]), connect("AC0", [".U3 > .AC0", ".C9 > .pin1", ".L1 > .pin1"]), connect("AC1", [".U3 > .AC1", ".C9 > .pin2", ".L1 > .pin2"]), connect("BUTTON_N", [".R7 > .pin2", ".C10 > .pin1", ".SW1 > .pin1", ".SW1 > .pin2", ".U1 > .P2_4"]), jsxRuntime.jsx("schematicbox", { schX: -11, schY: 5.0, width: 9.5, height: 6.0, title: "01  COIN CELL / DECOUPLING", titleFontSize: 0.27, strokeStyle: "dashed" }), jsxRuntime.jsx("schematicbox", { schX: 0.0, schY: 3.5, width: 10.5, height: 10.0, title: "02  FRAM COUNTER / PROGRAMMING", titleFontSize: 0.27, strokeStyle: "dashed" }), jsxRuntime.jsx("schematicbox", { schX: 11.0, schY: 5.0, width: 9.5, height: 6.0, title: "03  NFC TAG / PRINTED COIL", titleFontSize: 0.27, strokeStyle: "dashed" }), jsxRuntime.jsx("schematicbox", { schX: -11, schY: -5, width: 9.5, height: 8.5, title: "04  ALWAYS-ON ROTATION SENSOR", titleFontSize: 0.27, strokeStyle: "dashed" }), jsxRuntime.jsx("schematicbox", { schX: 0.0, schY: -5.5, width: 10.5, height: 6.8, title: "05  INDEPENDENT BUTTON COUNT", titleFontSize: 0.27, strokeStyle: "dashed" }), jsxRuntime.jsx("schematicbox", { schX: 11.0, schY: -5, width: 9.5, height: 8.5, title: "06  NFC POWER / I2C PULL-UPS", titleFontSize: 0.27, strokeStyle: "dashed" }), jsxRuntime.jsx("schematictext", { schX: -15.5, schY: 9.5, anchor: "left", text: "iPHONE ENCODER COUNTER  /  REV C", fontSize: 0.48750000000000004 }), jsxRuntime.jsx("schematictext", { schX: -11, schY: 3.0, text: "CR2450 3 V | R0: current measurement link", fontSize: 0.22749999999999998 }), jsxRuntime.jsx("schematictext", { schX: -11, schY: -8.5, text: "U2: C17208043 | rotating in-plane magnet", fontSize: 0.20800000000000002 }), jsxRuntime.jsx("schematictext", { schX: 0.0, schY: -8, text: "Active low | 20 ms firmware debounce", fontSize: 0.22749999999999998 }), jsxRuntime.jsx("schematictext", { schX: 11.0, schY: 2.5, text: "L1 / C9: tune in final phone case", fontSize: 0.22749999999999998 }), jsxRuntime.jsx("netlabel", { net: "GND", connectsTo: ".BT1 > .pin2", schX: -12.45, schY: 6.0000 }), jsxRuntime.jsx("netlabel", { net: "VBAT", connectsTo: ".R0 > .pin2", schX: -10.55, schY: 6.0000 }), jsxRuntime.jsx("netlabel", { net: "VBAT", connectsTo: ".C1 > .pin1", schX: -9.5, schY: 6.4500 }), jsxRuntime.jsx("netlabel", { net: "GND", connectsTo: ".C1 > .pin2", schX: -9.5, schY: 4.5500 }), jsxRuntime.jsx("netlabel", { net: "VBAT", connectsTo: ".C2 > .pin1", schX: -7.5, schY: 6.4500 }), jsxRuntime.jsx("netlabel", { net: "GND", connectsTo: ".C2 > .pin2", schX: -7.5, schY: 4.5500 }), jsxRuntime.jsx("netlabel", { net: "VBAT", connectsTo: ".U2 > .pin1", schX: -12.5, schY: -2.95 }), jsxRuntime.jsx("netlabel", { net: "VBAT", connectsTo: ".C3 > .pin1", schX: -14.5, schY: -2.55 }), jsxRuntime.jsx("netlabel", { net: "GND", connectsTo: ".C3 > .pin2", schX: -14.5, schY: -4.45 }), jsxRuntime.jsx("netlabel", { anchorSide: "left", net: "SIN", connectsTo: ".R1 > .pin2", schX: -9.05, schY: -4 }), jsxRuntime.jsx("netlabel", { anchorSide: "left", net: "COS", connectsTo: ".R2 > .pin2", schX: -9.05, schY: -6 }), jsxRuntime.jsx("netlabel", { anchorSide: "left", net: "SIN", connectsTo: ".C4 > .pin1", schX: -8, schY: -3.55 }), jsxRuntime.jsx("netlabel", { net: "GND", connectsTo: ".C4 > .pin2", schX: -8, schY: -5.05 }), jsxRuntime.jsx("netlabel", { anchorSide: "left", net: "COS", connectsTo: ".C5 > .pin1", schX: -8, schY: -5.9 }), jsxRuntime.jsx("netlabel", { net: "GND", connectsTo: ".C5 > .pin2", schX: -8, schY: -7.45 }), jsxRuntime.jsx("netlabel", { anchorSide: "right", net: "RESET", connectsTo: ".U1 > .pin1", schX: -2.65, schY: 4.8000 }), jsxRuntime.jsx("netlabel", { anchorSide: "right", net: "TEST", connectsTo: ".U1 > .pin2", schX: -2.65, schY: 4.6000 }), jsxRuntime.jsx("netlabel", { anchorSide: "right", net: "SIN", connectsTo: ".U1 > .pin7", schX: -2.65, schY: 5.4000 }), jsxRuntime.jsx("netlabel", { anchorSide: "right", net: "COS", connectsTo: ".U1 > .pin8", schX: -2.65, schY: 5.2000 }), jsxRuntime.jsx("netlabel", { anchorSide: "left", net: "SDA", connectsTo: ".U1 > .pin9", schX: 2.6500, schY: 6.5000 }), jsxRuntime.jsx("netlabel", { anchorSide: "left", net: "SCL", connectsTo: ".U1 > .pin10", schX: 2.6500, schY: 6.3000 }), jsxRuntime.jsx("netlabel", { anchorSide: "left", net: "NFC_GPIO", connectsTo: ".U1 > .pin11", schX: 2.6500, schY: 6.1000 }), jsxRuntime.jsx("netlabel", { anchorSide: "left", net: "LPD", connectsTo: ".U1 > .pin13", schX: 2.6500, schY: 5.9000 }), jsxRuntime.jsx("netlabel", { anchorSide: "right", net: "BUTTON_N", connectsTo: ".U1 > .pin15", schX: -2.65, schY: 5.0000 }), jsxRuntime.jsx("netlabel", { anchorSide: "left", net: "GPO", connectsTo: ".U1 > .pin21", schX: 2.6500, schY: 5.7000 }), jsxRuntime.jsx("netlabel", { net: "VBAT", connectsTo: ".U1 > .pin24", schX: 0.0000, schY: 8.8000 }), jsxRuntime.jsx("netlabel", { net: "VBAT", connectsTo: ".R3 > .pin1", schX: -2.5, schY: 0.9500 }), jsxRuntime.jsx("netlabel", { anchorSide: "left", net: "RESET", connectsTo: ".R3 > .pin2", schX: -2.5, schY: -0.95 }), jsxRuntime.jsx("netlabel", { anchorSide: "left", net: "RESET", connectsTo: ".C6 > .pin1", schX: -0.5, schY: 0.9500 }), jsxRuntime.jsx("netlabel", { net: "GND", connectsTo: ".C6 > .pin2", schX: -0.5, schY: -0.95 }), jsxRuntime.jsx("netlabel", { net: "GND", connectsTo: ".J2 > .pin1", schX: 0.8, schY: -0.85 }), jsxRuntime.jsx("netlabel", { net: "VBAT", connectsTo: ".J2 > .pin2", schX: 0.8, schY: 0.85 }), jsxRuntime.jsx("netlabel", { anchorSide: "left", net: "RESET", connectsTo: ".J2 > .pin3", schX: 3.9500, schY: -0.1 }), jsxRuntime.jsx("netlabel", { anchorSide: "left", net: "TEST", connectsTo: ".J2 > .pin4", schX: 3.9500, schY: 0.1000 }), jsxRuntime.jsx("netlabel", { anchorSide: "right", net: "NFC_GPIO", connectsTo: ".R4 > .pin1", schX: 7.0500, schY: -3.5 }), jsxRuntime.jsx("netlabel", { net: "NFC_VCC", connectsTo: ".R4 > .pin2", schX: 8.9500, schY: -3.5 }), jsxRuntime.jsx("netlabel", { anchorSide: "right", net: "LPD", connectsTo: ".U3 > .pin1", schX: 6.8000, schY: 4.9000 }), jsxRuntime.jsx("netlabel", { net: "GND", connectsTo: ".U3 > .pin6", schX: 9.0000, schY: 2.4500 }), jsxRuntime.jsx("netlabel", { anchorSide: "right", net: "SDA", connectsTo: ".U3 > .pin7", schX: 6.8000, schY: 5.3000 }), jsxRuntime.jsx("netlabel", { anchorSide: "right", net: "SCL", connectsTo: ".U3 > .pin8", schX: 6.8000, schY: 5.1000 }), jsxRuntime.jsx("netlabel", { net: "VBAT", connectsTo: ".U3 > .pin10", schX: 9.9, schY: 7.5500 }), jsxRuntime.jsx("netlabel", { anchorSide: "right", net: "GPO", connectsTo: ".U3 > .pin11", schX: 6.8000, schY: 4.7000 }), jsxRuntime.jsx("netlabel", { net: "NFC_VCC", connectsTo: ".U3 > .pin12", schX: 7.8, schY: 7.5500 }), jsxRuntime.jsx("netlabel", { net: "NFC_VCC", connectsTo: ".C7 > .pin1", schX: 10.0000, schY: -3.55 }), jsxRuntime.jsx("netlabel", { net: "GND", connectsTo: ".C7 > .pin2", schX: 10.0000, schY: -5.45 }), jsxRuntime.jsx("netlabel", { net: "VBAT", connectsTo: ".C8 > .pin1", schX: 12.5000, schY: -3.55 }), jsxRuntime.jsx("netlabel", { net: "GND", connectsTo: ".C8 > .pin2", schX: 12.5000, schY: -5.45 }), jsxRuntime.jsx("netlabel", { net: "NFC_VCC", connectsTo: ".R5 > .pin1", schX: 9.0000, schY: -6.05 }), jsxRuntime.jsx("netlabel", { anchorSide: "left", net: "SDA", connectsTo: ".R5 > .pin2", schX: 9.0000, schY: -7.95 }), jsxRuntime.jsx("netlabel", { net: "NFC_VCC", connectsTo: ".R6 > .pin1", schX: 11.5000, schY: -6.05 }), jsxRuntime.jsx("netlabel", { anchorSide: "left", net: "SCL", connectsTo: ".R6 > .pin2", schX: 11.5000, schY: -7.95 }), jsxRuntime.jsx("netlabel", { anchorSide: "right", net: "BUTTON_N", connectsTo: ".SW1 > .pin1", schX: -3.12, schY: -5.5 }), jsxRuntime.jsx("netlabel", { anchorSide: "right", net: "BUTTON_N", connectsTo: ".SW1 > .pin2", schX: -3.12, schY: -5.5 }), jsxRuntime.jsx("netlabel", { net: "GND", connectsTo: ".SW1 > .pin3", schX: -0.88, schY: -5.5 }), jsxRuntime.jsx("netlabel", { net: "GND", connectsTo: ".SW1 > .pin4", schX: -0.88, schY: -5.5 }), jsxRuntime.jsx("netlabel", { net: "VBAT", connectsTo: ".R7 > .pin1", schX: -0, schY: -3.05 }), jsxRuntime.jsx("netlabel", { anchorSide: "left", net: "BUTTON_N", connectsTo: ".R7 > .pin2", schX: 0.0000, schY: -4.95 }), jsxRuntime.jsx("netlabel", { anchorSide: "left", net: "BUTTON_N", connectsTo: ".C10 > .pin1", schX: 2.0000, schY: -4.55 }), jsxRuntime.jsx("netlabel", { net: "GND", connectsTo: ".C10 > .pin2", schX: 2.0000, schY: -6.45 }), jsxRuntime.jsx("netlabel", { net: "GND", connectsTo: [".U1 > .pin18", ".U1 > .pin23", ".U1 > .pin25"], schX: 0, schY: 1.5 }), jsxRuntime.jsx("netlabel", { net: "GND", connectsTo: [".U2 > .pin6", ".U2 > .pin7"], schX: -12.5, schY: -6.9 }), jsxRuntime.jsx("schematictext", { schX: -13.5, schY: 6.65, text: "BT1 / CR2450", fontSize: 0.22 })] }), jsxRuntime.jsx("silkscreentext", { text: "FIDGET C / ONE BOARD", pcbX: 0, pcbY: 3, fontSize: 1 }), jsxRuntime.jsx("silkscreentext", { text: "NFC ANTENNA", pcbX: 0, pcbY: 35, fontSize: 1 }), jsxRuntime.jsx("silkscreentext", { text: "BUTTON COUNT", pcbX: -15, pcbY: -7, fontSize: 1 }), jsxRuntime.jsx("silkscreentext", { text: "ROTOR AXIS", pcbX: 0, pcbY: -19, fontSize: 1 }), jsxRuntime.jsx("silkscreentext", { text: "U1", pcbX: 14, pcbY: -6, fontSize: 1 }), jsxRuntime.jsx("keepout", { shape: "rect", pcbX: 13, pcbY: 24.5, width: 1.2, height: 2, layers: ["top"], excludeRefs: [".L1"] }), jsxRuntime.jsx("fiducial", { name: "FID1", pcbX: -26, pcbY: -46, padDiameter: 1, soldermaskPullback: 0.5 }), jsxRuntime.jsx("fiducial", { name: "FID2", pcbX: 26, pcbY: 46, padDiameter: 1, soldermaskPullback: 0.5 }), jsxRuntime.jsx("fiducial", { name: "FID3", pcbX: -26, pcbY: 46, padDiameter: 1, soldermaskPullback: 0.5 })] });

module.exports = index_circuit;