Skip to content

jamie0walton/raspi-i2c-amps

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

raspi-i2c-amps

Rough Raspberry Pi amperes logging

i2c_current_monitor

This is a Rust program that reads an ADC (ADS1115) over I2C and reports the current in amps.

Usage

i2c-amps -v -f -s -p <filename.png> -c

Options:

  • -v: Verbose output displays the configuration of the ADC.
  • -f: FFT output displays the FFT of the current waveform.
  • -s: Statistics output displays the min, max, average and RMS current.
  • -p: Plotting creates a plot of the current waveform to the statistics.png file in the current working directory.
  • -c: Continuous operation reruns sampling and analysis continuously.

Current @ home

About

Rough Raspberry Pi amperes logging

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages