I've been building a digital clock using a standard 8x32 LED matrix and an RTC chip. I am looking at adding a potentiometer to the design to adjust LED intensity.
Basically the Arduino powers a breadboard power rail and the 3 components, LED, RTC, and potentiometer, are all connected to the rail in parallel.
The value read from the potentiometer varies constantly, which I guess is normal, especially since the current draw of the LED display is varying. (Current draw at the rail is typically around 140mA but often dips down signficantly.)
I can smooth this out in software, but I was wondering if there is a way to smooth it in the circuit itself. Specifically if the addition of a capacitor might do this, but I'm pretty vague on exactly how to use capacitors in a design.