<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
               xmlns:atom="http://www.w3.org/2005/Atom"
               xmlns:dc="http://purl.org/dc/elements/1.1/"
               xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
               xmlns:admin="http://webns.net/mvcb/"
               xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
               xmlns:content="http://purl.org/rss/1.0/modules/content/">
            <channel>
                <title>
					                		MK2 Rambo pin available for LED control w/ Gcode? - Others (Archive)                                    </title>
                <link>https://forum.prusa3d.com/forum/original-prusa-i3-mk2-s-others-archive/mk2-rambo-pin-available-for-led-control-w-gcode/</link>
                <description>Prusa3D Forum Discussion Board</description>
                <language>en-US</language>
                <lastBuildDate>Fri, 05 Jun 2026 23:16:09 +0000</lastBuildDate>
                <generator>wpForo</generator>
                <ttl>60</ttl>
                					                    <item>
                        <title>Re: MK2 Rambo pin available for LED control w/ Gcode?</title>
                        <link>https://forum.prusa3d.com/forum/original-prusa-i3-mk2-s-others-archive/mk2-rambo-pin-available-for-led-control-w-gcode/#post-39293</link>
                        <pubDate>Sun, 13 Aug 2017 11:15:26 +0000</pubDate>
                        <description><![CDATA[Hi,

I have found a pin very easily accessible and not used by the firmware.
It&#039;s pin PC5 of the Atmega, named 32 on arduino.
This pin goes to IO extension header P2 pin 10


this header con...]]></description>
                        <content:encoded><![CDATA[Hi,<br/>
<br/>
I have found a pin very easily accessible and not used by the firmware.<br/>
It's pin PC5 of the Atmega, named 32 on arduino.<br/>
This pin goes to IO extension header P2 pin 10<br/>
<a href="http://reprap.org/mediawiki/images/e/ef/MiniRambo1.3a-schematic-pg2.svg"><img src="http://reprap.org/mediawiki/images/e/ef/MiniRambo1.3a-schematic-pg2.svg"></a><br/>
<br/>
this header connects to the LCD panel Header 5X2 pin 10 (close to the reset pin)<br/>
see schematics here : <a href="http://reprap.org/mediawiki/images/7/70/Controller_final_reprapdiscount.pdf"><LINK_TEXT text="http://reprap.org/mediawiki/images/7/70 ... scount.pdf">http://reprap.org/mediawiki/images/7/70/Controller_final_reprapdiscount.pdf</LINK_TEXT></a><br/>
you can easily solder a wire on the connector pins<br/>
On the following picture, it is the big black connector on the right, and the top right pin<br/>
On the same row, the pin close to the connector is ground (it's not visible on the picture)<br/>
<br/>
<a href="https://d17kynu4zpq5hy.cloudfront.net/igi/prusa3d/wYbQjZBvafJHKnfn.huge"><img src="https://d17kynu4zpq5hy.cloudfront.net/igi/prusa3d/wYbQjZBvafJHKnfn.huge"></a><br/>
<br/>
You can access this pin via Gcode with the original Prusa i3 MK2s firmware :<br/>
M42 P32 S255 to switch ON<br/>
M42 P32 S0     to switch OFF<br/>
<br/>
JP]]></content:encoded>
                        <category domain="https://forum.prusa3d.com/forum/original-prusa-i3-mk2-s-others-archive/">Others (Archive)</category>                        <dc:creator>freedom2000</dc:creator>
                        <guid isPermaLink="true">https://forum.prusa3d.com/forum/original-prusa-i3-mk2-s-others-archive/mk2-rambo-pin-available-for-led-control-w-gcode/#post-39293</guid>
                    </item>
                                        <item>
                        <title>Re: MK2 Rambo pin available for LED control w/ Gcode?</title>
                        <link>https://forum.prusa3d.com/forum/original-prusa-i3-mk2-s-others-archive/mk2-rambo-pin-available-for-led-control-w-gcode/#post-39107</link>
                        <pubDate>Thu, 10 Aug 2017 10:37:04 +0000</pubDate>
                        <description><![CDATA[Hi,

I have just completed the implementation of a LED controlled by the X-MAX pin available on the RAMBo Mini board.

As previous posts have mentioned, I had to change the source code in th...]]></description>
                        <content:encoded><![CDATA[Hi,<br/>
<br/>
I have just completed the implementation of a LED controlled by the X-MAX pin available on the RAMBo Mini board.<br/>
<br/>
As previous posts have mentioned, I had to change the source code in the firmware, compile it, and upload it to the 3D-printer, but is was quite easy. I just had to change two lines, so this is a change i happily make whenever I need to update to the latest firmware.<br/>
<br/>
I made this change in the file Pins.h:<br/>

<CODE><i>
</i>#define X_MAX_PIN 30
</CODE>

to <br/>

<CODE><i>
</i>#define X_MAX_PIN -1
</CODE>

You will need to make this change two places in the file to make sure it's valid for both versions of the RAMBo board.<br/>
<br/>
Just reply to this thread if anyone needs more detailed information on how to obtain the source code, compile it etc.<br/>
<br/>
Regards,<br/>
Erik]]></content:encoded>
                        <category domain="https://forum.prusa3d.com/forum/original-prusa-i3-mk2-s-others-archive/">Others (Archive)</category>                        <dc:creator>eriso</dc:creator>
                        <guid isPermaLink="true">https://forum.prusa3d.com/forum/original-prusa-i3-mk2-s-others-archive/mk2-rambo-pin-available-for-led-control-w-gcode/#post-39107</guid>
                    </item>
                                        <item>
                        <title>Re: MK2 Rambo pin available for LED control w/ Gcode?</title>
                        <link>https://forum.prusa3d.com/forum/original-prusa-i3-mk2-s-others-archive/mk2-rambo-pin-available-for-led-control-w-gcode/#post-37994</link>
                        <pubDate>Tue, 25 Jul 2017 11:19:32 +0000</pubDate>
                        <description><![CDATA[Looks like these pins have been use for the Dyze run out sensor:

The question is are these pins GCODE enabled in the stock MK2 firmware?


Hi david.b14,

check this out for filament runout ...]]></description>
                        <content:encoded><![CDATA[<QUOTE author="david.b14" post_id="37045" time="1499824077" user_id="8454">
Looks like these pins have been use for the Dyze run out sensor:<br/>
<br/>
The question is are these pins GCODE enabled in the stock MK2 firmware?
</QUOTE>

Hi david.b14,<br/>
<br/>
check this out for filament runout sensor <a href="http://shop.prusa3d.com/forum/improvements-f14/system-that-allows-to-stop-printing-automatically--t5006.html"><LINK_TEXT text="improvements-f14/system-that-allows-to- ... t5006.html">http://shop.prusa3d.com/forum/improvements-f14/system-that-allows-to-stop-printing-automatically--t5006.html</LINK_TEXT></a><br/>
I changed the FR_SENS pinout to y-max.]]></content:encoded>
                        <category domain="https://forum.prusa3d.com/forum/original-prusa-i3-mk2-s-others-archive/">Others (Archive)</category>                        <dc:creator>3d-gussner</dc:creator>
                        <guid isPermaLink="true">https://forum.prusa3d.com/forum/original-prusa-i3-mk2-s-others-archive/mk2-rambo-pin-available-for-led-control-w-gcode/#post-37994</guid>
                    </item>
                                        <item>
                        <title>Re: MK2 Rambo pin available for LED control w/ Gcode?</title>
                        <link>https://forum.prusa3d.com/forum/original-prusa-i3-mk2-s-others-archive/mk2-rambo-pin-available-for-led-control-w-gcode/#post-37421</link>
                        <pubDate>Mon, 17 Jul 2017 13:05:42 +0000</pubDate>
                        <description><![CDATA[For anyone doing this kind of work, you can now pick up a fully assembled digital oscope for $20:

DSO 138]]></description>
                        <content:encoded><![CDATA[For anyone doing this kind of work, you can now pick up a fully assembled digital oscope for $20:<br/>
<br/>
DSO 138<br/>
<a href="https://www.amazon.com/gp/product/B06XT6K6CF/ref=oh_aui_detailpage_o03_s00?ie=UTF8&amp;psc=1"><LINK_TEXT text="https://www.amazon.com/gp/product/B06XT ... UTF8&amp;psc=1">https://www.amazon.com/gp/product/B06XT6K6CF/ref=oh_aui_detailpage_o03_s00?ie=UTF8&amp;psc=1</LINK_TEXT></a><br/>
<br/>
<a href="https://thingiverse-production-new.s3.amazonaws.com/renders/1e/7d/68/0d/39/943f588dd0eff32e6f891a3aa2a14033_preview_featured.jpg"><img src="https://thingiverse-production-new.s3.amazonaws.com/renders/1e/7d/68/0d/39/943f588dd0eff32e6f891a3aa2a14033_preview_featured.jpg"></a><br/>
<br/>
<a href="https://www.thingiverse.com/tag:DSO138/page:1">https://www.thingiverse.com/tag:DSO138/page:1</a>]]></content:encoded>
                        <category domain="https://forum.prusa3d.com/forum/original-prusa-i3-mk2-s-others-archive/">Others (Archive)</category>                        <dc:creator>david.b14</dc:creator>
                        <guid isPermaLink="true">https://forum.prusa3d.com/forum/original-prusa-i3-mk2-s-others-archive/mk2-rambo-pin-available-for-led-control-w-gcode/#post-37421</guid>
                    </item>
                                        <item>
                        <title>Re: MK2 Rambo pin available for LED control w/ Gcode?</title>
                        <link>https://forum.prusa3d.com/forum/original-prusa-i3-mk2-s-others-archive/mk2-rambo-pin-available-for-led-control-w-gcode/#post-37222</link>
                        <pubDate>Fri, 14 Jul 2017 14:29:08 +0000</pubDate>
                        <description><![CDATA[So I think for my use case I will use the x, y and z end stop pins.

I am not looking for full brightness.  I just want to have color change states for the following:

-Bed has reached targe...]]></description>
                        <content:encoded><![CDATA[<t>So I think for my use case I will use the x, y and z end stop pins.<br/>
<br/>
I am not looking for full brightness.  I just want to have color change states for the following:<br/>
<br/>
-Bed has reached target temp<br/>
-Nozzle has reached target temp (so I can switch out filaments)<br/>
-first layer is complete ( I always stick around until the 1st layer is down)<br/>
-Nozzle temp has cooled down below 65C <br/>
-Bed has cooled down below 30C ( I often print objects that will take two sessions to print all the required parts)<br/>
<br/>
LEDs strips are 12V, the rambo is 5V.  I may also go the route of using the cheap 2 pin diode RGBs or maybe the a single 4 pin all in one RGB.<br/>
<br/>
I should use a mosfet to be super safe but would it be risky to do the following?<br/>
- Use a single led for each color.<br/>
- use a standard 3 wire servo bundle with a large limiting resistor inline to each of the LEDs<br/>
<br/>
On another note, if Prusa could offer such a kit I would probably buy it  (even though shipping would tack on $40 to the final price) because for me time is always the resource I am short of.  Would so cool if you could get the MM kit completely built from the factory for this same reason.<br/>
<br/>
Thanks for any feedback or thoughts,<br/>
Dave</t>]]></content:encoded>
                        <category domain="https://forum.prusa3d.com/forum/original-prusa-i3-mk2-s-others-archive/">Others (Archive)</category>                        <dc:creator>david.b14</dc:creator>
                        <guid isPermaLink="true">https://forum.prusa3d.com/forum/original-prusa-i3-mk2-s-others-archive/mk2-rambo-pin-available-for-led-control-w-gcode/#post-37222</guid>
                    </item>
                                        <item>
                        <title>Re: MK2 Rambo pin available for LED control w/ Gcode?</title>
                        <link>https://forum.prusa3d.com/forum/original-prusa-i3-mk2-s-others-archive/mk2-rambo-pin-available-for-led-control-w-gcode/#post-37146</link>
                        <pubDate>Thu, 13 Jul 2017 17:14:19 +0000</pubDate>
                        <description><![CDATA[The more I think about it, the more I think I&#039;m just going go down the ultra simple path, and just hook white LED&#039;s to the power supply.  My main interest is in visibility, not notification ...]]></description>
                        <content:encoded><![CDATA[<t>The more I think about it, the more I think I'm just going go down the ultra simple path, and just hook white LED's to the power supply.  My main interest is in visibility, not notification (although that is cool).  I also turn off my machine when not in use, so the light's wouldn't be on all the time anyway, just when I'm using it.  I know not everyone does this, and so I can appreciate wanting to have the extra control.  But for me I think KISS will win out in this situation.  <br/>
<br/>
But, I still think Tom did a great job getting many of us thinking about what we can do with not too much work.</t>]]></content:encoded>
                        <category domain="https://forum.prusa3d.com/forum/original-prusa-i3-mk2-s-others-archive/">Others (Archive)</category>                        <dc:creator>steven.s14</dc:creator>
                        <guid isPermaLink="true">https://forum.prusa3d.com/forum/original-prusa-i3-mk2-s-others-archive/mk2-rambo-pin-available-for-led-control-w-gcode/#post-37146</guid>
                    </item>
                                        <item>
                        <title>Re: MK2 Rambo pin available for LED control w/ Gcode?</title>
                        <link>https://forum.prusa3d.com/forum/original-prusa-i3-mk2-s-others-archive/mk2-rambo-pin-available-for-led-control-w-gcode/#post-37135</link>
                        <pubDate>Thu, 13 Jul 2017 15:50:11 +0000</pubDate>
                        <description><![CDATA[I&#039;ve been doing some research on this as well. There aren&#039;t many pins on the MiniRambo not in use that are firmware controllable (not being used as an input only). You could tap into the X Y...]]></description>
                        <content:encoded><![CDATA[<t>I've been doing some research on this as well. There aren't many pins on the MiniRambo not in use that are firmware controllable (not being used as an input only). You could tap into the X Y or Z Max end stop pins since they aren't being used and these are able to be GCode driven without having to modify the firmware. <br/>
<br/>
The IRF520 which Tom shows in his video will hold the primary load since you are wiring the Power for the driver directly from the power supply and the driver is acting like a relay in that it just needs to see the MiniRambo sending a signal to tell the driver how much power to allow through. I'm planing on using an RGB LED strip which means I'll need three of the IRF520 drivers and I will probably be using all three of the Max Endstop pins to do this since I don't intend (currently) to wire in a filament run out sensor (which I currently do have one from Dyze Design) since I'd rather not mess with the firmware only because if Prusa is possibly going to keep updating it I don't want to have to constantly have to re-enable the runout sensor and its pin and reflash the board.</t>]]></content:encoded>
                        <category domain="https://forum.prusa3d.com/forum/original-prusa-i3-mk2-s-others-archive/">Others (Archive)</category>                        <dc:creator>Jeepguy42</dc:creator>
                        <guid isPermaLink="true">https://forum.prusa3d.com/forum/original-prusa-i3-mk2-s-others-archive/mk2-rambo-pin-available-for-led-control-w-gcode/#post-37135</guid>
                    </item>
                                        <item>
                        <title>Re: MK2 Rambo pin available for LED control w/ Gcode?</title>
                        <link>https://forum.prusa3d.com/forum/original-prusa-i3-mk2-s-others-archive/mk2-rambo-pin-available-for-led-control-w-gcode/#post-37045</link>
                        <pubDate>Wed, 12 Jul 2017 03:47:57 +0000</pubDate>
                        <description><![CDATA[Looks like these pins have been use for the Dyze run out sensor:





These map to port P3 as shown below:


Full size image:
The question is are these pins GCODE enabled in the stock MK2 fi...]]></description>
                        <content:encoded><![CDATA[Looks like these pins have been use for the Dyze run out sensor:<br/>
<br/>
<br/>
<br/>
<a href="http://drucktipps3d.de/wp-content/uploads/2017/06/filament_sentinel_minirambo13a.png"><img src="http://drucktipps3d.de/wp-content/uploads/2017/06/filament_sentinel_minirambo13a.png"></a><br/>
<br/>
These map to port P3 as shown below:<br/>
<a href="http://reprap.org/mediawiki/images/e/ef/MiniRambo1.3a-schematic-pg2.svg"><img src="http://reprap.org/mediawiki/images/e/ef/MiniRambo1.3a-schematic-pg2.svg"></a><br/>
<br/>
Full size image: <a href="http://reprap.org/mediawiki/images/e/ef/MiniRambo1.3a-schematic-pg2.svg"><LINK_TEXT text="http://reprap.org/mediawiki/images/e/ef ... ic-pg2.svg">http://reprap.org/mediawiki/images/e/ef/MiniRambo1.3a-schematic-pg2.svg</LINK_TEXT></a><br/>
<br/>
The question is are these pins GCODE enabled in the stock MK2 firmware?]]></content:encoded>
                        <category domain="https://forum.prusa3d.com/forum/original-prusa-i3-mk2-s-others-archive/">Others (Archive)</category>                        <dc:creator>david.b14</dc:creator>
                        <guid isPermaLink="true">https://forum.prusa3d.com/forum/original-prusa-i3-mk2-s-others-archive/mk2-rambo-pin-available-for-led-control-w-gcode/#post-37045</guid>
                    </item>
                                        <item>
                        <title>Re: MK2 Rambo pin available for LED control w/ Gcode?</title>
                        <link>https://forum.prusa3d.com/forum/original-prusa-i3-mk2-s-others-archive/mk2-rambo-pin-available-for-led-control-w-gcode/#post-36891</link>
                        <pubDate>Mon, 10 Jul 2017 13:14:57 +0000</pubDate>
                        <description><![CDATA[For anyone going the I2C method, you can pick up these devices that can be re flashed using arduino for around $12.

For $12 dollars you get a ESP8266 with 5 mosfets for driving LEDs.  You c...]]></description>
                        <content:encoded><![CDATA[For anyone going the I2C method, you can pick up these devices that can be re flashed using arduino (<a href="http://chaozlabs.blogspot.de/2015/08/esp8266-in-wild-wifi-led-controller-hack.html"><LINK_TEXT text="http://chaozlabs.blogspot.de/2015/08/es ... -hack.html">http://chaozlabs.blogspot.de/2015/08/esp8266-in-wild-wifi-led-controller-hack.html</LINK_TEXT></a>) for around $12.<br/>
<br/>
For $12 dollars you get a ESP8266 with 5 mosfets for driving LEDs.  You can have Red, Green, Blue, warm white and cool white.<br/>
 <br/>
<a href="http://4.bp.blogspot.com/-vb17z--CmDU/VdoO3V1G23I/AAAAAAAAhyk/obHC2znuHRg/s1600/P1020327.JPG"><img src="http://4.bp.blogspot.com/-vb17z--CmDU/VdoO3V1G23I/AAAAAAAAhyk/obHC2znuHRg/s1600/P1020327.JPG"></a>]]></content:encoded>
                        <category domain="https://forum.prusa3d.com/forum/original-prusa-i3-mk2-s-others-archive/">Others (Archive)</category>                        <dc:creator>david.b14</dc:creator>
                        <guid isPermaLink="true">https://forum.prusa3d.com/forum/original-prusa-i3-mk2-s-others-archive/mk2-rambo-pin-available-for-led-control-w-gcode/#post-36891</guid>
                    </item>
                                        <item>
                        <title>Re: MK2 Rambo pin available for LED control w/ Gcode?</title>
                        <link>https://forum.prusa3d.com/forum/original-prusa-i3-mk2-s-others-archive/mk2-rambo-pin-available-for-led-control-w-gcode/#post-36880</link>
                        <pubDate>Mon, 10 Jul 2017 09:07:46 +0000</pubDate>
                        <description><![CDATA[So, If I understand you correctly, utilizing all you plan to.  The only controllable pins left are the X-max (30), and P3 pin 9 (not sure on arduino call out), and possibly Z-max (23).  Is t...]]></description>
                        <content:encoded><![CDATA[<QUOTE author="steven.s14" post_id="36818" time="1499614059" user_id="24518">
<QUOTE>
So, If I understand you correctly, utilizing all you plan to.  The only controllable pins left are the X-max (30), and P3 pin 9 (not sure on arduino call out), and possibly Z-max (23).  Is that correct?  While I doubt I2C is in my future (but you never know), I do think for myself leaving openings for Multi-material upgrade and Filament runout sensor are good ideas.  So far (only a few weeks old), I haven't seen the need for a Z-endstop either in synchronizing motor position , or in concern for height, but I'm still very green, so that may be another usable pin for myself.<br/>
<br/>
I think like many of us, after seeing Tom's video on adding lights this weekend, it does seem like something to look into.
</QUOTE>

Hi Steven,<br/>
<br/>
You can use all listed pins as you like, it is up to you. But i think it makes really sense not to use the MM used pins.<br/>
I just colored some in because of MY plannings to do.<br/>
If you check the schematics you will see that P3 pin 9 is RESET and already used in several different locations like P2 pin 8.</QUOTE>]]></content:encoded>
                        <category domain="https://forum.prusa3d.com/forum/original-prusa-i3-mk2-s-others-archive/">Others (Archive)</category>                        <dc:creator>3d-gussner</dc:creator>
                        <guid isPermaLink="true">https://forum.prusa3d.com/forum/original-prusa-i3-mk2-s-others-archive/mk2-rambo-pin-available-for-led-control-w-gcode/#post-36880</guid>
                    </item>
                                                </channel>
        </rss>
        