Tinyscreen+ Vbat reading

Tinyscreen+ Vbat reading
« on: April 20, 2017, 03:28:45 AM »
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?

Re: Tinyscreen+ Vbat reading
« Reply #1 on: May 18, 2018, 06:49:11 AM »
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:
(look for the displayBattery() function)
(more or less the same as above)

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?

Re: Tinyscreen+ Vbat reading
« Reply #2 on: June 14, 2018, 05:32:57 PM »
Hey guys!

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

Re: Tinyscreen+ Vbat reading
« Reply #3 on: June 15, 2018, 07:19:41 AM »
That is awesome news! I can really make use of this for my current project! Thanks for the update  :)

Re: Tinyscreen+ Vbat reading
« Reply #4 on: June 15, 2018, 02:29:07 PM »
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!   :)

Re: Tinyscreen+ Vbat reading
« Reply #5 on: June 19, 2018, 04:22:32 AM »
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!