ESP-12 Relay Reset[Done]

tontito
Posts: 12
Joined: Sun May 17, 2015 6:33 pm

ESP-12 Relay Reset[Done]

Postby tontito » Tue Jul 14, 2015 8:53 pm

Hi,

i create my project. Wifi relay but i have problem relay.

5v songle chinese relay and connect LCD TV. Relay is HIGH then ESP-12 resetting.

my connection:

ESP-12
VCC ---------------------> 3.3v (AMS1117)
GND ---------------------> GND
CH_PD 10k --------------> 3.3v
GPIO0 10k ---------------> 3.3v
RST pin 10k -------------> 3.3v
GIO5 2222N Transistor -> Relay module IN

Relay module
VCC ----------------------> 5v
GND ----------------------> GND

what is my problem?

markjuggles
Posts: 1
Joined: Fri Jul 17, 2015 2:28 am

Re: ESP-12 Relay Reset

Postby markjuggles » Fri Jul 17, 2015 2:54 am

Does this occur when the relay turns on? If so, the high current from the relay may be loading the power supply below the voltage that the ESP8266 needs.

If if occurs when the relay turns off, the high voltage kick back from the coil may be resetting the ESP8266. Is there a reverse polarity diode across the relay coil?

tontito
Posts: 12
Joined: Sun May 17, 2015 6:33 pm

Re: ESP-12 Relay Reset

Postby tontito » Sat Jul 18, 2015 2:54 pm

Problem solved

i have solder RST pin to button and header pin.

if relay NO and NC null RELAY HIGH RELAY LOW no problem always smoothly

but relay NO and NC 220v insert laptop adapter or tv or etc. RELAY HIGH esp reset.

desolder header pin and button RST pin no solder nothing problem solved.

RST pin always null no problem.

YimingLi

Re: ESP-12 Relay Reset

Postby YimingLi » Mon Jul 20, 2015 1:59 am

tontito wrote:Hi,

i create my project. Wifi relay but i have problem relay.

5v songle chinese relay and connect LCD TV. Relay is HIGH then ESP-12 resetting.

my connection:

ESP-12
VCC ---------------------> 3.3v (AMS1117)
GND ---------------------> GND
CH_PD 10k --------------> 3.3v
GPIO0 10k ---------------> 3.3v
RST pin 10k -------------> 3.3v
GIO5 2222N Transistor -> Relay module IN

Relay module
VCC ----------------------> 5v
GND ----------------------> GND

what is my problem?



Kindly reminded that GPIO5 is in input state without any internal pullup or pulldown, during reset. That is, GPIO5 and 2222N transistor input are floating during reset and the 2222N output to Relay may cause unexpected behavior as you mentioned. Therefore, recomended to add an external pull resistence to the GPIO5/2222N in, providing a determined status during reset.

Espressif_Kelly
Posts: 140
Joined: Mon Oct 27, 2014 10:40 am

Re: ESP-12 Relay Reset

Postby Espressif_Kelly » Wed Jul 22, 2015 8:14 pm

Hi tontito,

For EXT_RSTB,in order to avoid reset caused by external interference, the trace of EST_RSTB is generally required to be short, and external RC circuit is recommended and should be placed close to EXT_RSTB pin.

Besides, for relay application, AC Ground and DC Ground should be separated and connected via a wire.

Thanks.

tontito
Posts: 12
Joined: Sun May 17, 2015 6:33 pm

Re: ESP-12 Relay Reset

Postby tontito » Sat Jul 25, 2015 7:27 pm

Thank you so much.

ESP very very stable 7 days.

I have solder to GPIO > opto isolator > Transistor. no problem esp stable.

romanskip
Posts: 1
Joined: Mon Aug 17, 2015 10:33 pm

Re: ESP-12 Relay Reset

Postby romanskip » Tue Aug 18, 2015 10:02 pm

Hi tontito,

I have the same problem, but i dont understand very Well your solution. Could you help me, please? What number of commponent You use or if You have some diagram that help me too much.

Thanks

kurnaz5
Posts: 1
Joined: Mon Jun 27, 2016 11:51 pm

Re: ESP-12 Relay Reset

Postby kurnaz5 » Mon Jun 27, 2016 11:54 pm

tontito wrote:Problem solved

i have solder RST pin to button and header pin.

if relay NO and NC null RELAY HIGH RELAY LOW no problem always smoothly

but relay NO and NC 220v insert laptop adapter or tv or etc. RELAY HIGH esp reset.

desolder header pin and button RST pin no solder nothing problem solved.

RST pin always null no problem.


i love you so much thank you!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
our system working well now thanks to you
i will remove rst pin i dont need anymore (im using ota)

Who is online

Users browsing this forum: No registered users and 3 guests