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

A compact 20 mm four-layer USB‑C stepper-controller PCB combining CH32X035 MCU control, TMC2209 motor driving, USB‑C PD/data interfaces, protection/power regulation, temperature/LED status hardware, and NEMA8 motor connectivity.

Version
1.0.34
License
unset
Stars
0

imports/SHT40_AD1B_R3.tsx

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

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

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

export const SHT40_AD1B_R3 = (props: ChipProps<typeof pinLabels>) => (
  <chip
    pinLabels={pinLabels}
    pinAttributes={pinAttributes}
    schPinArrangement={{ leftSide: [1, 2], rightSide: [3, 4] }}
    supplierPartNumbers={{ jlcpcb: ["C2848306"] }}
    manufacturerPartNumber="SHT40-AD1B-R3"
    footprint={
      <footprint>
        <smtpad portHints={["pin1"]} pcbX="-0.677418mm" pcbY="0.40005mm"
          width="0.5050028mm" height="0.419989mm" shape="rect" />
        <smtpad portHints={["pin2"]} pcbX="-0.677418mm" pcbY="-0.40005mm"
          width="0.5050028mm" height="0.419989mm" shape="rect" />
        <smtpad portHints={["pin3"]} pcbX="0.677418mm" pcbY="-0.40005mm"
          width="0.5050028mm" height="0.419989mm" shape="rect" />
        <smtpad portHints={["pin4"]} pcbX="0.677418mm" pcbY="0.40005mm"
          width="0.5050028mm" height="0.419989mm" shape="rect" />
        <smtpad portHints={["pin5"]} pcbX="0mm" pcbY="0mm"
          width="0.3999992mm" height="1.0999978mm" shape="rect" />
        <silkscreenpath route={[{ x: -0.8261858, y: 0.8261858 }, { x: 0.8262112, y: 0.8261858 }]} />
        <silkscreenpath route={[{ x: -0.8261858, y: -0.8262112 }, { x: 0.8262112, y: -0.8262112 }]} />
        <silkscreencircle pcbX="-1.01346mm" pcbY="0.76454mm" radius="0.037592mm" />
      </footprint>
    }
    cadModel={{
      objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C2848306.obj?uuid=09d63d3bb21a495aa100cde68133c9fa",
      stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C2848306.step?uuid=09d63d3bb21a495aa100cde68133c9fa",
      pcbRotationOffset: 0,
      modelOriginPosition: { x: 0.0000127, y: -0.0000127, z: -0.01 },
    }}
    {...props}
  />
)