I am making a simple circuit. It has 5 x 74ls161 4-bit counters, and 4 logical ICs (2 x and, not, or). Regardless the logic of my circuit. After I added the last IC (bottom, 74ls32 quad and), the 2nd 4-bit counter stopped working. After 10 seconds, it worked again, then stopped after a minute. It happened before with the other leftmost 74ls161 counters. Sometimes they just stop working, or the increase count by 2 (lsb is always 0.)
I added these 47μF to each IC, but it didn't make a difference.
I am missing something here and I don't know why.
More importantly, how do I check that this won't happen again?
Thank you!!