Hopefully this isn't the wrong forum for my question.
I'm using a Wemos D1 esp8266 microcontroller that can be awaken from a permanent deep sleep only by a falling edge on the RST pin.
I want the board to be in deep sleep until a movement occurs in front of my PIR motion sensor. On awake, I want the board to stay awake until I put it back to sleep, not allowing new resets from the PIR sensor while awake.
My tries of solving this were unsuccesful and I'm asking if someone could help me with this.
Can you post your code. Are you trying to use the RST pin as an interrupt pin? Reseting will wake the ESP8266, but once awake if it goes low again, won't the device just reset again?
It's literally: send some data, go to deepSleep.
And the next time it awakes, it does the same thing again. But the "data sending" can last for some time
Surprisingly it doesn't.
It's a different topic, so I thought I'd open a "New topic".