Go Down

Topic: 7805 voltage regulator to power standalone atmega328 (Read 6842 times) previous topic - next topic

daz450

Hey fellas,

I am in the process of running the atmega328 from my duemillanove as a standalone and for power I am using a 12v source, so I got myself a 7805 voltage regulator. My question is, can I connect the 5v output from the regulator to the power pin on the atmega, or its there some "softening" to do before? i.e using capacitors.

Kind Regards,

daz

cmiyc

All digital chips need de-coupling capacitors.  All voltage regulators need de-coupling capacitors.

The datasheets tell you how much (or how to determine how much).

General information from Grumpy Mike:  http://www.thebox.myzen.co.uk/Tutorial/De-coupling.html
Capacitor Expert By Day, Enginerd by night.  ||  Personal Blog: www.baldengineer.com  || Electronics Tutorials for Beginners:  www.addohms.com

nickgammon

Here's my alarm clock which uses a 7805 regulator:



I use the documented capacitors for the voltage regulator, and the decoupling capacitors James mentions. Apart from that, you can connect to the output to the Vcc pin of the Atmega.
Please post technical questions on the forum, not by personal message. Thanks!

More info: http://www.gammon.com.au/electronics

dhenry

Quote
can I connect the 5v output from the regulator to the power pin on the atmega,


Yes, you can.

CrossRoads

Many regulators require some input & output capacitance to avoid oscillation. Some don't:

http://www.ti.com/lit/ds/symlink/lm7805c.pdf
"Considerable effort was expanded to make the LM78XX series of regulators easy to use and minimize the
number of external components. It is not necessary to bypass the output, although this does improve transient
response. Input bypassing is needed only if the regulator is located far from the filter capacitor of the power
supply."

Putting a 1uF on the input and 0.33uF on the output certainly won't hurt anything. I usually put a 10uF and 1uF on if I have them handy, or values in that ballpark, and then 0.1uF on the Vcc pin of every part.
Designing & building electrical circuits for over 25 years.  Screw Shield for Mega/Due/Uno,  Bobuino with ATMega1284P, & other '328P & '1284P creations & offerings at  my website.

oric_dan

Quote
Here's my alarm clock which uses a 7805 regulator


Will be useful as a clock if using a crystal as shown, or a Duemilanove [which "apparently"
also uses a crystal], but not when using a ceramic resonator or a UNO board, which appears
to use a resonator and not a crystal. Crystal = 20-50 PPM tolerance, resonator = 0.5%
tolerance.

nickgammon

Here's the full project: http://www.gammon.com.au/forum/?id=11165

It has a DS1307 clock chip, so the processor clock accuracy is not of great importance.

Please post technical questions on the forum, not by personal message. Thanks!

More info: http://www.gammon.com.au/electronics

Go Up