-->
Page 18 of 19

Re: ESP8266-01 gpio2 5v out to trigger relay

PostPosted: Sun Aug 14, 2016 12:09 am
by Joe Job
The light flickers when powering up so it must be able to switch it I guess. GPIO2 is constantly at 3.3v roughly it is not switching low to switch the switch.

Re: ESP8266-01 gpio2 5v out to trigger relay

PostPosted: Sun Aug 14, 2016 12:30 am
by Joe Job
keep buying new parts advised and have yet to finish a simple project :(

Re: ESP8266-01 gpio2 5v out to trigger relay

PostPosted: Sun Aug 14, 2016 2:06 am
by Joe Job
last thing to solve then I have finally completed :D Everything is working, I have to set GPIO2 to HIGH after it is initiated but now the blue LED is faintly showing all the time and I don't think is healthy what could cause that to happen, i have checked continuity and doesn't appear to be anything touching that shouldn't be, 1 step away from closing this thread for ever lol :D Nearly there.

Re: ESP8266-01 gpio2 5v out to trigger relay

PostPosted: Sun Aug 14, 2016 3:03 am
by Joe Job
I had commented out serial begin and all serial prints and removed a delay which made it work but the LED stayed on, now I have uncommented serial print and re added the delay, the led is normal again, but now the switch wont switch.

EDIT it has just worked, will test some more