<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel>
        <title>Using fan definitions FAN_PIN, FAN1_PIN and FAN2_PIN.</title>
        <description> Marlin firmware V 1.1.8 / 1.1.9,  RAMPS 1.4 board Configuration &quot;EFB&quot;
I&#039;m also using a board known as an RRD Fan extender board.
This board plugs into the Servo port and uses pin 6 and 11.

From what I understand there are 3 fan definitions possible.

FAN_PIN seem to be used to define the D9 Pin.
While FAN1_PIN AND FAN2_PIN go undefined.

So in the &quot;pins_RAMPS.h&quot; file I configured the following: in V1.1.9
#if ENABLED(IS_RAMPS_EFB)                      // Hotend, Fan, Bed
  #define HEATER_BED_PIN   RAMPS_D8_PIN
  #define FAN1_PIN   6   // DJB
  #define FAN2_PIN   11
In V 1.1.8
#if ENABLED(IS_RAMPS_EFB)                      // Hotend, Fan, Bed
  #define FAN_PIN        RAMPS_D9_PIN
  #define HEATER_BED_PIN RAMPS_D8_PIN
  #define FAN1_PIN 6   // Define servo pins for fan use  DJB
  #define FAN2_PIN 11

In both cases FAN1_Pin works by using the M106 P1 S128  command.
But in the case of FAN2_Pin it does not work.
Using M106 P2 S128 or M42 P11 S128 does not work.

So I figure I am either misinformed about FAN2_PIN,  it uses a different 
command structure or I may have a bad board.

Any help would be appreciated.
thank you</description>
        <link>https://reprap.org/forum/read.php?415,837386,837386#msg-837386</link>
        <lastBuildDate>Sat, 10 Oct 2026 16:04:03 -0400</lastBuildDate>
        <generator>Phorum 5.2.23</generator>
        <item>
            <guid>https://reprap.org/forum/read.php?415,837386,843967#msg-843967</guid>
            <title>Re: Using fan definitions FAN_PIN, FAN1_PIN and FAN2_PIN.</title>
            <link>https://reprap.org/forum/read.php?415,837386,843967#msg-843967</link>
            <description><![CDATA[ This may be late but I was working through the same thing using a RAMPS derivative board (PICA Shield). <br />
<br />
Reading through the Marlin Github issues category, it appears that only one fan is supported by Marlin. M106 P0 should be the part cooler fan. <br />
<br />
I edited my pins file to remove my second fan that goes to the extruder.  <br />
<br />
Edited Configuration_adv.h where it says extruder cooling fans:<br />
#define E0_AUTO_FAN_PIN 7 <br />
(mine is pin 7) <br />
<br />
and:<br />
#define EXTRUDER_AUTO_FAN_TEMPERATURE 15 //  was 50 changed to 15<br />
#define EXTRUDER_AUTO_FAN_SPEED   255  // == full speed<br />
<br />
so my extruder fan is on anytime the temp is above 15 degrees C<br />
<br />
Some also suggest just connecting extruder fan(s) to 12v so they run 100% of time.]]></description>
            <dc:creator>jswilson64</dc:creator>
            <category>Firmware - Marlin</category>
            <pubDate>Tue, 08 Jan 2019 16:00:07 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?415,837386,837386#msg-837386</guid>
            <title>Using fan definitions FAN_PIN, FAN1_PIN and FAN2_PIN.</title>
            <link>https://reprap.org/forum/read.php?415,837386,837386#msg-837386</link>
            <description><![CDATA[ Marlin firmware V 1.1.8 / 1.1.9,  RAMPS 1.4 board Configuration "EFB"<br />
I'm also using a board known as an RRD Fan extender board.<br />
This board plugs into the Servo port and uses pin 6 and 11.<br />
<br />
From what I understand there are 3 fan definitions possible.<br />
<br />
FAN_PIN seem to be used to define the D9 Pin.<br />
While FAN1_PIN AND FAN2_PIN go undefined.<br />
<br />
So in the "pins_RAMPS.h" file I configured the following: in V1.1.9<br />
#if ENABLED(IS_RAMPS_EFB)                      // Hotend, Fan, Bed<br />
  #define HEATER_BED_PIN   RAMPS_D8_PIN<br />
  #define FAN1_PIN   6   // DJB<br />
  #define FAN2_PIN   11<br />
In V 1.1.8<br />
#if ENABLED(IS_RAMPS_EFB)                      // Hotend, Fan, Bed<br />
  #define FAN_PIN        RAMPS_D9_PIN<br />
  #define HEATER_BED_PIN RAMPS_D8_PIN<br />
  #define FAN1_PIN 6   // Define servo pins for fan use  DJB<br />
  #define FAN2_PIN 11<br />
<br />
In both cases FAN1_Pin works by using the M106 P1 S128  command.<br />
But in the case of FAN2_Pin it does not work.<br />
Using M106 P2 S128 or M42 P11 S128 does not work.<br />
<br />
So I figure I am either misinformed about FAN2_PIN,  it uses a different <br />
command structure or I may have a bad board.<br />
<br />
Any help would be appreciated.<br />
thank you]]></description>
            <dc:creator>kd6hq</dc:creator>
            <category>Firmware - Marlin</category>
            <pubDate>Tue, 30 Oct 2018 19:02:37 -0400</pubDate>
        </item>
    </channel>
</rss>
