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
/* | |
Emon.cpp - Library for openenergymonitor | |
Created by Trystan Lea, April 27 2010 | |
GNU GPL | |
modified to use up to 12 bits ADC resolution (ex. Arduino Due) | |
by [email protected] 26.12.2013 | |
Low Pass filter for offset removal replaces HP filter 1/1/2015 - RW | |
Save waveform and adapt for Particle Core/Photon 6/9/15 PHEC | |
*/ |
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
#!/usr/bin/python | |
# Beehive monitor v1.4BlackuFL | |
# host 192.168.105 | |
# socket 5208 | |
#save 16 spectra to average noise | |
#make time format excel compatible | |
#save raw and fft data in separate daily files v1.31 | |
#save sample averages | |
#save backups as csv | |
#filter out spikes in raw data |
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
/* | |
Spark port of emonlib - Library for the open energy monitor | |
Original Created by Trystan Lea, April 27 2010 | |
GNU GPL | |
Modified to suit Spark Core 10 Feb 2014 Peter Cowley | |
*********************** | |
Changes made: | |
1) ADC range changed from 1023 to 4095 | |
2) long EnergyMonitor::readVcc() deleted and calls replaced by 3300 |