I want to measure the time interval between every zero crossings for 5V AC input signal using the PIC16f877a.
I understand c programming but I am struggling to measure the time interval between every zero crossings. I did google search and found that I have to use Analog Comparator, Interrupt and CCP Module.
How to detect every zero crossing ?
if crossing detect then how to measure time ?
I understand c programming but I am struggling to measure the time interval between every zero crossings. I did google search and found that I have to use Analog Comparator, Interrupt and CCP Module.
How to detect every zero crossing ?
if crossing detect then how to measure time ?