How to wake from deep sleep

Moderators: Voyager, BertB, rtenklooster, Stuntteam, grovkillen, TD-er

Post Reply
Message
Author
Beliar_666
Normal user
Posts: 2
Joined: 11 Apr 2019, 00:08

How to wake from deep sleep

#1 Post by Beliar_666 » 13 Apr 2019, 20:03

Hello,
my next problem: Iuse a Nodemcu with a connected Microswitch to Send a mqttstate to my Iobroker. The Node is powered by one 18650 Cell so it should go to deepsleep and wake up when the postman inserts something in my Postbox. So it has to wake up when the Lid is opened and then send the change of the switch via mqtt.

I´m totally stuck on this. If its not configured to go to sleep everything works fine, but if sleep is activated the Nodemcu wont wake up.

The Mikroswitch is connected to Ground and D6. Mo other connections are wired

kimot
Normal user
Posts: 150
Joined: 12 Oct 2017, 20:46

Re: How to wake from deep sleep

#2 Post by kimot » 14 Apr 2019, 22:24

When postman put something to your box you must generate short ground pulse on reset pin to boot your ESP.

kumaxx
Normal user
Posts: 2
Joined: 22 Apr 2019, 18:44

Re: How to wake from deep sleep

#3 Post by kumaxx » 24 Apr 2019, 14:14

On all forums write about scheme (in attach).

Connect to "Interrupt Signal" to your sensor. I myself want to check on the sensor leakage of water.
Attachments
Deep Sleep wakeup.png
Deep Sleep wakeup.png (18.14 KiB) Viewed 222 times

pamututo
Normal user
Posts: 3
Joined: 24 Apr 2019, 21:13

Re: How to wake from deep sleep

#4 Post by pamututo » 24 Apr 2019, 21:16


Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests