This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Measuring Vehicle Speed using C167 microcontroller

Hi all, need some help here, as i'm new to uc i have a few problems of how to use it properly, i'm capturing speed sensor signal using uc C167, the signal operates between 0 to 135Hz max, how i can set the prescaler of the uc to match the capture signal so that i could take the measurement? the signal is a digital pulse (50-50 duty cycle), and what algorithm i need to convert the measurements to mph??
thanks to all.....

0