Page 9 of 19
Re: ESP8266-01 gpio2 5v out to trigger relay
Posted:
Fri Jun 24, 2016 12:10 pm
by Joe Job
Cool thanks fingers crossed this will get things going, will try now.
Re: ESP8266-01 gpio2 5v out to trigger relay
Posted:
Fri Jun 24, 2016 12:15 pm
by Joe Job
YES! Spot on ok so now I should just connect up the ESP8266 but replace the middle wire that was used with ground to turn it on with the GPIO2 yes ?
Re: ESP8266-01 gpio2 5v out to trigger relay
Posted:
Fri Jun 24, 2016 12:18 pm
by martinayotte
Yes !
And in the firmware, to turn ON the relay, you need digitialWrite(GPIO2, 0), while digitialWrite(GPIO2, 1) will turn it OFF again.
Re: ESP8266-01 gpio2 5v out to trigger relay
Posted:
Fri Jun 24, 2016 12:28 pm
by Joe Job
Yes already have the firmware ok was working with ATMEGA sending commands to the ESP8266, well here goes will post back soon, thanks again.