Charles, I am *extremely* interested in knowing more about your technique.

The hardware side is somewhat different from yours, but I too end up with a 'somewhat' square wave (half cycles only) at the pic input. And since I am not interested in the absolute values, I guess that difference can stay.

I would however love to know more about the software approach you used.

Thanks and regards,

Anand