MustafaMulla29/wireless-mouse-pcb

A tscircuit package created by MustafaMulla29.

Version
1.0.16
License
unset
Stars
0

imports/PMW3610DM_SUDU.tsx

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

const pinLabels = {
  pin1: ["VCSEL_POS"],
  pin2: ["SDIO"],
  pin3: ["SCLK"],
  pin4: ["NC"],
  pin5: ["NCS"],
  pin6: ["VDDIO"],
  pin7: ["NRESET"],
  pin8: ["MOTION"],
  pin9: ["VCP"],
  pin10: ["PASS_T"],
  pin11: ["GND"],
  pin12: ["CP"],
  pin13: ["CN"],
  pin14: ["VDD"],
  pin15: ["XYLASER"],
  pin16: ["VCSEL_NEG"]
} as const

const pinAttributes = {
  pin4: {doNotConnect: true},
  pin11: {requiresGround: true},
  pin14: {requiresPower: true}
} as const

export const PMW3610DM_SUDU = (props: ChipProps<typeof pinLabels>) => {
  return (
    <chip
      pinLabels={pinLabels}
      pinAttributes={pinAttributes}
      supplierPartNumbers={{
  "jlcpcb": [
    "C42442560"
  ]
}}
      manufacturerPartNumber="PMW3610DM-SUDU"
      footprint={<footprint>
        {/* PixArt Figure 5 mechanical opening. The imported EasyEDA footprint
            contains the lead pattern but omits this required through-board cutout. */}
        <cutout
          name="SENSOR_CUTOUT"
          shape="rect"
          width="16.96mm"
          height="8.60mm"
          pcbX={-0.975}
          pcbY={0}
        />
        <platedhole
          portHints={["pin1"]}
          pcbX="-6.674993mm"
          pcbY="-5.350002mm"
          holeDiameter="0.700024mm"
          rectPadWidth="1.0999978mm"
          rectPadHeight="1.0999978mm"
          shape="circular_hole_with_rect_pad"
        />
<platedhole  portHints={["pin2"]} pcbX="-4.894961mm" pcbY="-5.350002mm" outerDiameter="1.0999978mm" holeDiameter="0.700024mm" shape="circle" />
<platedhole  portHints={["pin3"]} pcbX="-3.115183mm" pcbY="-5.350002mm" outerDiameter="1.0999978mm" holeDiameter="0.700024mm" shape="circle" />
<platedhole  portHints={["pin4"]} pcbX="-1.335151mm" pcbY="-5.350002mm" outerDiameter="1.0999978mm" holeDiameter="0.700024mm" shape="circle" />
<platedhole  portHints={["pin5"]} pcbX="0.444881mm" pcbY="-5.350002mm" outerDiameter="1.0999978mm" holeDiameter="0.700024mm" shape="circle" />
<platedhole  portHints={["pin6"]} pcbX="2.224913mm" pcbY="-5.350002mm" outerDiameter="1.0999978mm" holeDiameter="0.700024mm" shape="circle" />
<platedhole  portHints={["pin7"]} pcbX="4.004945mm" pcbY="-5.350002mm" outerDiameter="1.0999978mm" holeDiameter="0.700024mm" shape="circle" />
<platedhole  portHints={["pin8"]} pcbX="5.784977mm" pcbY="-5.350002mm" outerDiameter="1.0999978mm" holeDiameter="0.700024mm" shape="circle" />
<platedhole  portHints={["pin9"]} pcbX="6.674993mm" pcbY="5.350002mm" outerDiameter="1.0999978mm" holeDiameter="0.700024mm" shape="circle" />
<platedhole  portHints={["pin10"]} pcbX="4.894961mm" pcbY="5.350002mm" outerDiameter="1.0999978mm" holeDiameter="0.700024mm" shape="circle" />
<platedhole  portHints={["pin11"]} pcbX="3.114929mm" pcbY="5.350002mm" outerDiameter="1.0999978mm" holeDiameter="0.700024mm" shape="circle" />
<platedhole  portHints={["pin12"]} pcbX="1.334897mm" pcbY="5.350002mm" outerDiameter="1.0999978mm" holeDiameter="0.700024mm" shape="circle" />
<platedhole  portHints={["pin13"]} pcbX="-0.445135mm" pcbY="5.350002mm" outerDiameter="1.0999978mm" holeDiameter="0.700024mm" shape="circle" />
<platedhole  portHints={["pin14"]} pcbX="-2.225167mm" pcbY="5.350002mm" outerDiameter="1.0999978mm" holeDiameter="0.700024mm" shape="circle" />
<platedhole  portHints={["pin15"]} pcbX="-4.005199mm" pcbY="5.350002mm" outerDiameter="1.0999978mm" holeDiameter="0.700024mm" shape="circle" />
<platedhole  portHints={["pin16"]} pcbX="-5.784977mm" pcbY="5.350002mm" outerDiameter="1.0999978mm" holeDiameter="0.700024mm" shape="circle" />
<silkscreenpath route={[{"x":7.979537000000164,"y":-5.334126999999853},{"x":6.56595080000011,"y":-5.334126999999853}]} />
<silkscreenpath route={[{"x":7.979537000000164,"y":5.333873000000153},{"x":7.455966800000169,"y":5.333873000000153}]} />
<silkscreenpath route={[{"x":-6.602856999999858,"y":5.333999999999946},{"x":-8.236076999999796,"y":5.333999999999946},{"x":-8.236076999999796,"y":-5.33400000000006},{"x":-7.4562969999999495,"y":-5.33400000000006}]} />
<silkscreenpath route={[{"x":7.979537000000164,"y":5.333873000000153},{"x":7.979537000000164,"y":-5.334126999999853}]} />
<silkscreenpath route={[{"x":-4.78607119999981,"y":5.333873000000153},{"x":-5.004104799999823,"y":5.333873000000153}]} />
<silkscreenpath route={[{"x":-3.006089999999972,"y":5.333873000000153},{"x":-3.2241235999998707,"y":5.333873000000153}]} />
<silkscreenpath route={[{"x":-1.2260325999999395,"y":5.333873000000153},{"x":-1.4441423999996914,"y":5.333873000000153}]} />
<silkscreenpath route={[{"x":0.5539486000000124,"y":5.333873000000153},{"x":0.33591500000011365,"y":5.333873000000153}]} />
<silkscreenpath route={[{"x":2.333929800000192,"y":5.333873000000153},{"x":2.1158962000001793,"y":5.333873000000153}]} />
<silkscreenpath route={[{"x":4.113911000000144,"y":5.333873000000153},{"x":3.8958774000001313,"y":5.333873000000153}]} />
<silkscreenpath route={[{"x":5.893892200000209,"y":5.333873000000153},{"x":5.675858600000311,"y":5.333873000000153}]} />
<silkscreenpath route={[{"x":4.785868000000164,"y":-5.334126999999853},{"x":5.00390160000029,"y":-5.334126999999853}]} />
<silkscreenpath route={[{"x":3.005886800000212,"y":-5.334126999999853},{"x":3.223920400000111,"y":-5.334126999999853}]} />
<silkscreenpath route={[{"x":1.2259056000000328,"y":-5.334126999999853},{"x":1.443939200000159,"y":-5.334126999999853}]} />
<silkscreenpath route={[{"x":-0.5540755999999192,"y":-5.334126999999853},{"x":-0.3360419999999067,"y":-5.334126999999853}]} />
<silkscreenpath route={[{"x":-2.334132999999838,"y":-5.334126999999853},{"x":-2.1160231999998587,"y":-5.334126999999853}]} />
<silkscreenpath route={[{"x":-4.11411419999979,"y":-5.334126999999853},{"x":-3.896080599999891,"y":-5.334126999999853}]} />
<silkscreenpath route={[{"x":-5.893917599999895,"y":-5.334126999999853},{"x":-5.676061799999843,"y":-5.334126999999853}]} />
<silkscreencircle pcbX="-7.6259944mm" pcbY="-5.8669936mm" radius="0.088519mm" />
<silkscreentext text="{NAME}" pcbX="-0.128397mm" pcbY="6.94614mm" anchorAlignment="center" fontSize="1mm" />
<courtyardoutline outline={[{"x":-8.493696999999884,"y":6.196140000000014},{"x":8.236903000000211,"y":6.196140000000014},{"x":8.236903000000211,"y":-6.216459999999984},{"x":-8.493696999999884,"y":-6.216459999999984},{"x":-8.493696999999884,"y":6.196140000000014}]} />
      </footprint>}
      cadModel={{
        objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C42442560.obj?uuid=667c0b2f6ded47b089887f7200447c72",
        stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C42442560.step?uuid=667c0b2f6ded47b089887f7200447c72",
        pcbRotationOffset: 0,
        modelOriginPosition: { x: -0.879920625, y: 0, z: -0.1000055999999998 },
      }}
      {...props}
    />
  )
}