Monitoring USB / DC / Solar Lithium Ion/Polymer charger - v2
Re: Monitoring USB / DC / Solar Lithium Ion/Polymer charger
Re: Monitoring USB / DC / Solar Lithium Ion/Polymer charger
adafruit2 wrote:what we recommend, actually, is measuring LOAD and BATT
if LOAD == BATT then its not charging, if LOAD > BATT then you're getting sunlight
LOAD's voltage level will also tell you how much sun you've got, and BATT's voltage level will tell you how much power you've got left :)
https://www.google.com/search?q=lithium ... arge+curve
Re: Monitoring USB / DC / Solar Lithium Ion/Polymer charger
adafruit2 wrote:
what we recommend, actually, is measuring LOAD and BATT
if LOAD == BATT then its not charging, if LOAD > BATT then you're getting sunlight
LOAD's voltage level will also tell you how much sun you've got, and BATT's voltage level will tell you how much power you've got left :)
Re: Monitoring USB / DC / Solar Lithium Ion/Polymer charger
Re: Monitoring USB / DC / Solar Lithium Ion/Polymer charger
Re: Monitoring USB / DC / Solar Lithium Ion/Polymer charger
Re: Monitoring USB / DC / Solar Lithium Ion/Polymer charger
Re: Monitoring USB / DC / Solar Lithium Ion/Polymer charger
adafruit_support_mike wrote:1) You'll need a GND connection as a common reference voltage to measure the voltages at B+ and L+, but that will only be relevant if you're using an ADC that takes its power from something other than the Solar Charger. Everything on the board shares a common GND connection, including the output power.
2) The voltage at L+ can rise to whatever comes out of your solar panel. The voltage at B+ will range from 3.2v to 4.2v for a properly functioning LiPo. If either of those voltages is higher than the limits of your ADC, you'll want to use voltage dividers to drop the voltages to a safe/measurable range.
3) There's no way to calculate current from the voltage readings. You can use the voltage at B+ to estimate the amount of energy stored in the LiPo though. If the voltage is higher than 3.7v, you've used less than about 5% of the LiPo's stored energy. The battery voltage will drop from 3.7v to about 3.5v in a more or less linear way as you use 5% to 90% of the stored energy. If the voltage is between 3.5v and 3.2v, The battery is on the last 10% to 5% of its stored energy. If the voltage is below 3.2v, the battery has less than 5% stored energy, and can't do anything useful.
If the voltage at L+ is more than 150mV higher than the voltage at B+, the load is being powered by the solar panel and the battery is charging. If the voltage at L+ is higher than the voltage at B+, but not by 150mV, the battery isn't charging but the load is getting most of its power from the solar panel. If the voltage at L+ is equal to or less than the voltage at B+, the load is getting its power from the battery.
The "battery good" signal tells you the battery has completed a charging cycle, and still holds enough energy that it doesn't need to be charged.
Re: Monitoring USB / DC / Solar Lithium Ion/Polymer charger
Re: Monitoring USB / DC / Solar Lithium Ion/Polymer charger