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/EVQPLHA15.tsx
import type { PushButtonProps } from "@tscircuit/props"
const pinLabels = {
pin1: ["pin1"],
pin2: ["pin2"],
pin3: ["pin3"],
pin4: ["pin4"],
pin5: ["GND2"],
pin6: ["GND1"]
} as const
export const EVQPLHA15 = (props: PushButtonProps<typeof pinLabels>) => {
const { name = "SW1", ...restProps } = props
return (
<pushbutton
name={name}
pinLabels={pinLabels}
supplierPartNumbers={{
"jlcpcb": [
"C79172"
]
}}
manufacturerPartNumber="EVQPLHA15"
footprint={<footprint>
<smtpad portHints={["pin6"]} pcbX="0.000127mm" pcbY="-2.524887mm" width="0.999998mm" height="0.499999mm" shape="rect" />
<smtpad portHints={["pin5"]} pcbX="0.000127mm" pcbY="2.524887mm" width="0.999998mm" height="0.499999mm" shape="rect" />
<smtpad portHints={["pin1"]} pcbX="2.200021mm" pcbY="1.850009mm" width="0.999998mm" height="0.5999988mm" shape="rect" />
<smtpad portHints={["pin2"]} pcbX="-2.200021mm" pcbY="1.850009mm" width="0.999998mm" height="0.5999988mm" shape="rect" />
<smtpad portHints={["pin3"]} pcbX="-2.200021mm" pcbY="-1.850009mm" width="0.999998mm" height="0.5999988mm" shape="rect" />
<smtpad portHints={["pin4"]} pcbX="2.200021mm" pcbY="-1.850009mm" width="0.999998mm" height="0.5999988mm" shape="rect" />
<silkscreenpath route={[{"x":-0.7311389999999847,"y":-2.539923799999883},{"x":-2.5400253999999904,"y":-2.539923799999883},{"x":-2.5400253999999904,"y":-2.3811230000000023}]} />
<silkscreenpath route={[{"x":2.5399746000000505,"y":-2.3811230000000023},{"x":2.5399746000000505,"y":-2.539923799999883},{"x":0.7311136000000715,"y":-2.539923799999883}]} />
<silkscreenpath route={[{"x":-2.5400253999999904,"y":1.270076200000176},{"x":-2.5400253999999904,"y":-1.2699237999999013}]} />
<silkscreenpath route={[{"x":2.5399746000000505,"y":1.270076200000176},{"x":2.5399746000000505,"y":-1.2699237999999013}]} />
<silkscreenpath route={[{"x":-0.7311389999999847,"y":2.540076200000044},{"x":-2.5400253999999904,"y":2.540076200000044},{"x":-2.5400253999999904,"y":2.381199199999969}]} />
<silkscreenpath route={[{"x":2.5399746000000505,"y":2.381199199999969},{"x":2.5399746000000505,"y":2.540076200000044},{"x":0.7311136000000715,"y":2.540076200000044}]} />
<silkscreencircle pcbX="0.000127mm" pcbY="-0.000127mm" radius="1.670558mm" />
<silkscreentext text="{NAME}" pcbX="0.0021336mm" pcbY="3.773426mm" anchorAlignment="center" fontSize="1mm" />
<courtyardoutline outline={[{"x":-2.952966399999923,"y":3.023426000000086},{"x":2.9572336000001087,"y":3.023426000000086},{"x":2.9572336000001087,"y":-3.039173999999889},{"x":-2.952966399999923,"y":-3.039173999999889},{"x":-2.952966399999923,"y":3.023426000000086}]} />
</footprint>}
cadModel={{
objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C79172.obj?uuid=ebb9fae7b41c43f9aa0d1246f378c2e2",
stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C79172.step?uuid=ebb9fae7b41c43f9aa0d1246f378c2e2",
pcbRotationOffset: 0,
modelOriginPosition: { x: -0.029946600000130275, y: -0.030099000000063825, z: -0.01 },
}}
{...restProps}
/>
)
}