astra/pd-power-supply
USB-PD Power Supply with RP2040 controller
- Version
- 1.1.6
- License
- unset
- Stars
- 0
imports/TS665CJ/TS665CJ.tsx
import objPath from "./TS665CJ.obj"
import stepPath from "./TS665CJ.step"
import type { PushButtonProps } from "@tscircuit/props"
const pinLabels = {
pin1: ["A"],
pin2: ["B"],
pin3: ["C"],
pin4: ["D"]
} as const
export const TS665CJ = (props: PushButtonProps<typeof pinLabels>) => {
const { name = "SW1", ...restProps } = props
return (
<pushbutton
name={name}
pinLabels={pinLabels}
internallyConnectedPins={[["pin1","pin2"],["pin3","pin4"]]}
supplierPartNumbers={{
"jlcpcb": [
"C393938"
]
}}
manufacturerPartNumber="TS665CJ"
footprint={<footprint>
<platedhole portHints={["pin1"]} pcbX="-3.24993mm" pcbY="2.249932mm" outerDiameter="1.7999964mm" holeDiameter="1.1999976mm" shape="circle" />
<platedhole portHints={["pin2"]} pcbX="3.24993mm" pcbY="2.249932mm" outerDiameter="1.7999964mm" holeDiameter="1.1999976mm" shape="circle" />
<platedhole portHints={["pin3"]} pcbX="-3.24993mm" pcbY="-2.249932mm" outerDiameter="1.7999964mm" holeDiameter="1.1999976mm" shape="circle" />
<platedhole portHints={["pin4"]} pcbX="3.24993mm" pcbY="-2.249932mm" outerDiameter="1.7999964mm" holeDiameter="1.1999976mm" shape="circle" />
<silkscreenpath route={[{"x":-2.4041100000001734,"y":2.999994000000015},{"x":2.4041100000000597,"y":2.999994000000015}]} />
<silkscreenpath route={[{"x":-2.999994000000129,"y":-1.1468099999999595},{"x":-2.999994000000129,"y":1.1468099999999595}]} />
<silkscreenpath route={[{"x":2.4041100000000597,"y":-2.999994000000015},{"x":-2.4041100000001734,"y":-2.999994000000015}]} />
<silkscreenpath route={[{"x":2.999994000000015,"y":1.1468099999999595},{"x":2.999994000000015,"y":-1.1468099999999595}]} />
<silkscreencircle pcbX="0mm" pcbY="0mm" radius="1.5999968mm" />
<silkscreencircle pcbX="1.6999966mm" pcbY="1.6999966mm" radius="0.2999994mm" />
<silkscreencircle pcbX="-1.6999966mm" pcbY="1.6999966mm" radius="0.2999994mm" />
<silkscreencircle pcbX="-1.6999966mm" pcbY="-1.6999966mm" radius="0.2999994mm" />
<silkscreencircle pcbX="1.6999966mm" pcbY="-1.6999966mm" radius="0.2999994mm" />
<silkscreentext text="{NAME}" pcbX="0.0127mm" pcbY="4.2004mm" anchorAlignment="center" fontSize="1mm" />
<courtyardoutline outline={[{"x":-4.441000000000031,"y":3.4504000000000588},{"x":4.466399999999908,"y":3.4504000000000588},{"x":4.466399999999908,"y":-3.450399999999945},{"x":-4.441000000000031,"y":-3.450399999999945},{"x":-4.441000000000031,"y":3.4504000000000588}]} />
</footprint>}
cadModel={{
objUrl: objPath,
stepUrl: stepPath,
pcbRotationOffset: 90,
modelOriginPosition: { x: 0, y: 0, z: -0.000006999999999646178 },
}}
{...restProps}
/>
)
}