3 Simple Ways to
Share What You Make

With Instructables you can share what you make with the world — and tap into an ever-growing community of creative experts.

PhotosPhotos

Share one or more photos of a project, recipe, or whatever you've made, quickly and easily.

Step by StepStep-By-Step

Share your step-by-step photos with text instructions of what you made so others can do it too!

VideoVideo

Share your how-to video. You'll need your embed code from a video site such as YouTube.

Real-time Web Based Household Power Usage Monitor

Step 3Construct the AC-to-DC Conditioner Circuit

Construct the AC-to-DC Conditioner Circuit
«
  • AC-DC_converter.jpg
  • ac_clamp.jpg
  • clamp_on_lines.jpg
  • cord_mod.jpg
  • panel.jpg
  • Schematic.png
  • SampleChart.png
  • Schematic.png
  • last photo ←
»
The main drawback with using an AC clamp is that the mV output is also AC. This isn't a problem for a multi-meter since it can be set for measuring AC voltages. However, the ioBridge module is expecting a DC voltage on its analog input pin. Therefore a little signal conditioning is required to convert the AC RMS value into a DC equivalent. The circuit I used was my own design and used components I had on hand, so I'm almost certain that it's less than ideal. After I was done soldering it up, I found a simpler circuit here. You may want to try it instead.

The main component in the circuit is an Analog Devices AD8220 instrumentation op-amp. This part only comes in surface mount style packaging. I needed to use a tiny SMT-to-DIP adapter board for my circuit. Don't feel like you need to use the exact same part. Any rail-to-rail instrumentation op-amp will work just fine. For example, the AD627 (Analog Devices) will work too and it comes in a breadboard friendly DIP package. In my circuit, I used a 16k resistor to achieve a gain of 4. Feel free to use a different resistor to get to a particular gain you need. However, any change in gain must be compensated for in the JavaScript of the webpage.

The other part of the circuit is a leaky peak detector made with a diode, resistor and capacitor. Its purpose is to translate the AC wave peaks into a DC voltage level. The 47k resistor causes the leakiness. Since the voltage level updates 60 times per second, adding that resistor increases the system's response time.

The potentiometer is used for offset calibration. I used a 15-turn pot for the best accuracy. To calibrate, power the circuit, make sure the AC clamp is not on any wire and measure the circuit's voltage output.
« Previous StepDownload PDFView All StepsNext Step »
6 comments
Feb 15, 2010. 6:38 PMpaulstich says:
Good stuff!  Thanks!  I built this using the AD627 as you suggested.  Works great.  I'm using a homemade ammeter coil (based on the info in hydronics' $2 Carabiner ammeter) and an Onset Hobo U12 data recorder.  I would like to improve the rectification, and am thinking about trying a true-rms chip, like the AD737.
Apr 21, 2009. 3:15 PMjeremiahthebullfrog says:
Don't know what country this is but talk about dangerous!!! That's like a load of spagehetti in there! and why are your incoming cables exposed instead of being covered where they terminate??? Another thing is how do your supply company measure your usage? I can't see a meter.
Nov 24, 2009. 11:26 AMdylanwinn says:
1) In the US (California) at least, the terminals are left exposed inside the breaker box by the utility company, and covering them is unlawful because it could present danger when removing the covers.

2) In most places, the Meter is OUTdoors (where it can be easily read), while the breaker box is INdoors (where it is difficult for you neighbors to tamper with).
Jan 23, 2009. 11:52 AMuberdum05 says:
GET THEM LIVE TERMINALS COVERED!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! DONT risk an electric shock when you could be enjoying your life
Jan 30, 2009. 9:42 AMdalesd says:
Correct me if I'm wrong, but there are no exposed 110 or 220v connections in the completed project.
Jan 30, 2009. 10:14 AMuberdum05 says:
No I meant the main incoming live power terminals which you said were live
Jan 30, 2009. 11:06 AMuberdum05 says:
No the red and black terminals inside the actual breaker box were live werent they??
Jan 30, 2009. 12:35 PMdalesd says:
uberdum, Once the cover is put back on the breaker box, there are no exposed 110 or 220v wires. All the AC voltage stays inside the breaker box.
Jan 30, 2009. 1:07 PMuberdum05 says:
Yeah I know but I meant be careful while the panel was off because he might have isolated all the ring mains but the input terminals are still live.
Jan 22, 2009. 2:25 PMorsty3001 says:
That's got to be one of the cleanest breaker boxes I've ever seen and who has a red hot leg running in like that? What kind of crazy building codes do they have where this was made.

Pro

Get More Out of Instructables

Already have an Account?

close

All Steps Viewing
View all steps of an Instructable on the same page when you're a Pro Member.

Upgrade to Pro today!
27
Followers
2
Author:jasonT