abse/keypad
This code defines hardware components for a 4-pin I2C display header with plated through-hole pins and key connection labels, along with an ECG encoder module featuring multiple pins, footprints, and silkscreen paths for PCB mounting.
- Version
- 1.0.7
- License
- unset
- Stars
- 0
dist/index.cjs
'use strict';
Object.defineProperty(exports, '__esModule', { value: true });
var jsxRuntime = require('react/jsx-runtime');
var abse_keyboardUtils = require('@tsci/abse.keyboard-utils');
const pinLabels$2 = {
pin6: ["pin6"],
pin7: ["pin7"],
pin8: ["A"],
pin9: ["C"],
pin10: ["B"],
pin11: ["D"],
pin12: ["E"]
};
const EC11E09204A4 = (props) => {
return (jsxRuntime.jsx("chip", { pinLabels: pinLabels$2, supplierPartNumbers: {
"jlcpcb": [
"C470709"
]
}, manufacturerPartNumber: "EC11E09204A4", footprint: jsxRuntime.jsxs("footprint", { children: [jsxRuntime.jsx("platedhole", { portHints: ["pin8"], pcbX: "-2.540127mm", pcbY: "-7.250049mm", outerDiameter: "1.7999964mm", holeDiameter: "1.3000228mm", shape: "circle" }), jsxRuntime.jsx("platedhole", { portHints: ["pin9"], pcbX: "-0.000127mm", pcbY: "-7.250049mm", outerDiameter: "1.7999964mm", holeDiameter: "1.3000228mm", shape: "circle" }), jsxRuntime.jsx("platedhole", { portHints: ["pin10"], pcbX: "2.539873mm", pcbY: "-7.250049mm", outerDiameter: "1.7999964mm", holeDiameter: "1.3000228mm", shape: "circle" }), jsxRuntime.jsx("platedhole", { portHints: ["pin11"], pcbX: "-2.540127mm", pcbY: "7.250049mm", outerDiameter: "1.7999964mm", holeDiameter: "1.3000228mm", shape: "circle" }), jsxRuntime.jsx("platedhole", { portHints: ["pin12"], pcbX: "2.539873mm", pcbY: "7.250049mm", outerDiameter: "1.7999964mm", holeDiameter: "1.3000228mm", shape: "circle" }), jsxRuntime.jsx("platedhole", { portHints: ["pin6"], pcbX: "5.499989mm", pcbY: "0.250063mm", holeWidth: "3.200019mm", holeHeight: "1.5000224mm", outerWidth: "3.999992mm", outerHeight: "2.2999954mm", pcbRotation: "90deg", shape: "pill" }), jsxRuntime.jsx("platedhole", { portHints: ["pin7"], pcbX: "-5.499989mm", pcbY: "0.250063mm", holeWidth: "3.200019mm", holeHeight: "1.5000224mm", outerWidth: "3.999992mm", outerHeight: "2.2999954mm", pcbRotation: "90deg", shape: "pill" }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -5.900115200000187, "y": 6.250076400000012 }, { "x": -5.900115200000187, "y": 2.4218391999999085 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 5.899861199999918, "y": 2.421966199999929 }, { "x": 5.899988199999825, "y": 6.250076400000012 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 5.899861199999918, "y": -5.7500012000000424 }, { "x": -5.900115200000187, "y": -5.749950399999989 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -5.900115200000187, "y": 6.250000199999931 }, { "x": -3.065932400000065, "y": 6.250076400000012 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -2.794127000000117, "y": 1.266063000000031 }, { "x": 2.7938729999999623, "y": 1.266063000000031 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -5.900115200000187, "y": 6.250076400000012 }, { "x": -5.900115200000187, "y": 2.4218391999999085 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -5.900115200000187, "y": -1.9217131999998855 }, { "x": -5.900115200000187, "y": -5.749950399999989 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 5.899861199999918, "y": -5.749950399999989 }, { "x": 5.899861199999918, "y": -1.9218402000001333 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 4.787925399999949, "y": 2.2820629999999937 }, { "x": 3.9749475999998367, "y": 2.2820629999999937 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 4.787925399999949, "y": -1.7819369999999708 }, { "x": 3.9749475999998367, "y": -1.7819369999999708 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -5.900115200000187, "y": -1.9217131999998855 }, { "x": -5.900115200000187, "y": -5.749950399999989 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -4.05142699999999, "y": 2.2820629999999937 }, { "x": -4.787925400000063, "y": 2.2820629999999937 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -4.787925400000063, "y": -1.7819369999999708 }, { "x": -3.810127000000193, "y": -1.7819369999999708 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -2.0143216000001303, "y": 6.250076400000012 }, { "x": 2.0140675999999758, "y": 6.250076400000012 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 3.065678399999797, "y": 6.250076400000012 }, { "x": 5.899861199999918, "y": 6.250076400000012 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 1.777872999999886, "y": 1.266063000000031 }, { "x": 1.8859268226797212, "y": 1.4905595621210068 }, { "x": 1.965765487822864, "y": 1.7265682961713082 }, { "x": 2.016194617789324, "y": 1.9705585374734937 }, { "x": 2.0364597983467547, "y": 2.2188802188804857 }, { "x": 2.026257864624995, "y": 2.4678184753785217 }, { "x": 1.9857414364294073, "y": 2.7136492180576397 }, { "x": 1.9155166350651598, "y": 2.9526948460727453 }, { "x": 1.816634015828754, "y": 3.181379263147619 }, { "x": 1.6905728518174783, "y": 3.3962813755803154 }, { "x": 1.5392190041659433, "y": 3.5941862714289528 }, { "x": 1.3648367097707705, "y": 3.7721333152409215 }, { "x": 1.1700347085575231, "y": 3.9274604388320995 }, { "x": 0.9577272170164406, "y": 4.057843965535085 }, { "x": 0.7310903318468718, "y": 4.161333372145123 }, { "x": 0.4935145158983687, "y": 4.236380468533298 }, { "x": 0.24855387722118394, "y": 4.281862558400462 }, { "x": -12700000013410317e-20, "y": 4.297099234689426 }, { "x": -0.24880787722145215, "y": 4.281862558400462 }, { "x": -0.4937685158986369, "y": 4.236380468533298 }, { "x": -0.73134433184714, "y": 4.161333372145123 }, { "x": -0.9579812170165951, "y": 4.057843965535085 }, { "x": -1.1702887085576776, "y": 3.9274604388320995 }, { "x": -1.3650907097710387, "y": 3.7721333152409215 }, { "x": -1.5394730041660978, "y": 3.5941862714289528 }, { "x": -1.6908268518177465, "y": 3.3962813755803154 }, { "x": -1.8168880158289085, "y": 3.181379263147619 }, { "x": -1.9157706350653143, "y": 2.9526948460727453 }, { "x": -1.9859954364295618, "y": 2.7136492180576397 }, { "x": -2.026511864625263, "y": 2.4678184753785217 }, { "x": -2.0367137983469092, "y": 2.2188802188804857 }, { "x": -2.0164486177894787, "y": 1.9705585374734937 }, { "x": -1.9660194878230186, "y": 1.7265682961713082 }, { "x": -1.8861808226799894, "y": 1.4905595621210068 }, { "x": -1.7781270000000404, "y": 1.266063000000031 }] }), jsxRuntime.jsx("silkscreentext", { text: "{NAME}", pcbX: "-0.000127mm", pcbY: "9.149463mm", anchorAlignment: "center", fontSize: "1mm" }), jsxRuntime.jsx("courtyardoutline", { outline: [{ "x": -6.600127000000043, "y": 8.399462999999969 }, { "x": 6.599872999999889, "y": 8.399462999999969 }, { "x": 6.599872999999889, "y": -8.407337000000098 }, { "x": -6.600127000000043, "y": -8.407337000000098 }, { "x": -6.600127000000043, "y": 8.399462999999969 }] })] }), cadModel: {
objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C470709.obj?uuid=98040a81456e4e72ba6314de5f862cda",
stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C470709.step?uuid=98040a81456e4e72ba6314de5f862cda",
pcbRotationOffset: 0,
modelOriginPosition: { x: 0.000012700000070253736, y: -0.24998729999992975, z: -6999999999646178e-21 },
}, ...props }));
};
const pinLabels$1 = {
pin1: ["GP0"],
pin2: ["GP1"],
pin3: ["GND8"],
pin4: ["GP2"],
pin5: ["GP3"],
pin6: ["GP4"],
pin7: ["GP5"],
pin8: ["GND6"],
pin9: ["GP6"],
pin10: ["GP7"],
pin11: ["GP8"],
pin12: ["GP9"],
pin13: ["GND4"],
pin14: ["GP10"],
pin15: ["GP11"],
pin16: ["GP12"],
pin17: ["GP13"],
pin18: ["GND2"],
pin19: ["GP14"],
pin20: ["GP15"],
pin21: ["GP16"],
pin22: ["GP17"],
pin23: ["GND1"],
pin24: ["GP18"],
pin25: ["GP19"],
pin26: ["GP20"],
pin27: ["GP21"],
pin28: ["GND3"],
pin29: ["GP22"],
pin30: ["RUN"],
pin31: ["GP26"],
pin32: ["GP27"],
pin33: ["GND5"],
pin34: ["GP28"],
pin35: ["ADC_VREF"],
pin36: ["pin36"],
pin37: ["3V3_EN"],
pin38: ["GND7"],
pin39: ["VSYS"],
pin40: ["VBUS"],
pin41: ["SWCLK"],
pin42: ["GND9"],
pin43: ["SWDIO"],
pin44: ["TP1"],
pin45: ["TP2"],
pin46: ["TP3"],
pin47: ["TP4"],
pin48: ["TP5"],
pin49: ["TP6"]
};
const PICO = (props) => {
return (jsxRuntime.jsx("chip", { pinLabels: pinLabels$1, supplierPartNumbers: {
"jlcpcb": [
"C7203002"
]
}, manufacturerPartNumber: "PICO", footprint: jsxRuntime.jsxs("footprint", { children: [jsxRuntime.jsx("smtpad", { portHints: ["pin21"], pcbX: "23.38987575mm", pcbY: "10.087356mm", width: "1.5999968mm", height: "3.1999936mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin20"], pcbX: "23.38987575mm", pcbY: "-10.087356mm", width: "1.5999968mm", height: "3.1999936mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin22"], pcbX: "20.84987575mm", pcbY: "10.087356mm", width: "1.5999968mm", height: "3.1999936mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin19"], pcbX: "20.84987575mm", pcbY: "-10.087356mm", width: "1.5999968mm", height: "3.1999936mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin23"], pcbX: "18.30987575mm", pcbY: "10.087356mm", width: "1.5999968mm", height: "3.1999936mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin18"], pcbX: "18.30987575mm", pcbY: "-10.087356mm", width: "1.5999968mm", height: "3.1999936mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin24"], pcbX: "15.76987575mm", pcbY: "10.087356mm", width: "1.5999968mm", height: "3.1999936mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin17"], pcbX: "15.76987575mm", pcbY: "-10.087356mm", width: "1.5999968mm", height: "3.1999936mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin25"], pcbX: "13.22987575mm", pcbY: "10.087356mm", width: "1.5999968mm", height: "3.1999936mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin16"], pcbX: "13.22987575mm", pcbY: "-10.087356mm", width: "1.5999968mm", height: "3.1999936mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin26"], pcbX: "10.68987575mm", pcbY: "10.087356mm", width: "1.5999968mm", height: "3.1999936mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin15"], pcbX: "10.68987575mm", pcbY: "-10.087356mm", width: "1.5999968mm", height: "3.1999936mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin27"], pcbX: "8.14987575mm", pcbY: "10.087356mm", width: "1.5999968mm", height: "3.1999936mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin14"], pcbX: "8.14987575mm", pcbY: "-10.087356mm", width: "1.5999968mm", height: "3.1999936mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin28"], pcbX: "5.60987575mm", pcbY: "10.087356mm", width: "1.5999968mm", height: "3.1999936mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin13"], pcbX: "5.60987575mm", pcbY: "-10.087356mm", width: "1.5999968mm", height: "3.1999936mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin29"], pcbX: "3.06987575mm", pcbY: "10.087356mm", width: "1.5999968mm", height: "3.1999936mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin12"], pcbX: "3.06987575mm", pcbY: "-10.087356mm", width: "1.5999968mm", height: "3.1999936mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin30"], pcbX: "0.52987575mm", pcbY: "10.087356mm", width: "1.5999968mm", height: "3.1999936mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin11"], pcbX: "0.52987575mm", pcbY: "-10.087356mm", width: "1.5999968mm", height: "3.1999936mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin31"], pcbX: "-2.01012425mm", pcbY: "10.087356mm", width: "1.5999968mm", height: "3.1999936mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin10"], pcbX: "-2.01012425mm", pcbY: "-10.087356mm", width: "1.5999968mm", height: "3.1999936mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin32"], pcbX: "-4.55012425mm", pcbY: "10.087356mm", width: "1.5999968mm", height: "3.1999936mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin9"], pcbX: "-4.55012425mm", pcbY: "-10.087356mm", width: "1.5999968mm", height: "3.1999936mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin33"], pcbX: "-7.09012425mm", pcbY: "10.087356mm", width: "1.5999968mm", height: "3.1999936mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin8"], pcbX: "-7.09012425mm", pcbY: "-10.087356mm", width: "1.5999968mm", height: "3.1999936mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin34"], pcbX: "-9.63012425mm", pcbY: "10.087356mm", width: "1.5999968mm", height: "3.1999936mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin7"], pcbX: "-9.63012425mm", pcbY: "-10.087356mm", width: "1.5999968mm", height: "3.1999936mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin35"], pcbX: "-12.17012425mm", pcbY: "10.087356mm", width: "1.5999968mm", height: "3.1999936mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin6"], pcbX: "-12.17012425mm", pcbY: "-10.087356mm", width: "1.5999968mm", height: "3.1999936mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin36"], pcbX: "-14.71012425mm", pcbY: "10.087356mm", width: "1.5999968mm", height: "3.1999936mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin5"], pcbX: "-14.71012425mm", pcbY: "-10.087356mm", width: "1.5999968mm", height: "3.1999936mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin37"], pcbX: "-17.25012425mm", pcbY: "10.087356mm", width: "1.5999968mm", height: "3.1999936mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin4"], pcbX: "-17.25012425mm", pcbY: "-10.087356mm", width: "1.5999968mm", height: "3.1999936mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin38"], pcbX: "-19.79012425mm", pcbY: "10.087356mm", width: "1.5999968mm", height: "3.1999936mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin3"], pcbX: "-19.79012425mm", pcbY: "-10.087356mm", width: "1.5999968mm", height: "3.1999936mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin39"], pcbX: "-22.33012425mm", pcbY: "10.087356mm", width: "1.5999968mm", height: "3.1999936mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin2"], pcbX: "-22.33012425mm", pcbY: "-10.087356mm", width: "1.5999968mm", height: "3.1999936mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin40"], pcbX: "-24.87012425mm", pcbY: "10.087356mm", width: "1.5999968mm", height: "3.1999936mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin1"], pcbX: "-24.87012425mm", pcbY: "-10.087356mm", width: "1.5999968mm", height: "3.1999936mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin41"], pcbX: "24.18997575mm", pcbY: "-2.54mm", width: "3.1999936mm", height: "1.5999968mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin42"], pcbX: "24.18997575mm", pcbY: "0mm", width: "3.1999936mm", height: "1.5999968mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin43"], pcbX: "24.18997575mm", pcbY: "2.54mm", width: "3.1999936mm", height: "1.5999968mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin44"], pcbX: "-21.73998065mm", pcbY: "-0.0000508mm", width: "1.499997mm", height: "1.499997mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin45"], pcbX: "-25.03997405mm", pcbY: "0.999998mm", width: "1.499997mm", height: "1.499997mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin46"], pcbX: "-25.03997405mm", pcbY: "-0.999998mm", width: "1.499997mm", height: "1.499997mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin47"], pcbX: "-18.23998765mm", pcbY: "-2.499995mm", width: "1.499997mm", height: "1.499997mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin48"], pcbX: "-15.61296725mm", pcbY: "-2.499995mm", width: "1.499997mm", height: "1.499997mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin49"], pcbX: "-13.23999765mm", pcbY: "-2.499995mm", width: "1.499997mm", height: "1.499997mm", shape: "rect" }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 24.4210903500001, "y": -10.49997899999994 }, { "x": 24.759926350000114, "y": -10.49997899999994 }, { "x": 24.759926350000114, "y": -3.571163800000022 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 24.759926350000114, "y": 3.5710368000000017 }, { "x": 24.759926350000114, "y": 10.499979000000053 }, { "x": 24.4210903500001, "y": 10.499979000000053 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 24.759926350000114, "y": 1.0310368000001517 }, { "x": 24.759926350000114, "y": 1.5088362000001325 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 24.759926350000114, "y": -1.5089631999999256 }, { "x": 24.759926350000114, "y": -1.0311637999999448 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -25.901059449999934, "y": 10.499852000000033 }, { "x": -26.23981924999987, "y": 10.499852000000033 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -26.239997049999943, "y": 10.499979000000053 }, { "x": -26.239997049999943, "y": -10.49997899999994 }, { "x": -25.901161049999814, "y": -10.49997899999994 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -27.539842049999834, "y": 3.999534799999992 }, { "x": -27.139665049999962, "y": 3.999534799999992 }, { "x": -27.139665049999962, "y": -4.000347599999941 }, { "x": -27.539842049999834, "y": -4.000347599999941 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -27.139665049999962, "y": -3.8090347999998357 }, { "x": -26.26529544999994, "y": -3.8090347999998357 }, { "x": -26.23981924999987, "y": -3.834460199999967 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -27.139665049999962, "y": 3.802405399999998 }, { "x": -26.23981924999987, "y": 3.802405399999998 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -27.539842049999834, "y": 3.999534799999992 }, { "x": -27.539842049999834, "y": -4.000347599999941 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -23.361161049999964, "y": 10.499979000000053 }, { "x": -23.838909649999778, "y": 10.499979000000053 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -20.821161049999887, "y": 10.499979000000053 }, { "x": -21.298909649999928, "y": 10.499979000000053 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -18.28116104999981, "y": 10.499979000000053 }, { "x": -18.75890964999985, "y": 10.499979000000053 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -15.74116104999996, "y": 10.499979000000053 }, { "x": -16.218909649999887, "y": 10.499979000000053 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -13.201161049999882, "y": 10.499979000000053 }, { "x": -13.678909649999923, "y": 10.499979000000053 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -10.661161049999805, "y": 10.499979000000053 }, { "x": -11.138909649999846, "y": 10.499979000000053 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -8.121161049999955, "y": 10.499979000000053 }, { "x": -8.598909649999996, "y": 10.499979000000053 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -5.581161049999878, "y": 10.499979000000053 }, { "x": -6.058909649999919, "y": 10.499979000000053 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -3.0411610499998005, "y": 10.499979000000053 }, { "x": -3.5189096499998413, "y": 10.499979000000053 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -0.5011610499999506, "y": 10.499979000000053 }, { "x": -0.9789096499999914, "y": 10.499979000000053 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 2.0388389500001267, "y": 10.499979000000053 }, { "x": 1.561090350000086, "y": 10.499979000000053 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 4.578838950000204, "y": 10.499979000000053 }, { "x": 4.101090350000163, "y": 10.499979000000053 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 7.118838950000054, "y": 10.499979000000053 }, { "x": 6.641090350000013, "y": 10.499979000000053 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 9.658838950000131, "y": 10.499979000000053 }, { "x": 9.18109035000009, "y": 10.499979000000053 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 12.198838950000209, "y": 10.499979000000053 }, { "x": 11.721090350000168, "y": 10.499979000000053 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 14.738838950000059, "y": 10.499979000000053 }, { "x": 14.261090350000018, "y": 10.499979000000053 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 17.278838950000136, "y": 10.499979000000053 }, { "x": 16.801090350000095, "y": 10.499979000000053 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 19.818838950000213, "y": 10.499979000000053 }, { "x": 19.341090350000172, "y": 10.499979000000053 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 22.358838950000063, "y": 10.499979000000053 }, { "x": 21.881090350000022, "y": 10.499979000000053 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 21.881090350000022, "y": -10.49997899999994 }, { "x": 22.358838950000063, "y": -10.49997899999994 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 19.341090350000172, "y": -10.49997899999994 }, { "x": 19.818838950000213, "y": -10.49997899999994 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 16.801090350000095, "y": -10.49997899999994 }, { "x": 17.278838950000136, "y": -10.49997899999994 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 14.261090350000018, "y": -10.49997899999994 }, { "x": 14.738838950000059, "y": -10.49997899999994 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 11.721090350000168, "y": -10.49997899999994 }, { "x": 12.198838950000209, "y": -10.49997899999994 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 9.18109035000009, "y": -10.49997899999994 }, { "x": 9.658838950000131, "y": -10.49997899999994 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 6.641090350000013, "y": -10.49997899999994 }, { "x": 7.118838950000054, "y": -10.49997899999994 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 4.101090350000163, "y": -10.49997899999994 }, { "x": 4.578838950000204, "y": -10.49997899999994 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 1.561090350000086, "y": -10.49997899999994 }, { "x": 2.0388389500001267, "y": -10.49997899999994 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -0.9789096499999914, "y": -10.49997899999994 }, { "x": -0.5011610499999506, "y": -10.49997899999994 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -3.5189096499998413, "y": -10.49997899999994 }, { "x": -3.0411610499998005, "y": -10.49997899999994 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -6.058909649999919, "y": -10.49997899999994 }, { "x": -5.581161049999878, "y": -10.49997899999994 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -8.598909649999996, "y": -10.49997899999994 }, { "x": -8.121161049999955, "y": -10.49997899999994 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -11.138909649999846, "y": -10.49997899999994 }, { "x": -10.661161049999805, "y": -10.49997899999994 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -13.678909649999923, "y": -10.49997899999994 }, { "x": -13.201161049999882, "y": -10.49997899999994 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -16.218909649999887, "y": -10.49997899999994 }, { "x": -15.74116104999996, "y": -10.49997899999994 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -18.75890964999985, "y": -10.49997899999994 }, { "x": -18.28116104999981, "y": -10.49997899999994 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -21.298909649999928, "y": -10.49997899999994 }, { "x": -20.821161049999887, "y": -10.49997899999994 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -23.838909649999778, "y": -10.49997899999994 }, { "x": -23.361161049999964, "y": -10.49997899999994 }] }), jsxRuntime.jsx("silkscreentext", { text: "{NAME}", pcbX: "-0.93773625mm", pcbY: "12.687048mm", anchorAlignment: "center", fontSize: "1mm" }), jsxRuntime.jsx("courtyardoutline", { outline: [{ "x": -27.92123624999988, "y": 11.937048000000118 }, { "x": 26.045763750000106, "y": 11.937048000000118 }, { "x": 26.045763750000106, "y": -12.997751999999764 }, { "x": -27.92123624999988, "y": -12.997751999999764 }, { "x": -27.92123624999988, "y": 11.937048000000118 }] })] }), ...props }));
};
const pinLabels = {
pin1: ["GND"],
pin2: ["VCC"],
pin3: ["SCL"],
pin4: ["SDA"]
};
const HS154L03W2C01 = (props) => {
return (jsxRuntime.jsx("chip", { pinLabels: pinLabels, supplierPartNumbers: {
"jlcpcb": [
"C7465999"
]
}, manufacturerPartNumber: "HS154L03W2C01", footprint: jsxRuntime.jsxs("footprint", { children: [jsxRuntime.jsx("hole", { pcbX: "-18.699988mm", pcbY: "15.79999385mm", diameter: "2.999994mm" }), jsxRuntime.jsx("hole", { pcbX: "-18.699988mm", pcbY: "-17.19994015mm", diameter: "2.999994mm" }), jsxRuntime.jsx("hole", { pcbX: "18.699988mm", pcbY: "-17.19994015mm", diameter: "2.999994mm" }), jsxRuntime.jsx("hole", { pcbX: "18.699988mm", pcbY: "15.79999385mm", diameter: "2.999994mm" }), jsxRuntime.jsx("platedhole", { portHints: ["pin1"], pcbX: "-3.81mm", pcbY: "16.39994185mm", outerDiameter: "1.6999966mm", holeDiameter: "0.999998mm", shape: "circle" }), jsxRuntime.jsx("platedhole", { portHints: ["pin2"], pcbX: "-1.27mm", pcbY: "16.39994185mm", outerDiameter: "1.6999966mm", holeDiameter: "0.999998mm", shape: "circle" }), jsxRuntime.jsx("platedhole", { portHints: ["pin3"], pcbX: "1.27mm", pcbY: "16.39994185mm", outerDiameter: "1.6999966mm", holeDiameter: "0.999998mm", shape: "circle" }), jsxRuntime.jsx("platedhole", { portHints: ["pin4"], pcbX: "3.81mm", pcbY: "16.39994185mm", outerDiameter: "1.6999966mm", holeDiameter: "0.999998mm", shape: "circle" }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 5.078018799999995, "y": -15.667862950000199 }, { "x": 5.078018799999995, "y": -19.698868350000225 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -5.08195580000006, "y": -15.667862950000199 }, { "x": 5.078018799999995, "y": -15.667862950000199 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 21.198992399999952, "y": -19.698868350000225 }, { "x": 5.078018799999995, "y": -19.698868350000225 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -5.08195580000006, "y": -19.698868350000225 }, { "x": -5.08195580000006, "y": -15.667862950000199 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -21.198941600000126, "y": -19.698868350000225 }, { "x": -5.08195580000006, "y": -19.698868350000225 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -21.198941600000126, "y": -19.698868350000225 }, { "x": -21.198941600000126, "y": 18.30905664999989 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -21.199932200000035, "y": 18.30006504999983 }, { "x": 21.198992399999952, "y": 18.30006504999983 }, { "x": 21.198992399999952, "y": -19.698868350000225 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -21.112937200000033, "y": -19.6848475500002 }, { "x": -6.813956399999938, "y": -19.6848475500002 }, { "x": -6.813956399999938, "y": -16.768876750000118 }, { "x": -5.872962600000051, "y": -16.768876750000118 }, { "x": -5.872962600000051, "y": -18.273852150000266 }, { "x": 6.074003599999969, "y": -18.273852150000266 }, { "x": 6.074003599999969, "y": -16.580865950000316 }, { "x": 7.015022799999997, "y": -16.580865950000316 }, { "x": 7.015022799999997, "y": -19.496862150000197 }, { "x": 19.996988200000033, "y": -19.496862150000197 }] }), jsxRuntime.jsx("silkscreentext", { text: "{NAME}", pcbX: "-0.0254mm", pcbY: "24.53175385mm", anchorAlignment: "center", fontSize: "1mm" }), jsxRuntime.jsx("courtyardoutline", { outline: [{ "x": -21.48440000000005, "y": 23.78175384999986 }, { "x": 21.43360000000007, "y": 23.78175384999986 }, { "x": 21.43360000000007, "y": -19.974446150000176 }, { "x": -21.48440000000005, "y": -19.974446150000176 }, { "x": -21.48440000000005, "y": 23.78175384999986 }] })] }), cadModel: {
objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C7465999.obj?uuid=aa861fa4eb4a4bd2a39608f58e47f232",
stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C7465999.step?uuid=aa861fa4eb4a4bd2a39608f58e47f232",
pcbRotationOffset: 0,
modelOriginPosition: { x: 0, y: 0, z: -8.480405999999999 },
}, ...props }));
};
// biome-ignore lint: This file contains keyboard layout data
const custom4x4 = [
[{ x: -0.5, y: -0.5 }, "B1", "B2", "B3", "B4"],
[{ x: -0.5 }, "B5", "B6", "B7", "B8"],
[{ x: -0.5 }, "B9", "B10", "B11", "B12"],
[{ x: -0.5 }, "B13", "B14", "B15", "B16"],
];
var index_circuit = () => {
return (jsxRuntime.jsxs("board", { minViaHoleDiameter: 0.3, minViaPadDiameter: 0.45, width: 102, height: 138, autorouterVersion: "v4", layers: 2, children: [jsxRuntime.jsx(abse_keyboardUtils.KeyMatrix, { pcbX: 9, pcbY: -15, colToMicroPin: ["net.MATRIX_COL0", "net.MATRIX_COL1", "net.MATRIX_COL2", "net.MATRIX_COL3"], rowToMicroPin: ["net.MATRIX_ROW0", "net.MATRIX_ROW1", "net.MATRIX_ROW2", "net.MATRIX_ROW3"], layout: custom4x4 }), jsxRuntime.jsx(PICO, { name: "U1", pcbY: 55, pcbX: 25, layer: "bottom", connections: {
GP0: "net.I2C_SDA",
GP1: "net.I2C_SCL",
GP2: "net.MATRIX_ROW0",
GP3: "net.MATRIX_ROW1",
GP4: "net.MATRIX_ROW2",
GP5: "net.MATRIX_ROW3",
GP6: "net.MATRIX_COL0",
GP7: "net.MATRIX_COL1",
GP8: "net.MATRIX_COL2",
GP9: "net.MATRIX_COL3",
GP10: "net.ENC_L_A_FILTER",
GP11: "net.ENC_L_B_FILTER",
GP12: "net.ENC_R_A_FILTER",
GP13: "net.ENC_R_B_FILTER",
GND8: "net.GND",
GND1: "net.GND",
pin36: "net.V3_3",
} }), jsxRuntime.jsx(EC11E09204A4, { name: "U2", pcbY: 26, pcbX: -35, layer: "top", connections: {
pin9: "net.GND",
pin10: "net.ENC_L_B",
pin8: "net.ENC_L_A",
} }), jsxRuntime.jsx(EC11E09204A4, { name: "U3", pcbY: 26, pcbX: 35, layer: "top", connections: {
pin9: "net.GND",
pin10: "net.ENC_R_B",
pin8: "net.ENC_R_A",
} }), jsxRuntime.jsx(HS154L03W2C01, { name: "J1", pcbY: 40, pcbX: 0, pcbRotation: 180, connections: {
GND: "net.GND",
VCC: "net.V3_3",
SCL: "net.I2C_SCL",
SDA: "net.I2C_SDA",
} }), jsxRuntime.jsx("resistor", { name: "R10", resistance: "10k", footprint: "0603", pcbX: 37.5, pcbY: 14, connections: { pin1: "net.V3_3", pin2: "net.ENC_R_A" } }), jsxRuntime.jsx("resistor", { name: "R20", resistance: "10k", footprint: "0603", pcbX: 32.5, pcbY: 14, connections: { pin1: "net.ENC_R_B", pin2: "net.V3_3" } }), jsxRuntime.jsx("resistor", { name: "R30", resistance: "10k", footprint: "0603", pcbX: 37.5, pcbY: 12, connections: { pin1: "net.ENC_R_A_FILTER", pin2: "net.ENC_R_A" } }), jsxRuntime.jsx("resistor", { name: "R40", resistance: "10k", footprint: "0603", pcbX: 32.5, pcbY: 12, pcbRotation: 180, connections: { pin1: "net.ENC_R_B_FILTER", pin2: "net.ENC_R_B" } }), jsxRuntime.jsx("capacitor", { name: "C10", capacitance: "10nF", footprint: "0603", pcbRotation: 180, pcbX: 37.5, pcbY: 16, connections: { pin1: "net.ENC_R_A_FILTER", pin2: "net.GND" } }), jsxRuntime.jsx("capacitor", { name: "C20", capacitance: "10nF", footprint: "0603", pcbRotation: 180, pcbX: 32.5, pcbY: 16, connections: { pin1: "net.GND", pin2: "net.ENC_R_B_FILTER" } }), jsxRuntime.jsx("resistor", { name: "R50", resistance: "10k", footprint: "0603", pcbX: -37.5, pcbY: 14, connections: { pin1: "net.ENC_L_B", pin2: "net.V3_3" } }), jsxRuntime.jsx("resistor", { name: "R60", resistance: "10k", footprint: "0603", pcbX: -32.5, pcbY: 14, connections: { pin1: "net.V3_3", pin2: "net.ENC_L_A" } }), jsxRuntime.jsx("resistor", { name: "R70", resistance: "10k", footprint: "0603", pcbX: -37.5, pcbY: 12, connections: { pin1: "net.ENC_L_B_FILTER", pin2: "net.ENC_L_B" } }), jsxRuntime.jsx("resistor", { name: "R80", resistance: "10k", footprint: "0603", pcbX: -32.5, pcbY: 12, pcbRotation: 180, connections: { pin1: "net.ENC_L_A_FILTER", pin2: "net.ENC_L_A" } }), jsxRuntime.jsx("capacitor", { name: "C30", capacitance: "10nF", footprint: "0603", pcbRotation: 180, pcbX: -37.5, pcbY: 16, connections: { pin1: "net.ENC_L_B_FILTER", pin2: "net.GND" } }), jsxRuntime.jsx("capacitor", { name: "C40", capacitance: "10nF", footprint: "0603", pcbRotation: 180, pcbX: -32.5, pcbY: 16, connections: { pin1: "net.GND", pin2: "net.ENC_L_A_FILTER" } }), jsxRuntime.jsx("copperpour", { layer: "top", connectsTo: "net.GND" })] }));
};
exports.custom4x4 = custom4x4;
exports.default = index_circuit;