Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

Zero crossing time measurement

Status
Not open for further replies.

fan174

Member
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 ?
 
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Back
Top