AvBrand Exploring Technology
AvBrand Exploring Technology
All Projects Car PC Thermostat Power Monitor Toilet Dog Dish PopCARD Cheapo Power Dance Floor 

Electricity Usage Monitor

I use a lot of electricity in my home. With all of these computers running, as well as inefficient halogen lighting, the place is kinda a drain. But how can you reduce your usage if you don't know what to reduce? That's why I decided to build a device that can track my power usage to the minute, as well as give me instant statistics on what it's costing me.

Tracking Usage

There's all sorts of expensive ways you can track your electricity usage, starting at $150 and going up from there. I aimed to spend a lot less money.

My electricity utility had recently changed my old-school spinning-disc meter out for a 'Smart Meter'. While this may sound kind of them, in reality they only did it so they can charge me more money in a system called "peak hours", where the cost of electricity goes up during the day, but at night the price is the same as before the "peak system". So essentially, it's a way to guarantee people's bills to increase.

Anyway, the specific meter I got was a 'REX' meter by Elster, a very common network meter. This meter has a very useful feature -- located on the front of the meter is a small port. Inside the port is an infrared LED. This LED flashes once every time you use exactly one watt-hour of electricity. Electricity is billed in kiloWatt-hours (kWh), so the LED will flash 1000 times for one 1 kWh to be consumed.

The advantage to monitoring your power consumption directly from the meter is that your calculations will exactly match what you are billed for. Other metering systems might not be as accurate.

The Hardware

With help from a friend, I selected a small infrared phototransistor and built an extremely simple circuit with an Arduino:

As you can see, only three wires are connected to the Arduino:
To avoid angering my electricity utility, I attached everything using only tape. Thanks to the convenience of the infrared LED light, there is nothing directly connected or permanently mounted to the meter in any way.

This arduino is wired into a small, low-power PC running special software that logs and tracks the data coming out of the Arduino.

The Software

This simple program tracks and logs the data coming out of the Arduino:

This newer version of the software includes Time-Of-Use billing, whereby my utility company charges me different rates based on the time of day, and whether it is winter or summer. The table of numbers on the right lets me enter those values.

Anyway, this data is transferred over the network to other places. One such place is my swing-arm Touchscreen, where it is displayed live on-screen:

Putting the data to use

Instant load information is nice to have, but not particularly useful. So the next step was taking some of this information and turning it into a chart.
Click to enlarge the chart

This chart plots the following data:

If you look at the squiggly red line at the bottom, you can quickly see that whenever the air conditioning comes on (blue blocks), the power usage jumps by about 1500-1800 watts. The really big spikes that only last a few minutes are the water heater. The continuous up and down spikes throughout the night are the refrigerator.

Final Thoughts

Now that I have the technology in place, I need to actually start trying to reduce my power usage. I'll let you, the reader, know how that goes!


The complete source code for the Arduino can be had here.
copyright © 2024 AvBrand.com - sitemap