Newbie question about Deep Sleep

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
ronald
Normal user
Posts: 28
Joined: 05 Jun 2017, 14:15

Newbie question about Deep Sleep

#1 Post by ronald » 05 Jun 2017, 14:22

I just started with this stuff, so I apologize if I ask questions that are too obvious...
I have a Lolin NodeMcu V3, flashed with ESP Easy, and it works ok.
I hooked up a Temperature & Humidity sensor, a DHT 22, to GPIO-14, wired it to 3V, Ground and D5 and included a 4.7 K Ohm resistor between D5 and 3V.
So far so good, everything works and the sensor sends it's values to my Domoticz.
But it drains the battery very quickly, so I read about using Deep Sleep, but I don't know how to get it working.
I ticked the box 'Sleep Mode' in the Main Settings and connected pins RST and GPIO16, but then nothing happens. The device does not awake from sleep. I read somewhere that this awaking should be done manually, but I want the sensor to do that, every once in a while.
How do I do that?

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests