I made this charger when I ordered some electronic parts and received a 120 to 12 volt AC transformer with center tap. Sending it back would have cost as much as the transformer. Similar transformers can be found at places like Radio Shack. The transformer puts out about 3 Amps., so it is ideal as a trickle charger. A charge will require about 12 hours. But, it has gotten me out of several jambs. Some friends have also borrowed it when their batteries were dead and it worked for them.
The center tap allowed the output to be either 6 or 12 volts. At the time I made this charger I helped to maintain an older farm tractor with a 6 volt electrical system.
Note: The output of the transformer is actually about 13.4 volts. When the voltage passes through the diodes in the rectifier it drops 0.6 volt for each of two diodes to roughly 12 volts. If you look for a 12 volt transformer you may at first be frustrated because you can find only 13.4 volt transformers.
Step 1: The circuit and what you need
I used a piece of plywood for a base. I already had a double pole toggle switch. I used a piece of scrap aluminum cabinet angle to mount the switch. Any piece of aluminum or steel could be bent to do the job. I used a 4 Amp. bridge rectifier from Radio Shack. I also got aligator clips already connected to a cord to connect to the auto battery. This was also from Radio Shack. The AC cord and plug came from a neighbor's discarded televison set that was put out on the curb on garbage day. You will need some screws, soldering iron, and a hot glue gun.
Step 2: Mount the transformer and attach the line cord
From the photo you can see the details of the strain relief I made to hold the cord in place.
Step 3: Mount the switch and wire it.
Step 4: Wire the rectifier.
It is a good idea to use a heat sink when soldering diodes to protect them from too much heat. Put a rubber band on the handles of a needle nose plier and clamp the plier jaws on the lead you want to solder.
Watch the output polarity so the + terminal on the rectifier connects to the wire for the red aligator clip. I simply glued the bridge rectifier to the plywood with hot glue. Notice the strain relief for the output cord.
To use: Select 6 or 12 volts with the switch. Connect the red aligator clip to the red battery terminal and the black to the black. Set the base of the charger someplace safe. Plug in the AC cord. Disconnect the AC cord after 12 or more hours. Then disconnect the aligator clips from the battery. This prevents sparking that could possibly ignite hydrogen gas from the charging.
I have also used this charger as a power supply for things like a hot wire cutter. A smoothing capacitor is not necessary because batteries charge better with slightly choppy current.