Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 6 days 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
- Host: GitHub
- URL: https://github.com/craigpeacock/linux_powermeter
- Owner: craigpeacock
- Created: 2021-05-14T12:10:25.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-08-05T06:47:48.000Z (over 1 year ago)
- Last Synced: 2023-08-05T07:41:19.819Z (over 1 year ago)
- Topics: i2c, i2c-bus, ina226, ina228, linux
- Language: C
- Homepage:
- Size: 28.3 KB
- Stars: 3
- Watchers: 1
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
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