Skip to content

wollewald/INA219_WE

Repository files navigation

INA219_WE

An Arduino library for the INA219 current and power sensor module.

It allows to set various ADC modes, gains and bus voltage ranges. Continuous mode, triggered mode, power down and ADC off mode are supported. Default shunt size is 0.1 ohms, but you can change it.

You can run the library on an ATtiny, I tested it on the ATtiny85. To do so, you need to also install the TinyWireM library from Adafruit. An example sketch is included.

I attached a list of public functions and a fritzing scheme for the example sketches.

You find further details here:

https://wolles-elektronikkiste.de/ina219 (German)

https://wolles-elektronikkiste.de/en/ina219-current-and-power-sensor (English)