Page 1 of 1

PIR and Deep Sleep using ESPEasy?

Posted: 07 Jan 2023, 15:25
by J74656
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!!

Re: PIR and Deep Sleep using ESPEasy?

Posted: 26 Jan 2023, 16:30
by bidrohini
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

Re: PIR and Deep Sleep using ESPEasy?

Posted: 26 Jan 2023, 16:50
by chromo23
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.