+ Post New Thread
Results 1 to 3 of 3
  1. #1
    Newbie level 4
    Points: 898, Level: 6

    Join Date
    Feb 2008
    Location
    Erode
    Posts
    5
    Helped
    0 / 0
    Points
    898
    Level
    6

    digital pulse counter using 16f877a

    hi..
    i am using ccs compiler to program pic 16f877a. Now my fequirement is to count the digital pulse from proximity sensor which is connected at the 17th pin. can i use capture command to measure pulse width and there by i can i calculate frequency and speed? or should i have to use counter??? can anyone send basic codings regarding thiz???

    •   AltAdvertisment

        
       

  2. #2
    Junior Member level 1
    Points: 947, Level: 6

    Join Date
    Feb 2008
    Location
    India
    Posts
    17
    Helped
    1 / 1
    Points
    947
    Level
    6

    speed measurement pic

    Hi..
    Ya u can measure he speed using the CAPTURE terminal for more details see an example in u'r "PICC compiler" Example...See the capture module example file...Ex_freqc.c file..


    1 members found this post helpful.

    •   AltAdvertisment

        
       

  3. #3
    Advanced Member level 4
    Points: 14,334, Level: 28

    Join Date
    Jun 2005
    Location
    Stanford, SF Bay Peninsula, California, Earth, Solar System, Milky Way
    Posts
    1,418
    Helped
    139 / 139
    Points
    14,334
    Level
    28

    speed measurement using pic 16f877a

    Try to post your question to a forum dedicated to the CCS compiler http://www.ccsinfo.com/forum (it's maintained by CCS).


    1 members found this post helpful.

--[[ ]]--