<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel>
        <title>How to permanently move PART COOLING FAN to pin 6 (MKS GE 1.4 second servo header)</title>
        <description> Hello everyone,

I want to move the PART COOLING FAN to pin D6, and use an H-BRIDGE L9110S module to power the fan, I want this also when I configured Marlin with a single EXTRUDER, because I wired already all the cables and for easy swap of the printers head, I want to use an 24 pin ATX connector, each of my heads will have the same connector and only the needed pins  connected, as in the image bellow.

[attachment 109642 atxconnecotrdefinedpins.jpg]

For this I need to have my heater pins (D10 and D7) and fan pins (D9 and D6) defined exactly in the same way  no matter what version of marlin I configure (as I noticed the single heater firmware, will use E1 - D7 pin for part cooling fan, dual heaters setup, will use E1 for the secondary heater), yesterday night after a few tests I made with the dual nozzle setup, I swapped back to my single nozzle setup but this time I had defined #define FANMUX0_PIN 6, but when tried to print something I noticed the D7 mosfet was turned on instead (LED was on), I think somehow the part cooling fan is still on heater 1 connector (E1 mosfet)

[attachment 109638 MksGenV14-Pinout.png]

[attachment 109634 MKSgenBoardandH-BridgeconnectedtroughYELLOW-ORANGEcable.jpg]

Anyone around to help me with this ? Did anyone else used a similar H-BRIDGE to power fans (when using dual extruders, and all onboard mosfets are used by other devices) ? Or do you guys have any other suggestion how to power the part cooling fan (which turns on only after the first few layers).

