speed measurement using pic 16f877a

Status
Not open for further replies.

icrekha

Newbie level 4
Joined
Feb 1, 2008
Messages
5
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
Erode
Activity points
1,323
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???
 

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..
 

    icrekha

    Points: 2
    Helpful Answer Positive Rating
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…