Quote:
Originally Posted by mora
Hurray, it works. Fuel gauge reads about 70% full when LCD reads 50% SOC when using default value for max PWM.
|
Mora,
Use value of R20 or PWM_Max to set fuel gauge needle to full when SOC=100%. For SOC values under 100%, the position of VR2 comes into play. At 20%VR2 has most significant impact and is used to set empty. Think of PWM_MAX as your offset and VR2 as setting the range of duty cycle values required from full to empty.
Quote:
124% SOC was something that went away when switching between 100% and 20% SOC. One minute at 100% SOC and proper value was saved.
|
The capacity value in EEPROM by default after programming is 115Ahrs(my batteries). If your capacity is larger then this, then yes it will initially show >100%. After programming, you should do an SOC reset. This will reset to 100% and use your capacity values to overwrite mine in EEPROM