Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/craigpeacock/linux_powermeter

ANSI C code for Linux to read I2C sensors such as the INA226 Voltage/Current/Power Meter and INA228 Voltage/Current/Power/Energy and Charge
https://github.com/craigpeacock/linux_powermeter

i2c i2c-bus ina226 ina228 linux

Last synced: about 1 month ago
JSON representation

ANSI C code for Linux to read I2C sensors such as the INA226 Voltage/Current/Power Meter and INA228 Voltage/Current/Power/Energy and Charge

Awesome Lists containing this project

README

        

# Linux I2C Power Meter

Usermode application to communicate with I2C sensors on Linux Embedded systems including the Beaglebone and Raspberry Pi.

Currently supports:
* [INA226](https://www.ti.com/product/INA226) - Texas Instruments 36V, 16-bit current/voltage/power monitor with alert.
* [INA228](https://www.ti.com/product/INA228) - Texas Instruments 85V, 20-bit current/voltage/power/energy/charge monitor with alert.

For hardware details, please see:
* [Measuring DC Voltage, Current, Power, Energy & Charge with a Raspberry Pi](https://www.beyondlogic.org/measuring-dc-voltage-current-power-energy-charge-with-a-raspberry-pi/)

## Linux I2C Documentation
Linux I2C documentation can be found at
https://www.kernel.org/doc/Documentation/i2c/i2c-protocol