Thanks @DrAzzy - it seems some people are taking real issue with the 10 year figure, but just to show my calculations:
2.5Ah@3.6v is standard for these batteries
STM32 is 12uA in sleep (datasheet says as low as 10uA, but let's be careful :)
XC6206 regulator is 1uA
Waking every 60s for 10ms is 30mA*0.010s / 60 = 5 uA average
So 18uA average
That's 2500mAh / 0.018mA = 138888 hours = 15.8 years
So quoting 10 years leaves 5.8 for self-discharge/etc :)
I was very tempted by adding ESP8266 to a kit... I may add it later - I just want to get it working first and to make sure that it's properly reliable :)
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Thanks @DrAzzy - it seems some people are taking real issue with the 10 year figure, but just to show my calculations:
That's 2500mAh / 0.018mA = 138888 hours = 15.8 years
So quoting 10 years leaves 5.8 for self-discharge/etc :)
I was very tempted by adding ESP8266 to a kit... I may add it later - I just want to get it working first and to make sure that it's properly reliable :)