Pages: [1]   Go Down
Author Topic: Capacitor selection  (Read 708 times)
0 Members and 1 Guest are viewing this topic.
Southern California
Offline Offline
God Member
*****
Karma: 5
Posts: 539
I like blinky lights
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

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

California
Offline Offline
God Member
*****
Karma: 14
Posts: 629
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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 smiley-wink

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.
Logged


Global Moderator
Boston area, metrowest
Offline Offline
Brattain Member
*****
Karma: 538
Posts: 27114
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

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.

Manchester (England England)
Online Online
Brattain Member
*****
Karma: 627
Posts: 34219
Solder is electric glue
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Southern California
Offline Offline
God Member
*****
Karma: 5
Posts: 539
I like blinky lights
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Thank you all for the information.
Logged

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

Pages: [1]   Go Up
Jump to: