This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The EmonLibCM library is maintained by @Robert.Wall and mirrored here for users of github.
This is an adaptation of RobertWall's EmonLibCM library to work with the AVR-DB microcontrollers.
See forum release: [EmonLibCM](https://community.openenergymonitor.org/t/emonlibcm-version-2-03/9241/1)
See Robert Wall's original forum release: [EmonLibCM](https://community.openenergymonitor.org/t/emonlibcm-version-2-03/9241/1)
The following release notes are copied from the forum thread. The installation section is modified to reflect git command line installation.
Expand DownExpand Up
@@ -48,6 +48,27 @@ Reload Arduino to start using the library.
## Changelog
Version 3.0 includes AVR-DB specific changes:
```
// Version 3.0.0 20/04/2022 AVR-DB branch
// Version 3.0.1 07/07/2022 SAMP PIN lower level IO
// Version 3.0.2 20/08/2022 6 channel support
// Version 3.0.3 05/10/2022 Fix online configuration
// Version 3.0.4 21/11/2022 Option to return channel mean value
// Version 3.0.5 22/11/2022 Fix for ADCDuration needs to be double
// Version 3.0.6 29/11/2022 Slow down sample rate to DIV32 (39.3 us) improved zero power level
// Version 3.0.7 03/12/2022 Option to fetch analog channel mean
//
// Version 3.0.8 25/04/2023 Skip ISR processing with flag if precise one-wire timing required
// this reduces DS18B20 temperature sensing interference
// on the continuos sampling electricity monitoring
// Update includes more efficient data structure swap
// which also eliminates an ISR over-run
// Version 3.0.9 26/04/2023 Use memset_v rather than memset to get rid of compiler errors (from emonLibDB)
```
Version 2.0 corrected some errors generated when converting from the original sketch, and incorporates improved handling of phase/timing compensation and improved removal of the d.c. bias. There are no other major changes from the version that has been tested by @TrystanLea since early 2017.
- Changes for V2.01: Errors in phase error correction.