How to Make a Battery Charger?

In making a battery charger, you will need a step down AC transformer with an output voltage of 3,6,9,12. The output is connected to a circuit with rectifier diode and a capacitor.