<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel>
        <title>Ramps 1.4 and PIN D9</title>
        <description> Hi, I use a ramps 1.4 for control a Mostly Printed CNC with Marlin Firmware.
The last week I bought to Banggood a laser module that have only a cable for the power and nothing for control the power on/off. 
I connected the power of the module at the D9 pin of the ramps for turn on or off the module with the command M106 or M107, but unfortunately it does not work.
The strange thing is that if I turn on the ramps the laser turns on immediately, even if I powered the ramps with a 12v power supply connected only to the two right PLUG of the ramp (see the picture).
If i send at the ramps the M106 command or M107 nothing happens, the laser stays on.
If I understand correctly, the PIN D8, D9 and D10 are powered with the left plugs of the ramps, right? If it&#039;s right why the laser lights up even without power on the left?
Is it possible that the card is faulty or do I have to set a few pins to correctly feed the PINs d8, D9 and D10?
Thanks and sorry my bad english.
Regards</description>
        <link>https://reprap.org/forum/read.php?13,816152,816152#msg-816152</link>
        <lastBuildDate>Sun, 09 Aug 2026 13:18:45 -0400</lastBuildDate>
        <generator>Phorum 5.2.23</generator>
        <item>
            <guid>https://reprap.org/forum/read.php?13,816152,836882#msg-836882</guid>
            <title>Re: Ramps 1.4 and PIN D9</title>
            <link>https://reprap.org/forum/read.php?13,816152,836882#msg-836882</link>
            <description><![CDATA[ Hi there, I have a RAMPS 1.4 plus 2 and I want to connect a Laser forn engraving , I have a port on my card but I do not what to do and I want to preserve 3d printing capavilities, this is my card <br />
[<a href="https://reprap.org/wiki/File:Triple_01.jpg" target="_blank" >reprap.org</a>]<br />
thanks in advance]]></description>
            <dc:creator>IsaacTheKraken</dc:creator>
            <category>Controllers</category>
            <pubDate>Wed, 24 Oct 2018 10:44:28 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?13,816152,816533#msg-816533</guid>
            <title>Re: Ramps 1.4 and PIN D9</title>
            <link>https://reprap.org/forum/read.php?13,816152,816533#msg-816533</link>
            <description><![CDATA[ <blockquote class="bbcode"><div><small>Quote<br /></small><strong>Dust</strong><br />
Ok, something very wrong then...  It sounds like you have configured and wired it correctly.<br />
<br />
<br />
Take a step back and install ramps test firmware [<a href="http://reprap.org/mediawiki/images/0/0f/RAMPS1.4_TestCode.pde" target="_blank"  rel="nofollow">reprap.org</a>]<br />
<br />
No configuration is needed. It moves all motors back and forward but more importantly for you it also turns on and off all the mosfets<br />
<br />
So the laser should flash on and off...  while running this test firmware. <br />
<br />
If the laser still doesn't turn off, you have a hardware fault, most probably a dead mosfet.</div></blockquote>
<br />
Hi, I tryed the test sketch that You said me, but my ramps don't work (only the D9 Pin don't work, maybe the mosfet is dead).<br />
I bought a new ramps and now all is ok<br />
For you can I change the mosfet? if yes wich mosfet I must buy? Searching on google I found an article that suggest to usethe mosft  IRLB3034PBF (<a href="http://www.instructables.com/id/Upgrading-Your-RAMPS-With-High-Power-Components/" target="_blank"  rel="nofollow">HERE</a> the article. <br />
Thanks and ciao]]></description>
            <dc:creator>Pietrogramma</dc:creator>
            <category>Controllers</category>
            <pubDate>Thu, 29 Mar 2018 18:40:42 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?13,816152,816307#msg-816307</guid>
            <title>Re: Ramps 1.4 and PIN D9</title>
            <link>https://reprap.org/forum/read.php?13,816152,816307#msg-816307</link>
            <description><![CDATA[ Hi o_lamp, my board have the polyfuses (the picture that I posted was take from internet). Today I bought the linear fuse, for you what type of fuse I must use? My PSU is <a href="https://www.ebay.it/itm/TRASFORMATORE-STABILIZZATO-SWITCHING-2-3A-5A-10A-20A-15A-30A-50A12V-ALIMENTATORE/132071459445?ssPageName=STRK%3AMEBIDX%3AIT&amp;_trksid=p2060353.m2749.l2649" target="_blank"  rel="nofollow">THIS</a> (30 ampere) .<br />
Tomorrow I will try your sugget for use D10 and I will write the result.<br />
Thanks and ciao]]></description>
            <dc:creator>Pietrogramma</dc:creator>
            <category>Controllers</category>
            <pubDate>Tue, 27 Mar 2018 16:32:02 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?13,816152,816258#msg-816258</guid>
            <title>Re: Ramps 1.4 and PIN D9</title>
            <link>https://reprap.org/forum/read.php?13,816152,816258#msg-816258</link>
            <description><![CDATA[ You could define MOTHERBOARD BOARD_RAMPS_14_<span style="color:#FF0000">EFF</span><br />
That will allow you to put the laser to D10 terminal. <br />
But then you have to send <i>M106 P2 S255</i> to turn it on and <i>M107 P2</i> to turn it off.]]></description>
            <dc:creator>o_lampe</dc:creator>
            <category>Controllers</category>
            <pubDate>Tue, 27 Mar 2018 11:45:06 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?13,816152,816257#msg-816257</guid>
            <title>Re: Ramps 1.4 and PIN D9</title>
            <link>https://reprap.org/forum/read.php?13,816152,816257#msg-816257</link>
            <description><![CDATA[ The polyfuses are the orange/brown square things behind the power plug.<br />
In your picture they are missing and replaced by bridges.<br />
<br />
<div id="div_f7d06e22f46b62eda46edb98941d1788"
     class="mod_embed_images_extended"
     style="width:558px">

  

    
      
    

    <div id="imagediv_f7d06e22f46b62eda46edb98941d1788" class="mod_embed_images_image"
         style="width:558px; height:400px">

    

    <a href="http://reprap.org/mediawiki/images/8/8c/RAMPS1-3_fin.JPG">
        <img src="/forum/thumbcache/3a2/77b/747/2b0/19d/77a/de0/615/8d1/5d3/63_800x400.png"
             width="558"
             height="400"
             id="image_f7d06e22f46b62eda46edb98941d1788"
             alt="RAMPS1-3_fin.JPG"
             title="RAMPS1-3_fin.JPG"/>
    </a>

    

    </div>

    <div class="mod_embed_images_info " id="info_f7d06e22f46b62eda46edb98941d1788"
      style="display:block">
      <a id="link_f7d06e22f46b62eda46edb98941d1788" href="http://reprap.org/mediawiki/images/8/8c/RAMPS1-3_fin.JPG">RAMPS1-3_fin.JPG</a>
    </div>

  

 </div>


<script type="text/javascript">
mod_embed_images_loadimage('f7d06e22f46b62eda46edb98941d1788', '/forum/thumbcache/3a2/77b/747/2b0/19d/77a/de0/615/8d1/5d3/63_800x400.png', 'http://reprap.org/mediawiki/images/8/8c/RAMPS1-3_fin.JPG', 'https://reprap.org/forum/addon.php?13,module=embed_images,check_scaling=1,url=http%3A%2F%2Freprap.org%2Fmediawiki%2Fimages%2F8%2F8c%2FRAMPS1-3_fin.JPG', '', 816257, 800, 400, 'Loading image ...', false);
</script>
<br/>]]></description>
            <dc:creator>o_lampe</dc:creator>
            <category>Controllers</category>
            <pubDate>Tue, 27 Mar 2018 11:41:13 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?13,816152,816220#msg-816220</guid>
            <title>Re: Ramps 1.4 and PIN D9</title>
            <link>https://reprap.org/forum/read.php?13,816152,816220#msg-816220</link>
            <description><![CDATA[ Ok, something very wrong then...  It sounds like you have configured and wired it correctly.<br />
<br />
<br />
Take a step back and install ramps test firmware [<a href="http://reprap.org/mediawiki/images/0/0f/RAMPS1.4_TestCode.pde" target="_blank"  rel="nofollow">reprap.org</a>]<br />
<br />
No configuration is needed. It moves all motors back and forward but more importantly for you it also turns on and off all the mosfets<br />
<br />
So the laser should flash on and off...  while running this test firmware. <br />
<br />
If the laser still doesn't turn off, you have a hardware fault, most probably a dead mosfet.]]></description>
            <dc:creator>Dust</dc:creator>
            <category>Controllers</category>
            <pubDate>Tue, 27 Mar 2018 07:09:18 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?13,816152,816209#msg-816209</guid>
            <title>Re: Ramps 1.4 and PIN D9</title>
            <link>https://reprap.org/forum/read.php?13,816152,816209#msg-816209</link>
            <description><![CDATA[ <blockquote class="bbcode"><div><small>Quote<br /></small><strong>o_lampe</strong><br />
Did you replace the polyfuses with bridges or was it sold that way?<br />
I hope you have an inline fuse between PSU and RAMPS...playing with lasers is already dangerous, no need to risk a fire.</div></blockquote>
<br />
I'm Italian and I do not speak English well ( I use google translator), I do not understand the meaning of your message can you explain it to me better (no for your speak, but for my limits with the language)? what do you mean by "Polyfuses"?<br />
There is no inline fuse between the PSU and the Ramp,  you understand one like <a href="https://www.amazon.com/dp/B008UFXLAS/ref=psdc_6355937011_t1_B000A8E0KI" target="_blank"  rel="nofollow">THIS</a>?<br />
Thanks and bye]]></description>
            <dc:creator>Pietrogramma</dc:creator>
            <category>Controllers</category>
            <pubDate>Tue, 27 Mar 2018 06:29:30 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?13,816152,816201#msg-816201</guid>
            <title>Re: Ramps 1.4 and PIN D9</title>
            <link>https://reprap.org/forum/read.php?13,816152,816201#msg-816201</link>
            <description><![CDATA[ <blockquote class="bbcode"><div><small>Quote<br /></small><strong>Dust</strong><br />
How did you wire it in?<br />
You have to use both pins of the D9 port and not any old gnd and the + pin.  The reason is the ramps actually switches the gnd rail <br />
so when off the + and - pins are both 12v, and no current flows<br />
and when on the + pin is still 12v but the - pin is now gnd and power will flow.</div></blockquote>
<br />
Hi Dust, thanks for your reply, in my arduino sketch I can read:<br />
<br />
<pre class="bbcode">
// The following define selects which electronics board you have.
// Please choose the name from boards.h that matches your setup
#ifndef MOTHERBOARD
  #define MOTHERBOARD BOARD_RAMPS_14_EFB
#endif</pre>
<br />
For the wire, I connected + of the laser module at the plus of the D9 pin and - of the laser module at the - of the D9 pin.<br />
<br />
Then I launch repetier host, connect the Ramps 1.4 (when I turn on the ramps the laser is immediatly ON) and I write in the GCODE command box "M106 S255", send the command and the laser remain always on (as it should be); but If I send the command "M107"  nothing is happening. <br />
How I can have the laser off, and turn on it only when  when I send the command "M106 S%"?<br />
Thanks and ciao]]></description>
            <dc:creator>Pietrogramma</dc:creator>
            <category>Controllers</category>
            <pubDate>Tue, 27 Mar 2018 05:11:47 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?13,816152,816190#msg-816190</guid>
            <title>Re: Ramps 1.4 and PIN D9</title>
            <link>https://reprap.org/forum/read.php?13,816152,816190#msg-816190</link>
            <description><![CDATA[ Did you replace the polyfuses with bridges or was it sold that way?<br />
I hope you have an inline fuse between PSU and RAMPS...playing with lasers is already dangerous, no need to risk a fire.]]></description>
            <dc:creator>o_lampe</dc:creator>
            <category>Controllers</category>
            <pubDate>Tue, 27 Mar 2018 03:53:39 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?13,816152,816161#msg-816161</guid>
            <title>Re: Ramps 1.4 and PIN D9</title>
            <link>https://reprap.org/forum/read.php?13,816152,816161#msg-816161</link>
            <description><![CDATA[ "If I understand correctly, the PIN D8, D9 and D10 are powered with the left plugs of the ramps, right? If it's right why the laser lights up even without power on the left?"<br />
<br />
no... D9 and D10 are powered from the 5amp circuit   (as shown by your image) <br />
D8 is powered by the 11amp circuit     (not wired in your image) <br />
<br />
<br />
selecting the  MOTHERBOARD in configuration.h sets whats pins do what. you have to set it to BOARD_RAMPS_14_EFB<br />
<br />
re M106 use M106 S255  or your pulse width modulating a power supply, It probably wont like that<br />
<br />
How did you wire it in?<br />
You have to use both pins of the D9 port and not any old gnd and the + pin.  The reason is the ramps actually switches the gnd rail <br />
so when off the + and - pins are both 12v, and no current flows<br />
and when on the + pin is still 12v but the - pin is now gnd and power will flow.]]></description>
            <dc:creator>Dust</dc:creator>
            <category>Controllers</category>
            <pubDate>Mon, 26 Mar 2018 21:25:21 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?13,816152,816152#msg-816152</guid>
            <title>Ramps 1.4 and PIN D9</title>
            <link>https://reprap.org/forum/read.php?13,816152,816152#msg-816152</link>
            <description><![CDATA[ Hi, I use a ramps 1.4 for control a Mostly Printed CNC with Marlin Firmware.<br />
The last week I bought to Banggood a laser module that have only a cable for the power and nothing for control the power on/off. <br />
I connected the power of the module at the D9 pin of the ramps for turn on or off the module with the command M106 or M107, but unfortunately it does not work.<br />
The strange thing is that if I turn on the ramps the laser turns on immediately, even if I powered the ramps with a 12v power supply connected only to the two right PLUG of the ramp (see the picture).<br />
If i send at the ramps the M106 command or M107 nothing happens, the laser stays on.<br />
If I understand correctly, the PIN D8, D9 and D10 are powered with the left plugs of the ramps, right? If it's right why the laser lights up even without power on the left?<br />
Is it possible that the card is faulty or do I have to set a few pins to correctly feed the PINs d8, D9 and D10?<br />
Thanks and sorry my bad english.<br />
Regards]]></description>
            <dc:creator>Pietrogramma</dc:creator>
            <category>Controllers</category>
            <pubDate>Mon, 26 Mar 2018 18:41:14 -0400</pubDate>
        </item>
    </channel>
</rss>
