Actually NFC shouldn't affect the battery life noticeably at all - in fact I think the power usage measurements were taken with NFC enabled.
I think 5 years is very optimistic (if that's on the Espruino site could you let me know, as it'd be good to fix that) but I think 1 year+ would be absolutely fine.
Only thing to watch out for is to use NRF.setConnectionInterval(200) or similar as by default Puck.js will enter a high bandwidth mode when connecting/being connected to. It'll go to a low power mode after 1 minute of inactivity but depending on your use case, that could cause you higher power draw
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.
Hi,
Actually NFC shouldn't affect the battery life noticeably at all - in fact I think the power usage measurements were taken with NFC enabled.
I think 5 years is very optimistic (if that's on the Espruino site could you let me know, as it'd be good to fix that) but I think 1 year+ would be absolutely fine.
Only thing to watch out for is to use
NRF.setConnectionInterval(200)
or similar as by default Puck.js will enter a high bandwidth mode when connecting/being connected to. It'll go to a low power mode after 1 minute of inactivity but depending on your use case, that could cause you higher power draw