imrishabh18/fitness_watch
This code defines a React component representing an AO3400A SOT-23P surface-mount N-channel MOSFET with three pins labeled Gate (G), Source (S), and Drain (D), including electrical and physical pin configurations, schematic symbol, and associated 3D model.
- Version
- 1.0.7
- License
- unset
- Stars
- 0
imports/AP2112K_3_3TRG1/AP2112K_3_3TRG1.tsx
import objPath from "./AP2112K_3_3TRG1.obj"
import type { ChipProps } from "@tscircuit/props"
const pinLabels = {
pin1: ["VIN"],
pin2: ["GND"],
pin3: ["EN"],
pin4: ["NC"],
pin5: ["VOUT"]
} as const
const pinAttributes = {
pin1: { requiresPower: true },
pin2: { requiresGround: true },
pin4: { doNotConnect: true },
} as const
export const AP2112K_3_3TRG1 = (props: ChipProps<typeof pinLabels>) => {
return (
<chip
pinLabels={pinLabels}
pinAttributes={pinAttributes}
supplierPartNumbers={{
"jlcpcb": [
"C51118"
]
}}
manufacturerPartNumber="AP2112K_3_3TRG1"
footprint={<footprint>
<smtpad portHints={["pin4"]} pcbX="0.949706mm" pcbY="1.299972mm" width="0.6223mm" height="1.1049mm" shape="rect" />
<smtpad portHints={["pin5"]} pcbX="-0.949706mm" pcbY="1.299972mm" width="0.6223mm" height="1.1049mm" shape="rect" />
<smtpad portHints={["pin1"]} pcbX="-0.949706mm" pcbY="-1.299972mm" width="0.6223mm" height="1.1049mm" shape="rect" />
<smtpad portHints={["pin2"]} pcbX="-0.000508mm" pcbY="-1.299972mm" width="0.6223mm" height="1.1049mm" shape="rect" />
<smtpad portHints={["pin3"]} pcbX="0.949706mm" pcbY="-1.299972mm" width="0.6223mm" height="1.1049mm" shape="rect" />
<silkscreenpath route={[{"x":1.41193520000013,"y":-0.5003799999999501},{"x":-1.3871447999999873,"y":-0.5003799999999501}]} />
<silkscreenpath route={[{"x":-1.3871447999999873,"y":-0.5003799999999501},{"x":-1.3871447999999873,"y":0.5003799999999501},{"x":1.41193520000013,"y":0.5003799999999501},{"x":1.41193520000013,"y":-0.5003799999999501}]} />
<silkscreenpath route={[{"x":-1.779549399999837,"y":-1.5214599999999336},{"x":-1.9027377800492786,"y":-1.6465485285044679},{"x":-1.7782793999998603,"y":-1.7703735202394455},{"x":-1.6538210199506693,"y":-1.6465485285045816},{"x":-1.7770093999999972,"y":-1.5214599999999336}]} />
<silkscreentext text="{NAME}" pcbX="-0.228854mm" pcbY="2.8542mm" anchorAlignment="center" fontSize="1mm" />
<courtyardoutline outline={[{"x":-2.1552539999999,"y":2.1042000000001053},{"x":1.6975460000001021,"y":2.1042000000001053},{"x":1.6975460000001021,"y":-2.104199999999878},{"x":-2.1552539999999,"y":-2.104199999999878},{"x":-2.1552539999999,"y":2.1042000000001053}]} />
</footprint>}
cadModel={{
objUrl: objPath,
pcbRotationOffset: 0,
modelOriginPosition: { x: -0.000012700000070253736, y: 0, z: -0.15 },
}}
{...props}
/>
)
}