hrithik18k/Chatting-Device
This code defines React components representing surface-mount voltage regulator and resistor chips with specified pin layouts, footprints, and 3D CAD models for electronic hardware design.
- Version
- 1.0.0
- License
- unset
- Stars
- 0
dist/index.cjs
'use strict';
var jsxRuntime = require('react/jsx-runtime');
var React = require('react');
// imports/B2B_PH_K_S_LF__SN_.tsx
var pinLabels = {
pin1: ["pin1"],
pin2: ["pin2"]
};
var B2B_PH_K_S_LF__SN_ = (props) => {
return jsxRuntime.jsx("chip", { pinLabels: pinLabels, supplierPartNumbers: {
"jlcpcb": [
"C131337"
]
}, manufacturerPartNumber: "B2B_PH_K_S_LF__SN_", footprint: jsxRuntime.jsxs("footprint", { children: [jsxRuntime.jsx("platedhole", { portHints: ["pin2"], pcbX: "-0.999998mm", pcbY: "0mm", outerDiameter: "1.5999968mm", holeDiameter: "0.9000236mm", shape: "circle" }), jsxRuntime.jsx("platedhole", { portHints: ["pin1"], pcbX: "0.999998mm", pcbY: "0mm", outerDiameter: "1.5999968mm", holeDiameter: "0.9000236mm", shape: "circle" }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -2.921000000000049, "y": 0.2540000000000191 }, { "x": -2.413000000000011, "y": 0.2540000000000191 }, { "x": -2.413000000000011, "y": 2.158999999999992 }, { "x": 2.53999999999985, "y": 2.158999999999992 }, { "x": 2.53999999999985, "y": 0.2540000000000191 }, { "x": 2.9209999999998217, "y": 0.2540000000000191 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 3.000044799999955, "y": -0.3810000000000855 }, { "x": 2.4920448000000306, "y": -0.3810000000000855 }, { "x": 2.4920448000000306, "y": -1.1430000000001428 }, { "x": 0.3330447999999251, "y": -1.1430000000001428 }, { "x": 0.3330447999999251, "y": -1.6510000000000673 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -2.921000000000049, "y": -0.3810000000000855 }, { "x": -2.413000000000011, "y": -0.3810000000000855 }, { "x": -2.413000000000011, "y": -1.1430000000001428 }, { "x": -0.2540000000001328, "y": -1.1430000000001428 }, { "x": -0.2540000000001328, "y": -1.6510000000000673 }] }), jsxRuntime.jsx("silkscreentext", { text: "{NAME}", pcbX: "0.016002mm", pcbY: "3.8956mm", anchorAlignment: "center", fontSize: "1mm" }), jsxRuntime.jsx("courtyardoutline", { outline: [{ "x": -3.2565980000001673, "y": 3.145599999999945 }, { "x": 3.288601999999969, "y": 3.145599999999945 }, { "x": 3.288601999999969, "y": -1.9517999999999347 }, { "x": -3.2565980000001673, "y": -1.9517999999999347 }, { "x": -3.2565980000001673, "y": 3.145599999999945 }] })] }), cadModel: {
objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C131337.obj?uuid=ee6b32b5c03144688a5663b32f9648c4",
stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C131337.step?uuid=ee6b32b5c03144688a5663b32f9648c4",
pcbRotationOffset: 180,
modelOriginPosition: { x: -0.9995, y: -12000000196854543e-22, z: -6999999999646178e-21 }
}, ...props });
};
// imports/B_2100S02P_A110.tsx
var pinLabels2 = {
pin1: ["pin1"],
pin2: ["pin2"]
};
var B_2100S02P_A110 = (props) => {
return jsxRuntime.jsx("chip", { pinLabels: pinLabels2, supplierPartNumbers: {
"jlcpcb": [
"C124375"
]
}, manufacturerPartNumber: "B_2100S02P_A110", footprint: jsxRuntime.jsxs("footprint", { children: [jsxRuntime.jsx("platedhole", { portHints: ["pin2"], pcbX: "1.27mm", pcbY: "0mm", outerDiameter: "1.7999964mm", holeDiameter: "1.1000232mm", shape: "circle" }), jsxRuntime.jsx("platedhole", { portHints: ["pin1"], pcbX: "-1.27mm", pcbY: "0mm", outerDiameter: "1.7999964mm", holeDiameter: "1.1000232mm", shape: "circle" }), jsxRuntime.jsx("silkscreentext", { text: "{NAME}", pcbX: "-0.0127mm", pcbY: "2.27mm", anchorAlignment: "center", fontSize: "1mm" }), jsxRuntime.jsx("courtyardoutline", { outline: [{ "x": -2.815400000000068, "y": 1.5199999999999818 }, { "x": 2.78999999999985, "y": 1.5199999999999818 }, { "x": 2.78999999999985, "y": -1.5453999999998587 }, { "x": -2.815400000000068, "y": -1.5453999999998587 }, { "x": -2.815400000000068, "y": 1.5199999999999818 }] })] }), cadModel: {
objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C124375.obj?uuid=699a85800fbc4a2eb0bb6c6683da95b1",
stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C124375.step?uuid=699a85800fbc4a2eb0bb6c6683da95b1",
pcbRotationOffset: 0,
modelOriginPosition: { x: -1.2700126999999566, y: 0, z: -5999999999950489e-21 }
}, ...props });
};
// imports/CC0805KRX7R9BB104.tsx
var CC0805KRX7R9BB104 = (props) => {
const { name = "C1", ...restProps } = props;
return jsxRuntime.jsx("capacitor", { name: name, capacitance: "100nF", supplierPartNumbers: {
"jlcpcb": [
"C49678"
]
}, manufacturerPartNumber: "CC0805KRX7R9BB104", footprint: jsxRuntime.jsxs("footprint", { children: [jsxRuntime.jsx("smtpad", { portHints: ["pin2"], pcbX: "0.999998mm", pcbY: "0mm", width: "1.4100048mm", height: "1.35001mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin1"], pcbX: "-0.999998mm", pcbY: "0mm", width: "1.4100048mm", height: "1.35001mm", shape: "rect" }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 1.8111977999999453, "y": 0.9036049999999705 }, { "x": 0.4011929999999211, "y": 0.9036049999999705 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 0.4011929999999211, "y": -0.9036049999999705 }, { "x": 1.8111977999999453, "y": -0.9036049999999705 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 1.9635978000000023, "y": -0.7512050000000272 }, { "x": 1.9635978000000023, "y": 0.7512050000000272 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -1.811197800000059, "y": 0.9036049999999705 }, { "x": -0.40119300000003477, "y": 0.9036049999999705 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -0.40119300000003477, "y": -0.9036049999999705 }, { "x": -1.811197800000059, "y": -0.9036049999999705 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -1.9635978000000023, "y": -0.7512050000000272 }, { "x": -1.9635978000000023, "y": 0.7512050000000272 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 1.8111977999999453, "y": -0.9036049999997431 }, { "x": 1.918960873452761, "y": -0.8589680734526155 }, { "x": 1.9635977999998886, "y": -0.7512050000000272 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 1.9635977999998886, "y": 0.7512050000000272 }, { "x": 1.918960873452761, "y": 0.8589680734527292 }, { "x": 1.8111977999999453, "y": 0.9036049999998568 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -1.811197800000059, "y": -0.9036049999997431 }, { "x": -1.9189608734528747, "y": -0.8589680734526155 }, { "x": -1.9635978000000023, "y": -0.7512050000000272 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -1.9635978000000023, "y": 0.7512050000000272 }, { "x": -1.9189608734528747, "y": 0.8589680734527292 }, { "x": -1.811197800000059, "y": 0.9036049999998568 }] }), jsxRuntime.jsx("silkscreentext", { text: "{NAME}", pcbX: "0.0127mm", pcbY: "1.9144mm", anchorAlignment: "center", fontSize: "1mm" }), jsxRuntime.jsx("courtyardoutline", { outline: [{ "x": -2.205799999999954, "y": 1.1644000000000005 }, { "x": 2.2311999999999443, "y": 1.1644000000000005 }, { "x": 2.2311999999999443, "y": -1.13900000000001 }, { "x": -2.205799999999954, "y": -1.13900000000001 }, { "x": -2.205799999999954, "y": 1.1644000000000005 }] })] }), cadModel: {
objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C49678.obj?uuid=b87ab0c5465a48b3a1c9a6dac8d30bc5",
stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C49678.step?uuid=b87ab0c5465a48b3a1c9a6dac8d30bc5",
pcbRotationOffset: 0,
modelOriginPosition: { x: 0, y: -12700000070253736e-21, z: -0.65 }
}, ...restProps });
};
// imports/RVT1A471M0607.tsx
var RVT1A471M0607 = (props) => {
const { name = "C1", ...restProps } = props;
return jsxRuntime.jsx("capacitor", { name: name, capacitance: "470uF", supplierPartNumbers: {
"jlcpcb": [
"C335982"
]
}, manufacturerPartNumber: "RVT1A471M0607", footprint: jsxRuntime.jsxs("footprint", { children: [jsxRuntime.jsx("smtpad", { portHints: ["pin1"], pcbX: "-2.670048mm", pcbY: "0mm", width: "3.499993mm", height: "1.1999976mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin2"], pcbX: "2.670048mm", pcbY: "0mm", width: "3.499993mm", height: "1.1999976mm", shape: "rect" }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 3.3556194000000232, "y": -0.7392669999999271 }, { "x": 3.3756599999999253, "y": -3.3756599999999253 }, { "x": -1.981200000000058, "y": -3.3756599999999253 }, { "x": -3.375660000000039, "y": -1.981200000000058 }, { "x": -3.3622996000000285, "y": -0.6857999999998583 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 3.369487799999888, "y": 0.7076948000001266 }, { "x": 3.376168000000007, "y": 3.376168000000007 }, { "x": -1.9800316000000748, "y": 3.376168000000007 }, { "x": -3.376168000000007, "y": 1.9800315999999611 }, { "x": -3.376168000000007, "y": 0.685799999999972 }] }), jsxRuntime.jsx("silkscreentext", { text: "{NAME}", pcbX: "0mm", pcbY: "4.3782mm", anchorAlignment: "center", fontSize: "1mm" }), jsxRuntime.jsx("courtyardoutline", { outline: [{ "x": -4.669599999999946, "y": 3.6282000000001062 }, { "x": 4.6696000000000595, "y": 3.6282000000001062 }, { "x": 4.6696000000000595, "y": -3.6281999999999925 }, { "x": -4.669599999999946, "y": -3.6281999999999925 }, { "x": -4.669599999999946, "y": 3.6282000000001062 }] })] }), cadModel: {
objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C335982.obj?uuid=6cb1ec5759f6404189e20b90556867d6",
stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C335982.step?uuid=6cb1ec5759f6404189e20b90556867d6",
pcbRotationOffset: 180,
modelOriginPosition: { x: 0, y: -12700000070253736e-21, z: -0.05 }
}, ...restProps });
};
// imports/ESP32_WROOM_32E_N4.tsx
var pinLabels3 = {
pin1: ["GND1"],
pin2: ["3V3"],
pin3: ["EN"],
pin4: ["SENSOR_VP"],
pin5: ["SENSOR_VN"],
pin6: ["IO34"],
pin7: ["IO35"],
pin8: ["IO32"],
pin9: ["IO33"],
pin10: ["IO25"],
pin11: ["IO26"],
pin12: ["IO27"],
pin13: ["IO14"],
pin14: ["IO12"],
pin15: ["GND2"],
pin16: ["IO13"],
pin17: ["NC1"],
pin18: ["NC2"],
pin19: ["NC3"],
pin20: ["NC4"],
pin21: ["NC5"],
pin22: ["NC6"],
pin23: ["IO15"],
pin24: ["IO2"],
pin25: ["IO0"],
pin26: ["IO4"],
pin27: ["IO16"],
pin28: ["IO17"],
pin29: ["IO5"],
pin30: ["IO18"],
pin31: ["IO19"],
pin32: ["NC7"],
pin33: ["IO21"],
pin34: ["RXD0"],
pin35: ["TXD0"],
pin36: ["IO22"],
pin37: ["IO23"],
pin38: ["GND3"],
pin39: ["GND4"]
};
var ESP32_WROOM_32E_N4 = (props) => {
return jsxRuntime.jsx("chip", { pinLabels: pinLabels3, supplierPartNumbers: {
"jlcpcb": [
"C701341"
]
}, manufacturerPartNumber: "ESP32_WROOM_32E_N4", footprint: jsxRuntime.jsxs("footprint", { children: [jsxRuntime.jsx("smtpad", { portHints: ["pin1"], pcbX: "-9.29001825mm", pcbY: "-9.000109mm", width: "0.9500108mm", height: "2.0999958mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin2"], pcbX: "-8.02001825mm", pcbY: "-9.000109mm", width: "0.9500108mm", height: "2.0999958mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin3"], pcbX: "-6.75001825mm", pcbY: "-9.000109mm", width: "0.9500108mm", height: "2.0999958mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin4"], pcbX: "-5.48001825mm", pcbY: "-9.000109mm", width: "0.9500108mm", height: "2.0999958mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin5"], pcbX: "-4.21001825mm", pcbY: "-9.000109mm", width: "0.9500108mm", height: "2.0999958mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin6"], pcbX: "-2.94001825mm", pcbY: "-9.000109mm", width: "0.9500108mm", height: "2.0999958mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin7"], pcbX: "-1.67001825mm", pcbY: "-9.000109mm", width: "0.9500108mm", height: "2.0999958mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin8"], pcbX: "-0.40001825mm", pcbY: "-9.000109mm", width: "0.9500108mm", height: "2.0999958mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin9"], pcbX: "0.86998175mm", pcbY: "-9.000109mm", width: "0.9500108mm", height: "2.0999958mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin10"], pcbX: "2.13998175mm", pcbY: "-9.000109mm", width: "0.9500108mm", height: "2.0999958mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin11"], pcbX: "3.40998175mm", pcbY: "-9.000109mm", width: "0.9500108mm", height: "2.0999958mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin12"], pcbX: "4.67998175mm", pcbY: "-9.000109mm", width: "0.9500108mm", height: "2.0999958mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin13"], pcbX: "5.94998175mm", pcbY: "-9.000109mm", width: "0.9500108mm", height: "2.0999958mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin14"], pcbX: "7.21998175mm", pcbY: "-9.000109mm", width: "0.9500108mm", height: "2.0999958mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin15"], pcbX: "8.71502575mm", pcbY: "-5.714873mm", width: "2.0999958mm", height: "0.9500108mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin16"], pcbX: "8.71502575mm", pcbY: "-4.444873mm", width: "2.0999958mm", height: "0.9500108mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin17"], pcbX: "8.71502575mm", pcbY: "-3.174873mm", width: "2.0999958mm", height: "0.9500108mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin18"], pcbX: "8.71502575mm", pcbY: "-1.904873mm", width: "2.0999958mm", height: "0.9500108mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin19"], pcbX: "8.71502575mm", pcbY: "-0.634873mm", width: "2.0999958mm", height: "0.9500108mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin20"], pcbX: "8.71502575mm", pcbY: "0.635127mm", width: "2.0999958mm", height: "0.9500108mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin21"], pcbX: "8.71502575mm", pcbY: "1.905127mm", width: "2.0999958mm", height: "0.9500108mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin22"], pcbX: "8.71502575mm", pcbY: "3.175127mm", width: "2.0999958mm", height: "0.9500108mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin23"], pcbX: "8.71502575mm", pcbY: "4.445127mm", width: "2.0999958mm", height: "0.9500108mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin24"], pcbX: "8.71502575mm", pcbY: "5.715127mm", width: "2.0999958mm", height: "0.9500108mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin25"], pcbX: "7.21998175mm", pcbY: "9.000109mm", width: "0.9500108mm", height: "2.0999958mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin26"], pcbX: "5.94998175mm", pcbY: "9.000109mm", width: "0.9500108mm", height: "2.0999958mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin27"], pcbX: "4.67998175mm", pcbY: "9.000109mm", width: "0.9500108mm", height: "2.0999958mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin28"], pcbX: "3.40998175mm", pcbY: "9.000109mm", width: "0.9500108mm", height: "2.0999958mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin29"], pcbX: "2.13998175mm", pcbY: "9.000109mm", width: "0.9500108mm", height: "2.0999958mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin30"], pcbX: "0.86998175mm", pcbY: "9.000109mm", width: "0.9500108mm", height: "2.0999958mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin31"], pcbX: "-0.40001825mm", pcbY: "9.000109mm", width: "0.9500108mm", height: "2.0999958mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin32"], pcbX: "-1.67001825mm", pcbY: "9.000109mm", width: "0.9500108mm", height: "2.0999958mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin33"], pcbX: "-2.94001825mm", pcbY: "9.000109mm", width: "0.9500108mm", height: "2.0999958mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin34"], pcbX: "-4.21001825mm", pcbY: "9.000109mm", width: "0.9500108mm", height: "2.0999958mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin35"], pcbX: "-5.48001825mm", pcbY: "9.000109mm", width: "0.9500108mm", height: "2.0999958mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin36"], pcbX: "-6.75001825mm", pcbY: "9.000109mm", width: "0.9500108mm", height: "2.0999958mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin37"], pcbX: "-8.02001825mm", pcbY: "9.000109mm", width: "0.9500108mm", height: "2.0999958mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin38"], pcbX: "-9.29001825mm", pcbY: "9.000109mm", width: "0.9500108mm", height: "2.0999958mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin39"], pcbX: "-1.60905825mm", pcbY: "-1.500251mm", width: "0.8999982mm", height: "0.8999982mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin39"], pcbX: "-1.60905825mm", pcbY: "-2.900045mm", width: "0.8999982mm", height: "0.8999982mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin39"], pcbX: "-1.60905825mm", pcbY: "-0.099949mm", width: "0.8999982mm", height: "0.8999982mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin39"], pcbX: "-3.00910625mm", pcbY: "-0.099949mm", width: "0.8999982mm", height: "0.8999982mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin39"], pcbX: "-3.00910625mm", pcbY: "-1.499997mm", width: "0.8999982mm", height: "0.8999982mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin39"], pcbX: "-3.00910625mm", pcbY: "-2.900045mm", width: "0.8999982mm", height: "0.8999982mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin39"], pcbX: "-0.20901025mm", pcbY: "-2.900045mm", width: "0.8999982mm", height: "0.8999982mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin39"], pcbX: "-0.20901025mm", pcbY: "-1.499997mm", width: "0.8999982mm", height: "0.8999982mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin39"], pcbX: "-0.20901025mm", pcbY: "-0.099949mm", width: "0.8999982mm", height: "0.8999982mm", shape: "rect" }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -16.764019050000115, "y": 9.000083599999925 }, { "x": -10.298118850000037, "y": 9.000083599999925 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -16.764019050000115, "y": -8.999931199999992 }, { "x": -10.314044649999914, "y": -8.999931199999992 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -16.764019050000115, "y": 9.000083599999925 }, { "x": -16.764019050000115, "y": -8.999931199999992 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -10.480059050000023, "y": 9.000083599999925 }, { "x": -10.480059050000023, "y": -8.999931199999992 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -9.971195449999868, "y": 9.01707620000002 }, { "x": -10.480059050000023, "y": 9.01707620000002 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 8.73595535000004, "y": 6.396227999999837 }, { "x": 8.73595535000004, "y": 9.01707620000002 }, { "x": 7.901158950000081, "y": 9.01707620000002 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 7.901158950000081, "y": -8.999931199999992 }, { "x": 8.73595535000004, "y": -8.999931199999992 }, { "x": 8.73595535000004, "y": -6.396050199999991 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -10.480059050000023, "y": -8.999931199999992 }, { "x": -9.971195449999868, "y": -8.999931199999992 }] }), jsxRuntime.jsx("silkscreentext", { text: "{NAME}", pcbX: "-3.53768025mm", pcbY: "11.040747mm", anchorAlignment: "center", fontSize: "1mm" }), jsxRuntime.jsx("courtyardoutline", { outline: [{ "x": -17.09728025000004, "y": 10.29074700000001 }, { "x": 10.021919750000052, "y": 10.29074700000001 }, { "x": 10.021919750000052, "y": -10.427652999999964 }, { "x": -17.09728025000004, "y": -10.427652999999964 }, { "x": -17.09728025000004, "y": 10.29074700000001 }] })] }), cadModel: {
objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C701341.obj?uuid=cad43509223249168514859e4520db8a",
stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C701341.step?uuid=cad43509223249168514859e4520db8a",
pcbRotationOffset: 180,
modelOriginPosition: { x: -4.066063750000012, y: 0, z: 0 }
}, ...props });
};
// imports/AMS1117_3_3.tsx
var pinLabels4 = {
pin1: ["GND"],
pin2: ["VOUT1"],
pin3: ["VIN"],
pin4: ["VOUT2"]
};
var AMS1117_3_3 = (props) => {
return jsxRuntime.jsx("chip", { pinLabels: pinLabels4, supplierPartNumbers: {
"jlcpcb": [
"C6186"
]
}, manufacturerPartNumber: "AMS1117_3_3", footprint: jsxRuntime.jsxs("footprint", { children: [jsxRuntime.jsx("smtpad", { portHints: ["pin1"], pcbX: "2.92995985mm", pcbY: "-2.29997mm", width: "2.499995mm", height: "1.0999978mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin2"], pcbX: "2.92995985mm", pcbY: "0mm", width: "2.499995mm", height: "1.0999978mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin3"], pcbX: "2.92995985mm", pcbY: "2.29997mm", width: "2.499995mm", height: "1.0999978mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin4"], pcbX: "-3.00995715mm", pcbY: "0mm", width: "2.3400004mm", height: "3.5999928mm", shape: "rect" }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -1.6114077499998984, "y": -3.3262061999998878 }, { "x": -1.6114077499998984, "y": 3.3262062000000014 }, { "x": 1.3313854499999707, "y": 3.3262062000000014 }, { "x": 1.3313854499999707, "y": -3.3262061999998878 }, { "x": -1.6114077499998984, "y": -3.3262061999998878 }] }), jsxRuntime.jsx("silkscreentext", { text: "{NAME}", pcbX: "0.29178885mm", pcbY: "4.3274mm", anchorAlignment: "center", fontSize: "1mm" }), jsxRuntime.jsx("courtyardoutline", { outline: [{ "x": -4.428611149999938, "y": 3.5774000000000115 }, { "x": 5.012188849999916, "y": 3.5774000000000115 }, { "x": 5.012188849999916, "y": -3.5773999999998978 }, { "x": -4.428611149999938, "y": -3.5773999999998978 }, { "x": -4.428611149999938, "y": 3.5774000000000115 }] })] }), cadModel: {
objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C6186.obj?uuid=e80246a9471445bfb635be848806a22e",
stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C6186.step?uuid=e80246a9471445bfb635be848806a22e",
pcbRotationOffset: 180,
modelOriginPosition: { x: -0.14002385000003414, y: -12700000070253736e-21, z: -0.049394 }
}, ...props });
};
// index.modular.circuit.tsx
var singleRowFootprint = (pins, pitch = 2.54) => jsxRuntime.jsxs("footprint", { children: [Array.from({ length: pins }, (_, i) => jsxRuntime.jsx(React.Fragment, { children: jsxRuntime.jsx("platedhole", { portHints: [`pin${i + 1}`], pcbX: (i - (pins - 1) / 2) * pitch, pcbY: 0, shape: "circle", holeDiameter: "1mm", outerDiameter: "1.8mm" }) }, i)), jsxRuntime.jsx("silkscreenrect", { width: pins * pitch, height: "2.5mm" })] });
function LoRaChattingDevice() {
return jsxRuntime.jsxs("board", { width: "70mm", height: "120mm", layers: 2, children: [jsxRuntime.jsx("schematicsection", { name: "Power", displayName: "Battery, charging and 5V boost" }), jsxRuntime.jsx("schematicsection", { name: "Controller", displayName: "ESP32 DevKit V1" }), jsxRuntime.jsx("schematicsection", { name: "Radio", displayName: "RYLR993 / RYLR998 LoRa UART" }), jsxRuntime.jsx("schematicsection", { name: "Display", displayName: "2.8in ILI9341 + XPT2046 touch" }), jsxRuntime.jsx("schematicsection", { name: "Time", displayName: "DS3231 RTC" }), jsxRuntime.jsx(ESP32_WROOM_32E_N4, { name: "U1", pcbX: -10, pcbY: 2, schX: 0, schY: 0, schHeight: 4.8, schSectionName: "Controller" }), jsxRuntime.jsx(AMS1117_3_3, { name: "U2", pcbX: 10, pcbY: -39, schX: 9, schY: -17, schSectionName: "Power" }), jsxRuntime.jsx("chip", { name: "J1", manufacturerPartNumber: "RYLR993-LITE-UART-MODULE", supplierPartNumbers: { jlcpcb: ["C50950"] }, footprint: singleRowFootprint(5), pinLabels: { pin1: "VDD", pin2: "NRST", pin3: "RXD", pin4: "TXD", pin5: "GND" }, pcbX: -25, pcbY: -30, pcbRotation: 90, schX: -12, schY: 0, schHeight: 0.6, schSectionName: "Radio" }), jsxRuntime.jsx("chip", { name: "J2", manufacturerPartNumber: "ILI9341-XPT2046-2.8IN-14PIN", supplierPartNumbers: { jlcpcb: ["C7509524"] }, footprint: singleRowFootprint(14), pinLabels: { pin1: "VCC", pin2: "GND", pin3: "TFT_CS", pin4: "TFT_RST", pin5: "TFT_DC", pin6: "SDI_MOSI", pin7: "SCK", pin8: "LED", pin9: "SDO_MISO", pin10: "T_CLK", pin11: "T_CS", pin12: "T_DIN", pin13: "T_DO", pin14: "T_IRQ" }, pcbX: 0, pcbY: 54, schX: 13, schY: 0, schSectionName: "Display" }), jsxRuntime.jsx("chip", { name: "J3", manufacturerPartNumber: "DS3231-RTC-MODULE", supplierPartNumbers: { jlcpcb: ["C40877"] }, footprint: singleRowFootprint(6), pinLabels: { pin1: "SQW", pin2: "SCL", pin3: "SDA", pin4: "VCC", pin5: "GND", pin6: "32K" }, pcbX: 25, pcbY: -28, pcbRotation: 90, schX: -12, schY: -10, schSectionName: "Time" }), jsxRuntime.jsx("chip", { name: "J4", manufacturerPartNumber: "TP4056-PROTECTED-MODULE-6PIN", supplierPartNumbers: { jlcpcb: ["C40877"] }, footprint: singleRowFootprint(6), pinLabels: { pin1: "IN_PLUS", pin2: "IN_MINUS", pin3: "BAT_PLUS", pin4: "BAT_MINUS", pin5: "OUT_PLUS", pin6: "OUT_MINUS" }, pcbX: -24, pcbY: -49, schX: 0, schY: -12, schSectionName: "Power" }), jsxRuntime.jsx("chip", { name: "J5", manufacturerPartNumber: "XL6009-BOOST-MODULE-4PIN", supplierPartNumbers: { jlcpcb: ["C2718488"] }, footprint: singleRowFootprint(4), pinLabels: { pin1: "IN_PLUS", pin2: "IN_MINUS", pin3: "OUT_PLUS", pin4: "OUT_MINUS" }, pcbX: -6, pcbY: -49, schX: 6, schY: -12, schSectionName: "Power" }), jsxRuntime.jsx(B2B_PH_K_S_LF__SN_, { name: "BT1", pcbX: 26, pcbY: -53, schX: -6, schY: -12, schSectionName: "Power" }), jsxRuntime.jsx(B_2100S02P_A110, { name: "SW1", pcbX: 7, pcbY: -51, schX: 3, schY: -15, schSectionName: "Power" }), jsxRuntime.jsx(RVT1A471M0607, { name: "C1", pcbX: 20, pcbY: -42, schX: 10, schY: -6, schRotation: -90, schSectionName: "Power" }), jsxRuntime.jsx(CC0805KRX7R9BB104, { name: "C2", pcbX: 29, pcbY: -42, schX: 15.5, schY: -12, schRotation: -90, schSectionName: "Power" }), jsxRuntime.jsx("hole", { name: "H1", diameter: "3.2mm", pcbX: -31, pcbY: 56 }), jsxRuntime.jsx("hole", { name: "H2", diameter: "3.2mm", pcbX: 31, pcbY: 56 }), jsxRuntime.jsx("hole", { name: "H3", diameter: "3.2mm", pcbX: -31, pcbY: -56 }), jsxRuntime.jsx("hole", { name: "H4", diameter: "3.2mm", pcbX: 31, pcbY: -56 }), jsxRuntime.jsx("silkscreenrect", { pcbX: 0, pcbY: 32, width: "56mm", height: "40mm" }), jsxRuntime.jsx("silkscreentext", { text: "2.8in TOUCH DISPLAY", pcbX: 0, pcbY: 12, fontSize: "1.2mm" }), jsxRuntime.jsx("silkscreentext", { text: "LoRa Chatting Device", pcbX: 0, pcbY: 58, fontSize: "1.6mm" }), jsxRuntime.jsx("silkscreentext", { text: "IN865 / RYLR993", pcbX: -20, pcbY: -15, fontSize: "1.2mm" }), jsxRuntime.jsx("trace", { from: "U1.3V3", to: "net.V3_3", width: "0.15mm" }), jsxRuntime.jsx("trace", { from: "U1.EN", to: "net.V3_3", width: "0.15mm" }), jsxRuntime.jsx("trace", { from: "U1.GND1", to: "net.GND", width: "0.15mm" }), jsxRuntime.jsx("trace", { from: "U1.GND2", to: "net.GND", width: "0.15mm" }), jsxRuntime.jsx("trace", { from: "U1.GND3", to: "net.GND", width: "0.15mm" }), jsxRuntime.jsx("trace", { from: "U1.GND4", to: "net.GND", width: "0.15mm" }), jsxRuntime.jsx("trace", { from: "J1.VDD", to: "net.V3_3", width: "0.15mm" }), jsxRuntime.jsx("trace", { from: "J1.GND", to: "net.GND", width: "0.15mm" }), jsxRuntime.jsx("trace", { from: "J1.RXD", to: "U1.IO13", width: "0.15mm" }), jsxRuntime.jsx("trace", { from: "J1.TXD", to: "U1.IO14", width: "0.15mm" }), jsxRuntime.jsx("trace", { from: "J1.NRST", to: "net.V3_3", width: "0.15mm" }), jsxRuntime.jsx("trace", { from: "J3.VCC", to: "net.V3_3", width: "0.15mm" }), jsxRuntime.jsx("trace", { from: "J3.GND", to: "net.GND", width: "0.15mm" }), jsxRuntime.jsx("trace", { from: "J3.SDA", to: "U1.IO25", width: "0.15mm" }), jsxRuntime.jsx("trace", { from: "J3.SCL", to: "U1.IO26", width: "0.15mm" }), jsxRuntime.jsx("trace", { from: "J2.VCC", to: "net.V3_3", width: "0.15mm" }), jsxRuntime.jsx("trace", { from: "J2.LED", to: "net.V3_3", width: "0.15mm" }), jsxRuntime.jsx("trace", { from: "J2.GND", to: "net.GND", width: "0.15mm" }), jsxRuntime.jsx("trace", { from: "J2.TFT_CS", to: "U1.IO15", width: "0.15mm" }), jsxRuntime.jsx("trace", { from: "J2.TFT_RST", to: "U1.IO4", width: "0.15mm" }), jsxRuntime.jsx("trace", { from: "J2.TFT_DC", to: "U1.IO2", width: "0.15mm" }), jsxRuntime.jsx("trace", { from: "J2.SDI_MOSI", to: "U1.IO23", width: "0.15mm" }), jsxRuntime.jsx("trace", { from: "J2.SCK", to: "U1.IO18", width: "0.15mm" }), jsxRuntime.jsx("trace", { from: "J2.SDO_MISO", to: "U1.IO19", width: "0.15mm" }), jsxRuntime.jsx("trace", { from: "J2.T_CLK", to: "U1.IO18", width: "0.15mm" }), jsxRuntime.jsx("trace", { from: "J2.T_CS", to: "U1.IO21", width: "0.15mm" }), jsxRuntime.jsx("trace", { from: "J2.T_DIN", to: "U1.IO23", width: "0.15mm" }), jsxRuntime.jsx("trace", { from: "J2.T_DO", to: "U1.IO19", width: "0.15mm" }), jsxRuntime.jsx("trace", { from: "J2.T_IRQ", to: "U1.IO22", width: "0.15mm" }), jsxRuntime.jsx("trace", { from: "BT1.pin1", to: "J4.BAT_PLUS", width: "0.15mm" }), jsxRuntime.jsx("trace", { from: "BT1.pin2", to: "J4.BAT_MINUS", width: "0.15mm" }), jsxRuntime.jsx("trace", { from: "J4.OUT_PLUS", to: "SW1.pin1", width: "0.15mm" }), jsxRuntime.jsx("trace", { from: "J4.OUT_MINUS", to: "net.GND", width: "0.15mm" }), jsxRuntime.jsx("trace", { from: "SW1.pin2", to: "J5.IN_PLUS", width: "0.15mm" }), jsxRuntime.jsx("trace", { from: "J5.IN_MINUS", to: "net.GND", width: "0.15mm" }), jsxRuntime.jsx("trace", { from: "J5.OUT_PLUS", to: "net.V5", width: "0.15mm" }), jsxRuntime.jsx("trace", { from: "J5.OUT_MINUS", to: "net.GND", width: "0.15mm" }), jsxRuntime.jsx("trace", { from: "C1.pin1", to: "net.V5", width: "0.15mm" }), jsxRuntime.jsx("trace", { from: "C1.pin2", to: "net.GND", width: "0.15mm" }), jsxRuntime.jsx("trace", { from: "C2.pin1", to: "net.V3_3", width: "0.15mm" }), jsxRuntime.jsx("trace", { from: "C2.pin2", to: "net.GND", width: "0.15mm" }), jsxRuntime.jsx("trace", { from: "U2.VIN", to: "net.V5", width: "0.15mm" }), jsxRuntime.jsx("trace", { from: "U2.VOUT1", to: "net.V3_3", width: "0.15mm" }), jsxRuntime.jsx("trace", { from: "U2.VOUT2", to: "net.V3_3", width: "0.15mm" }), jsxRuntime.jsx("trace", { from: "U2.GND", to: "net.GND", width: "0.15mm" })] });
}
module.exports = LoRaChattingDevice;