Skip to content

Latest commit

 

History

History
50 lines (31 loc) · 2.72 KB

File metadata and controls

50 lines (31 loc) · 2.72 KB

SparkFun BQ27441-G1A LiPo Fuel Gauge Arduino Library

SparkFun Battery Babysitter

SparkFun Battery Babysitter (featuring the BQ27441-G1A LiPo Fuel Gauge) (PRT-13777)

Texas Instrument's BQ27441-G1A is a self-calibrating, I2C-based fuel gauge for lithium polymer (LiPo) batteries -- it measures your battery’s voltage to estimate its charge percentage and remaining capacity. The chip is also hooked up to a current-sensing resistor, which allows it to measure current and power! The fuel gauge makes up half of the SparkFun Battery Babysitter.

This Arduino library abstracts away all of the low-level I2C communication, so you can easily initialize the fuel gauge then read voltage, state-of-charge, current, power, and capacity. It also implements all of the chip's low-battery, and SoC-change alerts on the GPOUT pin.

Repository Contents

  • /examples - Example sketches for the library (.ino). Run these from the Arduino IDE.
  • /src - Source files for the library (.cpp, .h).
  • keywords.txt - Keywords from this library that will be highlighted in the Arduino IDE.
  • library.properties - General library properties for the Arduino package manager.

Documentation

Products that use this Library

Version History

  • 1.0.0 - Initial release of the BQ27441 Arduino Library.

License Information

This product is open source!

Please review the LICENSE.md file for license information.

If you have any questions or concerns on licensing, please contact techsupport@sparkfun.com.

Distributed as-is; no warranty is given.

  • Your friends at SparkFun.