I have an application where I need to monitor, store, and log the AC line voltage and frequency from three different sources. I will bring these voltages and HZ into a pic and display on a LCD. My Question is how to safely measure the line voltage and HZ without bulky transformers? Can anyone shed any light on this?

Thanks

Terry