Construct a Simple 5V DC Power Supply
For the electronics enthusiast, having a 5 volt DC power supply around in your workspace can be very useful. Many op amps, micro controllers, and other digital ICs {integrated circuits} run off 5 volts (although most now take a range of 3-15 volts) . Here is how to build a very simple 5 volt DC power supply that can deliver up to 1.5A of current. You will need to solder together the various components.
Steps
- Consider one wire from the AC adapter the positive terminal. Consider the other wire ground. At this point it does not matter which one you choose to be positive or ground, but remember which is which from now on.
- Connect the positive wire from the AC adapter to the side of the diode without the stripe marking on it. You are connecting the positive wire to the anode of the diode where current will flow through the diode in only one way to charge the capacitor you will connect later.
- Locate the lead on the side of the capacitor that has a stripe. Usually this stripe is white and has a minus sign on it. This is the negative side, which you should connect to the ground terminal of the AC adapter.
- Connect the remaining terminal of the capacitor to the terminal of the diode with the stripe. That is, connect the positive terminal of the capacitor to the cathode of the diode. The diode allows the current from the transformer to charge the capacitor while stopping the capacitor from discharging back through the transformer on the negative cycle.
- Connect Pin 1 of the voltage regulator IC to the node where the positive side of the capacitor and striped side of the diode connect. Pin 2 is the ground reference, also called the "common", and should be connected to the ground wire of the AC adapter. Pin 3 is the output. There will be 5 volts held between Pin 3 and ground.
Tips
- Add a capacitor from the 5V output to ground to give better transient response.
- The lead closest to the stripe of the diode is always the cathode (negative side) of the diode.
- You can find all the parts you need from electronics distributors such as Digikey and Mouser.
- The TL780-05 5V regulator is capable of delivering 1.5A of current, but if the AC adapter you choose is not then the current output of your power supply will be limited to the current capability of the AC adapter.
- This is a very simplified design, and there are some improvements that you might find in the data sheet for the TL780-05.
- To improve this design, add a full wave bridge rectifier instead of the half wave rectifier in the current design.
- Try to use a 12V or lower AC adapter. Higher voltages will cause the 5V regulator to have to dissipate more power, causing it to get very hot and possibly too hot.
- Even higher voltages will require some caution and a secondary regulator to drop the voltage to what can be handled by the 5V regulator.
- Your new voltage regulator will give up to 1.5 Amperes of current at 5V. The 5V regulator IC will get hot as you draw more current out of it, so you might want to add a heat sink to it for higher power applications.
- Build the circuit on a prototyping board for easier construction.
Warnings
- None of the voltages used in this design are harmful. The AC adapter is the only component that contacts high voltage from the wall outlet. If you want to open the plastic casing of the AC adapter, be sure to do so while it is unplugged from the wall.
- Running the 5V regulator at high temperatures will shorten its life.
- Connecting electrolytic capacitors backwards can cause them to explode. Make sure that the negative terminal of the capacitor (marked with the white stripe) is always at a lower voltage than the positive terminal and that the voltage across the capacitor doesn't exceed the capacitor's voltage rating.
- The 5V regulator will get very hot when drawing a lot of current out of the supply. It may be hot enough to burn you so be careful.
Things You'll Need
- An AC adapter (generic) giving anywhere from 8-30V AC output and up to 1.5 amps of output
- A rectifying diode such as a 1N5392, or equivalent capable of at least 1.5A average forward current and 50V reverse voltage
- A 100uF electrolytic capacitor, radial leaded, rated for at least 35V
- A TL780-05 5V fixed voltage regulator IC or equivalent in a TO-220 package (if it is marked 7805 it will work.)
- A soldering iron and solder (if you're not using a prototype board).