Re: ESP-01 resets when switching relay board
Posted: Mon Sep 21, 2015 12:31 pm
I am using an ESP8266-01 and a PIC16F688 to monitor a connection over 1336. The PIC16 decodes the serial and either turns on a latching relay (5VDC) or resets it to off. The latching relay then turns on a 120VAC relay. I was having problems with the -01 resetting upon the turning on on the 120VAC relay. I tried everything mentioned here, except for removing the reset. I need ed the reset because the PIC16 resets the -01 if it senses loss of data. No combination of capacitors or ferrite beads helped, until I tried a 5.5VDC 1 Farad capacitor. The 1 Farad caps are normally used for power on memory circuits. The 1F cap gets 5VDC (from a very noisy Chinese power supply 120VAC/5VDC) through a 1ohm 1/2watt resistor, then a 3.3VDC regulator drops it down for the01. With the 1Farad cap on there I have run 100s of cycle and not one reset do to a spike. And the noisy power supply is sufficiently cleaned up. One side note, the latching relay holds the power on the 120VAC even if the circuit resets. Usually took about 12 seconds for the circuit to reset and again accept commands.