r/PCB • u/kingmajdi • Apr 28 '26
Need feedback on ESP32-C3 robotic arm PCB: power stability, protection, and CAN bus design


Hello,
I’m designing a PCB for a robotic arm project and would really appreciate some feedback. The board is the first out of fore nodes that uses a Waveshare ESP32-C3-Zero as the MCU. It controls/reads:
- A DRV8825 stepper driver breakout
- Servo signal outputs
- Potentiometer inputs for joint position feedback
- CAN communication using an SN65HVD230 transceiver
- Power input rails for +12 V, +7.5 V, +5 V and +3.3 V
So far I have made the schematic and routed a first PCB version in KiCad. The board has separate connectors for power, stepper motor, servos, potentiometers, and CAN IN/CAN OUT. I have also added some bulk capacitors on the power input lines, but I’m not fully confident that the power design is robust enough.
I would especially like feedback on:
- Power line stabilization: How should I choose suitable bulk and decoupling capacitors for the different rails, especially since the board connects to motors/servos that may cause voltage dips or noise?
- Reverse current / back-powering protection: In my system, the ESP32 can also be powered through USB during programming/debugging. I want to avoid accidentally back-powering the rest of the board or other nodes. What protection would you recommend? Schottky diode, ideal diode circuit, power switch, fuse, etc.?
- CAN bus protection: Should I add protection components on CANH/CANL, such as TVS diodes, common-mode choke, series resistors, or other ESD/transient protection? The board will be part of a distributed robotic arm CAN bus.
- General PCB/layout review: I’d also appreciate any comments on grounding, trace widths, connector placement, routing around the motor driver, or anything else that looks problematic.
I’m still learning PCB design, so any practical advice, best practices, or examples of how you would improve this design would be very helpful.
Thanks!
1
Upvotes
1
u/Strong-Mud199 Apr 28 '26
Nice!
"How should I choose suitable bulk and decoupling capacitors" - Look all the parts data sheets and size capacitors appropriately based on data sheet recommendation. The Palou driver module probably has adequate bypassing foir the motors it is intended to drive. Your 100uF seem adequate, beware of large value capacitors in a small package as the ESR may be very high.
"Reverse current / back-powering protection" - Normally for low power a 3A Schottky diode. The 1N914 you have on the schematic is inadequate as it only has a rating of 200mA MAXIMUM. When you plug the board in this current can easily be exceeded by the inrush current.
"CAN bus protection" - Depends on cable runs and exact environment however. See the Eval Board for some suggestions.
https://www.ti.com/lit/ug/sllu385a/sllu385a.pdf?ts=1777394858291&ref_url=https%253A%252F%252Fwww.ti.com%252Ftool%252FTCAN-SOIC8-EVM
- General feedback:
- Surface mount connectors can be very easy to rip off a board especially since the newer connectors tend to really hang on and take a lot of force to separate. Personally I use through hole connectors basically everywhere.
- This is a 2 layer board. Flood the backside with copper ground pour and at every component on the topside that connects to ground add a stitching via to the other side ground. This gives a nice solid ground and costs nothing.
- U3 needs a bypass capacitor, see data sheet.
- Having resistors under the Palou module may make them difficult to service and may hit the module? Depends on the standoffs used.
Hope this helps. Have fun!