Electricity monitoring library - install in Arduino IDE's libraries folder then restart the IDE
Branch: master
Clone or download
glynhudson Merge pull request #47 from xkr47/patch-2
Remove unnecessary variable
Latest commit 524c76a Dec 2, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
examples extract all calculated values out into variables for easy access Apr 14, 2013
EmonLib.cpp Remove unnecessary variable Nov 30, 2018
EmonLib.h fixing whitespace Oct 1, 2016
LICENSE.txt add licence file fix #39 Oct 12, 2017
Readme.txt fixing whitespace Oct 1, 2016
library.json bump version to 1.1.0 Aug 20, 2016
library.properties add library.properties Oct 18, 2016

Readme.txt

                             _      _ _
                            | |    (_) |
   ___ _ __ ___   ___  _ __ | |     _| |__
  / _ \ '_ ` _ \ / _ \| '_ \| |    | | '_ \
 |  __/ | | | | | (_) | | | | |____| | |_) |
  \___|_| |_| |_|\___/|_| |_|______|_|_.__/

Arduino Energy Monitoring Library - compatible with Arduino 1.0
*****************************************************************

Designed for use with emonTx: http://openenergymonitor.org/emon/Modules

Download to Arduino IDE 'libraries' folder. Restart of IDE required.

Git Clone and Git Pull can be easily used to keep the library up-to-date and manage changes.
JeeLabs has done a good post on the topic: http://jeelabs.org/2011/12/29/out-with-the-old-in-with-the-new/



Update: 5th January 2014: Support Added for Arduino Due (ARM Cortex-M3, 12-bit ADC) by icboredman.

To enable this feature on Arduino Due, add the following statement to setup() function in main sketch:
analogReadResolution(ADC_BITS); This will set ADC_BITS to 12 (Arduino Due), EmonLib will otherwise default to 10 analogReadResolution(ADC_BITS);.
See blog post on using Arduino Due as energy monitor: http://boredomprojects.net/index.php/projects/home-energy-monitor