I am using three pins to control 3 irlz34n MOSFETs which regulate the RGB-phases of the LED stripe. Both ESP8266 and LED stripe are powered by a 12V 3A power supply with a voltage converter for the ESP8266 (set to 5V).
My problem is that when I power the system, I have a short (100ms) spike on my Output pins which results in a short flash of the LED stripe. I did some research and found this article:
http://rabbithole.wwwdotorg.org/2017/03 ... -gpio.html
It explains that ESP8266 pins go to high for about 100ms after power on.
My solution to this was to add a capacitor to each outgoing pin towards ground.
I tried 100nF, 47nF, 4.7nF. All seamed to work fine and solve my problem. No more flash on power on. Everything works fine.
My question is, how do I find/calculate the correct capacitor size to use. How do I know if the capacitor is too big or small?
Thanks in advance for your help, please let me know if you need additional information.