<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel>
        <title>How do I pick a pin?</title>
        <description> So I&#039;m connecting a heated bed, powered by a separate power supply. It&#039;s controlled with a seven switch, which requires a pin on the ramps to be configured to switch on when heating, off when not.

I know what to change in marlin, what I don&#039;t know is which pin I can use on the ramps. I&#039;ve got a full graphics LCD on it, so the entire bottom section is in use, so I guess I&#039;m using something in aux 1 or 2? is D for digital and A for analogue?

If I&#039;m going to test it with a multimeter, to check it switches on and off, where do I put the ground probe?

Thanks



  

    
      
    

    

    

    
        
    

    

    

    
      800px-Arduinomega1-4connectors.png
    

  

 



mod_embed_images_loadimage(&#039;67fb10c71d23299692e34b7dffb17fda&#039;, &#039;/forum/thumbcache/e2e/904/ab8/8d0/241/ad4/1f0/c64/0c3/689/24_800x400.png&#039;, &#039;http://reprap.org/mediawiki/images/thumb/c/ca/Arduinomega1-4connectors.png/800px-Arduinomega1-4connectors.png&#039;, &#039;https://reprap.org/forum/addon.php?219,module=embed_images,check_scaling=1,url=http%3A%2F%2Freprap.org%2Fmediawiki%2Fimages%2Fthumb%2Fc%2Fca%2FArduinomega1-4connectors.png%2F800px-Arduinomega1-4connectors.png&#039;, &#039;&#039;, 426628, 800, 400, &#039;Loading image ...&#039;, false);

</description>
        <link>https://reprap.org/forum/read.php?219,426628,426628#msg-426628</link>
        <lastBuildDate>Thu, 12 Mar 2026 13:30:55 -0400</lastBuildDate>
        <generator>Phorum 5.2.23</generator>
        <item>
            <guid>https://reprap.org/forum/read.php?219,426628,878627#msg-878627</guid>
            <title>Re: How do I pick a pin?</title>
            <link>https://reprap.org/forum/read.php?219,426628,878627#msg-878627</link>
            <description><![CDATA[ I know this is an old post/question, but the last entry is still asking for an answer...<br />
<br />
Your initial question/statement indicates that you have a heated bed, powered by a SEPARATE power supply...<br />
<br />
I have a similar situation: MY heated bed runs off of 120V (AC).<br />
<br />
I think MY solution to the issue, would work for you, as well...<br />
<br />
I have the D8 (or is it D10) switched voltage (12V off the RAMPS board) driving an electronic relay (which switches my 120VAC line to the heated bed).  I did NOT, therefore, have to change the firmware, as it was already switching the D8 (or D10, I forget which) for the Heated Bed 12VDC power connector.<br />
<br />
You could use the same technique, only YOU would be driving your separate power supply voltage through the relay (or MOSFET, if it's 12VDC for your heated bed).]]></description>
            <dc:creator>wardmd</dc:creator>
            <category>RAMPS Electronics</category>
            <pubDate>Sat, 07 Nov 2020 09:37:08 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?219,426628,700747#msg-700747</guid>
            <title>Re: How do I pick a pin?</title>
            <link>https://reprap.org/forum/read.php?219,426628,700747#msg-700747</link>
            <description><![CDATA[ Hey Uklan,<br />
<br />
Any update on this??<br />
<br />
thanks.]]></description>
            <dc:creator>prashantdshinde</dc:creator>
            <category>RAMPS Electronics</category>
            <pubDate>Wed, 17 Aug 2016 01:36:21 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?219,426628,431629#msg-431629</guid>
            <title>Re: How do I pick a pin?</title>
            <link>https://reprap.org/forum/read.php?219,426628,431629#msg-431629</link>
            <description><![CDATA[ Hi Uklan,<br />
<br />
Can you plz let me know the changes to be done in configuration.h file of Marlin...<br />
<br />
also let me know if you succeeded in connecting the Seven Switch to Ramps1.4 &amp; heatbed..]]></description>
            <dc:creator>prashantdshinde</dc:creator>
            <category>RAMPS Electronics</category>
            <pubDate>Thu, 13 Nov 2014 03:05:59 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?219,426628,428836#msg-428836</guid>
            <title>Re: How do I pick a pin?</title>
            <link>https://reprap.org/forum/read.php?219,426628,428836#msg-428836</link>
            <description><![CDATA[ After Traumflug posted in another thread, it reminded me that D8 can't directly drive the Seven Switch. D8 positive terminal is always on and it's the return ground that is being switched. There are ways that you could work around it, but they would be kinda hackish. Using a SSR would be easiest.]]></description>
            <dc:creator>cdru</dc:creator>
            <category>RAMPS Electronics</category>
            <pubDate>Thu, 06 Nov 2014 13:34:27 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?219,426628,428803#msg-428803</guid>
            <title>Re: How do I pick a pin?</title>
            <link>https://reprap.org/forum/read.php?219,426628,428803#msg-428803</link>
            <description><![CDATA[ Hi cdru...<br />
<br />
thanks for the info..<br />
<br />
some more queries :)<br />
<br />
I now want to use the D8 output as a switch that drives the Seven Switch's transistor's gate..... Does the existing seven switch circuit have this possiblity?? OR do I have to connect some more wires?<br />
<br />
If you can share an image/diagram, that would be really helpful..<br />
<br />
Regards,<br />
Prashant.]]></description>
            <dc:creator>prashantdshinde</dc:creator>
            <category>RAMPS Electronics</category>
            <pubDate>Thu, 06 Nov 2014 12:36:47 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?219,426628,428753#msg-428753</guid>
            <title>Re: How do I pick a pin?</title>
            <link>https://reprap.org/forum/read.php?219,426628,428753#msg-428753</link>
            <description><![CDATA[ <blockquote class="bbcode"><div><small>Quote<br /></small><strong>prashantdshinde</strong><br />But when I connected the +12v from PSU I cannot control the ON/OFF of heatbed using the Pronterface</div></blockquote>If you're using the always on +5V from AUX4, then it's working as it should.  You need to use a switched unused pin in AUX4 along with <a href="http://reprap.org/wiki/G-code#M42:_Stop_on_material_exhausted_.2F_Switch_I.2FO_pin" target="_blank"  rel="nofollow">M42</a> such as M42 P45 S255<br />
<br />
<blockquote class="bbcode"><div><small>Quote<br /></small><strong></strong><br />If I connect the +12v of seven switch with the D8 of RAMPS, will I get more than 11AMPS out of it to heat the large heatbed without melting down the connectors??</div></blockquote>Your question is a bit ambiguous.  Are you drawing the supply power for the Seven Switch from the D8 output connectors? Or are you using the D8 output as the switch that drives the Seven Switch's transistor's gate? If it's the former, then you can't draw more than 11 amps as that is what the polyfuse is rated for, and the connectors are also rated for about that. If it's the latter, I probably wouldn't use a drive connector as they are only <a href="http://www.mouser.com/ds/2/276/0015244449_PCB_HEADERS-157574.pdf" target="_blank"  rel="nofollow">officially rated</a> at 6.5 amps but I'm guessing that's a conservative number. Use a connector that has a higher current rating if you're going to be drawing 11 amps or more continuously. The IRLB8743PBF transistor is rated for up to 78 amps but the traces likely will only support a fraction of that.]]></description>
            <dc:creator>cdru</dc:creator>
            <category>RAMPS Electronics</category>
            <pubDate>Thu, 06 Nov 2014 09:42:13 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?219,426628,428711#msg-428711</guid>
            <title>Re: How do I pick a pin?</title>
            <link>https://reprap.org/forum/read.php?219,426628,428711#msg-428711</link>
            <description><![CDATA[ Hi Andrew,<br />
Thanks for the info.<br />
<br />
But I have below queries:<br />
<br />
I connected +5v from AUX4 to the signal pin on seven switch &amp; was successful in heating the bed...<br />
<br />
But when I connected the +12v from PSU I cannot <b><span style="color:#FF0000">control the ON/OFF of heatbed using the Pronterface</span></b>....<br />
<br />
If I connect the +12v of seven switch with the D8 of RAMPS, <b><span style="color:#FF0000">will I get more than 11AMPS out of it</span></b> to heat the large heatbed without melting down the connectors??<br />
<br />
Thanks...]]></description>
            <dc:creator>prashantdshinde</dc:creator>
            <category>RAMPS Electronics</category>
            <pubDate>Thu, 06 Nov 2014 07:22:38 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?219,426628,428381#msg-428381</guid>
            <title>Re: How do I pick a pin?</title>
            <link>https://reprap.org/forum/read.php?219,426628,428381#msg-428381</link>
            <description><![CDATA[ <blockquote class="bbcode"><div><small>Quote<br /></small><strong>prashantdshinde</strong><br />
I have built a seven switch to work it on RAMPS1.4 with marlin...<br />
<br />
but I dont know the connection to its connectors &amp; the changes that need to be done in marlin code...</div></blockquote>
<br />
[<a href="http://reprap.org/wiki/SevenSwitch#Setup" target="_blank"  rel="nofollow">reprap.org</a>]<br />
<br />
First picture clearly shows connector one. Main power, usually 24 or 12V, goes onto the rightmost pin on connector one, GND goes on the two center pins, the leftmost pin is unused. If you have an ATX supply, just plug it in, otherwise you're going to have to scavenge a molex, or perhaps replace that connector with screw terminals.  <br />
<br />
Second picture shows connector two. Ground goes on the left pin, signal goes on the right pin. Both come from the RAMPS board. Signal can come from any digital IO pin that isn't used for something else, but if you want to use PWM then you need to use one of the pins I listed in the second post of this thread. <br />
<br />
Then, adjust pins.h to tell Marlin to use that pin for whatever you're trying to control with the sevenswitch.]]></description>
            <dc:creator>Andrew Smith</dc:creator>
            <category>RAMPS Electronics</category>
            <pubDate>Wed, 05 Nov 2014 09:01:18 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?219,426628,428262#msg-428262</guid>
            <title>Re: How do I pick a pin?</title>
            <link>https://reprap.org/forum/read.php?219,426628,428262#msg-428262</link>
            <description><![CDATA[ This evening I hope, yesterday was a bit mad :)]]></description>
            <dc:creator>UkIan</dc:creator>
            <category>RAMPS Electronics</category>
            <pubDate>Wed, 05 Nov 2014 02:57:09 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?219,426628,428242#msg-428242</guid>
            <title>Re: How do I pick a pin?</title>
            <link>https://reprap.org/forum/read.php?219,426628,428242#msg-428242</link>
            <description><![CDATA[ Hey Uklan,<br />
<br />
Did you tried cnnecting everything? Succeeded?<br />
<br />
Do let me know.. :)]]></description>
            <dc:creator>prashantdshinde</dc:creator>
            <category>RAMPS Electronics</category>
            <pubDate>Wed, 05 Nov 2014 01:53:24 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?219,426628,427750#msg-427750</guid>
            <title>Re: How do I pick a pin?</title>
            <link>https://reprap.org/forum/read.php?219,426628,427750#msg-427750</link>
            <description><![CDATA[ I will try and connect everything up tomorrow and then I should have enough details to help :)]]></description>
            <dc:creator>UkIan</dc:creator>
            <category>RAMPS Electronics</category>
            <pubDate>Mon, 03 Nov 2014 17:43:18 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?219,426628,427649#msg-427649</guid>
            <title>Re: How do I pick a pin?</title>
            <link>https://reprap.org/forum/read.php?219,426628,427649#msg-427649</link>
            <description><![CDATA[ Hey Uklan.....can you plz help me here..?<br />
<br />
My post @ [<a href="http://forums.reprap.org/read.php?2,422595,427642#msg-427642" target="_blank"  rel="nofollow">forums.reprap.org</a>]<br />
<br />
I have built a seven switch to work it on RAMPS1.4 with marlin...<br />
<br />
but I dont know the connection to its connectors &amp; the changes that need to be done in marlin code...<br />
<br />
Can you please help me to get this worked?]]></description>
            <dc:creator>prashantdshinde</dc:creator>
            <category>RAMPS Electronics</category>
            <pubDate>Mon, 03 Nov 2014 13:47:08 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?219,426628,426696#msg-426696</guid>
            <title>Re: How do I pick a pin?</title>
            <link>https://reprap.org/forum/read.php?219,426628,426696#msg-426696</link>
            <description><![CDATA[ Brilliant thank you :D]]></description>
            <dc:creator>UkIan</dc:creator>
            <category>RAMPS Electronics</category>
            <pubDate>Fri, 31 Oct 2014 15:48:46 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?219,426628,426674#msg-426674</guid>
            <title>Re: How do I pick a pin?</title>
            <link>https://reprap.org/forum/read.php?219,426628,426674#msg-426674</link>
            <description><![CDATA[ Yep think I would use D11 (the left most Servo connection).<br />
<br />
<br />
<blockquote class="bbcode"><div><small>Quote<br /></small><strong>Andrew Smith</strong><br />
If you look at the Mega, then you'll see that pins 2 through 13 are marked PWM. Checking the RAMPS pinout, 8,9 and 10 are used for the mosfets on the RAMPS, 2 and 3 are used by the X endstops though most printers don't use X max, so pin 2 may be free on your machine. Also, 44,45 and 46 are also PWM capable, which isn't reflected on the silkscreen. So, any of 2,4,5,6,7,11,12,13,44,45 and 46.</div></blockquote>]]></description>
            <dc:creator>dougal1957</dc:creator>
            <category>RAMPS Electronics</category>
            <pubDate>Fri, 31 Oct 2014 14:28:12 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?219,426628,426672#msg-426672</guid>
            <title>Re: How do I pick a pin?</title>
            <link>https://reprap.org/forum/read.php?219,426628,426672#msg-426672</link>
            <description><![CDATA[ If you look at the Mega, then you'll see that pins 2 through 13 are marked PWM. Checking the RAMPS pinout, 8,9 and 10 are used for the mosfets on the RAMPS, 2 and 3 are used by the X endstops though most printers don't use X max, so pin 2 may be free on your machine. Also, 44,45 and 46 are also PWM capable, which isn't reflected on the silkscreen. So, any of 2,4,5,6,7,11,12,13,44,45 and 46.]]></description>
            <dc:creator>Andrew Smith</dc:creator>
            <category>RAMPS Electronics</category>
            <pubDate>Fri, 31 Oct 2014 14:15:58 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?219,426628,426667#msg-426667</guid>
            <title>Re: How do I pick a pin?</title>
            <link>https://reprap.org/forum/read.php?219,426628,426667#msg-426667</link>
            <description><![CDATA[ Anything in Aux 4.  D45 is the only PWM pin if that's a concern.<br />
<br />
Yes, A is for analog and d is for digital.  That only pertains if the pin is configured for input.  All analog pins can function as a digital pin but not vice versa.  Analog pins get aliased as high number digital pin as some arduino programming functions just take a pin number as a parameter and don't differentiate analog or digital.<br />
<br />
Any point labeled GND is on the same ground plane and could be used.  The - terminal of the 5A power connector would be the ultimate source of ground coming from the power supply.]]></description>
            <dc:creator>cdru</dc:creator>
            <category>RAMPS Electronics</category>
            <pubDate>Fri, 31 Oct 2014 14:02:31 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?219,426628,426628#msg-426628</guid>
            <title>How do I pick a pin?</title>
            <link>https://reprap.org/forum/read.php?219,426628,426628#msg-426628</link>
            <description><![CDATA[ So I'm connecting a heated bed, powered by a separate power supply. It's controlled with a seven switch, which requires a pin on the ramps to be configured to switch on when heating, off when not.<br />
<br />
I know what to change in marlin, what I don't know is which pin I can use on the ramps. I've got a full graphics LCD on it, so the entire bottom section is in use, so I guess I'm using something in aux 1 or 2? is D for digital and A for analogue?<br />
<br />
If I'm going to test it with a multimeter, to check it switches on and off, where do I put the ground probe?<br />
<br />
Thanks<br />
<br />
<div id="div_67fb10c71d23299692e34b7dffb17fda"
     class="mod_embed_images_extended"
     style="width:559px">

  

    
      
    

    <div id="imagediv_67fb10c71d23299692e34b7dffb17fda" class="mod_embed_images_image"
         style="width:559px; height:400px">

    

    <a href="http://reprap.org/mediawiki/images/thumb/c/ca/Arduinomega1-4connectors.png/800px-Arduinomega1-4connectors.png">
        <img src="/forum/thumbcache/e2e/904/ab8/8d0/241/ad4/1f0/c64/0c3/689/24_800x400.png"
             width="559"
             height="400"
             id="image_67fb10c71d23299692e34b7dffb17fda"
             alt="800px-Arduinomega1-4connectors.png"
             title="800px-Arduinomega1-4connectors.png"/>
    </a>

    

    </div>

    <div class="mod_embed_images_info " id="info_67fb10c71d23299692e34b7dffb17fda"
      style="display:block">
      <a id="link_67fb10c71d23299692e34b7dffb17fda" href="http://reprap.org/mediawiki/images/thumb/c/ca/Arduinomega1-4connectors.png/800px-Arduinomega1-4connectors.png">800px-Arduinomega1-4connectors.png</a>
    </div>

  

 </div>


<script type="text/javascript">
mod_embed_images_loadimage('67fb10c71d23299692e34b7dffb17fda', '/forum/thumbcache/e2e/904/ab8/8d0/241/ad4/1f0/c64/0c3/689/24_800x400.png', 'http://reprap.org/mediawiki/images/thumb/c/ca/Arduinomega1-4connectors.png/800px-Arduinomega1-4connectors.png', 'https://reprap.org/forum/addon.php?219,module=embed_images,check_scaling=1,url=http%3A%2F%2Freprap.org%2Fmediawiki%2Fimages%2Fthumb%2Fc%2Fca%2FArduinomega1-4connectors.png%2F800px-Arduinomega1-4connectors.png', '', 426628, 800, 400, 'Loading image ...', false);
</script>
<br/>]]></description>
            <dc:creator>UkIan</dc:creator>
            <category>RAMPS Electronics</category>
            <pubDate>Fri, 31 Oct 2014 11:40:09 -0400</pubDate>
        </item>
    </channel>
</rss>
