mohan-bee/v7
This code defines a surface-mount power regulator (LM5164DDAR) with specified pin labels and footprint information for use in a PCB design, incorporating 3D model references and silkscreen outlines.
- Version
- 0.0.1
- License
- unset
- Stars
- 0
dist/index.js
import { jsx, jsxs } from 'react/jsx-runtime';
const pinLabels = {
pin1: ["GND"],
pin2: ["VIN"],
pin3: ["pin3"],
pin4: ["RON"],
pin5: ["FB"],
pin6: ["PGOOD"],
pin7: ["BST"],
pin8: ["SW"],
pin9: ["EP"]
};
const LM5164DDAR = (props) => {
return (jsx("chip", { pinLabels: pinLabels, supplierPartNumbers: {
"jlcpcb": [
"C477928"
]
}, manufacturerPartNumber: "LM5164DDAR", footprint: jsxs("footprint", { children: [jsx("smtpad", { portHints: ["pin8"], pcbX: "-1.905mm", pcbY: "2.999994mm", width: "0.5999988mm", height: "1.5999968mm", radius: "0.2999994mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin1"], pcbX: "-1.905mm", pcbY: "-2.999994mm", width: "0.5999988mm", height: "1.5999968mm", radius: "0.2999994mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin7"], pcbX: "-0.635mm", pcbY: "2.999994mm", width: "0.5999988mm", height: "1.5999968mm", radius: "0.2999994mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin6"], pcbX: "0.635mm", pcbY: "2.999994mm", width: "0.5999988mm", height: "1.5999968mm", radius: "0.2999994mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin5"], pcbX: "1.905mm", pcbY: "2.999994mm", width: "0.5999988mm", height: "1.5999968mm", radius: "0.2999994mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin2"], pcbX: "-0.635mm", pcbY: "-2.999994mm", width: "0.5999988mm", height: "1.5999968mm", radius: "0.2999994mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin3"], pcbX: "0.635mm", pcbY: "-2.999994mm", width: "0.5999988mm", height: "1.5999968mm", radius: "0.2999994mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin4"], pcbX: "1.905mm", pcbY: "-2.999994mm", width: "0.5999988mm", height: "1.5999968mm", radius: "0.2999994mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin9"], pcbX: "0mm", pcbY: "0mm", width: "3.1999936mm", height: "2.499995mm", shape: "rect" }), jsx("silkscreenpath", { route: [{ "x": -2.499918800000003, "y": 1.9999197999999865 }, { "x": -2.499918800000003, "y": 0.4499101999999908 }] }), jsx("silkscreenpath", { route: [{ "x": 2.5000711999999936, "y": 1.9999197999999865 }, { "x": 2.5000711999999936, "y": -2.0000722000000053 }] }), jsx("silkscreenpath", { route: [{ "x": -2.499918800000003, "y": 1.9999197999999865 }, { "x": 2.5000711999999936, "y": 1.9999197999999865 }] }), jsx("silkscreenpath", { route: [{ "x": -2.499918800000003, "y": -2.0000722000000053 }, { "x": 2.5000711999999936, "y": -2.0000722000000053 }] }), jsx("silkscreenpath", { route: [{ "x": -2.499918800000003, "y": -2.0000722000000053 }, { "x": -2.499918800000003, "y": -0.3750818000000038 }] }), jsx("silkscreenpath", { route: [{ "x": -2.499918800000003, "y": 0.4499101999999908 }, { "x": -2.4992838000000006, "y": -0.375996200000003 }] }), jsx("silkscreenpath", { route: [{ "x": -1.9476720000000114, "y": -1.479549999999989 }, { "x": -1.9536351848444724, "y": -1.5248448858072123 }, { "x": -1.971118358185322, "y": -1.5670530000000014 }, { "x": -1.9989300706516815, "y": -1.6032979293483294 }, { "x": -2.0351750000000237, "y": -1.6311096418146889 }, { "x": -2.0773831141928127, "y": -1.6485928151555385 }, { "x": -2.122678000000022, "y": -1.6545559999999995 }, { "x": -2.1679728858072167, "y": -1.6485928151555385 }, { "x": -2.2101810000000057, "y": -1.6311096418146889 }, { "x": -2.2464259293483337, "y": -1.6032979293483294 }, { "x": -2.2742376418147074, "y": -1.5670530000000014 }, { "x": -2.291720815155557, "y": -1.5248448858072123 }, { "x": -2.297684000000018, "y": -1.479549999999989 }, { "x": -2.291720815155557, "y": -1.4342551141927942 }, { "x": -2.2742376418147074, "y": -1.3920470000000051 }, { "x": -2.2464259293483337, "y": -1.355802070651663 }, { "x": -2.2101810000000057, "y": -1.3279903581853034 }, { "x": -2.1679728858072167, "y": -1.310507184844468 }, { "x": -2.122678000000022, "y": -1.3045439999999928 }, { "x": -2.0773831141928127, "y": -1.310507184844468 }, { "x": -2.0351750000000237, "y": -1.3279903581853034 }, { "x": -1.9989300706516815, "y": -1.355802070651663 }, { "x": -1.971118358185322, "y": -1.3920470000000051 }, { "x": -1.9536351848444724, "y": -1.4342551141927942 }, { "x": -1.9476720000000114, "y": -1.479549999999989 }] }), jsx("silkscreentext", { text: "{NAME}", pcbX: "-0.028194mm", pcbY: "4.502406mm", anchorAlignment: "center", fontSize: "1mm" }), jsx("courtyardoutline", { outline: [{ "x": -2.792794000000015, "y": 3.7524059999999935 }, { "x": 2.7364060000000023, "y": 3.7524059999999935 }, { "x": 2.7364060000000023, "y": -3.7579940000000107 }, { "x": -2.792794000000015, "y": -3.7579940000000107 }, { "x": -2.792794000000015, "y": 3.7524059999999935 }] })] }), cadModel: {
objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C477928.obj?uuid=3936dbd423424b148317d27cdee29b93",
stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C477928.step?uuid=3936dbd423424b148317d27cdee29b93",
pcbRotationOffset: 270,
modelOriginPosition: { x: -6349999999599731e-20, y: -8889999999439624e-20, z: -0.049425 },
}, ...props }));
};
function BuckTraceRepro() {
return (jsxs("board", { width: "30mm", height: "20mm", layers: 2, children: [jsx(LM5164DDAR, { name: "U_BUCK", pcbX: -4, pcbY: 0 }), jsx("inductor", { name: "L1", inductance: "47uH", footprint: "0805", pcbX: 6, pcbY: 0 }), jsx("trace", { from: "U_BUCK.SW", to: "L1.pin1" }), jsx("trace", { from: "U_BUCK.BST", to: "U_BUCK.SW" })] }));
}
export { BuckTraceRepro as default };