Hi:
This is phase 1 of a Power Line Monitor Project. Four potentiometers are used to simulate change in the AC line variables, voltage, current, frequency and phase angle difference between voltage and current. These are the primary variables used to calculate the remaining ones. THD (total harmonic distortion) is not calculated at this time, but I fixed it to 1% for representation only. The next phase of the Project will be implementing the necessary hardware and software in the Arduino code to measure the primary variables for real and send them to the computer. Built with Processing 1.5.1 and Arduino Uno.
here is the video: