Embedded: Tach Success!

It worked! The filtering hardware that I built (zener diode + MOSFET) gave a clear enough signal to simply trigger off the falling edge of the input spikes; this was the trigger condition for my hardware interrupt.

I recorded the time intervals between pulses for four individual events in a buffer and then used the average to calculate RPM. The results speak for themselves:

Leave a Reply

Your email address will not be published. Required fields are marked *

Time limit is exhausted. Please reload CAPTCHA.