Set Fan0 to an I/O pin
-
My part cooling fan control no longer works after a bad print failure and subsequent short that occurred. I have an open I/O port that I would like to substitute for Fan0 that is currently used to control a chamber fan. The I/O pin is P42. I have been unable to locate a way to map this to Fan0. Is this something that is possible?
Thanks!
Duet 2 clone (vivedino)
Running Firmware 2.05 (unable to upgrade to 3.XX for a variety of reasons) -
This becomes easy in RRF3. I think the vivedino boards work on the latest firmware versions. Have you tried recently?
-
They can support it. But at this moment I am doing this for a printer that is past of a fleet of printers running 2.0. To keep all the printers the same we are staying on 2.0.
Is this not possible to do with rrf2.0?
-
I'm not familiar with that board. Does it not have any remaining open fan headers?
RRF2 is rather rigid and pre-defined with pins. Part of the reason for RRF3 was greater flexibility.
-
There are 3 fan ports (0,1,2). I could use Fan2 and wire the current fan to an always on port, which would free it up for being used as the part cooling fan if that’s possible.
How would I program fan 2 to be used as fan0?
-
-
Awesome! Thanks a bunch.
I do actually remember seeing that now, but it slipped my mind. Apologies for not googling it again
-
@dportero if you need to change the pin for fan 0, use M106 with the A parameter:
The A parameter can be used to assign a fan to a different output pin, for example a spare heater output (use a M307 command to disable the heater and free up the pin first).
For a list of RRF 2 pin assignments, see the ‘ Logical pin (RRF 2.x)‘ column in https://docs.duet3d.com/Duet3D_hardware/Duet_2_family/Duet_2_WiFi_Ethernet_Hardware_Overview#inputoutput
Ian
-
That might be exactly what I’m looking for. I’ll try it out. Thanks!