Edit: I have added the updated PCB design at the bottom over this post (for anyone curious about the progress)
And a big thanks to everyone who commented, it really helped me out a lot!
Original version: This is my first time posting something, and I have a question about a PCB that I am currently designing for a personal project. I have already some experience in PCB designing, but I have never made a PCB that has AC traces on it.
I am pretty sure I have done this correctly, but I want a second opinion so that I know I am doing it right and if I did something wrong I can learn from it!
The project I am currently working on is a relay board that can turn on a ventilator with an IR remote controller. I use a ProMicro microcontroller to receive and handle the inputs given by the IR-receiver. I use three relays to control the three speeds my ventilator has. J1 is the connector to connect 230VAC to the AC/DC power supply, that feeds the ProMicro and other components, and J2 to J4 to connect the wiring of the ventilator.
For the PCB I tried to put all the DC-signal traces on the top layer and the AC power traces on the bottom and tried to put as much trace spacing between the AC and DC traces and vias. The trace width of the AC traces is 2 mm, and I kept the AC traces as straight as I could.
So my question is, is there something I maybe forgot? And what are things I need to look out for?
Thank you,
-Dj
Edit: 3D model
Updated version: I removed the “Arduino optocoupler disease” from the PCB and switched it with the ULN2003 Darlington IC. Moved some components so that all the components connecting to the AC are on the south side of the board, and tried to keep as much spacing between DC and AC traces. Added mounting holes. And changed the resistors to the right size.