Huttojb1
Member
Thanks Mike. I'm sure I will go through the pain once I start trying to write the capture.To implement a tach, you have two choices: count events per unit time, or measure the period between events using a high frequency clock (like the cpu clock of a microprocessor). Doing the former with any significant resolution means waiting a relatively long time between updates (like a second per update). Doing the latter means you can get higher resolution in a shorter time (like the interval between successive power strokes). Doing the latter, however, requires that you do a division to get the RPM:
f=k/period, where k is a constant.
Jason