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.
Question
vishav
Hi,
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
Vishav
Link to comment
Share on other sites
3 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.