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!!
PIR and Deep Sleep using ESPEasy?
Moderators: grovkillen, Stuntteam, TD-er
Re: PIR and Deep Sleep using ESPEasy?
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
https://espeasy.readthedocs.io/en/lates ... ensor.html
Re: PIR and Deep Sleep using ESPEasy?
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.
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.
Who is online
Users browsing this forum: Bing [Bot] and 12 guests