2
\$\begingroup\$

FINAL UPDATE A reassessment of my power consumption has led me to the solution to all of my problems. I picked up a 5V, 5A power supply (giving me plenty of overhead), reassembled my project, and it is now working as intended!! No flickering or dropouts. I've been testing for nearly fifteen minutes with the new power supply, and with my old setup the voltage drop normally happened in under two minutes if not just seconds. Many thanks again to all who replied.


Update Thanks to all who responded. As I go more deeply into this issue, it looks like my real problem goes all the way back to bad power consumption calculations. Without going into detail, I went back to basics and realized I had a minimum 3A draw and there was no way I was providing that through a 7805. The voltage drop was the big clue to the bigger problem. For the specific issue about series caps that first answer was on point even if it wasn't my real problem, so I'll pick that as the answer. The rest is purely dummy in me, it appears. Thanks again.


I been have been trying to diagnose a problem with a series of 7-segment LEDs driven by a MAX7221. My problems have ranged from random flickering to total shutdown. I blamed (variously) bad solder jointd, bad wires, bad power, and bad grounds, but none of those have solved the issue.

In finally looking at my circuit board up close, I think I spotted the problem: The 7221 is supposed to be wired with a 10uF and .47 uF cap across V and GND in parallel. I believe I have discovered my board has them wired in series, which I believe results in a net decrease in capacitance.

Other components not on this board but part of the same project (same power/ground) are working correctly. Could this dumb mistake cause hard-to-find electrical issues and inconsistent behaviors?

EDIT: I rewired the caps as suggested, and the component no longer functions at all. More importantly, though, I'm noticing that after the project starts up, after a couple of minutes or so, my 5V source on my power board drops to about 3.6V - and that's with my problem child component disconnected.

I have soldered up a board to take a 9V supply and power a Nano, then use a 7805 VR to provide 5V to my other components. Testing, I get a rock-solid 4.98V to my components, and 9.1 to my Nano. I run the 5V/Ground wires to a simple strip of headers so I can connect the other components. Is there something fundamentally wrong with what seems to me a pretty basic setup? If I see a sudden voltage drop after the project runs for a few minutes, is that indicative of ground bounce or back-current somewhere?

With everything hooked up, the project draws just over 400mA, which shouldn't be taxing a 9V/500mA supply powering my VR setup.

Something totally crazy is going on and I'm just not wise enough to spot it. Worse still is I'm sure it's a dumb mistake on my part.

\$\endgroup\$
5
  • 1
    \$\begingroup\$ It is like connecting a capacitor that is smaller than the smallest capacitor. But yeah, insufficient decoupling causes unpredictable, non-replicable issues. \$\endgroup\$
    – DKNguyen
    Commented Apr 1, 2022 at 21:52
  • \$\begingroup\$ David W - Hi, Up to now, people have answered the theoretical question of (apparently) mis-wired capacitors & the consequences of the reduced total capacitance. However your recent edit where you said: "I rewired the caps as suggested [...] component no longer functions at all. [...] after a couple of minutes or so, my 5V source [...] drops to about 3.6V [...]" describes a new scenario needing detailed troubleshooting. IMHO we would need you to supply schematics, photos before & after changes (i.e. you may need to reverse them) etc. Very difficult to help remotely :-( \$\endgroup\$
    – SamGibson
    Commented Apr 2, 2022 at 15:12
  • \$\begingroup\$ @SamGibson I understand completely and made my edit to suggest other more fundamental problems exist. I realize there's no practical way to diagnose my problem here. I guess what's frustrating is that this project seemed to be nearly complete, and these issues didn't come up until I was nearly done testing. I'm looking at power requirements now. Thanks. \$\endgroup\$
    – David W
    Commented Apr 2, 2022 at 15:23
  • \$\begingroup\$ @DavidW - Hi, I really understand the frustration :-( One more point: I don't know if your 7-segment modules were built by you or bought ready-made. Just FYI, most MAX7219 modules sold on eBay, Amazon etc. are likely to contain counterfeit MAX7219 ICs (search for MAX7219 fake etc. to see webpages with photos of real & fake dies & discussions). Hobby-type MAX7219 modules are just too cheap (with Maxim pricing) to be genuine ICs. Given the similarity between the MAX7219 and MAX7221, if yours are pre-made modules, they may also be counterfeit ICs. Just something to (unfortunately) bear in mind. \$\endgroup\$
    – SamGibson
    Commented Apr 2, 2022 at 15:31
  • \$\begingroup\$ Thanks, @SamGibson. Fortunately, I got my 7221s and LED displays from good sources. I'm thinking more and more I've completely miscalculated my power requirements, as I have multiple 5x7 matrix displays plus 16 7-segment displays...when I went back to the drawing board and calculated power requirements, it didn't take long to see I needed at least 3A for the whole thing. No way my 7805 is going to pass that much current. Nobody to blame but myself. \$\endgroup\$
    – David W
    Commented Apr 2, 2022 at 16:57

3 Answers 3

4
\$\begingroup\$

If you have a 10µF capacitor in series with a 0.47µF cap, the capacitance would be a little less than that of the smallest (about 0.45µF). In addition, the 10µF cap is likely a polarized electrolytic capacitor, which does not last long when subjected to alternating current -- and being in series with that 0.47µF, likely a ceramic with negligible DC leakage, would subject the electrolytic to reverse voltage if any AC voltage is present.

Yep, it seems like you found the culprit, and need to scrape off the series PCB trace and use jumpers to parallel them to correct the issue.

\$\endgroup\$
1
  • \$\begingroup\$ Thanks for giving me a path to pursue. I'm strictly a hobbyist so I'm sure things that wouldn't escape a seasoned electronics specialist could easily be missed by someone like me. \$\endgroup\$
    – David W
    Commented Apr 2, 2022 at 13:31
1
\$\begingroup\$

Is mentioned on other answers, the total parallel capacitance would be 0.45uF. I would clip off the 0.45 uF cap and run a short piece of wire across the two leads of the ceramic cap (short it/bridge the pads together). Then try it. It is highly likely that everything will work fine and you have an easy peasy answer. The 0.47uF ceramic cap is like an insurance policy ("just in case...") component. It will very likely work without it. If not, you can run add back a ceramic cap in parallel across the two legs of the electrolytic cap. Good luck.

\$\endgroup\$
1
  • \$\begingroup\$ Thanks! I appreciate the help. \$\endgroup\$
    – David W
    Commented Apr 2, 2022 at 13:30
1
\$\begingroup\$

It could be but it could also be something like ground bounce if the layout is bad or if there are wires involved.

The capacitance will still be almost half a uF and the impedance relatively low. I'm not as optimistic as the other answers. Fast switching and relatively high currents can cause a plethora of interesting problems when you add a smidge of inductance.

\$\endgroup\$
1
  • 1
    \$\begingroup\$ Thanks for the input. Everything helps. Looking into ground bounce. \$\endgroup\$
    – David W
    Commented Apr 2, 2022 at 13:30

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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