Hi,
I have a circuit that utilizes a 74161 4-bit counter. The 1hz clock signal for this counter originates from a 555 timer. The output of the counter goes to logic gates, ultimately controlling the letters on three 7-segment displays.
Initially, the circuit functioned flawlessly when powered by a brand-new 9-volt battery with a voltage regulator. However, it now has frequent glitches. sometimes the displays get stuck on the first set of letters, other times they operate normally, and sometimes they switch super fast.
I connected the circuit to a 5V power bank, which resulted in a 50% less glitches. However, powering the circuit directly with a 5V wall adapter almost eliminated the problem, with glitches occurring only once in like 50 operations.
I use 10uf capacitor for the 555 timer and that's it. I've searched online and I guess there's some noise in my input, so what do you think?

I have a circuit that utilizes a 74161 4-bit counter. The 1hz clock signal for this counter originates from a 555 timer. The output of the counter goes to logic gates, ultimately controlling the letters on three 7-segment displays.
Initially, the circuit functioned flawlessly when powered by a brand-new 9-volt battery with a voltage regulator. However, it now has frequent glitches. sometimes the displays get stuck on the first set of letters, other times they operate normally, and sometimes they switch super fast.
I connected the circuit to a 5V power bank, which resulted in a 50% less glitches. However, powering the circuit directly with a 5V wall adapter almost eliminated the problem, with glitches occurring only once in like 50 operations.
I use 10uf capacitor for the 555 timer and that's it. I've searched online and I guess there's some noise in my input, so what do you think?


