flav1972 / ArduinoINA219

An Arduino library for the INA219 I2C current monitor
17 stars 16 forks source link

End user system-level calibration #7

Open kisslorand opened 5 years ago

kisslorand commented 5 years ago

Hi

Just an idea, it would be nice to have the end user system-level calibration implemented, as it is suggested in the INA219 datasheet on page13. Corrected_Full_Scale_Cal = trunc( (Cal * MeasShuntCurrent) / INA219_Current )

MeasShuntCurrent - Current measured with an ammeter INA219_Current - Current measured with INA219