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
imports/CL21A106KAYNNNE.tsx
import type { ChipProps } from "@tscircuit/props"
const pinLabels = {
pin1: ["pin1"],
pin2: ["pin2"]
} as const
export const CL21A106KAYNNNE = (props: ChipProps<typeof pinLabels>) => {
return (
<chip
pinLabels={pinLabels}
symbol={
<symbol>
<schematicpath points={[{"x":-0.508,"y":0},{"x":-2.54,"y":0}]} strokeWidth={0.254} strokeColor="#A00000" />
<port name="pin2" pinNumber={2} aliases={["2"]} direction="right" schX={5.08} schY={0} schStemLength={2.54} />
<schematicpath points={[{"x":0.508,"y":2.032},{"x":0.508,"y":-2.032}]} strokeWidth={0.254} strokeColor="#A00000" />
<schematicpath points={[{"x":2.54,"y":0},{"x":0.508,"y":0}]} strokeWidth={0.254} strokeColor="#A00000" />
<port name="pin1" pinNumber={1} aliases={["1"]} direction="left" schX={-5.08} schY={0} schStemLength={2.54} />
<schematicpath points={[{"x":-0.508,"y":-2.032},{"x":-0.508,"y":2.032}]} strokeWidth={0.254} strokeColor="#A00000" />
</symbol>
}
supplierPartNumbers={{
"jlcpcb": [
"C15850"
]
}}
manufacturerPartNumber="CL21A106KAYNNNE"
footprint={<footprint>
<smtpad portHints={["pin2"]} pcbX="0.999998mm" pcbY="0mm" width="1.4100048mm" height="1.35001mm" shape="rect" />
<smtpad portHints={["pin1"]} pcbX="-0.999998mm" pcbY="0mm" width="1.4100048mm" height="1.35001mm" shape="rect" />
<silkscreenpath route={[{"x":1.8111977999999453,"y":0.9036049999999705},{"x":0.4011929999999211,"y":0.9036049999999705}]} />
<silkscreenpath route={[{"x":0.4011929999999211,"y":-0.9036049999999705},{"x":1.8111977999999453,"y":-0.9036049999999705}]} />
<silkscreenpath route={[{"x":1.9635978000000023,"y":-0.7512050000000272},{"x":1.9635978000000023,"y":0.7512050000000272}]} />
<silkscreenpath route={[{"x":-1.811197800000059,"y":0.9036049999999705},{"x":-0.40119300000003477,"y":0.9036049999999705}]} />
<silkscreenpath route={[{"x":-0.40119300000003477,"y":-0.9036049999999705},{"x":-1.811197800000059,"y":-0.9036049999999705}]} />
<silkscreenpath route={[{"x":-1.9635978000000023,"y":-0.7512050000000272},{"x":-1.9635978000000023,"y":0.7512050000000272}]} />
<silkscreenpath route={[{"x":1.8111977999999453,"y":-0.9036049999997431},{"x":1.918960873452761,"y":-0.8589680734526155},{"x":1.9635977999998886,"y":-0.7512050000000272}]} />
<silkscreenpath route={[{"x":1.9635977999998886,"y":0.7512050000000272},{"x":1.918960873452761,"y":0.8589680734527292},{"x":1.8111977999999453,"y":0.9036049999998568}]} />
<silkscreenpath route={[{"x":-1.811197800000059,"y":-0.9036049999997431},{"x":-1.9189608734528747,"y":-0.8589680734526155},{"x":-1.9635978000000023,"y":-0.7512050000000272}]} />
<silkscreenpath route={[{"x":-1.9635978000000023,"y":0.7512050000000272},{"x":-1.9189608734528747,"y":0.8589680734527292},{"x":-1.811197800000059,"y":0.9036049999998568}]} />
<silkscreentext text="{NAME}" pcbX="0.0127mm" pcbY="1.9144mm" anchorAlignment="center" fontSize="1mm" />
<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}]} />
</footprint>}
cadModel={{
objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C15850.obj?uuid=b87ab0c5465a48b3a1c9a6dac8d30bc5",
stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C15850.step?uuid=b87ab0c5465a48b3a1c9a6dac8d30bc5",
pcbRotationOffset: 0,
modelOriginPosition: { x: 0, y: -0.000012700000070253736, z: -0.65 },
}}
{...props}
/>
)
}