Rough Raspberry Pi amperes logging
This is a Rust program that reads an ADC (ADS1115) over I2C and reports the current in amps.
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.