24V fan on GPIO?
-
I have enclosure fans on my printer that are 24V and would like to use them as a PWM but all 3 PWM fans are already being used. Is there a way to change a heater on the expansion pins to be able to use these fans or do I just need to get some 5V fans?
-
Yes you can use a heater as a fan output.
In RRF3 you would just define the pin you want to use as a fan with M950 and away you go to control it with M106.
-
you can connect a fan to the heater output.
with version 3 firmware just configure the fan with the e1heat. -
@deuce4884 said in 24V fan on GPIO?:
I have enclosure fans on my printer that are 24V and would like to use them as a PWM but all 3 PWM fans are already being used. Is there a way to change a heater on the expansion pins to be able to use these fans or do I just need to get some 5V fans?
To use a heater output on the Duet 2 expansion connector to control a fan, you must use an external mosfet because the signals on the expansion connector are 3.3V only.
-
@dc42 Thanks for the info. Would there be any particular MOSFET you'd recommend? I've looked at some on Amazon
Is this something like you are saying needs to be used? Sorry for all the questions. Little new to something like this. Thanks
-
That one is not ideal because the IRF520 mosfet can have a gate threshold voltage as high as 4V, so it should not be used with 3.3V signals, despite the fact that many product listings for it claim that it can be used with 3.3V. A module using the IRLB3036PbF would be better.
-
@dc42 I can't find a module like the IRF520 using the IRLB3036PbF. Can I just replace the mosfet or would I have to change the 102 resistors as well?
-
@deuce4884 said in 24V fan on GPIO?:
Can I just replace the mosfet or would I have to change the 102 resistors as well?
odds are replacing the mosfet will be fine, the resistor(s) is there just to limit the gate current (due to the gate capacitance) and to limit the LED current so they probably should stay the same values regardless of mosfet.
having said that I think another user is using a module that looks identical so while the listing says irf520 that might not be what you get; or it could be a a "irf520".
edit: maybe look at this, https://www.amazon.com/DGZZI-Transistor-Trigger-Regulator-Electronic/dp/B07PT4MMCK/ it seems to sport an AOD4184A
-
@bearer I ended up using these and so far so good. I appreciate the help. Thanks.