1. 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.
    Dismiss Notice

Zero crossing time measurement

Discussion in 'Microcontrollers' started by fan174, May 16, 2018.

  1. fan174

    fan174 New Member

    Joined:
    Mar 13, 2018
    Messages:
    17
    Likes:
    0
    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 ?
     
  2. Pommie

    Pommie Well-Known Member Most Helpful Member

    Joined:
    Mar 18, 2005
    Messages:
    10,824
    Likes:
    435
    Location:
    Brisbane Australia
    You asked this question a month ago. Give more information.

    Mike.
     
  3. fan174

    fan174 New Member

    Joined:
    Mar 13, 2018
    Messages:
    17
    Likes:
    0
    Please tell me What information you want ? I want to measure the time interval between every zero crossings for 5V AC input signal using the PIC16f877a.
     
  4. dave miyares

    Dave New Member

    Joined:
    Jan 12, 1997
    Messages:
    2
    Likes:
    -10


     
  5. Pommie

    Pommie Well-Known Member Most Helpful Member

    Joined:
    Mar 18, 2005
    Messages:
    10,824
    Likes:
    435
    Location:
    Brisbane Australia
    Read your last thread on this.

    Mike.
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice