seveibar/nema17-rp2040-stepper-controller

A tscircuit package created by seveibar.

Version
0.3.1
License
unset
Stars
0

imports/CH9442Q.tsx

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

const pinLabels = {
  pin1: ["XA"],
  pin2: ["XB"],
  pin3: ["GND"],
  pin4: ["S0B"],
  pin5: ["S0A"],
  pin6: ["S1B"],
  pin7: ["S1A"],
  pin8: ["N_EN"],
  pin9: ["VCC"],
  pin10: ["SEL"]
} as const

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

export const CH9442Q = (props: ChipProps<typeof pinLabels>) => {
  return (
    <chip
      pinLabels={pinLabels}
      pinAttributes={pinAttributes}
      supplierPartNumbers={{
  "jlcpcb": [
    "C54973455"
  ]
}}
      manufacturerPartNumber="CH9442Q"
      footprint={<footprint>
        <smtpad portHints={["pin1"]} pcbX="0.199898mm" pcbY="0.549783mm" width="0.1999996mm" height="0.6999986mm" shape="rect" />
<smtpad portHints={["pin2"]} pcbX="-0.199898mm" pcbY="0.600075mm" width="0.1999996mm" height="0.5999988mm" shape="rect" />
<smtpad portHints={["pin3"]} pcbX="-0.8001mm" pcbY="0.399923mm" width="0.5999988mm" height="0.1999996mm" shape="rect" />
<smtpad portHints={["pin4"]} pcbX="-0.8001mm" pcbY="-0.000127mm" width="0.5999988mm" height="0.1999996mm" shape="rect" />
<smtpad portHints={["pin5"]} pcbX="-0.8001mm" pcbY="-0.400177mm" width="0.5999988mm" height="0.1999996mm" shape="rect" />
<smtpad portHints={["pin6"]} pcbX="-0.199898mm" pcbY="-0.600075mm" width="0.1999996mm" height="0.5999988mm" shape="rect" />
<smtpad portHints={["pin7"]} pcbX="0.199898mm" pcbY="-0.600075mm" width="0.1999996mm" height="0.5999988mm" shape="rect" />
<smtpad portHints={["pin8"]} pcbX="0.8001mm" pcbY="-0.400177mm" width="0.5999988mm" height="0.1999996mm" shape="rect" />
<smtpad portHints={["pin9"]} pcbX="0.8001mm" pcbY="-0.000127mm" width="0.5999988mm" height="0.1999996mm" shape="rect" />
<smtpad portHints={["pin10"]} pcbX="0.8001mm" pcbY="0.399923mm" width="0.5999988mm" height="0.1999996mm" shape="rect" />
<silkscreenpath route={[{"x":0.48013620000006085,"y":0.7999476000001096},{"x":0.999998000000005,"y":0.7999476000001096}]} />
<silkscreenpath route={[{"x":-0.9999979999998914,"y":0.6800850000001901},{"x":-0.9999979999998914,"y":0.7999476000001096},{"x":-0.48013619999994717,"y":0.7999476000001096}]} />
<silkscreenpath route={[{"x":-0.48013619999994717,"y":-0.8000491999998758},{"x":-0.9999979999998914,"y":-0.8000491999998758},{"x":-0.9999979999998914,"y":-0.6801865999998427}]} />
<silkscreenpath route={[{"x":0.999998000000005,"y":-0.6801865999998427},{"x":0.999998000000005,"y":-0.8000491999998758},{"x":0.48013620000006085,"y":-0.8000491999998758}]} />
<silkscreenpath route={[{"x":0.999998000000005,"y":0.7999476000001096},{"x":0.999998000000005,"y":0.6800850000001901}]} />
<silkscreencircle pcbX="0.635mm" pcbY="1.142873mm" radius="0.100076mm" />
<silkscreentext text="{NAME}" pcbX="0.003302mm" pcbY="2.238885mm" anchorAlignment="center" fontSize="1mm" />
<courtyardoutline outline={[{"x":-1.35009940000009,"y":1.1500744000001077},{"x":1.3500994000002038,"y":1.1500744000001077},{"x":1.3500994000002038,"y":-1.150074399999994},{"x":-1.35009940000009,"y":-1.150074399999994},{"x":-1.35009940000009,"y":1.1500744000001077}]} />
      </footprint>}
      cadModel={{
        objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C54973455.obj?uuid=a7cd611bdc3a486b94d13b1f8fb9fcd0",
        stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C54973455.step?uuid=a7cd611bdc3a486b94d13b1f8fb9fcd0",
        pcbRotationOffset: 270,
        modelOriginPosition: { x: -0.00005079999993995443, y: 0, z: 0 },
      }}
      {...props}
    />
  )
}