imrishabh18/pcbgolf

A complete 4-layer PCBGolf controller PCB with STM32H7 MCU, USB/SD and CAN interfaces, power regulation, protection, connectors, switches, LEDs, clocking, and supporting passives.

Version
1.6.1
License
unset
Stars
0

imports/EVQQ2Y03W.tsx

// Imported with tsci import --jlcpcb --use-exact-footprint C2828255
export const C2828255CadModel = {
        objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C2828255.obj?uuid=6e7fce7cc9ee48bca862247df1d33190",
        stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C2828255.step?uuid=6e7fce7cc9ee48bca862247df1d33190",
        pcbRotationOffset: 0,
        modelOriginPosition: { x: -0.000063500000123895, y: 0.00007619999996677507, z: -0.01 },
      }

import type { PushButtonProps } from "@tscircuit/props"

const pinLabels = {
  pin1: ["pin1"],
  pin2: ["pin2"],
  pin3: ["pin3"],
  pin4: ["pin4"]
} as const

export const EVQQ2Y03W = (props: PushButtonProps<typeof pinLabels>) => {
  const { name = "SW1", ...restProps } = props

  return (
    <pushbutton
      name={name}
      pinLabels={pinLabels}
      supplierPartNumbers={{
  "jlcpcb": [
    "C2828255"
  ]
}}
      manufacturerPartNumber="EVQQ2Y03W"
      footprint={<footprint>
        <smtpad portHints={["pin1"]} pcbX="-3.399917mm" pcbY="1.999996mm" width="3.1999936mm" height="0.999998mm" shape="rect" />
<smtpad portHints={["pin2"]} pcbX="3.399917mm" pcbY="1.999996mm" width="3.1999936mm" height="0.999998mm" shape="rect" />
<smtpad portHints={["pin3"]} pcbX="-3.399917mm" pcbY="-1.999996mm" width="3.1999936mm" height="0.999998mm" shape="rect" />
<smtpad portHints={["pin4"]} pcbX="3.399917mm" pcbY="-1.999996mm" width="3.1999936mm" height="0.999998mm" shape="rect" />
<silkscreenpath route={[{"x":3.4290762000001678,"y":1.269923800000015},{"x":3.4290762000001678,"y":-1.2700762000000623}]} />
<silkscreenpath route={[{"x":-3.3019237999998268,"y":1.269923800000015},{"x":-3.3019237999998268,"y":-1.2700762000000623}]} />
<silkscreenpath route={[{"x":-3.3019237999998268,"y":-2.7940761999999495},{"x":-3.3019237999998268,"y":-3.1750761999999213},{"x":3.4290762000001678,"y":-3.1750761999999213},{"x":3.4290762000001678,"y":-2.7940761999999495}]} />
<silkscreenpath route={[{"x":-3.3019237999998268,"y":2.793923800000016},{"x":-3.3019237999998268,"y":3.1749237999999878},{"x":3.4290762000001678,"y":3.1749237999999878},{"x":3.4290762000001678,"y":2.793923800000016}]} />
<silkscreencircle pcbX="0.000127mm" pcbY="0mm" radius="1.887982mm" />
<silkscreentext text="{NAME}" pcbX="-0.000381mm" pcbY="4.168904mm" anchorAlignment="center" fontSize="1mm" />
<courtyardoutline outline={[{"x":-5.254180999999903,"y":3.4189039999999977},{"x":5.253419000000122,"y":3.4189039999999977},{"x":5.253419000000122,"y":-3.431096000000025},{"x":-5.254180999999903,"y":-3.431096000000025},{"x":-5.254180999999903,"y":3.4189039999999977}]} />
      </footprint>}
      cadModel={C2828255CadModel}
      {...restProps}
    />
  )
}