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/WS2812B_V6.tsx

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

const pinLabels = {
  pin1: ["VDD"],
  pin2: ["DOUT"],
  pin3: ["VSS"],
  pin4: ["DIN"]
} as const

const pinAttributes = {
  pin1: {requiresPower: true},
  pin3: {requiresGround: true}
} as const

export const WS2812B_V6 = (props: ChipProps<typeof pinLabels>) => {
  return (
    <chip
      pinLabels={pinLabels}
      pinAttributes={pinAttributes}
      supplierPartNumbers={{
  "jlcpcb": [
    "C52917433"
  ]
}}
      manufacturerPartNumber="WS2812B-V6"
      footprint={<footprint>
        <smtpad portHints={["pin1"]} pcbX="-2.350008mm" pcbY="1.600073mm" width="1.5999968mm" height="1.1999976mm" shape="rect" />
<smtpad portHints={["pin2"]} pcbX="-2.350008mm" pcbY="-1.600073mm" width="1.5999968mm" height="1.1999976mm" shape="rect" />
<smtpad portHints={["pin3"]} pcbX="2.350008mm" pcbY="-1.600073mm" width="1.5999968mm" height="1.1999976mm" shape="rect" />
<smtpad portHints={["pin4"]} pcbX="2.350008mm" pcbY="1.600073mm" width="1.5999968mm" height="1.1999976mm" shape="rect" />
<silkscreenpath route={[{"x":3.4289999999999736,"y":-1.6509999999999536},{"x":4.699000000000069,"y":-1.6509999999999536}]} />
<silkscreenpath route={[{"x":-4.063999999999851,"y":2.4130000000001246},{"x":-4.063999999999851,"y":1.1430000000001428}]} />
<silkscreenpath route={[{"x":-4.698999999999955,"y":1.77800000000002},{"x":-3.4289999999999736,"y":1.77800000000002}]} />
<silkscreenpath route={[{"x":-2.539923799999997,"y":2.431186400000229},{"x":-2.539923799999997,"y":2.5400000000000773}]} />
<silkscreenpath route={[{"x":-2.539923799999997,"y":-0.7688071999998556},{"x":-2.539923799999997,"y":0.7688834000000497}]} />
<silkscreenpath route={[{"x":2.5400761999999304,"y":-2.431084799999894},{"x":2.5400761999999304,"y":-2.5399999999999636},{"x":-2.539923799999997,"y":-2.5399999999999636},{"x":-2.539923799999997,"y":-2.431084799999894}]} />
<silkscreenpath route={[{"x":2.5400761999999304,"y":0.7688834000000497},{"x":2.5400761999999304,"y":-0.7688071999998556}]} />
<silkscreenpath route={[{"x":-2.539923799999997,"y":2.5400000000000773},{"x":2.5400761999999304,"y":2.5400000000000773},{"x":2.5400761999999304,"y":2.431186400000229}]} />
<silkscreentext text="{NAME}" pcbX="0.010668mm" pcbY="3.539873mm" anchorAlignment="center" fontSize="1mm" />
<fabricationnotepath route={[{"x":1.8224500000000035,"y":-2.5208483999998634},{"x":2.495550000000094,"y":-2.5208483999998634},{"x":2.495550000000094,"y":-1.7969483999999056},{"x":1.8224500000000035,"y":-2.5208483999998634}]} strokeWidth="0.254mm" />
<fabricationnotepath route={[{"x":-4.698999999999955,"y":1.6510000000000673},{"x":-4.698999999999955,"y":1.9050000000000864},{"x":-3.4289999999999736,"y":1.9050000000000864},{"x":-3.4289999999999736,"y":1.6510000000000673},{"x":-4.698999999999955,"y":1.6510000000000673}]} strokeWidth="0.254mm" />
<fabricationnotepath route={[{"x":-4.190999999999917,"y":2.413000000000011},{"x":-3.936999999999898,"y":2.413000000000011},{"x":-3.936999999999898,"y":1.143000000000029},{"x":-4.190999999999917,"y":1.143000000000029},{"x":-4.190999999999917,"y":2.413000000000011}]} strokeWidth="0.254mm" />
<fabricationnotepath route={[{"x":3.4290000000000873,"y":-1.77800000000002},{"x":3.4290000000000873,"y":-1.524000000000001},{"x":4.699000000000069,"y":-1.524000000000001},{"x":4.699000000000069,"y":-1.77800000000002},{"x":3.4290000000000873,"y":-1.77800000000002}]} strokeWidth="0.254mm" />
<courtyardoutline outline={[{"x":-4.938331999999946,"y":2.789873000000057},{"x":4.959667999999965,"y":2.789873000000057},{"x":4.959667999999965,"y":-3.0441269999998894},{"x":-4.938331999999946,"y":-3.0441269999998894},{"x":-4.938331999999946,"y":2.789873000000057}]} />
      </footprint>}
      
      {...props}
    />
  )
}