AnasSarkiz/rp2040-usb-c-single-axis-dm542t-motion-controller--01a0e89c

A USB‑C RP2040 controller board with external QSPI flash, crystal clock, regulated 3.3/1.1/5 V power, boost-converted motor-driver supply, protected USB and limit inputs, status LEDs, reset/boot switches, and AO3400A MOSFET outputs for stepper-control signals.

Version
0.1.0-prototype.19
License
unset
Stars
0

lib/silkscreen.tsx

// Fabricated legends use >=1.8 mm font size: the vector font's 0.09 stroke
// ratio emits >=0.162 mm lines. Detailed part references remain on F_Fab.
export const probeLabels: Record<
  string,
  { text: string; x: number; y: number }
> = {
  V5: { text: "5V", x: -13, y: 18.5 },
  V3V3: { text: "3V3", x: -9, y: 18.5 },
  V1V1: { text: "1V1", x: -5, y: 18.5 },
  GND: { text: "GND", x: -1, y: 18.5 },
  STEP: { text: "STEP", x: 13.5, y: 11 },
  DIR: { text: "DIR", x: -3.5, y: 11 },
  ENABLE: { text: "ENABLE", x: 28, y: 2 },
  ARM: { text: "ARM", x: 12, y: -4 },
  SWCLK: { text: "SWCLK", x: 7, y: -2 },
  SWDIO: { text: "SWDIO", x: 8, y: 3.2 },
  RUN: { text: "RUN", x: 9.2, y: -6.4 },
}

export function FunctionalLabels() {
  return (
    <>
      <silkscreentext text="USB-C" pcbX={-40} pcbY={7} fontSize="1.8mm" />
      <silkscreentext text="BOOT" pcbX={-29} pcbY={9.5} fontSize="1.8mm" />
      <silkscreentext text="RESET" pcbX={-29} pcbY={-24} fontSize="1.8mm" />
      <silkscreentext text="PWR" pcbX={-29} pcbY={22} fontSize="1.8mm" />
      <silkscreentext text="STATE" pcbX={-21} pcbY={22} fontSize="1.8mm" />
    </>
  )
}

export function EvaluationNotice() {
  return (
    <>
      <silkscreentext
        text="For evaluation only;"
        layer="bottom"
        fontSize="1.8mm"
        pcbX={0}
        pcbY={-10}
      />
      <silkscreentext
        text="not FCC approved for resale."
        layer="bottom"
        fontSize="1.8mm"
        pcbX={0}
        pcbY={-13}
      />
    </>
  )
}