<p>The RUMBA board has two fan outputs. The primary fan output is switched by pin 7, the secondary one by pin 8. The reason your fan is not working when you set <code>#define EXTRUDER_0_AUTO_FAN_PIN 8</code> is because it's switching the secondary fan. If you switch the wires over to the secondary fan output it will work correctly.</p>

<p>If you do want to use the primary fan output then you can achieve this by setting <code>#define EXTRUDER_0_AUTO_FAN_PIN 7</code> but you will need to search for the <code>#define FAN 8</code> in the appropriate pins.h file and change <code>8</code> to something else (-1 or 7, for example).</p>

<p>I would recommend the first solution, because you should have a controllable print cooling fan, and an automatic extruder cooling fan.</p>

CC BY-SA 3.0
2016-10-17T12:15:47.640Z
2016-10-17T12:15:47.640Z
Tom van der Zanden
<p>I have wired in a new extruder with its own cooling fan and I tried to change the Marlin firmware to switch it on automatically above a specific temperature (50&nbsp;°C).
I did noting in the Configuration.h
I changed a line in the Configuration_adv.h</p>

<p>from</p>

<pre><code>#define EXTRUDER_0_AUTO_FAN_PIN   -1
</code></pre>

<p>to</p>

<pre><code>#define EXTRUDER_0_AUTO_FAN_PIN   8
</code></pre>

<p>as described in this <a href="http://3dprintboard.com/showthread.php?10981-Some-useful-info-about-the-Hotend-cooling-fan-and-RUMBA" rel="nofollow noreferrer">article</a>.
But the fan is not starting when I bring the temperature above 50&nbsp;°C (manually). However it starts if I switch the fan on manually from Repetier.
Am I missing something? How do I control the fan automatically on <code>FAN0</code> output when the temperature  reached the set limit?</p>

CC BY-SA 3.0
2016-10-17T10:13:12.953Z
Maybe 8 is not the correct pin to turn on the fan for your board? Which board do you have, and what output is the fan connected to?
Tom van der Zanden
CC BY-SA 3.0
2016-10-17T10:18:08.567Z
I have a Rumba board. The fan is connected to Fan0 and the extruder to Extruder0. If I leave that line with -1 instead of 8 the fan does not even start manually therefore I assume that pin 8 is correct for such output. The issue is that does not start automatically as I said above. Something I have not said is that I am testing heating up the extruder manually (not printing, just heating it).
FeliceM
CC BY-SA 3.0
2016-10-17T10:20:54.297Z
The auto fan functionality is separate from the manual control, so I don't understand why your setting here should affect the manual control. The primary fan on the Rumba board is on pin 7, and a secondary fan output is on pin 8. Perhaps setting it to 7 will work? You might need to remove the regular FAN_PIN define to make this work.
Tom van der Zanden
CC BY-SA 3.0
2016-10-17T11:36:47.383Z
@TomvanderZanden, sorry you are correct. Even if I set #define EXTRUDER_0_AUTO_FAN_PIN -1, the manual on/off from Repetier works. I tried then to set #define EXTRUDER_0_AUTO_FAN_PIN 7 but I get this error:  #error "You cannot set EXTRUDER_0_AUTO_FAN_PIN equal to FAN_PIN. How do I solve this?
FeliceM
<marlin><cooling><fans>
Marlin (on RUMBA board) switch extruder fan automatically
FeliceM
# Marlin (on RUMBA board) switch extruder fan automatically

(Asked by: username_0 on 2016-10-17)

I have wired in a new extruder with its own cooling fan and I tried to change the Marlin firmware to switch it on automatically above a specific temperature (50 °C).
I did noting in the Configuration.h
I changed a line in the Configuration\_adv.h

from

```
#define EXTRUDER_0_AUTO_FAN_PIN   -1

```

to

```
#define EXTRUDER_0_AUTO_FAN_PIN   8

```

as described in this [article](http://3dprintboard.com/showthread.php?10981-Some-useful-info-about-the-Hotend-cooling-fan-and-RUMBA).
But the fan is not starting when I bring the temperature above 50 °C (manually). However it starts if I switch the fan on manually from Repetier.
Am I missing something? How do I control the fan automatically on `FAN0` output when the temperature reached the set limit?

**Tags:** marlin, cooling, fans

> **Comments:**
> **username_1**: Maybe 8 is not the correct pin to turn on the fan for your board? Which board do you have, and what output is the fan connected to?  
> **username_0**: I have a Rumba board. The fan is connected to Fan0 and the extruder to Extruder0. If I leave that line with -1 instead of 8 the fan does not even start manually therefore I assume that pin 8 is correct for such output. The issue is that does not start automatically as I said above. Something I have not said is that I am testing heating up the extruder manually (not printing, just heating it).  
> **username_1**: The auto fan functionality is separate from the manual control, so I don't understand why your setting here should affect the manual control. The primary fan on the Rumba board is on pin 7, and a secondary fan output is on pin 8. Perhaps setting it to 7 will work? You might need to remove the regular FAN_PIN define to make this work.  
> **username_0**: @username_1, sorry you are correct. Even if I set #define EXTRUDER_0_AUTO_FAN_PIN -1, the manual on/off from Repetier works. I tried then to set #define EXTRUDER_0_AUTO_FAN_PIN 7 but I get this error:  #error "You cannot set EXTRUDER_0_AUTO_FAN_PIN equal to FAN_PIN. How do I solve this?  

---

## 1 answers

### Answer by username_1 on 2016-10-17. Score: 2 | Accepted answer

The RUMBA board has two fan outputs. The primary fan output is switched by pin 7, the secondary one by pin 8. The reason your fan is not working when you set `#define EXTRUDER_0_AUTO_FAN_PIN 8` is because it's switching the secondary fan. If you switch the wires over to the secondary fan output it will work correctly.

If you do want to use the primary fan output then you can achieve this by setting `#define EXTRUDER_0_AUTO_FAN_PIN 7` but you will need to search for the `#define FAN 8` in the appropriate pins.h file and change `8` to something else (-1 or 7, for example).

I would recommend the first solution, because you should have a controllable print cooling fan, and an automatic extruder cooling fan.


---

