ESP32 GPIO state at power-on
Posted: Sat Jan 20, 2018 9:51 pm
Hi,
I have a relay connected to two of my ESP32 GPIO ports 26 and 27. The relay is one of these arduino suitable relays (see e.g. http://arduino-info.wikispaces.com/ArduinoPower).
During normal operation everything works nicely, but during power-on of the ESP32 the two GPIO ports are high, and the relay triggers.
Is there any way to prevent this?
I've tried to connect the GPIOs to GRND via a 1K resistor (which I've read somewhere else). This reduces the time the GPIOs are high, but the relay still triggers.
I'm planning to control my garage door via this setup, and I don't want to have the relay triggering after e.g. a power outage, which would cause the garage door to automatically open.
Any help would be greatly appreciated!
I have a relay connected to two of my ESP32 GPIO ports 26 and 27. The relay is one of these arduino suitable relays (see e.g. http://arduino-info.wikispaces.com/ArduinoPower).
During normal operation everything works nicely, but during power-on of the ESP32 the two GPIO ports are high, and the relay triggers.
Is there any way to prevent this?
I've tried to connect the GPIOs to GRND via a 1K resistor (which I've read somewhere else). This reduces the time the GPIOs are high, but the relay still triggers.
I'm planning to control my garage door via this setup, and I don't want to have the relay triggering after e.g. a power outage, which would cause the garage door to automatically open.
Any help would be greatly appreciated!