The fan is running fine; switching ON and OFF when threshold is reached or the hotend is heating, but neither Fluidd nor Mobilraker show any RPM for the fan when it’s running.
I have tried the following to fix it, but no luck:
→ Changed values for tachometer_poll_interval (0.01 to 0.00001)
→ Deleted and added pull-up to tachometer_pin
→ New fan
→ New printhead board 2x
→ Re-crimped the connector 3x
Nothing I try seems to give me any RPM for the fan, which makes it slightly hard to see if it’s running at the 5000 1/min which it should, or if I need to change settings.
I have found the following multiple forum threads, were people have the same issue, where this thread says, it works with [fan] instead of [heater_fan].
Thanks a lot for the reply.
Apologies, but I’m not sure how the discussion you shared is of relevance for this discussion. Or am I not seeing something obvious in the shared discussion?
I am using a 4 wire fan on a 4 wire header. There is no confusion on how to run the fan and everything seems to work except for the fan speed.
Oh, I’ve never thought about that actually. I assumed Klipper would automatically connect the tachometer data to the fan.
I will try as soon as I can and update the thread.
It was not clear that it works fine except the output and where you expected the output.
In my referenced link my printer showed the RPM next to the fan control slider in the Mainsail fan panel.
However I do not know what you are trying to do.
Did you use aliases for the pins or did you connect the fan to the main MCU? RP2040 only uses GPIO namings for its pins.
Sometimes it can be problematic when aliases are used.
Correct. The UI is aware of it, but no matter what I do, I can’t get any value for the RPM. I can test what you suggested, but if the Mobileraker UI isn’t detecting any RPM, I doubt a macro will.
I’m pretty sure the hardware is alright too, as I checked and double checked the crimped pin is sitting properly on the cable.
It could be, that the pull-up resistor build into the board is too small. I will try to add a hardware one.
If it is too small, it would not be able to detect high rpm or detect it correctly.
You could try reducing the power to some small value, like 0.2, to see if a slowly rotating fan will be detected.
So I have tried the things suggested here and unfortunately, nothing helped so far. The only thing left to check is the hardware pull-up, which I haven’t had the time to implement.
I also want to try to change to a 12V fan and see if that makes any difference.