Hey Guys, I am currently working on a project of using arduino to control the computer fan. I used the Time1 library of Arduino to generate a 25 kHz PWM signal. The fan works pretty well and its speed can be controlled if I adjust the duty cycle of the PWM signal.
Also, I want to measure the rotation signal from the computer fan. However, what I got is a signal contaminated with the PWM signal, So, how can I solve it ? Attached is the circuit map.
Thanks a lot!