Hi,

What voltage is the rectified wave form? If it is highish voltage it is easy to connect this straight into a pic, through large value resistors. This is how you detect the zero point of the waveform.

It is NOT a good idea to rectify mains, some sort of transformer must really be used, for safety.

Regards Bob...