PS. I used the L9110S H-bridge because I already had it, my plan was to an mosfet module that also has an opto-coupler onboard, but it didn&#039;t arrive yet :(</description>
        <link>https://reprap.org/forum/read.php?415,845377,845377#msg-845377</link>
        <lastBuildDate>Sun, 08 Mar 2026 06:09:43 -0400</lastBuildDate>
        <generator>Phorum 5.2.23</generator>
        <item>
            <guid>https://reprap.org/forum/read.php?415,845377,845388#msg-845388</guid>
            <title>Re: How to permanently move PART COOLING FAN to pin 6 (MKS GE 1.4 second servo header)</title>
            <link>https://reprap.org/forum/read.php?415,845377,845388#msg-845388</link>
            <description><![CDATA[ <blockquote class="bbcode"><div><small>Quote<br /></small><strong>Dust</strong><br />
Firstly did you check with a single hotend or dual?</div></blockquote>
<br />
Today I set it up as a single hotend, last night I made some tests with dual hotends but I haven't connected the fan at all.<br />
<br />
<blockquote class="bbcode"><div><small>Quote<br /></small><strong>Dust</strong><br />
I dont know what #define FANMUX0_PIN 6 is for...  I would set it back to -1</div></blockquote>
<br />
Now 30 minutes ago I tried setting it back to -1 but it still didn't help. I'm sure the code in the ramps file is changing the fan pin definition, I think I will try to undef FAN1_PIN either above the motherboard block you told me initially, or in my pins_MKS_GEN_13.h file, I noticed there are also some other undef's there too.<br />
<br />
Will post back later, to let you know if it worked :D<br />
<br />
Thank you!<br />
<br />
<b><span style="font-size:large">UPDATE!</span></b> It worked :D In the file pins_MKS_GEN_13.h I undefined FAN1 also, and redefine it one line bellow:<br />
<br />
<pre class="bbcode">
#include "pins_RAMPS.h"

#undef FAN_PIN
#undef FAN1_PIN

#define FAN1_PIN 6
</pre>]]></description>
            <dc:creator>ovisopa</dc:creator>
            <category>Firmware - Marlin</category>
            <pubDate>Sat, 26 Jan 2019 06:41:04 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?415,845377,845387#msg-845387</guid>
            <title>Re: How to permanently move PART COOLING FAN to pin 6 (MKS GE 1.4 second servo header)</title>
            <link>https://reprap.org/forum/read.php?415,845377,845387#msg-845387</link>
            <description><![CDATA[ Firstly did you check with a single hotend or dual?<br />
<br />
secondly just noticed there is this bit of code in pins_RAMPS.h that needs changed<br />
<br />
<pre class="bbcode">
#elif DISABLED(IS_RAMPS_SF)                    // Not Spindle, Fan (i.e., "EFBF" or "EFBE")
  #define HEATER_BED_PIN   RAMPS_D8_PIN
  #if HOTENDS == 1
    #define FAN1_PIN       MOSFET_D_PIN
  #else
    #define HEATER_1_PIN   MOSFET_D_PIN
  #endif
#endif</pre>
<br />
with 1 hotend It will set the FAN1_PIN to MOSFET_D_PIN<br />
but with more than 1 hotend it will set the HEATER_1_PIN to MOSFET_D_PIN<br />
change it to<br />
<br />
<pre class="bbcode">
#elif DISABLED(IS_RAMPS_SF)                    // Not Spindle, Fan (i.e., "EFBF" or "EFBE")
  #define HEATER_BED_PIN   RAMPS_D8_PIN
  #define FAN1_PIN   6 
  #define HEATER_1_PIN   MOSFET_D_PIN
#endif</pre>
<br />
I dont know what #define FANMUX0_PIN 6 is for...  I would set it back to -1]]></description>
            <dc:creator>Dust</dc:creator>
            <category>Firmware - Marlin</category>
            <pubDate>Sat, 26 Jan 2019 05:34:55 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?415,845377,845384#msg-845384</guid>
            <title>Re: How to permanently move PART COOLING FAN to pin 6 (MKS GE 1.4 second servo header)</title>
            <link>https://reprap.org/forum/read.php?415,845377,845384#msg-845384</link>
            <description><![CDATA[ Thank you for the <b>quick reply</b>, I modified the config as you suggested and flashed the firmware via OctoPrint, and made a test print, when printing the first layers the COOLING FAN must be of, and the D7 MOSFET led was off, I though the change you suggested did the trick, <b><span style="font-size:large">but ...</span></b><br />
<br />
[attachment 109643 D7mosfetledOFFonfirstlayers.jpg]<br />
<br />
after it started printing the next layers I checked again the D7 MOSFET led and it was turned ON :( The fan connected to D6 was still OFF<br />
<br />
[attachment 109644 D7mosfetledONafterfirstlayers.jpg]<br />
<br />
In the file pins_MKS_GEN_13.h I have:<br />
<br />
<pre class="bbcode">
//
// Heaters / Fans
//
// Power outputs EFBF or EFBE
#define MOSFET_D_PIN 7</pre>
<br />
<br />
<br />
In configuration_adv.h I have :<br />
<br />
<pre class="bbcode">
#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 CHAMBER_AUTO_FAN_PIN -1
#define EXTRUDER_AUTO_FAN_TEMPERATURE 50
#define EXTRUDER_AUTO_FAN_SPEED   255  // == full speed

/**
 * Part-Cooling Fan Multiplexer
 *
 * This feature allows you to digitally multiplex the fan output.
 * The multiplexer is automatically switched at tool-change.
 * Set FANMUX[012]_PINs below for up to 2, 4, or 8 multiplexed fans.
 */
#define FANMUX0_PIN 6
#define FANMUX1_PIN -1
#define FANMUX2_PIN -1</pre>
<br />
<br />
<b>Those settings are the cause ?</b>]]></description>
            <dc:creator>ovisopa</dc:creator>
            <category>Firmware - Marlin</category>
            <pubDate>Sat, 26 Jan 2019 04:35:51 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?415,845377,845381#msg-845381</guid>
            <title>Re: How to permanently move PART COOLING FAN to pin 6 (MKS GE 1.4 second servo header)</title>
            <link>https://reprap.org/forum/read.php?415,845377,845381#msg-845381</link>
            <description><![CDATA[ setting "#define FAN1_PIN 6"  in configuration.h should do it...<br />
<br />
I tend to do such modifications in the MOTHERBOARD block...<br />
<br />
ie <br />
<br />
<pre class="bbcode">
#ifndef MOTHERBOARD
  #define MOTHERBOARD BOARD_MKS_GEN_13  //BOARD_RAMPS_14_EFB
  #define FAN1_PIN 6
#endif
</pre>]]></description>
            <dc:creator>Dust</dc:creator>
            <category>Firmware - Marlin</category>
            <pubDate>Sat, 26 Jan 2019 03:00:50 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?415,845377,845377#msg-845377</guid>
            <title>How to permanently move PART COOLING FAN to pin 6 (MKS GE 1.4 second servo header)</title>
            <link>https://reprap.org/forum/read.php?415,845377,845377#msg-845377</link>
            <description><![CDATA[ Hello everyone,<br />
<br />
I want to move the PART COOLING FAN to pin D6, and use an <a href="https://hobbycomponents.com/motor-drivers/264-l9110s-dc-stepper-motor-driver-h-bridge" target="_blank"  rel="nofollow">H-BRIDGE L9110S</a> module to power the fan, I want this also when I configured Marlin with a single EXTRUDER, because I wired already all the cables and for easy swap of the printers head, I want to use an 24 pin ATX connector, each of my heads will have the same connector and only the needed pins  connected, as in the image bellow.<br />
<br />
[attachment 109642 atxconnecotrdefinedpins.jpg]<br />
<br />
For this I need to have my heater pins (D10 and D7) and fan pins (D9 and D6) defined exactly in the same way  <b>no matter what version of marlin I configure</b> (as I noticed the <b>single heater</b> firmware, will use E1 - D7 pin for part cooling fan, <b>dual heaters</b> setup, will use E1 for the secondary heater), yesterday night after a few tests I made with the dual nozzle setup, I swapped back to my single nozzle setup but this time I had defined #define FANMUX0_PIN 6, but when tried to print something I noticed the D7 mosfet was turned on instead (LED was on), I think somehow the part cooling fan is still on heater 1 connector (E1 mosfet)<br />
<br />
[attachment 109638 MksGenV14-Pinout.png]<br />
<br />
[attachment 109634 MKSgenBoardandH-BridgeconnectedtroughYELLOW-ORANGEcable.jpg]<br />
<br />
Anyone around to help me with this ? Did anyone else used a similar H-BRIDGE to power fans (when using dual extruders, and all onboard mosfets are used by other devices) ? Or do you guys have any other suggestion how to power the part cooling fan (which turns on only after the first few layers).<br />
<br />
PS. I used the L9110S H-bridge because I already had it, my plan was to an <a href="https://www.ebay.com/itm/1-4-Channel-1-4-Route-MOSFET-Button-IRF520-IRF540-MOSFET-Switch-Module/192122718340?ssPageName=STRK%3AMEBIDX%3AIT&amp;var=492031863419&amp;_trksid=p2057872.m2749.l2649" target="_blank"  rel="nofollow">mosfet module</a> that also has an opto-coupler onboard, but it didn't arrive yet :(]]></description>
            <dc:creator>ovisopa</dc:creator>
            <category>Firmware - Marlin</category>
            <pubDate>Sat, 26 Jan 2019 02:27:14 -0500</pubDate>
        </item>
    </channel>
</rss>
