SigkSens icon indicating copy to clipboard operation
SigkSens copied to clipboard

Added support for INA219 current sensor

Open elenhinan opened this issue 4 years ago • 0 comments

Added support for the INA219 current sensor for use with external shunt.

The adafruit INA219 library had to be customized since it did not allow for changing the shunt values. Since it had some important members set as private (and not protected), the source had to be changed instead of creating a derived class.

Tested on a 200A 75mV shunt, and seems to be working fine on the lab power-supply, will install in boat soon.

Future work:

  • Add support for more INA219s, the chip can be configured for up to 16 different I2C addresses.

elenhinan avatar Jul 05 '20 22:07 elenhinan