PIR and Deep Sleep using ESPEasy?

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
J74656
New user
Posts: 3
Joined: 30 Dec 2022, 15:54

PIR and Deep Sleep using ESPEasy?

#1 Post by J74656 » 07 Jan 2023, 15:25

hi

im new to ESPEasy and was wondering if anyone had done a small project making use of a PIR which would bring the ESP device out of deep sleep once it detects movement, then once it triggers go back into deep sleep? I have already worked out a battery solution for the ESP just wondering what would be involved in a PIR waking out of deep sleep all done using ESP Easy. Any additional hardware needed on the PIR side?

Cheers!!

bidrohini
Normal user
Posts: 101
Joined: 03 Nov 2022, 16:24

Re: PIR and Deep Sleep using ESPEasy?

#2 Post by bidrohini » 26 Jan 2023, 16:30

The deep sleep part is not demonstrated here. But this may help you with the PIR part.
https://espeasy.readthedocs.io/en/lates ... ensor.html

User avatar
chromo23
Normal user
Posts: 821
Joined: 10 Sep 2020, 16:02
Location: germany

Re: PIR and Deep Sleep using ESPEasy?

#3 Post by chromo23 » 26 Jan 2023, 16:50

Actually you can use any pir module... it just sends a signal on its output but usually with a often not user-selectable duration
Therefore you need a litte circuit in between the output of the pir and the reset port of the esp.
Here a circuit from another forum:
https://forum-raspberrypi.de/forum/thre ... ost140914
It is used to create an short pulse when turning on a tv to power up a raspberry.

Since waking up an esp works the same way (short grounding of the reset pin) this is what you are looking for.

Post Reply

Who is online

Users browsing this forum: No registered users and 12 guests