EmonLib (community library)
|Author||glynhudson firstname.lastname@example.org, toonnelissen email@example.com|
|All Versions||1.1.2, 1.0.14, 1.0.13, 0.0.13, 0.0.12, 0.0.11, 0.0.10|
Arduino Energy Monitoring Library - compatible with Arduino 1.0 - Ported to Spark
Example Build Testing
Device OS Version:
This table is generated from an automated build. Success only indicates that the code compiled successfully.
Library Read Me
This content is provided by the library maintainer and has not been validated or approved.
| | (_) | _ _ _ _ _ | | _| | / _ \ '_ ` _ \ / _ | '_ | | | | '_ \ | / | | | | | (_) | | | | |__| | |_) | _|| || |_|_/|| ||__|_|_.__/
Arduino Energy Monitoring Library - For SparkCore
This is the emonLib optimized for the SparkCore. Thanks Glyn Hudson for writing this nice piece of code. If you want more info about this project: http://openenergymonitor.org/emon/
Forked from https://github.com/openenergymonitor/EmonLib
More info on: https://openenergymonitor.org/emon/buildingblocks/how-to-build-an-arduino-energy-monitor-measuring-current-only
Creates an object to interact with the current sensor. Example: current_only.ino
emon.current(input pin, calibration)
Connects the current sensor object with the correct pin and sets the calibration value.
This should be called once in
double Irms = emon.calcIrms(number_of_samples)
Calculate the Irms for a number of samples. The function will read the amount of samples and return a double. Example: current_only.ino
emon.voltage(input pin, calibration, phase_shift)
Example: voltage_and_current.ino More info: https://openenergymonitor.org/emon/buildingblocks/ct-and-ac-power-adaptor-installation-and-calibration-theory
Browse Library Files