Tinyscreen+ Vbat reading

Started by falaroce, April 20, 2017, 03:28:45 AM

Previous topic - Next topic

falaroce

*
Newbie
Posts: 1
Logged
Hello,
I ordered the tinyscreen+ and an lipo battery, and I would like to now if there is a way to read battery voltage, in order to print a % of battery remaining ( and possibly add an auto-shutdown with "save state").
I didn't see anything in the schematic that would let this possible, but I am clearly not an expert.
It is possible?

thesko

***
Full Member
Posts: 22
Logged
Hi, I would also like to know how this could be done!

The only information I've found so far are rather complex "hacks" to estimate the data:
https://codebender.cc/sketch:91833#TinyScreen_Smartwatch.ino
(look for the displayBattery() function)
http://forum.tinycircuits.com/index.php?topic=1599.msg3087#msg3087
(more or less the same as above)
http://forum.tinycircuits.com/index.php?topic=1412.msg3419#msg3419
https://gist.github.com/KhanradCoder/d016330a9b69bf7c659a


Is there an achievable way of modifying the TinyScreen+ board to get a voltage readout of the battery and maybe even a charging state?

Can some of the TinyCircuits staff help here?

lennevia

Administrator
*****
Hero Member
Posts: 437
Logged
Hey guys!

We're working on getting a tutorial up about this right now! Thank you for your patience!

thesko

***
Full Member
Posts: 22
Logged
That is awesome news! I can really make use of this for my current project! Thanks for the update  :)

lennevia

Administrator
*****
Hero Member
Posts: 437
Logged
The tutorial is up! Check it out here: https://tinycircuits.com/blogs/learn/tinyscreen-battery-voltage

If you're interested on how we figured this out, or maybe what hardware we used, I attached a picture of the part of the TinyScreen+ schematic we used! ;)

But it really is some sticky math to get it all figured out, so feel free to save yourself from the frustration and just use our functions in the tutorial!   :)


thesko

***
Full Member
Posts: 22
Logged
Works like a charm!! Now I just have to find the fitting values for a battery display with my configuration/power consumption :)

Thanks a lot!

SMF spam blocked by CleanTalk