I'm trying to figure out how to have the extruder fan come on when the extruder (on a FT-5 R2) reaches a certain temp. I thought by changing the "#define E0_AUTO_FAN_PIN -1" to "#define E0_AUTO_FAN_PIN 9" that would do the job, NOT so. Do I have the wrong pin, or am I missing some other changes that I need to make in the firmware, or maybe you can't have the fan to go on and off by temp? Below is the error I get, below that the change I make in Configuration_adv.h. Below that a fix I found on the net, that again gives me the same error. Help would be appreciated. The fan works fine when using GCode M106 S #. K
Then I get this error:
exit status 1
error "You cannot set E0_AUTO_FAN_PIN equal to FAN_PIN.
Configuration_adv.h in Marlin_ft5_stock
// @section extruder
* Extruder cooling fans
* Extruder auto fans automatically turn on when their extruders'
* temperatures go above EXTRUDER_AUTO_FAN_TEMPERATURE.
* Your board's pins file specifies the recommended pins. Override those here
* or set to -1 to disable completely.
* Multiple extruders can be assigned to the same pin in which case
* the fan will turn on when any selected extruder is above the threshold.
define E0_AUTO_FAN_PIN 9
define E1_AUTO_FAN_PIN -1
define E2_AUTO_FAN_PIN -1
define E3_AUTO_FAN_PIN -1
define E4_AUTO_FAN_PIN -1
define EXTRUDER_AUTO_FAN_TEMPERATURE 50
define EXTRUDER_AUTO_FAN_SPEED 255 // == full speed
"The fix is a simple one: In your pins_RAMPS.h file, modify the lines shown above to read this instead:
if ENABLED(IS_RAMPS_EF // Hotend, Fan, Bed
define FAN_PIN -1 // Default is RAMPS_D9_PIN
To be clear, you don’t need to add the comment (the line marked off with the two forward slashes), but I recommend doing this in the event you want to revert back in the future—it’s great practice to keep the defaults around somewhere, and where better than the file to which they belong?
And that’s it! One simple change eliminated your pin conflict!"