ShiboSoftwareDev/nema8-20mm-dual-usbc-stepper-controller

A tscircuit package created by ShiboSoftwareDev.

Version
1.0.47
License
unset
Stars
0

imports/MT6701QT_STD.tsx

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

const pinLabels = {
  pin1: ["NC1"],
  pin2: ["NC2"],
  pin3: ["NC3"],
  pin4: ["NC4"],
  pin5: ["PUSH"],
  pin6: ["A"],
  pin7: ["B"],
  pin8: ["Z"],
  pin9: ["W"],
  pin10: ["NC5"],
  pin11: ["U"],
  pin12: ["V"],
  pin13: ["VDD"],
  pin14: ["MODE"],
  pin15: ["OUT"],
  pin16: ["GND"],
  pin17: ["EP"],
} as const

const pinAttributes = {
  pin1: { doNotConnect: true },
  pin2: { doNotConnect: true },
  pin3: { doNotConnect: true },
  pin4: { doNotConnect: true },
  pin10: { doNotConnect: true },
  pin13: { requiresPower: true },
  pin16: { requiresGround: true },
} as const

export const MT6701QT_STD = (props: ChipProps<typeof pinLabels>) => {
  return (
    <chip
      pinLabels={pinLabels}
      pinAttributes={pinAttributes}
      supplierPartNumbers={{ jlcpcb: ["C2913974"] }}
      manufacturerPartNumber="MT6701QT-STD"
      footprint={
        <footprint>
          <smtpad portHints={["pin1"]} pcbX="-1.499997mm" pcbY="0.750189mm" width="0.850011mm" height="0.2800096mm" radius="0.1400048mm" shape="pill" />
          <smtpad portHints={["pin2"]} pcbX="-1.499997mm" pcbY="0.250063mm" width="0.850011mm" height="0.2800096mm" radius="0.1400048mm" shape="pill" />
          <smtpad portHints={["pin3"]} pcbX="-1.499997mm" pcbY="-0.249809mm" width="0.850011mm" height="0.2800096mm" radius="0.1400048mm" shape="pill" />
          <smtpad portHints={["pin4"]} pcbX="-1.499997mm" pcbY="-0.749935mm" width="0.850011mm" height="0.2800096mm" radius="0.1400048mm" shape="pill" />
          <smtpad portHints={["pin5"]} pcbX="-0.749935mm" pcbY="-1.499997mm" width="0.2800096mm" height="0.850011mm" radius="0.1400048mm" shape="pill" />
          <smtpad portHints={["pin6"]} pcbX="-0.249809mm" pcbY="-1.499997mm" width="0.2800096mm" height="0.850011mm" radius="0.1400048mm" shape="pill" />
          <smtpad portHints={["pin7"]} pcbX="0.250063mm" pcbY="-1.499997mm" width="0.2800096mm" height="0.850011mm" radius="0.1400048mm" shape="pill" />
          <smtpad portHints={["pin8"]} pcbX="0.750189mm" pcbY="-1.499997mm" width="0.2800096mm" height="0.850011mm" radius="0.1400048mm" shape="pill" />
          <smtpad portHints={["pin9"]} pcbX="1.499997mm" pcbY="-0.749935mm" width="0.850011mm" height="0.2800096mm" radius="0.1400048mm" shape="pill" />
          <smtpad portHints={["pin10"]} pcbX="1.499997mm" pcbY="-0.249809mm" width="0.850011mm" height="0.2800096mm" radius="0.1400048mm" shape="pill" />
          <smtpad portHints={["pin11"]} pcbX="1.499997mm" pcbY="0.250063mm" width="0.850011mm" height="0.2800096mm" radius="0.1400048mm" shape="pill" />
          <smtpad portHints={["pin12"]} pcbX="1.499997mm" pcbY="0.750189mm" width="0.850011mm" height="0.2800096mm" radius="0.1400048mm" shape="pill" />
          <smtpad portHints={["pin13"]} pcbX="0.750189mm" pcbY="1.499997mm" width="0.2800096mm" height="0.850011mm" radius="0.1400048mm" shape="pill" />
          <smtpad portHints={["pin14"]} pcbX="0.250063mm" pcbY="1.499997mm" width="0.2800096mm" height="0.850011mm" radius="0.1400048mm" shape="pill" />
          <smtpad portHints={["pin15"]} pcbX="-0.249809mm" pcbY="1.499997mm" width="0.2800096mm" height="0.850011mm" radius="0.1400048mm" shape="pill" />
          <smtpad portHints={["pin16"]} pcbX="-0.749935mm" pcbY="1.499997mm" width="0.2800096mm" height="0.850011mm" radius="0.1400048mm" shape="pill" />
          <smtpad portHints={["pin17"]} points={[{ x: "0.8501126mm", y: "0.8501126mm" }, { x: "0.8501126mm", y: "-0.849884mm" }, { x: "-0.849884mm", y: "-0.849884mm" }, { x: "-0.849884mm", y: "0.4251198mm" }, { x: "-0.4248658mm", y: "0.850138mm" }]} shape="polygon" />
          <silkscreenpath route={[{ x: 1.2751308, y: -1.7247108 }, { x: 1.7249648, y: -1.7247108 }, { x: 1.7249648, y: -1.2748768 }]} />
          <silkscreenpath route={[{ x: 1.2751308, y: 1.7251172 }, { x: 1.7249648, y: 1.7251172 }, { x: 1.7249648, y: 1.2752832 }]} />
          <silkscreenpath route={[{ x: -1.7248632, y: 1.2752832 }, { x: -1.7248632, y: 1.7251172 }, { x: -1.2750292, y: 1.7251172 }]} />
          <silkscreenpath route={[{ x: -1.2750292, y: -1.7247108 }, { x: -1.7248632, y: -1.7247108 }, { x: -1.7248632, y: -1.2748768 }]} />
          <silkscreenpath route={[{ x: -2.0751292, y: 1.5242032 }, { x: -2.2257712, y: 1.6729443 }, { x: -2.3751486, y: 1.5229332 }, { x: -2.2257712, y: 1.3729221 }, { x: -2.0751292, y: 1.5216632 }]} />
          <silkscreentext text="{NAME}" pcbX="-0.231775mm" pcbY="2.920875mm" anchorAlignment="center" fontSize="1mm" />
          <courtyardoutline outline={[{ x: -2.0, y: 2.0 }, { x: 2.0, y: 2.0 }, { x: 2.0, y: -2.0 }, { x: -2.0, y: -2.0 }, { x: -2.0, y: 2.0 }]} />
        </footprint>
      }
      cadModel={{
        objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C2913974.obj?uuid=6e50ae26fe4f4c2a8ee6b5b5bc616dea",
        stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C2913974.step?uuid=6e50ae26fe4f4c2a8ee6b5b5bc616dea",
        pcbRotationOffset: 0,
        modelOriginPosition: { x: 0, y: 0.0000127, z: 0 },
      }}
      {...props}
    />
  )
}