Quantcast
Channel: Articles on JeeLabs
Viewing all articles
Browse latest Browse all 296

Tracking pulses w/ interrupts

$
0
0
There are three pulse counters for measuring power at JeeLabs - one for solar PV production and two for the kitchen stove and the rest, respectively: These generate 2000 pulses per kWh, that’s one pulse per 0.5 Wh, and are optically isolated. Reading them out is super simple: add a 1 kΩ series resistor and power them from 3.3V .. 5V. The result is a series of clean “1” pulses, each 100 ms long (there’s no contact bounce).

Viewing all articles
Browse latest Browse all 296