-
-
Notifications
You must be signed in to change notification settings - Fork 19.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FR] Support 3-wire fans #11642
Comments
The pulses are short and relatively high frequent. You'll need an interrupt. For the poor tiny 8-bitters you'll probably need a hardware pulse divider like a counter from the 74xx series and a custom interrupt header to be able to do something else than checking the fan. Maybe you can find and set up an unused hardware counter in the AVR. |
I do board on stm32f429, and hardware problems with the counting of the pulses will not be there. The problem is that I'm not a professional programmer. Processing code pulses from the fan, I will write, but not sure that will be able to add it in the right place in Marlin |
@AnHardt : AFAIK, Prusa's FW does it, so it should be feasible in an 8-bit CPU. |
I did not say it does not work. I said: "It needs an interrupt and a pre divider would help to lower the load." |
Sorry for late input, but i'm new here :-) |
Also compare to prusa3d/Prusa-Firmware#1193 (comment) |
Nice Link but not for the given issue. The link's content is related to model cooler PWM controlled. ( this is unmanaged too noisy… but that's another issue) In this Issue the user want to monitor the Hotend Fan via its Tacho wire. I sent only a hint to change the Tacho pulses into a Switch signal (ON/OFF) that can be handled easily from every 8-Bit Controller and refines the requirement: stop printing and heating if Hotend Fan is switched on but does not run. |
The link seems to be relevant because it pretty well explains why you could, on a PWMd fan, see pulses even if its not turning. Did you test that with your solution? It also explains very well why Prusas solution does not work to everyone's satisfaction. |
I run several water cooled hot end units and I am dying for this feature to become implemented. I'm sure that everyone who's going to go so far as to use water cooling will be on a 32-bit board or at least I hope so but regardless if we could get an implementation to control an array or a single fan output based off of tachometer that would really change the game for some of us. |
Closing, as this is now underway. |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Is it possible to add support for three-wire fans. For example, to get information on the signal wire, about whether the fan rotates, and if it does not rotate, turn off the hotend heating
The text was updated successfully, but these errors were encountered: