marquee-scroller icon indicating copy to clipboard operation
marquee-scroller copied to clipboard

Adding a capacitor to the LED matrix increases the system reliability

Open leliep opened this issue 3 years ago • 11 comments

After having a lot of hassle with distorted LEDs in the matrix and unreliable startup behavior after power-on I added a 10uF capacitor to the power pins of the first LED matrix element, see attached picture. This was a great improvement, startup always perfect and not a single scrambled display.

(and, btw, thanks for this nice project!)

IMG_7115

leliep avatar Oct 20 '21 12:10 leliep

A capacitor on the the power is always a great idea. Thanks for sharing. Looks great and easy to add.

Qrome avatar Oct 20 '21 13:10 Qrome

I had the same issue. Now is working well. Thank you.

dexter2111 avatar Nov 25 '21 19:11 dexter2111

Will a 1K ressistor or 10k or 220K work?

finnie2006 avatar Feb 10 '22 11:02 finnie2006

Will a 1K ressistor or 10k or 220K work?

Well, a resistor is not a capacitor. So I don’t think it should work as intended…

leliep avatar Feb 10 '22 12:02 leliep

oh yea, lol close instantly

finnie2006 avatar Feb 10 '22 12:02 finnie2006

Sorry, didn’t want to close this. Regarding the resistor, do you have some constructive input? Always trying to learn… ;-)

leliep avatar Feb 10 '22 12:02 leliep

What do you mean with constructive input? (I am dutch)

finnie2006 avatar Feb 20 '22 11:02 finnie2006

Constructive like helpful like constructief

What I mean is that I don’t have any idea what a resistor instead of a capacitor would do. Maybe you can help me to understand…

Groetjes vanuit Duitsland :-)

leliep avatar Feb 20 '22 12:02 leliep

I just ordered capacitors 😃

finnie2006 avatar Feb 20 '22 12:02 finnie2006

What I mean is that I don’t have any idea what a resistor instead of a capacitor would do. Maybe you can help me to understand…

Have a look here for a very simplified introduction: https://science4fun.info/resistors-capacitors-and-inductors/

mrouillard avatar Mar 07 '22 18:03 mrouillard

What I mean is that I don’t have any idea what a resistor instead of a capacitor would do. Maybe you can help me to understand…

Have a look here for a very simplified introduction: https://science4fun.info/resistors-capacitors-and-inductors/

A capacitor stores a charge, like a small battery except it can charge and discharge much faster than the battery.

One use for a capacitor is to smooth out a power supply.

The purpose of adding a capacitor to the LED matrix between the power and ground pins is so that the capacitor can help power the display as suddenly turning on a lot of the leds at once draws a lot of power and the voltage regulator on the D1 Mini may not be able to provide that much power that fast, which causes it to crash as it gets starved of power.

Using a resistor would likely make things worse as a resistor uses power.

davsav avatar Mar 08 '22 01:03 davsav