- Fri Feb 20, 2015 4:45 pm
#10274
Hello,
This forum has lots of good stuff. Thanks to all who contribute.
Related to what was previously discussed, here's what I want to do:
I don't have it yet but I want to use the ESP-12 module. I want to put the module into deep sleep for a while (say 12 hours).
However, I want to employ a motion sensor to (upon sensing movement) do a wake-up. After that I want to run some code then go back to sleep.
I'm a little fuzzy on using a GPIO to do the reset for the wake up. I'm pretty sure I can build the circuit to do the falling edge wake up but I'm not sure if multiple falling edge events will cause additional reboots of the module.
For instance, if the module is in sleep mode and a motion event occurs, the falling edge would cause a wake=up. What would happen if another falling edge event happened say 2 seconds later? Would the module reboot again or would the first falling edge event "latch" the module on until it goes back into sleep mode?
Thanks everyone in advance for any help you can provide.