I have an esp-12, 2xSolid state relays (pin 4, pin5) and 1 x relay module from eBay, onto-isolated 5V, hi or low switching (set to hi on gpio 13. To say i've been going nuts is an understatement!
Basically, it works very stably uptime... 50+ mins and counting... with the relay going on / off every 5-10 seconds or so...now if i connect a wire to the terminal (NC) of the relay i get uptime of 1min.. and it reboots! I've no idea... It does it even if the wire is live.. or not...
tried different modules...
Different 5v power supply
no problems with the solid state relays alone
I have a 10n cap across the +ve and -ve of the relay
I have a 10k pull up and a cap on the rst pin. touching it does not cause a reset which usually does when its floating.
I have several 100uf caps in the 5v, and 3.3v supplies...
my thoughts are that it might be conducting / transmitting / amplifying the EMF from the relay. Does this / can this happen?
I seem to be plagued with these relays causing esp reboots!