I have a small LED strip light, which I want to power by a power bank. It is active for 6 hours, and then sleeps for 18 hours. It takes almost no power while sleeping, and the power bank detects this and shuts off. To defeat it, I built a small "device" which sleeps for 8 seconds and then draws 50 mA for 250 ms. This is enough to keep the power bank awake.
The whole setup seems to work fine, and it is running for over 24 hours now.
I am an amateur, and was told by an engineer, that I need a capacitor for the IC (to buffer some spikes that occur while switch in the IC while switching or something like that).
I looked for some schematics of ATtiny85 projects online, and not a single one used a capacitor.
I tried looking in the datasheet, but I have no clue how to read one. It is over 200 pages long, and I don't know what to look for.
Do I really need a capacitor? If yes, what kind and where?