seveibar/nema17-rp2040-stepper-controller

A tscircuit package created by seveibar.

Version
0.3.1
License
unset
Stars
0

imports/TS3USB221ARSER.tsx

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

const pinLabels = {
  pin1: ["1D_POS"],
  pin2: ["1D_NEG"],
  pin3: ["2D_POS"],
  pin4: ["2D_NEG"],
  pin5: ["GND"],
  pin6: ["N_OE"],
  pin7: ["D_NEG"],
  pin8: ["D_POS"],
  pin9: ["S"],
  pin10: ["VCC"]
} as const

const pinAttributes = {
  pin5: {requiresGround: true},
  pin10: {requiresPower: true}
} as const

export const TS3USB221ARSER = (props: ChipProps<typeof pinLabels>) => {
  return (
    <chip
      pinLabels={pinLabels}
      pinAttributes={pinAttributes}
      supplierPartNumbers={{
  "jlcpcb": [
    "C128396"
  ]
}}
      manufacturerPartNumber="TS3USB221ARSER"
      footprint={<footprint>
        <smtpad portHints={["pin1"]} pcbX="-0.750062mm" pcbY="-0.675132mm" width="0.2500122mm" height="0.5249926mm" shape="rect" />
<smtpad portHints={["pin2"]} pcbX="-0.249936mm" pcbY="-0.675132mm" width="0.2500122mm" height="0.5249926mm" shape="rect" />
<smtpad portHints={["pin3"]} pcbX="0.249936mm" pcbY="-0.675132mm" width="0.2500122mm" height="0.5249926mm" shape="rect" />
<smtpad portHints={["pin4"]} pcbX="0.750062mm" pcbY="-0.675132mm" width="0.2500122mm" height="0.5249926mm" shape="rect" />
<smtpad portHints={["pin5"]} pcbX="0.8599932mm" pcbY="0mm" width="0.580009mm" height="0.2999994mm" shape="rect" />
<smtpad portHints={["pin6"]} pcbX="0.750062mm" pcbY="0.675132mm" width="0.2500122mm" height="0.5249926mm" shape="rect" />
<smtpad portHints={["pin7"]} pcbX="0.249936mm" pcbY="0.675132mm" width="0.2500122mm" height="0.5249926mm" shape="rect" />
<smtpad portHints={["pin8"]} pcbX="-0.249936mm" pcbY="0.675132mm" width="0.2500122mm" height="0.5249926mm" shape="rect" />
<smtpad portHints={["pin9"]} pcbX="-0.750062mm" pcbY="0.675132mm" width="0.2500122mm" height="0.5249926mm" shape="rect" />
<smtpad portHints={["pin10"]} pcbX="-0.8599932mm" pcbY="0mm" width="0.580009mm" height="0.2999994mm" shape="rect" />
<silkscreenpath route={[{"x":1.0702036000000135,"y":0.8499855999999681},{"x":1.0999977999998691,"y":0.8499855999999681}]} />
<silkscreenpath route={[{"x":-1.0999977999999828,"y":0.8499855999999681},{"x":-1.0702036000001272,"y":0.8499855999999681}]} />
<silkscreenpath route={[{"x":-1.0999977999999828,"y":0.3301491999999371},{"x":-1.0999977999999828,"y":0.8499855999999681}]} />
<silkscreenpath route={[{"x":-1.0702036000001272,"y":-0.850010999999995},{"x":-1.0999977999999828,"y":-0.850010999999995},{"x":-1.0999977999999828,"y":-0.3301491999998234}]} />
<silkscreenpath route={[{"x":1.0999977999998691,"y":-0.3301491999998234},{"x":1.0999977999998691,"y":-0.850010999999995},{"x":1.0702036000000135,"y":-0.850010999999995}]} />
<silkscreenpath route={[{"x":1.0999977999998691,"y":0.8499855999999681},{"x":1.0999977999998691,"y":0.3301491999999371}]} />
<silkscreencircle pcbX="-0.750062mm" pcbY="-1.199896mm" radius="0.07493mm" />
<silkscreentext text="{NAME}" pcbX="0.0127mm" pcbY="1.9398mm" anchorAlignment="center" fontSize="1mm" />
<courtyardoutline outline={[{"x":-1.3999977000000854,"y":1.1876282999999148},{"x":1.3999976999999717,"y":1.1876282999999148},{"x":1.3999976999999717,"y":-1.1876282999999148},{"x":-1.3999977000000854,"y":-1.1876282999999148},{"x":-1.3999977000000854,"y":1.1876282999999148}]} />
      </footprint>}
      cadModel={{
        objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C128396.obj?uuid=0d4863c7ce0547a4bbb320a855cfdb87",
        stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C128396.step?uuid=0d4863c7ce0547a4bbb320a855cfdb87",
        pcbRotationOffset: 0,
        modelOriginPosition: { x: 0, y: 0, z: -0.02 },
      }}
      {...props}
    />
  )
}