-->
Page 1 of 2

esp8266-12 module resets while switching 220v mains power

PostPosted: Wed Jul 01, 2015 1:23 pm
by rajbadri
hi
i am using a esp8266-12e to switch mains 220v power . when i am using a 5v opto isolated mechanical relay the esp resets when i turn the mains on or off . without mains load the relay functions flawlessly.
when with the same setup i use a 5v solid state relay module the setup runs perfectly without reseting the esp.


esp8266.jpg

Re: esp8266-12 module resets while switching 220v mains powe

PostPosted: Wed Jul 01, 2015 1:29 pm
by rajbadri
i am using a uln2003a to control the relay.
please guide

FullSizeRender 2.jpg

Re: esp8266-12 module resets while switching 220v mains powe

PostPosted: Wed Jul 01, 2015 8:44 pm
by SoC
may i know what is that opto isolated 5v relay?

your circuit may not be well protected that is why it is resetting.

Re: esp8266-12 module resets while switching 220v mains powe

PostPosted: Wed Jul 01, 2015 11:24 pm
by rajbadri
this relay is a chinese make and looks like this

one-channel-5V-relay-module.jpg