Hysteresis for interrupt pins

I’m trying to use an interrupt on an analog pin to read a tachometer on a pc fan but the tachometer output is very oscillatory. I was wondering if there is a way to add hysteresis so that one trigger doesn’t read multiple times.

Hello,

it sound strange. Are you sure you do it right? - Computer Cooling Fan Tachometer Wire – New Screwdriver

BR, Jan

Figured it out. Turns out the period of my PWM signal was too long and the pulses were messing with the output

1 Like