Go Down

Topic: Capacitor selection (Read 722 times) previous topic - next topic

magagna

I have a circuit that runs fine off USB. When I connect it to a 5V 2A power supply (a regulated switching one; an old BlackBerry charger) it intermittently locked up until I added a 220 uf capacitor (the first one I had handy).

Did I just get lucky and that was the right value, or would any higher farad capacitor work?

I have .1 uf decoupling capacitors near each chip; do I need any others?

Thanks in advance.
http://en.wiktionary.org/wiki/magagna <-- My last name.  Pretty apt.

spcomputing

You pretty much in the range (highish end for me, but no issues).   Unless you have a scope, you are going to have to tune by glitch.  My Arduino breadboards use 100uF, while my through hole projects can go to 16uF "stubbies" and survive just fine.  Greater than 16uF and Greater than 25v is the rule of thumb.  Some regulators may need some turning.  If you want to be precise, find Grumpy Mike and click his site ;)

As for the 0.1uF, I starting to think they were for the noisey 555s in the same circuit, but DuaneB could not dial the Hi-Freq out for his RC projects.
http://www.spcomputing.com

CrossRoads

Your circuit may not have drawn enough current for the blackberry charger to function well and the cap made it more stable.
Any value from 1uF & up would likely have sufficed.
0.1uf would help with any high frequency noise, add one if you notice anything in A/D conversions, or if PWM output seems noisy when used for audio.
Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

Grumpy_Mike

It is hard to have too much capacitance for decoupling but easy to have too little.

magagna

Thank you all for the information.
http://en.wiktionary.org/wiki/magagna <-- My last name.  Pretty apt.

Go Up