-->
Page 2 of 3

Re: GPIO pulling high at starup

PostPosted: Tue Sep 20, 2016 5:29 pm
by krzyspx
Overview of the subject - such as when we use ESP-01 for 3 relays
http://www.elektroda.pl/rtvforum/topic3227629.html
website is in Polish but the scheme in English :)
after 0,5-1 second after the reset you switch on T4 (Rx line is clear at boot procesor) and after that we can on/off relays

Re: GPIO pulling high at starup

PostPosted: Sun Oct 23, 2016 7:56 pm
by orio
Hi,

I'm having the same issue with a garage door opener, during boot the GPIO activate de relay and open the door. What GPIO is recommended to avoid that the ESP8266 open the door during boot? Im using the ESP8266 E12 Login V3.

This is the code im using:
https://github.com/ElectronHacks/MQTT_E ... Opener.ino

Any advice will be appreciated!

Re: GPIO pulling high at starup

PostPosted: Sun Oct 23, 2016 10:17 pm
by rudy
The link on the second post indicates that GPIO4 and GPIO5 are left alone. I would add a resistor to ground to ensure the pin is low. You didn't mention what you are using to drive the relay.

Re: GPIO pulling high at starup

PostPosted: Wed Nov 02, 2016 6:12 am
by SURbyte
rudy wrote:You didn't mention what you are using to drive the relay.

He upload the code.
Code: Select allvoid setup()
{
  pinMode(5, OUTPUT);