Hi all, I'm new in here. I'm currently working on a project of measuring vehicle speed, rpm and temp of a test vehicle. It has a speed sensor attached to the rear wheel, and it is giving me a digial pulse (not PWM) depending on freq, for e.g 10Hz = 5mph. I tested the sensor and its operating frequency is 0 to 135 Hz representing 0mph to 60mph, my problem is to set the timer counter of uc C167 to capture these pulses from the sensor and also to derive an algorithm to determine the speed.
Can any1 help with C programming of the algorithm which it can determine the speed in response to the frequency measured?
Many thanks to all
Can any1 help with C programming of the algorithm which it can determine the speed in response to the frequency measured?
Many thanks to all