I’m running Arduplane 4.1 on Raspberry Pi(obal board). I have an ADS1115 converter on I2c with a voltage divider connected to channel 1. However, I have no idea how to enable it. In battery monitor there is Analog input, but then in HW version there is no ADS1115 to select.
However, the voltage measurement is really off that is not possible to compensate with just a multiplier.
Specifically, if I set the multiplier to be correct when measuring let’s say 11V it will measure 0.2V over at 12V and 0.2V under at 10V. When I set it to measure spot on at 9V it continues to add extra 0.2V of error per 1V so 12. 0V measures as 12.6V.
I don’t suppose I can do anything else with the hardware as I’m using a simple voltage divider with 2 resistors (47k and 82k so no chance of heating messing up the measurements).
Is there anything I can set to subtract that 0.2V per volt in software?