Zero cross detector for SCT-013

Hi Robert,
once again thank you for your assistance.
I had an idea that the current wouldnt produce a perfect sinusodial wave. As for the health warning I would be sampling from the 9v ac ac adapter.
It seems like a lot of work but I was thinking would I get any meaningful data by using my current ZCD circuit and the standard CT interface setup. my idea is as follows:

  1. detect a high pulse from the ZCD output.
  2. start the micro timer
  3. detect a zero crossing from the standard CT interface circuit using the ADC, i.e if the value of the ADC is 512 then a ZCD has occured?
  4. stop the timer.
    shouldnt this method effectively detect the time difference between the voltage and current.
    thanks