Test the voltage, current, and power readings of the Adafruit INA260 High or Low Side Voltage, Current, Power Sensor.
The sketch can be found here.
All of the Adafruit circuit boards can be strung together to monitor the current, voltage, and power of the battery.
The mode is set to recharge when the current is negative and discharge when the current is positive.
A button on the OLED is used to turn the Powerboost on and off.
All measurements are taken right in front of the batteries and so all are accurate.
First switch is used to turn the Feather on and off.
Second switch is used to override the Feather to turn the Powerboost on and off.
Adafruit Feather HUZZAH32 with 3.7V lipo battery, Adafruit 128x64 OLED, Adafruit Powerboost 1000 Basic, Adafruit Adafruit INA260 High or Low Side Voltage, Current, Power Sensor and Adafruit bq24074 solar charger.
Circuit made with Circuit Diagram.
task test:compile-upload NAME=ina260
Adafruit INA260 Test Found INA260 chip Mode: recharge Current: 21 mA Voltage: 2.19 V Power: 50 mW Time left: 367:34 Mode: recharge Current: 21 mA Voltage: 2.19 V Power: 50 mW Time left: 367:34