Code for pi controlling multiple measurement devices

Silas Gruen acad6a5942 Add initial project structure and configuration files for battery health monitor 10 月之前
battery-health-monitor acad6a5942 Add initial project structure and configuration files for battery health monitor 10 月之前
.gitignore acad6a5942 Add initial project structure and configuration files for battery health monitor 10 月之前
README.md acad6a5942 Add initial project structure and configuration files for battery health monitor 10 月之前
measure_ctrl.code-workspace acad6a5942 Add initial project structure and configuration files for battery health monitor 10 月之前

README.md

README.md

Battery Health Monitor

Overview

The Battery Health Monitor is a Python application designed to assess the health of 18650 lithium-ion cells using multiple measurement devices. The application communicates with the devices via I2C and provides an MQTT interface for real-time updates on cell insertion. It also supports HTTP GET requests to retrieve detailed information about the cells.

Features

  • Monitor the health of 18650 cells through multiple measurement devices.
  • Utilize I2C for reading current, voltage, and temperature data.
  • MQTT interface for receiving information about cell slots.
  • HTTP GET requests for querying cell data (max voltage, min voltage, capacity).
  • Configurable measurement cycles and C values.

Installation

  1. Clone the repository:

    git clone <repository-url>
    cd battery-health-monitor
    
  2. Install the required packages:

    pip install -r requirements.txt
    

Usage

To run the application, execute the following command:

python src/main.py

Configuration

The configuration for the measurement devices can be found in src/config/config.yaml. Modify this file to set the number of devices, cycle count, and C value for measurements.