To do something every say 10 minutes just increment a count value every time the processor wakes. The processor immediately goes back to sleep if the count is less than say 75 (for a 10 minute wait).When the count is >= 75 the software resets the count and does what you want before going back to sleep.The processor only needs to wake for a couple of millionths of a second every 8s to check and increment the count, so there is a negligible increase in the average current over the 8s period.P.S. I removed the power on LED from the ESP8266 board as well as the processor power on LED to save power, as it consumed a few milliamp.
Please enter a valid email to subscribe
We need to confirm your email address.
To complete the subscription, please click the link in the
email we just sent you.
Thank you for subscribing!
via Egeo 16