Making a basic 5v Power supply
deanwesterburg
Posts: 25
I am trying to venture away from the educational boards into making my own projects from the chips themselves. I am concerned about using a 9v battery to make consistant 5v power.
I have seen several diagrams (such as this one) for basic 5v power supplies that have a few capacitors, a few resistors and a regulator.
I have connected a 9v battery to a 7805 regulator and I get a very consistant 4.98v output. Are these other components really needed and if so, can someone explain what they do? I'm sure there are things I am not aware of that are problems and I really want to understand!
Thanks,
Dean
I have seen several diagrams (such as this one) for basic 5v power supplies that have a few capacitors, a few resistors and a regulator.
I have connected a 9v battery to a 7805 regulator and I get a very consistant 4.98v output. Are these other components really needed and if so, can someone explain what they do? I'm sure there are things I am not aware of that are problems and I really want to understand!
Thanks,
Dean
Comments
Best to use some caps even if you don't have exact values.
Note: while easy to work with, this is not a very efficient setup. It will burn through 9 volts quickly. I'd find an old DC walwart with a 7 to 12 volt output.
Supply more details if you need more help.
Is there a method or formula for choosing a capacitor for this situation?
Thanks again!
Dean - if you really want to jump into the subject, I suggest the follow voltage regulator handbook from On Semi:
http://www.onsemi.com/pub_link/Collateral/HB206-D.PDF
The 100uF on the input smooths the input voltage. That is especially important if the original volts came from mains voltage and a transformer and recifier. For a 9V battery input, maybe you can leave it out. But it serves another function too. If you disconnect the input voltage, and the capacitor on the 5V side is bigger than the capacitor on the input side, current will flow backwards through the regulator. Some regulators may not like that. So in general terms, the input cap is bigger than the output cap (10x bigger in your example in post #1). Best to leave this in.
The 10uF on the output keeps the output smooth if something happens to turn on and suddenly need more current. It stops integrated circuits resetting and other odd behaviour. Best to leave this in as well.
The 0.1uF (or 100nF, same thing) also helps smooth the supply. In general terms, use one 0.1uF capacitor right next to every IC, and maybe every 10 chips or so, also a 10uF capacitor.
You can get right into all the theory, or just follow the circuit diagram like a recipe book.
You probably don't need a scope yet. I have an old 100Mhz analog scope, but a decent VOM is all I use >99% of the time.
For your power supply question, DrAcula summed it it very nicely.
BTW, exact values aren't critical here, e.g. a 0.33uf could be subbed for a 0.1uf etc.
Be advised the Prop Scope is available. The Parallax USB Oscilloscope was retired.