"PulseWattuino" - An Arduino sensor node to read electrical utility meter pulses. Sends serial EmonCMS type protocol.

While creating a sensor node to send to emoncms that counts electrical meter pulses on a Teensy 3.1 and TLS257 optical pulse sensor, I decided to make the node a little more intelligent. It can keep sync with the utility meter, record min/max watt usage, and as expected it will output pulse counts. It outputs three derivatives of pulse count: pulse-count-total (corresponds to meter), pulse count since power-on, and pulse count since last eeprom write. Anyways, I am submitting this to the community for any input, etc. I am using it now and it appears to be accurate.


P.S. This was inspired by or based on Emon sketches I found.