Bill,
Nice project write up in the link. thanks.
madsci1016,
Right, there are a lot of newbees on this site so felt the mains warning as necessary. I've done a lot of electrical work but I am a bit cautious in the breaker box.
Good luck with the project.
Just remembered that Microchip has a few app note on power meters and power PICs directly off the AC mains. There may be some info in these app notes that you can use.