Measuring LiPo Charge
Does anyone have any idea's / code on how to measure charge level on the attached battery?
I have some code from the Qduino that I am trying to replicate on the LOLIN - https://github.com/sparkfun/Arduino_Boards/blob/master/sparkfun/avr/Qduino/examples/fuelGauge/fuelGauge.ino
Any input appreciated.
What is your question? You need to measure the battery's voltage by feeding it into the analog input (through a pair of resistors, forming a voltage divider). You need to read up on the characteristics of your battery to know what parts of the voltage curve to watch for during re-charging. You might also want to measure temperature to protect against over-temperature damage.
@roo-ster Thanks for that, yes figured that is the only way... the Qdunio after further research has an embedded IC that performs some of this function.