Ok, maybe my question was i little blurry, I'm using a PIC16F877a (20mhz) to build a speedometer, exhaust temperature, clock and a device for reading the RPM. I have a device that sends a pulse of +5V per revolution.
I've read somewhere that the pulsin isn't as accurate as the CCP module, so I thought it would be best to use it therefor.
Is this formula correct?
RPM = 60/(time per rev in seconds)
0,12s < time per rev < 0.006s
Assuming that the lowest RPM = 500 and the highest 10000
Bookmarks