1
\$\begingroup\$

I am planing my first MCU board and this MCU has several pins that need VCC (3.3V). My friend suggested that I put capacitors 0.1uF near every VCC pin to remove disturbances. But if these pins are close together it looks like this:

enter image description here

To me this looks like one big 0.4uF capacitor right? So should I only put one 0.1uF capacitor instead of 4 here? I mean: "Can I use one capacitor for multiple VCC pins if these are close together or is this not a common praxis?"

\$\endgroup\$
  • 3
    \$\begingroup\$ No, that isn't the same as one 0.4uF capacitor. I humbly suggest reading the answers to this related, though not duplicate, question as they discuss the effects of multiple parallel capacitors of the same value, as well as differing capacitor values: electronics.stackexchange.com/q/25280/101852 Regarding your question of can you use one capacitor for multiple Vcc pins - I would always refer to the manufacturer's appnotes, as the answer can vary, in my experience - hence why I'm not posting this as an answer :-) \$\endgroup\$ – SamGibson Mar 27 '16 at 17:30
  • 5
    \$\begingroup\$ If you have a high frequency design, consider using physically and electrically smaller capacitors right at each power/ground pair, and then a larger cap further away. Right now your ground connection is rather roundabout which will defeat a lot of the benefit anyway - you really want to bring the grounds directly out to your tiny caps, or if that is not possible connect both the ground pins and the caps to immediate vias to a ground plane on the reverse or inside. Also note those power pins may be designated for distinct internal purposes, and locally connecting them may not be desirable. \$\endgroup\$ – Chris Stratton Mar 27 '16 at 17:34
  • 3
    \$\begingroup\$ Those capacitors are HUGE, why don't you use smaller capacitors when you are already using an MCU with a microscopic pitch? \$\endgroup\$ – pipe Mar 27 '16 at 17:37
  • 2
    \$\begingroup\$ @71GA Exactly. Smaller capacitors makes it possible to put them closer to the actual pin they supply charge to during the switching transients. I don't know what you're using here but it almost looks like 1206 or something. 0603 is ok to do when hand soldering IMO. \$\endgroup\$ – pipe Mar 27 '16 at 18:17
  • 1
    \$\begingroup\$ How about using the other side of the board? How important is it to put decoupling caps on the same side of the PCB? \$\endgroup\$ – Andrew Morton Aug 7 '16 at 16:11
1
\$\begingroup\$

Yes. Capacitors in parallel can be added up. So, the common question that comes to mind is "Why not use one 0.4uF instead of 4 in parallel?" But the idea of using 4 0.1uF capacitors here is different.

Capacitors connected between Vcc and GND are generally called bypass capacitors. They are used to fill up the dips and variations in supply voltage. We put them close to the power rail to make sure they bypass the voltage ripple/variation before other critical components of the circuit "feel" the ripple.

The value of the bypass capacitor depends on the frequency of operation of the circuit. If you are using an AtMega 328 or similar MCU running at 16Mhz of less, 0.1uF would be enough. Your friend is right! If you are expecting higher frequencies, consider adding a couple of 0.01uF capacitors also. The exact value isn't critical but important. The smaller the capacitor, the faster it responds to variations in voltage and vice versa. High frequency signals have to be dealt with quickly. Hope you got the point.

If you plan to source small DC motors directly off the MCU board(I had built such boards for my projects), you might want to use larger capacitors(like 4700uF) because motors draw lots of current on startup and would cause huge volatge dip and that would upset all other components(MCU may reset). So a large capacitor(not a fast one) is needed to handle this.

I guess I have given you a good idea. Based on the application and size constraints of your board, choose the capacitors wisely. Bypass capacitors wouldn't hurt anyways even if you end up using more than what's required. So don't worry. What you've done looks good. All the best!

\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.