MustafaMulla29/wireless-mouse-pcb
This code defines a 3.3V low dropout voltage regulator chip (AP2112K-3.3TRG1) with five pins (VIN, GND, Enable, NC, VOUT) and its associated PCB footprint and 3D models for hardware implementation.
- Version
- 1.0.6
- License
- unset
- Stars
- 0
imports/EVQPUC02K.tsx
import type { PushButtonProps } from "@tscircuit/props"
const pinLabels = {
pin1: ["pin1"],
pin2: ["pin2"],
pin3: ["pin3"],
pin4: ["pin4"]
} as const
export const EVQPUC02K = (props: PushButtonProps<typeof pinLabels>) => {
const { name = "SW1", ...restProps } = props
return (
<pushbutton
name={name}
pinLabels={pinLabels}
supplierPartNumbers={{
"jlcpcb": [
"C79174"
]
}}
manufacturerPartNumber="EVQPUC02K"
footprint={<footprint>
<hole pcbX="-1.400048mm" pcbY="0.0001397mm" diameter="0.9000236mm" />
<hole pcbX="1.400048mm" pcbY="0.0001397mm" diameter="0.9000236mm" />
<smtpad portHints={["pin1"]} pcbX="-0.849884mm" pcbY="2.5999821mm" width="0.999998mm" height="1.5500096mm" shape="rect" />
<smtpad portHints={["pin2"]} pcbX="0.850138mm" pcbY="2.5999313mm" width="0.999998mm" height="1.5500096mm" shape="rect" />
<smtpad portHints={["pin3"]} pcbX="-0.849884mm" pcbY="-2.5999821mm" width="0.999998mm" height="1.5500096mm" shape="rect" />
<smtpad portHints={["pin4"]} pcbX="0.850138mm" pcbY="-2.5999821mm" width="0.999998mm" height="1.5500096mm" shape="rect" />
<silkscreenpath route={[{"x":2.7500325999999404,"y":-1.2998830999999882},{"x":2.7500325999999404,"y":1.300137100000029}]} />
<silkscreenpath route={[{"x":2.7500325999999404,"y":1.300137100000029},{"x":2.286000000000058,"y":1.300137100000029}]} />
<silkscreenpath route={[{"x":2.7500325999999404,"y":-1.2998830999999882},{"x":2.286000000000058,"y":-1.2998830999999882}]} />
<silkscreenpath route={[{"x":2.286000000000058,"y":-1.2998830999999882},{"x":2.286000000000058,"y":1.300137100000029}]} />
<silkscreenpath route={[{"x":2.286000000000058,"y":-1.0910443000000214},{"x":1.7500091999999086,"y":-1.0910443000000214}]} />
<silkscreenpath route={[{"x":2.286000000000058,"y":0.9944226999999728},{"x":1.750034600000049,"y":0.9944226999999728}]} />
<silkscreenpath route={[{"x":2.286000000000058,"y":-0.429298099999869},{"x":1.7500091999999086,"y":-0.429298099999869}]} />
<silkscreenpath route={[{"x":2.286000000000058,"y":0.42627549999997427},{"x":1.750034600000049,"y":0.42627549999997427}]} />
<silkscreenpath route={[{"x":0.5080000000000382,"y":-1.0158602999999857},{"x":-0.7619999999999436,"y":-1.0158602999999857},{"x":-0.7619999999999436,"y":1.0161396999999397},{"x":0.5080000000000382,"y":1.0161396999999397}]} />
<silkscreenpath route={[{"x":0.5080000000000382,"y":-1.0158602999999857},{"x":0.5080000000000382,"y":-0.6348602999999002},{"x":-0.3809999999999718,"y":-0.6348602999999002},{"x":-0.3809999999999718,"y":0.6351396999999679},{"x":0.5080000000000382,"y":0.6351396999999679},{"x":0.5080000000000382,"y":1.0161396999999397}]} />
<silkscreenpath route={[{"x":0,"y":-0.38086029999988114},{"x":0,"y":0.3811397000000625}]} />
<silkscreenpath route={[{"x":0.3810000000000855,"y":-0.38086029999988114},{"x":0.3810000000000855,"y":0.3811397000000625}]} />
<silkscreenpath route={[{"x":-1.7500346000001628,"y":-2.3498683000000256},{"x":-1.5811499999999796,"y":-2.3498683000000256}]} />
<silkscreenpath route={[{"x":-0.1188720000000103,"y":-2.3498683000000256},{"x":0.11887199999989662,"y":-2.3498683000000256}]} />
<silkscreenpath route={[{"x":1.5811499999999796,"y":-2.3498683000000256},{"x":1.7500091999999086,"y":-2.3498683000000256}]} />
<silkscreenpath route={[{"x":1.750034600000049,"y":2.3501476999999795},{"x":1.5811499999999796,"y":2.3501476999999795}]} />
<silkscreenpath route={[{"x":0.11887199999989662,"y":2.3501476999999795},{"x":-0.1188720000000103,"y":2.3501476999999795}]} />
<silkscreenpath route={[{"x":-1.5811499999999796,"y":2.3501476999999795},{"x":-1.7500092000000222,"y":2.3501476999999795}]} />
<silkscreenpath route={[{"x":1.750034600000049,"y":2.3501476999999795},{"x":1.750034600000049,"y":0.5391277000001082}]} />
<silkscreenpath route={[{"x":1.750034600000049,"y":-0.5388483000000406},{"x":1.750034600000049,"y":-2.3498683000000256}]} />
<silkscreenpath route={[{"x":-1.7500092000000222,"y":2.3501476999999795},{"x":-1.7500092000000222,"y":0.5391277000001082}]} />
<silkscreenpath route={[{"x":-1.7500092000000222,"y":-0.5388483000000406},{"x":-1.7500092000000222,"y":-2.285733300000061}]} />
<silkscreentext text="{NAME}" pcbX="0.331216mm" pcbY="4.3638617mm" anchorAlignment="center" fontSize="1mm" />
<courtyardoutline outline={[{"x":-2.344483999999966,"y":3.613861700000143},{"x":3.006915999999933,"y":3.613861700000143},{"x":3.006915999999933,"y":-3.6425382999999556},{"x":-2.344483999999966,"y":-3.6425382999999556},{"x":-2.344483999999966,"y":3.613861700000143}]} />
</footprint>}
cadModel={{
objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C79174.obj?uuid=60be94c090e945f8a6cd297e41c8fe62",
stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C79174.step?uuid=60be94c090e945f8a6cd297e41c8fe62",
pcbRotationOffset: 90,
modelOriginPosition: { x: -0.0002667000001110864, y: 0.000138699999979508, z: -0.0000010000000000287557 },
}}
{...restProps}
/>
)
}