-->
Page 1 of 1

D1 mini deep sleep - weird problem

PostPosted: Thu Oct 06, 2016 3:36 pm
by voximdo
Hello guys :)

I have got my D1 mini boards from few days along with DHT Pro shield. But as you probably know they heat up a lot. So readings are very inaccurate. So I wanted to try using deepsleep function. I read that I should connect D0 and RST with some resistor or wire. When I connect 1k or 220 deepsleep and waking up from it works fine but... after I disconnect wire and connect again it stops working. I have to compile and upload new program to make it work somehow. What can be the issue?

With regards,

Re: D1 mini deep sleep - weird problem

PostPosted: Sat Oct 08, 2016 11:35 am
by mrburnette
after I disconnect wire and connect again it stops working. I have to compile and upload new program to make it work somehow. What can be the issue?


The issue is that this connection is intended to be permanent. Wire the two pins together and never make a pin reference to D0 in the Arduino sketch!

Yes, you lose D0 for all eternity if you plan on using this wake-from-sleep method.

Ray

Re: D1 mini deep sleep - weird problem

PostPosted: Sun Oct 09, 2016 9:19 am
by voximdo
I have never used reference to D0 in Arduino, so that's not the problem :(

Re: D1 mini deep sleep - weird problem

PostPosted: Sun Apr 05, 2020 6:41 am
by Max77
The jump is needed for the wake-up signal, but it has to be removed when uploading a sketch.