Skip to content

About

A lightweight Linux daemon for monitoring and managing the Texas Instruments BQ25792 I2C buck-boost battery charge management IC.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

3 Commits

Folders and files

Repository files navigation

bq25792-daemon

A lightweight Linux daemon for monitoring and managing the Texas Instruments BQ25792 I2C buck-boost battery charge management IC. Designed for single-board computers (such as the Raspberry Pi) and embedded Linux systems utilizing advanced multi-cell battery charging architectures.

Features

  • I2C Communication: Interfaces directly with the BQ25792 register map to read ADC telemetry and write configuration parameters.
  • Real-Time Monitoring: Tracks critical metrics including input voltage, battery voltage, charging current, charge state, and device temperature.
  • Configurable Thresholds: Manages input current limits, charging current, and termination voltages.
  • Background Operation: Runs continuously as a system daemon with robust error handling and logging.
  • Systemd Integration: Includes service unit files for automated startup and lifecycle management.

Hardware Requirements

  • Linux Single-Board Computer (SBC) with I2C support enabled.
  • Texas Instruments BQ25792 Evaluation Module / Mikroe Charger 25 Click
  • I2C Bus wiring:
    • SDA -> SBC I2C Data pin
    • SCL -> SBC I2C Clock pin
    • GND -> Common Ground

Prerequisites

Verify that the I2C interface is enabled on your host system:

# Example for Raspberry Pi
sudo raspi-config

About

A lightweight Linux daemon for monitoring and managing the Texas Instruments BQ25792 I2C buck-boost battery charge management IC.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages