This Python library supports the INA219 voltage, current and power monitor from Texas Instruments with a Raspberry Pi using the I2C bus. The intent of the library is to make it easy to use the quite complex functionality of this sensor.
MIT License
Bot releases are visible (Hide)
PyPi documentation fix.
Published by chrisb2 almost 4 years ago
The is_conversion_ready() function checks if the INA219 has updated the registers with a new reading, this can be used to guarantee that a measurement represents a new reading, not the previous reading. The method is checking bit CNVR in the voltage register according to INA219 datasheet.
Published by chrisb2 almost 5 years ago
Allows a main module module to configure root logger using basicConfig() if required.
Published by chrisb2 over 6 years ago
A new parameter 'busnum' has been added to the INA219 class contructor this is the I2C bus number for the device platform, defaults to auto detects 0 or 1 for Raspberry Pi or Beaglebone Black (optional).