abse/boostxl-uln2003
This code defines a React component that models a through-hole or surface-mount LED with specified pin labels, footprint, silkscreen, and 3D CAD model for PCB layout.
- Version
- 1.0.5
- License
- unset
- Stars
- 0
imports/CSD17571Q2/CSD17571Q2.tsx
import objPath from "./CSD17571Q2.obj"
import type { MosfetProps } from "@tscircuit/props"
export const CSD17571Q2 = (props: Omit<MosfetProps, "channelType" | "mosfetMode">) => {
const { name = "Q1", ...restProps } = props
return (
<mosfet
name={name}
channelType="n"
mosfetMode="enhancement"
supplierPartNumbers={{
"jlcpcb": [
"C962382"
]
}}
manufacturerPartNumber="CSD17571Q2"
footprint={<footprint>
<smtpad portHints={["pin1", "drain"]} pcbX="-0.325374mm" pcbY="-0mm" width="1.0500106mm" height="1.0999978mm" shape="rect" />
<smtpad portHints={["pin2", "source"]} pcbX="0.650494mm" pcbY="0.050038mm" width="0.3999992mm" height="0.850011mm" shape="rect" />
<smtpad portHints={["pin2", "source"]} pcbX="0.650494mm" pcbY="0.959866mm" width="0.3999992mm" height="0.4445mm" shape="rect" />
<smtpad portHints={["pin1", "drain"]} pcbX="-0.000508mm" pcbY="0.959866mm" width="0.3999992mm" height="0.4445mm" shape="rect" />
<smtpad portHints={["pin1", "drain"]} pcbX="-0.650494mm" pcbY="0.959866mm" width="0.3999992mm" height="0.4445mm" shape="rect" />
<smtpad portHints={["pin3", "gate"]} pcbX="0.650494mm" pcbY="-0.959866mm" width="0.3999992mm" height="0.4445mm" shape="rect" />
<smtpad portHints={["pin1", "drain"]} pcbX="-0.650494mm" pcbY="-0.959866mm" width="0.3999992mm" height="0.4445mm" shape="rect" />
<smtpad portHints={["pin1", "drain"]} pcbX="0mm" pcbY="-0.959866mm" width="0.3999992mm" height="0.4445mm" shape="rect" />
<silkscreenpath route={[{"x":1.0304526000000038,"y":-1.0399776000000145},{"x":1.0304526000000038,"y":1.0199877999999813}]} />
<silkscreenpath route={[{"x":-1.0305034000000006,"y":1.0400029999999845},{"x":-1.0305034000000006,"y":-1.0199877999999956}]} />
<silkscreenpath route={[{"x":-1.0364977999999923,"y":-1.4999970000000218},{"x":-1.1596861800493343,"y":-1.3749084714953597},{"x":-1.035227799999987,"y":-1.2510834797605241},{"x":-0.9107694199506682,"y":-1.3749084714953597},{"x":-1.033957799999996,"y":-1.4999970000000218}]} />
<silkscreentext text="{NAME}" pcbX="-0.0762mm" pcbY="2.1938mm" anchorAlignment="center" fontSize="1mm" />
<courtyardoutline outline={[{"x":-1.4184000000000054,"y":1.443799999999996},{"x":1.2659999999999911,"y":1.443799999999996},{"x":1.2659999999999911,"y":-1.9772000000000105},{"x":-1.4184000000000054,"y":-1.9772000000000105},{"x":-1.4184000000000054,"y":1.443799999999996}]} />
</footprint>}
cadModel={{
objUrl: objPath,
pcbRotationOffset: 0,
modelOriginPosition: { x: 0, y: 0, z: -0.02 },
}}
{...restProps}
/>
)
}