How can I apply a calculation to a frequency counter? Answered
I am trying to find a way to convert frequency (as in cycles per second (literal cycles of a wheel)) into speed. I've found schematics and code for a frequency counter, but I want to be able to display the actual speed in MPH in LEDs. The calculation is simple enough to do - I just need to know if there is a way that I could covert the output of a frequency counter to MPH by way of some calculation, and if so, how.
essentially, I want to learn how to program, say, a PIC micro to read how often a reed switch is closed, then translate that into a readable speed on 7-segment leds.
where should I start? what kind of chip should I use? Where do I learn to code? I am pretty much lost
thanks for reading