-->
Page 2 of 3

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

PostPosted: Wed Jul 18, 2018 6:15 am
by btidey
You are using a NodeMCU so there is a reset button and so the hazard does exist if you ever press the reset button while in sleep. For simpler modules like the ESP-12 then there is no built in reset button.

My preference would be to use a schottky diode to keep the voltage drop low when the GPIO16 pulls the reset line. There is no significant current so something like a BAT-85. A conventional like a 1N4148 diode should also work OK, but some say this might be marginal.

The NodeMCU does have an on board connection for deep sleep via a resistor but I think this is best ignored.

See https://github.com/universam1/iSpindel/issues/59

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

PostPosted: Wed Jul 18, 2018 6:18 am
by panoss
Ok, thanks! I 'll connect a diode.

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

PostPosted: Wed Jul 18, 2018 6:28 am
by btidey
Note I did edit my previous post with some extra comment. So I would definitely use a schottky.

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

PostPosted: Wed Jul 18, 2018 7:18 am
by panoss
btidey wrote:The NodeMCU does have an on board connection for deep sleep via a resistor but I think this is best ignored.

I didn't understand what you mean here. Can you explain?
When you say 'connection fro deep sleep' you mean connection of RST and GPIO16 of NodeMCU?