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/A_2_54_1_5P_.tsx
import type { ChipProps } from "@tscircuit/props"
const pinLabels = {
pin1: ["pin1"],
pin2: ["pin2"],
pin3: ["pin3"],
pin4: ["pin4"],
pin5: ["pin5"]
} as const
export const A_2_54_1_5P_ = (props: ChipProps<typeof pinLabels>) => {
return (
<chip
pinLabels={pinLabels}
supplierPartNumbers={{
"jlcpcb": [
"C50950"
]
}}
manufacturerPartNumber="A_2_54_1_5P_"
footprint={<footprint>
<platedhole portHints={["pin5"]} pcbX="5.08mm" pcbY="0mm" outerDiameter="1.5748mm" holeDiameter="1.0200132mm" shape="circle" />
<platedhole portHints={["pin4"]} pcbX="2.54mm" pcbY="0mm" outerDiameter="1.5748mm" holeDiameter="1.0200132mm" shape="circle" />
<platedhole portHints={["pin3"]} pcbX="0mm" pcbY="0mm" outerDiameter="1.5748mm" holeDiameter="1.0200132mm" shape="circle" />
<platedhole portHints={["pin2"]} pcbX="-2.54mm" pcbY="0mm" outerDiameter="1.5748mm" holeDiameter="1.0200132mm" shape="circle" />
<platedhole portHints={["pin1"]} pcbX="-5.08mm" pcbY="0mm" outerDiameter="1.5748mm" holeDiameter="1.0200132mm" shape="circle" />
<silkscreenpath route={[{"x":6.599986800000067,"y":1.269999999999989},{"x":-6.600012199999981,"y":1.269999999999989},{"x":-6.600012199999981,"y":-1.2700000000000031},{"x":6.600012200000037,"y":-1.2700000000000031},{"x":6.600012200000037,"y":1.269999999999989}]} />
<silkscreenpath route={[{"x":-3.7615621999999576,"y":1.269999999999989},{"x":-3.7615621999999576,"y":-1.2700000000000031}]} />
<silkscreentext text="{NAME}" pcbX="-0.0127mm" pcbY="2.27mm" anchorAlignment="center" fontSize="1mm" />
<courtyardoutline outline={[{"x":-6.879399999999919,"y":1.519999999999989},{"x":6.854000000000042,"y":1.519999999999989},{"x":6.854000000000042,"y":-1.5200000000000031},{"x":-6.879399999999919,"y":-1.5200000000000031},{"x":-6.879399999999919,"y":1.519999999999989}]} />
</footprint>}
cadModel={{
objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C50950.obj?uuid=7b135d4c7d084b658994bacec4f3b635",
stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C50950.step?uuid=7b135d4c7d084b658994bacec4f3b635",
pcbRotationOffset: 0,
modelOriginPosition: { x: 0, y: 0.00048730000000074547, z: -0.0007456000000001239 },
}}
{...props}
/>
)
}