


Relay control board (ESP32-C3 + CAN) - would love a critique / roast
I designed a relay control board and thought I’d share it here for feedback before I order the first version.
It’s based around an ESP32-C3 (SuperMini module) with a TJA1050 CAN transceiver, plus a small buck converter (MP1584). The relays are driven from the MCU side and the whole thing is meant to sit on a CAN bus as a simple control node. It has mounting holes for an enclosure I have, so it can sit on a DIN rail, as part of a small CAN-based automation setup.
One design choice I made: I used female pin headers for the main modules (ESP32, CAN transceiver, power module) so the board can accept off-the-shelf breakout boards instead of soldering everything directly.
The motivation was:
- faster iteration (swap modules without re-spinning PCB)
- flexibility in sourcing parts
- keeping the main PCB reusable across slightly different builds
I’m not sure if this is considered good practice or just making things mechanically worse, so I’d especially appreciate feedback on that.
I’ve attached schematic, PCB layout and 3D render.
Would appreciate critique on:
- obvious design mistakes I’ve missed
- relay driving/protection and layout concerns. I am planning to use it for mains up to 220–230VAC, ~5A resistive.
Roasts also welcome.