Skip to content

TI: Zerø-Drift, Bi-Directional Current/PowerMonitor (INA219)

License

Notifications You must be signed in to change notification settings

johntalton/ina219

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

73 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

INA219

A more feature rich version of the ina219 javascript package. It allows for controlling the power state and mode (triggered vs continuous etc)

npm Version GitHub package.json version CI CodeQL GitHub Downloads Per Month GitHub last commit Package Quality

Spec from Adafruit or from Ti

Install

standard npm install

npm install --save @johntalton/ina219

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 defualt 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 (usefull in diagnostics).

About

TI: Zerø-Drift, Bi-Directional Current/PowerMonitor (INA219)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published