seveibar/nema17-stepper-motor-driver-tmc2209-usb-pd
RP2040-based USB-C PD stepper-motor controller with TMC2209 drive, AS5600 position feedback, TMP102 thermal shutdown, current/voltage telemetry, RGB status LED, and protected buzzer alarm circuitry.
- Version
- 0.2.0
- License
- unset
- Stars
- 0
schematic/MotorPowerFilteringSection.tsx
import { TCJD107M025R0055E } from "../imports/TCJD107M025R0055E";
import {
groundTrace,
powerTrace,
schematicSections,
schematicSheets,
} from "./config";
export const MotorPowerFilteringComponents = () => (
<>
<fuse
name="F_MOTOR_VBUS" schRotation={90.0} pcbRotation={0}
currentRating="2A"
voltageRating="30V"
footprint="1812"
supplierPartNumbers={{ jlcpcb: ["C960026"] }}
manufacturerPartNumber="BSMD1812-200-30V"
pcbX={9.375}
pcbY={12.25}
schX={-3}
schY={-7.5}
schSheetName={schematicSheets.motorPower}
schSectionName={schematicSections.pdFiltering}
/>
<capacitor
name="C_PD_VBUS"
capacitance="10uF"
footprint="1206"
supplierPartNumbers={{ jlcpcb: ["C77093"] }}
manufacturerPartNumber="GRM31CR71E106KA12L"
pcbX={14.125}
pcbY={8.75}
pcbRotation={270}
maxDecouplingTraceLength={10}
schX={3}
schY={-7.5}
schOrientation="vertical"
schSheetName={schematicSheets.motorPower}
schSectionName={schematicSections.pdFiltering}
/>
<TCJD107M025R0055E
name="C_MOTOR_BULK" maxVoltageRating="25V" schShowRatings
layer="top"
pcbX={-12.375}
pcbY={6.75}
pcbRotation={90}
schX={6}
schY={-7.5}
schOrientation="vertical"
schSheetName={schematicSheets.motorPower}
schSectionName={schematicSections.pdFiltering}
/>
<diode
name="D_MOTOR_TVS" pcbRotation={0}
footprint="smb"
supplierPartNumbers={{ jlcpcb: ["C224008"] }}
manufacturerPartNumber="SMBJ13CA"
pcbX={-2.875}
pcbY={15.75}
schX={9}
schY={-7.5}
schOrientation="vertical"
schSheetName={schematicSheets.motorPower}
schSectionName={schematicSections.pdFiltering}
/>
</>
);
export const MotorPowerFilteringSupplyTrace = () => (
<>
<trace
name="MOTOR_VBUS_FUSE_INPUT"
from=".J_MOTOR_USB > .A4B9"
to=".F_MOTOR_VBUS > .pin1"
{...powerTrace}
/>
<trace
name="MOTOR_VBUS_CAP"
from=".R_BUS_SHUNT > .pin2"
to=".C_PD_VBUS > .pin1"
schDisplayLabel="VMOTOR_PROTECTED"
{...powerTrace}
/>
<trace
name="MOTOR_VBUS_BULK"
from=".R_BUS_SHUNT > .pin2"
to=".C_MOTOR_BULK > .pin1"
{...powerTrace}
/>
<trace
name="MOTOR_VBUS_TVS"
from=".R_BUS_SHUNT > .pin2"
to=".D_MOTOR_TVS > .cathode"
{...powerTrace}
/>
</>
);
export const MotorPowerFilteringGroundTrace = () => (
<>
<trace
name="PD_VBUS_CAP_GND"
from=".C_PD_VBUS > .pin2"
to="net.GND"
{...groundTrace}
/>
<trace
name="MOTOR_BULK_GND"
from=".C_MOTOR_BULK > .pin2"
to="net.GND"
{...groundTrace}
/>
<trace
name="MOTOR_TVS_GND"
from=".D_MOTOR_TVS > .anode"
to="net.GND"
{...groundTrace}
/>
</>
);