- Sun Jul 26, 2020 2:11 pm
#88070
GPIO2 NEEDS to be pulled up at boot time for the ESP-01 to run. You must either rewire your relay to take this into account, or reprogram your code - or both i.e make it "active low" rather than the more common "active high".
Second option is to us GPIO1 or 3 and compile with NO_GLOBAL_SERIAL but of course you will then not be able to use TX/RX (Serial) while running. You can still upload with FTDI etc as long as you isolate the relay first.
Third option: spend $2 on a wemos D1 mini which is FAR easier to use, FAR more capable and has none of these problems.