ESP deep sleep and interrupts
Posted: Mon Jun 25, 2018 8:50 pm
I built a weather station based on a esp-07s. I am trying to minimize the power consumption. The station uses a tipping bucket that trips a reed switch to track rainfall. My issue is I need to find a way to do this during deep sleep. My understanding is that this is not possible with the esp8266 (it will not wake up on interrupt)?
Is there any sort of work around?
Option B is using a Attiny85 (also sleeping) to watch the reed switch. If the line goes low, it wakes up and checks a sense line to see if the esp8266 is awake. When that line goes high, it pulls low the rain switch line from the esp, and the esp records the event. The Attiny85 then resets everything and goes back to sleep.
Thoughts?
Dave
Is there any sort of work around?
Option B is using a Attiny85 (also sleeping) to watch the reed switch. If the line goes low, it wakes up and checks a sense line to see if the esp8266 is awake. When that line goes high, it pulls low the rain switch line from the esp, and the esp records the event. The Attiny85 then resets everything and goes back to sleep.
Thoughts?
Dave