The topic has come a few times and my general opinion is to stay away from mains, but now I need a small power supply that can go into the wall. I could gut a USB power supply, but those are not necessarily great regarding safety and opened and with wire hacked to it, it’ll probably not get better.
Attached is my design for a HLK-PM01-based supply. F1 is a 73°C thermal fuse glued to the HLK, F2 is a slow blowing fuse, VR1 is a 250Vrms MOV (I am on 240V).
I would appreciate some comments. It is supposed to go piggy back on various other PCBs, with a male pin header bridge at P2 soldered to both PCBs (so about 2mm air between the PCBs, not with a male-female pin header connection).
Any good idea for spacers for the AC side of the board? I would like to avoid making the board larger just for screw holes.
This is my first time using milled cutout for separating mains from 5V and phase from neutral. Did I do that right for services like itead or seeed?