EnergyMeterPulseSensor
-
Found some spelling mistake in the text
DESCRIPTION * This sketch provides an example how to implement a distance sensor using HC-SR04 * Use this sensor to measure KWH and Watt of your house meeter
disctance sensor HC-SR04 = LM393
#define PULSE_FACTOR 1000 // Nummber of blinks per KWH of your meeter
nummber = number
meeter = meterunsigned long SEND_FREQUENCY = 20000; // Minimum time between send (in milliseconds). We don't wnat to spam the gateway.
wnat = want
// could hapen when long wraps or false interrupt triggered
hapen = happen
// Pulse cout has changed
cout = count
#define MAX_WATT 10000 // Max watt value to report. This filetrs outliers.
filetrs = filters