Ordinateur de bord pour voiture de collection 7.1
|
How to reduce the error on the ADC input.
For some sensors, by example the NTC, a 0.1V error on the ADC is a 10°C error near 100°C (it's not a linear curve). So, the accurate of acquisition is need.
To increase accurate, I have add a python program compensation.py, and I send you with the board a paper with the good values of correction (generaly about 1.02).
You should edit param.py and add the value in the "ANACOMPENS_00" to _05.
This parameter is send at start in the sensor constructor, in the "COMP" parameter. The static compensation is just a factor (multiplier).
After that, the accuracy is near the LSB, I.E. ≈1mV.