03-28-2018 10:10 AM
I am using a 4 wire fan and my task is to measure the speed of the fan using the tachometer output of the fan. The tachometer output produces 2 cycles per revolution of the fan. Hence it is a square wave whose frequency varies with the speed of the fan. I have read some posts that it can be done by calling interrupt at the rising or falling edge and hence counting the number of pulses.
Does anyone have an idea how can implement this on Zybo board? Where should I input the tachometer output on the board? Which interrupts should I call for this operation? Any help would be appreciated.
Thanks & Regards
03-28-2018 11:24 AM
03-28-2018 11:26 AM
03-28-2018 01:19 PM
The fan is not too fast. So an interrupt based solution is also fine.
I find measurement between two pulses as a feasible solution but can you please give me any leads how I can implement it? Is there a function that detects the rising edge of a pulse?