I'm almost finished school, and I want to start a new project.
This project will be a Home Energy Monitor System that allows the user to see how many power the home is consuming and returning to and from the electrical net.
However there is just one ketch with this project and it involves measuring the mains voltage for acquired power calculations.
I have found a website called http://openenergymonitor.org/emon/, on this site they use a non-invasive method of measuring the means voltage using a standard AC/AC adapter.
With this adapter they are scaling the voltage down and providing electrical isolation to the rest of the system.

I have build the above circuit with also a 9VAC adapter and on my scope I'm getting the same values and waveforms so that at least is working ok.
The question I want to ask you is:
What kind of magic do I need to do to get a value that is (almost) equal to the mains voltage, this is the part that I do not understand I I'm hoping that you can help me with this task.
I really can use a push in the wright direction.
PS. Don't worry's about the mains voltage I know what I'm doing, and if it helps I'm make Industrial Electrical Cabinets for a living
