ESP8266 light sleep and interrupts?
Posted: Sun Jul 22, 2018 9:04 pm
I am building a weather station with a reed switch rain gauge.
The switch pulls a pin low, which calls an interrupt, that the ESP logs. This part works fine.
My power consumption is too high. So I want to use light sleep to save some power when I am not reading sensors, or sending data.
The question is: will the ESP still respond to the interrupt while it is in light sleep? I do not want to miss a rain event while the device was asleep.
Thanks,
-Dave
The switch pulls a pin low, which calls an interrupt, that the ESP logs. This part works fine.
My power consumption is too high. So I want to use light sleep to save some power when I am not reading sensors, or sending data.
The question is: will the ESP still respond to the interrupt while it is in light sleep? I do not want to miss a rain event while the device was asleep.
Thanks,
-Dave