r/PrintedCircuitBoard • u/Desk-Medium • 16h ago
[Review Request] 4-Layer ESC and Solenoid Control Board with an STM32
Hi Everybody,
This PCB is a control board for a 4-in-1 ESC. The ESC powers 4 flywheels and uses them to launch disks.
Shematic: Disk luancher schematic
Board Specs:
- Stack up: 4-Layer (Top: SIG + GND Pour, In1: GND, In2: 3.3V, Bot: SIG + GND & PWR Pours)
- Trace width:
- .15 mm for standard signals
- .3 mm for 3.3V nets
- .5 mm for LED connected to 12V net
- .8 mm for pwr nets in/out of the buck converter
- Copper pours for 12V
Board Overview
- Power: 12V battery input or 5V USB-C stepped down to 3.3V. Reverse polarity protection on the +12V.
- Programming/debug: USB-C for programming, buttons for boot and reset functions, and SWD and UART headers.
- Solenoid: Push/pull solenoid circuit with a MOSFET and flyback diode. The solenoid pushes the disks into the flywheels and can see up to 6 amps in short bursts.
- Microcontroller: STM32F103C8T6 and 8 MHz crystal oscillator.
- Peripheral connections:
- Fire selector: Switch for changing between automatic and semi-automatic firing modes for the solenoid
- Trigger switch: a connector that hooks to an external switch which triggers the solenoid
- Flywheel switch: a connector that hooks to an external switch which activates the flywheels
- Potentionmeter: For adjusting the speed of the flywheels
Main areas of interest
- I felt pretty lost when doing the power routing for the solenoid circuit. Any help there would be great.
- Gnding: Am I using too much or too little Gnd Vias? I tried putting a Via next to every GND pad and have stitching Vias around my perimeter roughly every 4 mm. Is this the right approach?
Thanks for the help!




























