1
0
mirror of https://github.com/thooge/esp32-nmea2000-obp60.git synced 2025-12-15 23:13:07 +01:00

OBP40 Battery voltage measuring and capacity calculation

This commit is contained in:
norbert-walter
2025-01-24 15:23:02 +01:00
parent a9525676b2
commit 7afcb86404
3 changed files with 38 additions and 3 deletions

View File

@@ -31,6 +31,8 @@ typedef struct{
double batteryVoltage300 = 0; // Sliding average over 300 values
double batteryCurrent300 = 0;
double batteryPower300 = 0;
double batteryLevelLiPo = 0; // Battery level for OBP40 LiPo accu
int BatteryChargeStatus = 0; // LiPo charge status: 0 = discharge, 1 = loading activ
double solarVoltage = 0;
double solarCurrent = 0;
double solarPower = 0;