In a lab that I just did, we used a 555 timer, a binary counter IC, and a binary-to-decimal decoder IC that led to an LED display. The LED display counts from 0 to 9 and is connected to the binary-to-decimal decoder. The LED behaved erratically but when you put a large capacitor in parallel with the DC power supply and the binary counter, it worked perfectly.
I know that it behaved erratically because of interference but why does a large capacitor stop the interference?
Current drawn from the supply changes the supply voltage. The higher the current and the faster the current pulses the more the supply voltage is perturbed. ICS and circuits connected tp the supply rail require high fast current Pulse to be drawn from the supply. Decoupling / bypass capacitors placed close to these components can supply the fast current pulses without disturbing the supply rail as much. This is a simplified answer. Supply bypassing is a technique that has had a number of technical articles devotrd to it.
POWER ACOUSTIK PCX-3F 3 FARAD CAR DIGITAL POWER CAPACITOR/CAP 24V DC BLUE LED, POWER ACOUSTIK PCX 10F 10 FARAD CAR AUDIO DIGITAL CAPACITOR/CAP 24V BLUE LED, POWER ACOUSTIK PCX 10F 10 FARAD CAR AUDIO DIGITAL CAPACITOR/CAP 24V BLUE LED, NEW SPL CP2.0 2 FARAD Car Digital Power Capacitor Audio LED Cap CP20, NEW SPL CP2.0 2 FARAD Car Digital Power Capacitor Audio LED Cap CP20, SPL CP-20X Digital 20 Farad Power Capacitor with Blue LED Accent Lighting, LANZAR VECTOR 80 FARAD VEHICLE STEREO POWER CAPACITOR 16 VOLT HYBRID BATTERY, NEW SPL CP2.0 2 FARAD Car Digital Power Capacitor Audio LED Cap CP20, SPL CP-4X Digital 4 Farad Power Capacitor/Cap with Blue LED Accent Lighting, SPL 4 FARAD 16V DC SURGE POWER DIGITAL CAR CAPACITOR W/ BLUE LED ACCENT LIGHTING, SPL AUDIO CP-12X 12 FARAD DIGITAL POWER CAPACITOR W/ BLUE LED ACCENT LIGHTING, POWER ACOUSTIK PCX-3F 3 FARAD CAR DIGITAL POWER CAPACITOR/CAP 24V DC BLUE LED, NEW VOODOO Car Audio 2.4 FARAD Digital LED POWER Capacitor incl. 3 YEAR WARRANTY, SPL AUDIO CAR STEREO 12 FARAD DIGITAL CAPACITOR BATTERY W/ BLUE LED DISPLAY, SPL AUDIO CP12X CAR POWER DIGITAL CAPACITOR 12.0 FARAD BATTERY CAP W/ BLUE LED, POWER ACOUSTIK PCX-3F 3 FARAD CAR DIGITAL POWER CAPACITOR/CAP 24V DC BLUE LED, POWER ACOUSTIK PCX 10F 10 FARAD CAR AUDIO DIGITAL CAPACITOR/CAP 24V BLUE LED, Boss CAP10 CAP 10 10 Farad Digital Capacitor with Blue LED's Car Audio Power, LANZAR LQ16CAP 1.6 FARAD LED CAP POWER CAPACITOR NEW, NEW! BOSS CAP2B BLACK 2.0 FARAD 12 VOLT POWER CAPACITOR WITH RED LED DISPLAY, SOUNDSTREAM SC-15F 15 FARAD HYBRID POWER CAR CAPACITOR W/ LED VOLTAGE DISPLAY, PYLE CAR AUDIO PLCAPE18 NEW 1.8 FARAD BLUE LED DIGITAL DISPLAY POWER CAPACITOR, POWER ACOUSTIK CAR AUDIO 1.5 FARAD 1.5F DIGITAL CAP CAPACITOR RED 8 SEGMENT LED, LANZAR LQ19CAP CONTAQ 1.9 FARAD DIGITAL BLUE CAR STEREO 12 VOLT POWER CAPACITOR, LANZAR CONTAQ 1.9 FARAD CAR AUDIO 12 VOLT POWER CAPACITOR W/ NEON BLUE DISPLAY, POWER ACOUSTIK PC2.0F 2.0 FARAD DIGITAL POWER VEHICLE CAPACITOR W/ DIGITAL LED, POWER ACOUSTIK CAR AUDIO 1.5 FARAD 1.5F DIGITAL CAP CAPACITOR RED 8 SEGMENT LED, POWER ACOUSTIK CAR AUDIO 1.5 FARAD 1.5F DIGITAL CAP CAPACITOR RED 8 SEGMENT LED, NEW POWER ACOUSTIK PCX-3F 3 FARAD CAPACITOR BLUE LED, POWER ACOUSTIK 2.0 FARAD DIGITAL POWER CHROME COMPACT CAR STIFFENING CAPACITOR, SPL AUDIO DIGITAL POWER 6 FARAD 12V HYBRID CAPACITOR W/ BLUE LED ACCENT LIGHTING, Boss CAP30 CAP 30 30 Farad Digital Capacitor with Blue LED's Car Audio Power, DIGITAL 4.4 FARAD CAR STEREO POWER CAPACITOR 20 VDC 4400 WATT POWER RATING, XPRESS 4 FARAD F POWER CAP STIFFENING DIGITAL HYBRID VEHICLE CAPACITOR 24 DVC, XPRESS 4 FARAD MONITOR LED VOLTAGE STIFFENING DIGITAL HYBRID POWER CAPACITOR, XPRESS 4 FARAD STIFFENING DIGITAL HYBRID POWER CAR CAPACITOR W/ BUILT IN RELAY, XPRESS 4 FARAD POWER CAP STIFFENING DIGITAL CAPACITOR W/ LED VOLTAGE INDICATOR, SOUNDSTREAM SCX-4 4.0 FARAD DIGITAL POWER HYBRID CAPACITOR W/ BLUE LED DISPLAY, NEW SPL CP2.0 2 FARAD Car Digital Power Capacitor Audio LED Cap CP20, DIGITAL 2.2 FARAD 2200 WATTS CAR STEREO POWER HYBRID CAPACITOR BATTERY CAP RADIO, XPRESS CAP 4 FARAD CAR CAPACITOR LED VOLTAGE DIGITAL POWER DISPLAY METER BATTERY, CAR 4 F FARAD CAP POWER CAPACITOR LED VOLTAGE METER DIGITAL DISPLAY BATTERY, SPL AUDIO 6 FARAD CAR DIGITAL POWER CAPACITOR CAP F BATTERY BLUE VOLTAGE METER, PLANET AUDIO PC10F 10 FARAD SUPER POWER HYBRID CAPACITOR WITH LED VOLT METER, XO VISION XPRESS 4 FARAD DIGITAL DISPLAY POWER VEHICLE CAPACITOR W/ LED VOLTAGE, CAR SUB WOOFER AMPLIFIER DIGITAL 6.6 FARAD LOW ESR CAPACITOR BATTERY CAP 6600W, ★XPRESS 4 FARAD CAR AUDIO AMP CAP STEREO CAPACITOR W/ LED VOLTAGE POWER DISPLAY★, STINGER SPC111 1 FARAD DIGITAL LED POWER CAPACITOR CAP, SPL CP8.0 8 FARAD CAR AUDIO DIGITAL LED POWER CAPACITOR STEREO AMPLIFIER AMP CAP, BOSS CAP8 8 FARAD Digital Car Power Capacitor LED Cap,