I am using the in-built RTC on the 8266 to deepsleep for an hour, but it seems to be highly inaccurate, although it's repeatability seems to be OK.
Code: Select all
secs = 3600
rtc = mc.RTC()
In sleeping for 1 hour, it wakes up on average 108 seconds early, this seems to be a huge error and of course in 1 day this would be roughly 43 minutes a day assuming that the error is cumulative.
Can the clock be so inaccurate ??
Other than adding a multiplication factor into the sleep time code, is there away to calibrate / adjust the rtc ?