I am inside a project of building a solar MPPT with a raspberry PI.
Now, I have already finished it and I am doing some tests with this solar regulator. It seems to work very well.
My data system is the next: the rasp reads data from an I2C ADC (specifically, the ADS1015) which converts the analog values of voltage and current at the output of the solar modules, this data, then is used by an algorithm which acts on a DC/DC converter, but this is another question.
The problem is about the collection of the data, specifically the voltage values. The most part of the values gotten by the rasp are very accurate, however there are some values (maybe one or two of every 200 samples) that seems to ignorate de decimal point.
Maybe with an example it will be more understandable: If the solar panel is working at about 32 V, the rasp shows the next: 31,345V - 32,542 V, 31456 V, 32,567.
I am thinking about it could be related to the cpu and other tasks that the rasp is involved in, but I wasn't able to find anything about that.
Do you have any suggerences or help?
Thank you very much and have a nice summer