If your timing is changing due to decoupling, there is something serious wrong.
So my question is...will the off timing be consistent? So I can just adjust the code accordingly? My loop probably takes about half a second longer now or so it seems. Or would it be less predictable? I assume it's because of the 47uf cap on the power rails...it's taking a bit of time to charge/decharge.
everything seems to be running very smoothly now. here is a terrible fritzing of my circuit
hey thanks for all the replies. ok so i fixed the timing...but i don't understand why it works. basically the startup time changed by 2 seconds after I put in the decoupling capacitors.
yeah oddly enough the startup code was the only thing I had to adjust by 2 seconds and then everything worked better than ever. I have no idea why that is. Anyone have any ideas?
Can you try something smaller then 47uF...?
Why Smaller?, If anything at all a bigger cap... 100 - 470uF would be better and probably as big as is required. anything larger would serve little purpose.