Another question ... I'll put it here because it has similar subject.
I have attached a LFP cell (3.2v nominal voltage), working great for weeks now.
Now I need to check battery status regularly but I am having trouble with the results.
When using NRF.getBattery() the result differs everytime in such ranges that make it hard to consider them real. So I have tried checking multiple times and using the average like this (found it somewhere here in a post):
However, this results in values much to high most of the time. What would be the right calculation to get a decent value for LFP cells?
Any hint is appreciated.
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.
Another question ... I'll put it here because it has similar subject.
I have attached a LFP cell (3.2v nominal voltage), working great for weeks now.
Now I need to check battery status regularly but I am having trouble with the results.
When using NRF.getBattery() the result differs everytime in such ranges that make it hard to consider them real. So I have tried checking multiple times and using the average like this (found it somewhere here in a post):
However, this results in values much to high most of the time. What would be the right calculation to get a decent value for LFP cells?
Any hint is appreciated.