# Solar Panel System Monitoring Device Using Arduino

[Carl] recently upgraded his home with a solar panel system. This system compliments the electricity he gets from the grid by filling up a battery bank using free (as in beer) energy from the sun. The system came with a basic meter which really only shows the total amount of electricity the panels produce. [Carl] wanted to get more data out of his system. He managed to build his own monitor using an Arduino.

The trick of this build has to do with how the system works. The panel includes an LED light that blinks 1000 times for each kWh of electricity. [Carl] realized that if he could monitor the rate at which the LED is flashing, he could determine approximately how much energy is being generated at any given moment. We’ve seen similar projects in the past.

Like most people new to a technology, [Carl] built his project up by cobbling together other examples he found online. He started off by using a sketch that was originally designed to calculate the speed of a vehicle by measuring the time it took for the vehicle to pass between two points. [Carl] took this code and modified it to use a single photo resistor to detect the LED. He also built a sort of VU meter using several LEDs. The meter would increase and decrease proportionally to the reading on the electrical meter.

[Carl] continued improving on his system over time. He added an LCD panel so he could not only see the exact current measurement, but also the top measurement from the day. He put all of the electronics in a plastic tub and used a ribbon cable to move the LCD panel to a more convenient location. He also had his friend [Andy] clean up the Arduino code to make it easier for others to use as desired.

# [Ben Krasnow] Explains Kilowatt Hour Meters

[Ben Krasnow] is back, and this time he’s tearing down a kilowatt hour meter (kWh). While not as exciting as making aerogel at home, or a DIY scanning electron microscope, [Ben’s] usual understated style of explaining things makes a complex topic simple to digest.

These old mechanical meters have been a staple on the sides of houses and businesses since the dawn of commercial power. We always thought the meters were a basic electric motor. Based upon [Ben’s] explanation though, these meters are a complex dance of electromagnetic fields. Three coils create magnetic fields near an aluminum disk. This creates eddy currents in the disk resulting in a net torque. The disk spins, turning a clockwork and advancing the dials.

Why three coils? One is a high turn high gauge voltage coil, and the other two are low turn low gauge current coils. The voltage coil has to be phase shifted 90 degrees to create the proper torque on the disk. Confused yet? Watch the video! [Ben] does a much better job explaining the field interactions than we could ever do in text.

# Gas, Water, and Electricity monitoring

From the look of this you can tell that [Jasper Sikken] has some pretty interesting stuff going on to monitor the utilities in his home. But it’s important to note that this is a rental home. So adding sensors to the gas, water, and electric meters had to be done without making any type of permanent changes.

The module above is his own base PCB which accepts an mbed board to harvest and report on usage. His electric meter has an LED that will flash for every Watt hour that is used. He monitors that with a light dependent resistor, crafting a clever way to fasten it to the meter using four magnets. The water meter has a disc that makes one revolution for each liter of water that passes through it. Half of the disc is reflective so he uses a photoreflective sensor to keep track of that. And finally the gas meter has a reflective digit on one of the wheels. The sensor tracks each time this digit passes by, signifying 10 liters of gas used. He also monitors temperature which we’re sure comes in handy when trying to make sense of the data.

[Thanks Stephen]