LibreSolar / bms-firmware

Firmware for LibreSolar BMS boards based on bq769x0, bq769x2 or ISL94202
https://libre.solar/bms-firmware/
Apache License 2.0
139 stars 67 forks source link

Error flag 1 on connecting the board to a battery pack #68

Open Ananyaaynana opened 3 months ago

Ananyaaynana commented 3 months ago

Description: When the BMS is brought up an error flag 1 is always present. Error flag 1 indicated cell Undervoltage. None of the cells are below the value of 2.5V for LFP cell. Here is a picture on the thingset app: WhatsApp Image 2024-04-04 at 5 59 35 PM

Once I run the west espressif monitor the error flag is cleared like in this picture: WhatsApp Image 2024-04-04 at 7 10 16 PM

Double-checked the connections and it looked fine. This happens every time the BMS is brought up.

martinjaeger commented 3 months ago

I can see that the last cell measurement shows 0.000 at the bottom of your screenshot. How many cells do you have connected? And how does your used-cell-channels parameter in Devicetree look like?

Ananyaaynana commented 3 months ago

15 cells are connected in series. used-cell-channels is 0xFFFF.

martinjaeger commented 3 months ago

I have checked here (with 4 cells connected) and I cannot reproduce the error. In my case all cells from 5 to 16 show 0.0V, but the number of cells seems to be detected correctly.