astra/pd-power-supply
USB-PD Power Supply with RP2040 controller
- Version
- 1.1.6
- License
- unset
- Stars
- 0
imports/RK09K1110AAR/RK09K1110AAR.tsx
import objPath from "./RK09K1110AAR.obj"
import stepPath from "./RK09K1110AAR.step"
import type { ChipProps } from "@tscircuit/props"
const pinLabels = {
pin1: ["pin1"],
pin2: ["pin2"],
pin3: ["pin3"],
pin4: ["EH1"],
pin5: ["EH2"]
} as const
export const RK09K1110AAR = (props: ChipProps<typeof pinLabels>) => {
return (
<chip
pinLabels={pinLabels}
symbol={
<symbol>
<schematictext text={props.name ?? "RV"} schY={-0.9} fontSize={0.18}/>
<schematictext text="10k" schY={-1.15} fontSize={0.16}/>
<schematicpath points={[{"x":-0.6,"y":-0.2},{"x":0.6,"y":-0.2}]} strokeColor="#880000" />
<port name="pin5" pinNumber={5} aliases={["EH2","EH"]} direction="right" schX={0.8} schY={-0.2} schStemLength={0.2} />
<port name="pin4" pinNumber={4} aliases={["EH1","EH"]} direction="left" schX={-0.8} schY={-0.2} schStemLength={0.2} />
<schematicrect schX={0} schY={0} width={0.6} height={0.2} strokeWidth={0.02} color="#880000" />
<schematicpath points={[{"x":-0.3,"y":0},{"x":-0.6,"y":0}]} strokeColor="#880000" />
<schematicpath points={[{"x":0.3,"y":0},{"x":0.6,"y":0}]} strokeColor="#880000" />
<schematicpath points={[{"x":0,"y":0.2},{"x":0,"y":0.2},{"x":0,"y":0.1},{"x":0.02,"y":0.18}]} strokeColor="#880000" />
<schematicpath points={[{"x":0,"y":0.1},{"x":-0.02,"y":0.18}]} strokeColor="#880000" />
<port name="pin1" pinNumber={1} aliases={["1"]} direction="right" schX={0.8} schY={0} schStemLength={0.2} />
<port name="pin2" pinNumber={2} aliases={["2"]} direction="up" schX={0} schY={0.4} schStemLength={0.2} />
<port name="pin3" pinNumber={3} aliases={["3"]} direction="left" schX={-0.8} schY={0} schStemLength={0.2} />
</symbol>
}
supplierPartNumbers={{
"jlcpcb": [
"C3020619"
]
}}
manufacturerPartNumber="RK09K1110AAR"
footprint={<footprint insertionDirection="from_above" cutoutApertureDirection="from_bottom">
<platedhole portHints={["pin5"]} pcbX="-5.050028mm" pcbY="2.04998315mm" holeWidth="1.7999964mm" holeHeight="2.0999958mm" outerWidth="2.999994mm" outerHeight="3.2999934mm" shape="pill" />
<platedhole portHints={["pin4"]} pcbX="5.050028mm" pcbY="2.04998315mm" holeWidth="1.7999964mm" holeHeight="2.0999958mm" outerWidth="2.999994mm" outerHeight="3.2999934mm" shape="pill" />
<platedhole portHints={["pin3"]} pcbX="2.500122mm" pcbY="-1.24998485mm" outerDiameter="1.6999966mm" holeDiameter="1.1000232mm" shape="circle" />
<platedhole portHints={["pin2"]} pcbX="0mm" pcbY="-1.24998485mm" outerDiameter="1.6999966mm" holeDiameter="1.1000232mm" shape="circle" />
<platedhole portHints={["pin1"]} pcbX="-2.499868mm" pcbY="-1.24998485mm" outerDiameter="1.6999966mm" holeDiameter="1.1000232mm" shape="circle" />
<silkscreenpath route={[{"x":-2.244242399999848,"y":-10.700004050000075},{"x":-2.2200107999999545,"y":-22.909961849999945}]} />
<silkscreenpath route={[{"x":2.255773999999974,"y":-10.700004050000075},{"x":2.2800055999999813,"y":-22.909961849999945}]} />
<silkscreenpath route={[{"x":-2.2200107999999545,"y":-22.909961849999945},{"x":2.2800055999999813,"y":-22.909961849999945}]} />
<silkscreenpath route={[{"x":-2.6910537999999633,"y":-9.750069449999955},{"x":-2.6910537999999633,"y":-10.700004050000075},{"x":2.699994599999968,"y":-10.700004050000075},{"x":2.699994599999968,"y":-9.750069449999955}]} />
<silkscreenpath route={[{"x":4.8999902000000475,"y":3.9246047499999577},{"x":4.8999902000000475,"y":4.399991150000005}]} />
<silkscreenpath route={[{"x":-4.8999902000000475,"y":4.450003749999951},{"x":4.8999902000000475,"y":4.450003749999951}]} />
<silkscreenpath route={[{"x":-4.8999902000000475,"y":3.9246047499999577},{"x":-4.8999902000000475,"y":4.450003749999951}]} />
<silkscreenpath route={[{"x":-2.999994000000015,"y":-9.750069449999955},{"x":2.999994000000015,"y":-9.750069449999955}]} />
<silkscreenpath route={[{"x":-2.999994000000015,"y":-4.75002864999999},{"x":-2.999994000000015,"y":-9.750069449999955}]} />
<silkscreenpath route={[{"x":2.999994000000015,"y":-4.75002864999999},{"x":2.999994000000015,"y":-9.750044050000042}]} />
<silkscreenpath route={[{"x":4.8999902000000475,"y":-4.75002864999999},{"x":4.8999902000000475,"y":0.17536154999993414}]} />
<silkscreenpath route={[{"x":-4.8999902000000475,"y":-4.75002864999999},{"x":-4.8999902000000475,"y":0.17536154999993414}]} />
<silkscreenpath route={[{"x":4.8999902000000475,"y":-4.75002864999999},{"x":-4.8999902000000475,"y":-4.75002864999999}]} />
<silkscreentext text="{NAME}" pcbX="-0.01651mm" pcbY="5.51378315mm" anchorAlignment="center" fontSize="1mm" />
<fabricationnotepath route={[{"x":2.0500086000000692,"y":-10.879988450000042},{"x":2.0500086000000692,"y":-22.709962250000103},{"x":-2.019985799999972,"y":-22.709962250000103},{"x":-2.019985799999972,"y":-10.859973249999939},{"x":-2.2241002000000663,"y":-10.859973249999939},{"x":-2.243886800000041,"y":-10.879759850000028},{"x":-2.243886800000041,"y":-22.886085849999972},{"x":-2.2200108000000682,"y":-22.909961849999945},{"x":2.280005600000095,"y":-22.909961849999945},{"x":2.280005600000095,"y":-10.904067650000002},{"x":2.2561296000000084,"y":-10.880191649999915},{"x":2.0500086000000692,"y":-10.879988450000042}]} strokeWidth="0.254mm" />
<courtyardoutline outline={[{"x":-5.587809999999877,"y":4.763783149999881},{"x":5.554790000000025,"y":4.763783149999881},{"x":5.554790000000025,"y":-23.244416850000107},{"x":-5.587809999999877,"y":-23.244416850000107},{"x":-5.587809999999877,"y":4.763783149999881}]} />
</footprint>}
cadModel={{
objUrl: objPath,
stepUrl: stepPath,
pcbRotationOffset: 0,
modelOriginPosition: { x: 0, y: 4.276994650000097, z: -6.000008 },
}}
{...props}
/>
)
}