seveibar/pd-dual-stepper-controller

Bottom-side PCB silkscreen artwork consisting of embedded mirrored TS Circuit SVG logos, with via-clearance-aware lower-board placement.

Version
0.1.0
License
unset
Stars
0

schematic/ProductionTestPoints.tsx

import placement from "../mechanical/next-placement.json";

/** Probe the negotiated PD rail and the post-fuse / reverse-blocking motor rail independently. */
export const ProductionTestPoints = () => (
  <>
    {([
      ["TP_PD", "PD", ".J_MOTOR_USB > .A4B9", 10.8, -7],
      ["TP_VMOTOR", "VMOTOR", ".D_MOTOR_BLOCK > .cathode", 14, -7],
      ["TP_PD_GND", "GND", "net.GND", 12, -10],
    ] as const).map(([name, label, target, schX, schY]) => (
      <group key={name} pcbX={0} pcbY={0}>
        <testpoint name={name} footprintVariant="pad" padShape="circle"
          padDiameter="1.5mm" layer="top" pcbStyle={{silkscreenTextVisibility:"hidden"}} {...placement[name]}
          schSheetName="motor_power" />
        <trace name={`${name}_TRACE`} from={`.${name} > .pin1`} to={target}
          schDisplayLabel={label} thickness="0.2mm" />
        <silkscreentext text={label} pcbX={placement[name].pcbX}
          pcbY={placement[name].pcbY + 1.1} fontSize="0.65mm" />
      </group>
    ))}
  </>
);