-->
Page 1 of 3

Proper connection RST-GPIO16 for deepsleep in NodeMCU?

PostPosted: Wed Jul 18, 2018 2:07 am
by panoss
I have connected RST and GPIO16 in my NodeMCU with a simple wire and deepsleep works fine.
Should I use a diode instead?
This is what I read here.

Re: Proper connection RST-GPIO16 for deepsleep in NodeMCU?

PostPosted: Wed Jul 18, 2018 5:07 am
by schufti
direct connection is the worst method seen from engineering point of view and might give problems using external reset.
resistor is much better but value is often only defineable by experiment.
diode is the correct technical way to go.

Re: Proper connection RST-GPIO16 for deepsleep in NodeMCU?

PostPosted: Wed Jul 18, 2018 5:35 am
by btidey
The hazard with a direct connection, as pointed out, is that with GPIO16 high and an external reset line pulling the reset line low then the chip could get damaged.

The diode guards against this possibility.

In a deployed solution with nothing connected to reset line, and no way of the reset line going low either through an external connection or via an on-board reset button then the hazard does not exist and a direct connection could be safely used.

Re: Proper connection RST-GPIO16 for deepsleep in NodeMCU?

PostPosted: Wed Jul 18, 2018 5:39 am
by panoss
btidey wrote:The hazard with a direct connection, as pointed out, is that with GPIO16 high and an external reset line pulling the reset line low then the chip could get damaged.

The diode guards against this possibility.

In a deployed solution with nothing connected to reset line, and no way of the reset line going low either through an external connection or via an on-board reset button then the hazard does not exist and a direct connection could be safely used.

I use no external reset, so it 's safe to use a direct connection, right?
(on RST pin nothing is connected but the GPIO16)

And if I use an external reset, which diode should I use?