Click on the picture to get a larger view. The picture shows the schematics of the amp. Of course you can't use it for anything except for an overview. Please download the pdf-file instead if you want to see the details.
WARNING - CAUTION
As you can see at the picture the pcb will be at mains potential and therefore lethal. You must insure that this pcb is well protected against unintentional touching. All parts are dangerous to touch when the mains is switched on.
This design is very simple, just a couple of diodes and capacitors. I have made room for two options in terms of DC level. Use only D1 and D2 if this is sufficient. If you have no opportunity or won't risk anything, go for D3-D8 right away. The only disadvantage is a slightly higher cost. If you of some reason want to go from two diodes to six, just cut away D1 and D2. Don't try to desolder. You will only damage the pcb.
X1 and X4 are 2-pole just because they are separated and the connector has two poles. No need for the extra pole really.
I have added room for three wires in and three wires out. Neutral and Protective Earth can be connected also just as a joint between incoming mains cable and the internal wiring.