SoC/OCV Calculation
C source for calculating the state of charge based on the measured open circuit voltage of a liion cell (DLG INR18650-320). Applicable for other cells too!

C source for calculating the state of charge based on the measured open circuit voltage of a liion cell (DLG INR18650-320). Applicable for other cells too!
As I regularly need datasets for liion cells for hobby projects, I have created one for the INR18650-320 from DLG. It should be useful for SoC calculations. The values are averages for 6 measured cells. None of these cells created abnormal values during measurement. The measured values are accordin…