Use this forum to chat about hardware specific topics for the ESP8266 (peripherals, memory, clocks, JTAG, programming)

User avatar
By YellowSky
#66716 Hi everyone,
i'm looking after a timer to wake up the esp8266 after a timer over than 71 minutes (current limitations is 32bits for a timer in µs).
Therefore i'm looking for a timer consuming very low power (it is dedicated to an application powered by batteries) and able to get a timer until one day.
Thank you for your help
User avatar
By trackerj
#66724 You can use a proper RTC like the DS3231 or the PCF8563.
In the links above you have ESP8266 usage examples for both.
User avatar
By YellowSky
#66736
trackerj wrote:You can use a proper RTC like the DS3231 or the PCF8563.
In the links above you have ESP8266 usage examples for both.


Ok, it seems is one solution

or you can just implement a software counter stored in nonvolatile intern rtc ram.
use board search for examples. - See more at: posting.php?mode=quote&f=13&p=66724#sthash.RGqUCzIY.dpuf


Ok, i know how to store in RTC but what is the way to use this counter to wake up or not?