https://github.com/johntalton/ina219
TI: Zerø-Drift, Bi-Directional Current/PowerMonitor (INA219)
https://github.com/johntalton/ina219
current high-side ina219 power shunt
Last synced: 4 months ago
JSON representation
TI: Zerø-Drift, Bi-Directional Current/PowerMonitor (INA219)
- Host: GitHub
- URL: https://github.com/johntalton/ina219
- Owner: johntalton
- License: mit
- Created: 2018-01-19T18:37:09.000Z (over 8 years ago)
- Default Branch: main
- Last Pushed: 2025-08-16T02:44:19.000Z (10 months ago)
- Last Synced: 2025-08-16T04:32:35.570Z (10 months ago)
- Topics: current, high-side, ina219, power, shunt
- Language: JavaScript
- Homepage:
- Size: 86.9 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# INA219
A more feature rich version of the ina219 javascript package. It allows for controlling the power state and mode (triggered vs continuous etc)
[](https://www.npmjs.com/package/@johntalton/ina219)

[](https://github.com/johntalton/ina219/actions/workflows/CI.yml)
[Spec from Adafruit](https://cdn-shop.adafruit.com/datasheets/ina219.pdf)
or
[from Ti](http://www.ti.com/lit/ds/symlink/ina219.pdf)
## Timing
It is up to you to respect call timing of the chip. (todo add misc method to aid in calculation)
## Resets
Any events that cause unexpected reset of the calibration register should be validate on the caller side.
## Power-down and Disabled Profiles
The default profile (32V /8 12bit 12bit continuous both) is reset when calling the shorthand **powerdown()** and **disableADC()** per spec, with the exception of using the 1sample version of the eum over the 12bit (useful in diagnostics).