techmannih/regulator-SPX1117M3L50TR
Generated from JLCPCB part number C21946
Usage: To import and use the SPX1117M3L50TR regulator component in a tscircuit project: ```tsx import { SPX1117M3L50TR } from "@tsci/techmannih.regulator-SPX1117M3L50TR" export default () => ( <board> <SPX1117M3L50TR name="U1" /> </board> ) ``` The component has these pins: - pin1: GND - pin2: output1 - pin3: input - pin4: output2 You can connect these pins using the `sel` utility: ```tsx <trace from={sel.U1.input} to="net.VIN" /> <trace from={sel.U1.output1} to="net.VOUT" /> ``` The component supports PCB layout with a specific footprint and includes a CAD model reference.
- Version
- 0.1.0
- License
- unset
- Stars
- 1
dist/index.cjs
PCB
Schematic
'use strict';
var core = require('@tscircuit/core');
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
const pinLabels = {
"pin1": ["pin1", "GND"],
"pin2": ["pin2", "output1"],
"pin3": ["pin3", "input"],
"pin4": ["pin4", "output2"]
};
const SPX1117M3L50TR = props => {
return /*#__PURE__*/React.createElement("chip", _extends({}, props, {
cadModel: {
objUrl: "https://modelcdn.tscircuit.com/easyeda_models/download?uuid=e80246a9471445bfb635be848806a22e&pn=C21946",
rotationOffset: {
x: 0,
y: 0,
z: 180
},
positionOffset: {
x: 0,
y: 0,
z: 0
}
},
pinLabels: pinLabels,
supplierPartNumbers: {
"jlcpcb": ["C21946"]
},
manufacturerPartNumber: "SPX1117M3_L_5_0_TR",
footprint: /*#__PURE__*/React.createElement("footprint", null, /*#__PURE__*/React.createElement("smtpad", {
portHints: ["pin1"],
pcbX: "2.834893999999963mm",
pcbY: "-2.2999699999999166mm",
width: "2.4699975999999997mm",
height: "0.9800081999999999mm",
shape: "rect"
}), /*#__PURE__*/React.createElement("smtpad", {
portHints: ["pin2"],
pcbX: "2.834893999999963mm",
pcbY: "0mm",
width: "2.4699975999999997mm",
height: "0.9800081999999999mm",
shape: "rect"
}), /*#__PURE__*/React.createElement("smtpad", {
portHints: ["pin3"],
pcbX: "2.834893999999963mm",
pcbY: "2.2999700000000303mm",
width: "2.4699975999999997mm",
height: "0.9800081999999999mm",
shape: "rect"
}), /*#__PURE__*/React.createElement("smtpad", {
portHints: ["pin4"],
pcbX: "-2.8348940000000766mm",
pcbY: "0mm",
width: "2.4699975999999997mm",
height: "3.5999928mm",
shape: "rect"
}), /*#__PURE__*/React.createElement("silkscreenpath", {
route: [{
"x": -1.3713967999999568,
"y": -3.3262061999998878
}, {
"x": -1.3713967999999568,
"y": 3.3262062000000014
}, {
"x": 1.3713967999999568,
"y": 3.3262062000000014
}, {
"x": 1.3713967999999568,
"y": -3.3262061999998878
}, {
"x": -1.3713967999999568,
"y": -3.3262061999998878
}]
}))
}));
};
const useSPX1117M3L50TR = core.createUseComponent(SPX1117M3L50TR, pinLabels);
exports.SPX1117M3L50TR = SPX1117M3L50TR;
exports.useSPX1117M3L50TR = useSPX1117M3L50TR;