Hi All
So, I have a 12V DC .15A fan that has 3 pins. +Ve (red), -Ve (black) and Tacho (yellow). I have a couple of questions before I connect this to my Arduino.
Using my Arduino, I would like to be able to measure the RPM of the fan from the tachograph pin, for no particular reason other than to learm etc, and so the questions I have are:
1 - I have measured the voltage at the tacho pin for different speeds of the fan and:
- Full output on analog pin (255), fan speed max, tacho voltage is 1.1.V
- Zero output on analog pin (0), fan stopped, tacho voltage is 11.8V
- Voltage drops from approx 12V to 1V proportionally as I increase the fan speed.
Now, there is no way I want to connect a 0-12V signal to the input of my Arduino, so how to I reduce this signal so that it is safe to feed into one of the analog pins of my Arduino? Do I create a voltage divider circuit?
2 - I understood (probably incorrectly) that the tacho pin works off the hall effect, and as such a pulse (or two, unsure!) is generated for each revolution of the motor. Given that the voltage varies between 12V-0V (min speed - max speed) is this not the case and have I understood it incorrectly? or is it the case that the voltage measured by my DVM is in effect the result of the pulses from the fan?
I am loving all this coding and learning. Any help/advice greatly appreciated.
Thanks all.
