We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
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.....
The sentence "Another for number of pulses/second." should have been "Another for the number of pulses/wheel rotation".
ok....so i can also obtain the rpm as well as speed, i just checked the speed sensor results i had obtained. It seems to be depending on frequency rather than number of pulses. It generates a duty cycle and from that, 10Hz may represent 4mph....along that line..
Obviously, you can't get anywhere until you understand precisely what the output from your sensor actually means!
What does its Datasheet say?
Number of pulses = Distance. Number of pulses/second = Frequency = Speed
Number of pulses/second => RPM of wheel, not RPM of engine