Use this forum to chat about hardware specific topics for the ESP8266 (peripherals, memory, clocks, JTAG, programming)

User avatar
By PaulRB
#41530 Thankyou Martin! I will try your resistor idea and respond on this thread.

So my theory about GPIO16 pulling RES up harder than the CH340 can pull it down was correct! But, clearly, not harder than the reset pushbutton can pull it down.
User avatar
By martinayotte
#41537 Yes ! GPIO16 isn't in OpenDrain mode (floating output when HIGH) during the sleep, like I though, it is really output a HIGH, probably stronger than the LOW provided the CH340, fighting each other, and the third fighter, the button is the strongest since it is a mechanical switch to GND, but it is actually shorting GPIO16 strongly, which in long term can damage it.
So, with a 1K or 470R resistor, no damage will be done, even with another kind of external reset source.
User avatar
By PaulRB
#41695
martinayotte wrote:So, with a 1K or 470R resistor, no damage will be done

What about a diode? Or would that leave nothing to pull RES high, causing it to float and not keep the esp reliably asleep?