I have programmed the fuel gauge with a NiMH battery and have been running tests on it. Everything is working really well, including the voltage and current readings. However, the percentage is always reading 0%, and I cannot figure out why.
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
I have programmed the fuel gauge with a NiMH battery and have been running tests on it. Everything is working really well, including the voltage and current readings. However, the percentage is always reading 0%, and I cannot figure out why.
I checked the thermistor and it seemed to be working well. I reloaded the code and the percentage started working. I let it run overnight, and I came back this morning with the percentage back to always reading 0.
Actually, the thermistor was still having some issues. I resolved that and everything seems to be working well now. I will let you know if there are any other issues.