No description
Find a file
Limor Fried 77c4d0c4b3 Add comprehensive charge control and timer functions
- Add charge timer control functions (REG0x15): safety timers, precharge timer, fast charge timer
- Add comprehensive charger control functions (REG0x16): auto battery discharge, force discharge, charging enable, HIZ mode, PMID discharge control
- Add watchdog control functions with enum support: reset, get/set watchdog timer
- Add precharge and termination current control functions
- Add trickle current and termination enable control
- Add VINDPM battery tracking control
- Update test sketch with all new functions and comprehensive testing
- All functions tested and verified working with hardware

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-09 23:37:49 -04:00
.github/workflows Initial Arduino library for BQ25628E I2C Battery Charger 2025-08-04 11:03:42 -04:00
examples/test_BQ25628E Add comprehensive charge control and timer functions 2025-08-09 23:37:49 -04:00
.clang-format Initial Arduino library for BQ25628E I2C Battery Charger 2025-08-04 11:03:42 -04:00
.gitignore Initial Arduino library for BQ25628E I2C Battery Charger 2025-08-04 11:03:42 -04:00
Adafruit_BQ25628E.cpp Add comprehensive charge control and timer functions 2025-08-09 23:37:49 -04:00
Adafruit_BQ25628E.h Add comprehensive charge control and timer functions 2025-08-09 23:37:49 -04:00
README.md Initial Arduino library for BQ25628E I2C Battery Charger 2025-08-04 11:03:42 -04:00

Adafruit BQ25628E Library Build StatusDocumentation

Arduino library for the BQ25628E I2C Battery Charger with Power Path Management

About the BQ25628E

The BQ25628E is a 1-cell Li-Ion battery charger with power path management:

  • 2A charging current capability
  • I2C interface for control and monitoring
  • Power path management for seamless operation
  • Integrated ADC for voltage and current monitoring
  • Configurable charging parameters
  • Safety features including thermal regulation

Installation

Download and install the library using the Arduino Library Manager or by downloading the latest release from GitHub.

Dependencies

This library requires:

Hardware

Connect the BQ25628E to your microcontroller via I2C. The default I2C address is 0x6A.

License

MIT License. See LICENSE file for details.

Contributing

Contributions are welcome! Please read the contributing guidelines and submit pull requests to the main repository.