imrishabh18/rp2040-motor-controller
The circuit implements a powered USB interface with a W25Q16 flash memory chip, a RP2040 microcontroller, and AO3400A MOSFETs for switch control, enabling USB communication, memory storage, and device power management.
- Version
- 1.0.19
- License
- unset
- Stars
- 0
schematic/MotorPowerFilteringSection.tsx
import { TCJD227M016R0050 } from "../imports/TCJD227M016R0050";
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}
/>
<TCJD227M016R0050
name="C_MOTOR_BULK"
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: ["C9019"] }}
manufacturerPartNumber="SMBJ11CA"
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=".F_MOTOR_VBUS > .pin2"
to=".C_PD_VBUS > .pin1"
schDisplayLabel="VMOTOR_PROTECTED"
{...powerTrace}
/>
<trace
name="MOTOR_VBUS_BULK"
from=".F_MOTOR_VBUS > .pin2"
to=".C_MOTOR_BULK > .pin1"
{...powerTrace}
/>
<trace
name="MOTOR_VBUS_TVS"
from=".F_MOTOR_VBUS > .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}
/>
</>
);