Hello again
thanks to everyone who helped me with my last little dilema.
I have a new plan,
now that my fan speed controller is working, (it even has a crude PID to make it more agressive when the temp is higher)
and that i have incorporated some temp thresholds as to when to shut the fan off after it has started (ie it turns on at 30 but stays at a low speed until 25 is reached)
I plan to make a diagnostic of the fan on bootup, I have coded a small burst of pwm 0 - 254 on the fan pin,
Does anybody know of how to make the arduino sense if the fan is working and return an error message if it isnt, (without glueing magnets and using other stuff)
the fan could be 2 3 or even 4 pin, that part doenst matter, and i suppose a hall sensor coudl be used if neccesary,
well thanks in advance
spruce_m00se:
the fan could be 2 3 or even 4 pin, that part doenst matter
I'm not sure what you mean by "doesn't matter" - it sounds as if you want to measure the fan speed and the simplest way to do that would be to use a fan with a speed sensor built in. That would probably come with three wires.
what i meant by it doesnt matter, is that for the final product i have to buy new fans, so i could buy either 2 3 or 4 pin fans,
from reading i have found out that a 4 pin has pwm ability, which might be worht looking into, the 3 pin has speed sensing, and 2 pin is (DUMB)
my question was more aimed at finding if there is a way to simply tell that the fan is working, either voltage drop, amperage increase etc on a pin, that could destinguish between a working fan and a stalled fan,
maybe its easier to just measure the rpm, but it would be good to kno if anyone knows of another way