<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel>
        <title>Extruder Firmware pin assignment</title>
        <description> I am trying to understand how the pin assignment work for the Extruder Controller v2.2.

I want to understand how pin assignment work. In configuration.h.dist 

#define RX_ENABLE_PIN 4
#define TX_ENABLE_PIN 16

On the chip the pins are 30 for RX and 31 for tx. for the temperature sensor:

#define TEMP_PIN 3

It is pin 26 (ADC3) on the chip.

#define POT 0

The pot is on pin 23 (ADC0) on the chip. 
If I want to use pin 19 (ADC6) should I use &quot;#define TEMP_PIN 6&quot; ?
Why is pin 4 the rx pin ?</description>
        <link>https://reprap.org/forum/read.php?12,28725,28725#msg-28725</link>
        <lastBuildDate>Fri, 09 Oct 2026 03:39:54 -0400</lastBuildDate>
        <generator>Phorum 5.2.23</generator>
        <item>
            <guid>https://reprap.org/forum/read.php?12,28725,28747#msg-28747</guid>
            <title>Re: Extruder Firmware pin assignment</title>
            <link>https://reprap.org/forum/read.php?12,28725,28747#msg-28747</link>
            <description><![CDATA[ Also, I just connected up a thermocouple board to the A6/A7 headers on the extruder controller 2.2 board.  Be careful, the silkscreen on those headers isn't correct.]]></description>
            <dc:creator>Wade</dc:creator>
            <category>RepRap Host</category>
            <pubDate>Sat, 17 Oct 2009 18:13:32 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?12,28725,28741#msg-28741</guid>
            <title>Re: Extruder Firmware pin assignment</title>
            <link>https://reprap.org/forum/read.php?12,28725,28741#msg-28741</link>
            <description><![CDATA[ Hi<br />
<br />
RX_ENABLE_PIN is indeed digital pin 4 it is receive ENABLE not receive!<br />
<br />
The define numbers refer to the actual digital pin numbers if it is for a digitalWrite but refer to the ADC number if it is for a an analogWrite.<br />
<br />
So if you want to use Pin 19 as an analogue pin you do indeed use #define TEMP_PIN 6.<br />
<br />
However if you wanted to use it as a digital pin you would have to define it as 19.<br />
<br />
The best way to check the pin functions is looking through the code and seeing if it is being used as digital or analogue.]]></description>
            <dc:creator>emt</dc:creator>
            <category>RepRap Host</category>
            <pubDate>Sat, 17 Oct 2009 09:32:14 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?12,28725,28733#msg-28733</guid>
            <title>Re: Extruder Firmware pin assignment</title>
            <link>https://reprap.org/forum/read.php?12,28725,28733#msg-28733</link>
            <description><![CDATA[ I spent a whole day trying to do the same, and its no help from Arduino to nnot describe on their FAQ page what it all means.<br />
<br />
I don't know why they chose pin 4 to be rx but<br />
The Arduino notation of pin assignments are<br />
D0 Pin 1 to<br />
D13 pin 14<br />
A0 Pin 15 to<br />
A7 pin 22<br />
<br />
But the ADC called pins are returned as Pin 1 for A0<br />
Crazy huh?]]></description>
            <dc:creator>Grogyan</dc:creator>
            <category>RepRap Host</category>
            <pubDate>Sat, 17 Oct 2009 00:56:13 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?12,28725,28725#msg-28725</guid>
            <title>Extruder Firmware pin assignment</title>
            <link>https://reprap.org/forum/read.php?12,28725,28725#msg-28725</link>
            <description><![CDATA[ I am trying to understand how the pin assignment work for the Extruder Controller v2.2.<br />
<br />
I want to understand how pin assignment work. In configuration.h.dist <br />
<br />
#define RX_ENABLE_PIN 4<br />
#define TX_ENABLE_PIN 16<br />
<br />
On the chip the pins are 30 for RX and 31 for tx. for the temperature sensor:<br />
<br />
#define TEMP_PIN 3<br />
<br />
It is pin 26 (ADC3) on the chip.<br />
<br />
#define POT 0<br />
<br />
The pot is on pin 23 (ADC0) on the chip. <br />
If I want to use pin 19 (ADC6) should I use "#define TEMP_PIN 6" ?<br />
Why is pin 4 the rx pin ?]]></description>
            <dc:creator>lcomtois</dc:creator>
            <category>RepRap Host</category>
            <pubDate>Fri, 16 Oct 2009 15:55:53 -0400</pubDate>
        </item>
    </channel>
</rss>
