<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel>
        <title>wiring advice: Ramps 1.4 with Fan, LED, z_probe switch</title>
        <description> My hot end will have some LEDs to light the print area and a fan for the Jhead. In Repetier, I see a slider for fan speed.

Can someone explain how with Marlins, I can control a Jhead 40mm fan and 3 little leds?

What pins.

I also have a microswitch to z_min pin for auto bed leveling.

I don&#039;t know enough about lectronics. Am I correct I do not need to wire 3 seperate grounds for the LED/Switch/fan, I could have all three wired together and only the positive wires to the RAMPS?

I&#039;m trying to have less wires.

Anythoughts.

Thanks

Alex</description>
        <link>https://reprap.org/forum/read.php?219,281880,281880#msg-281880</link>
        <lastBuildDate>Sat, 18 Jul 2026 21:02:29 -0400</lastBuildDate>
        <generator>Phorum 5.2.23</generator>
        <item>
            <guid>https://reprap.org/forum/read.php?219,281880,283100#msg-283100</guid>
            <title>Re: wiring advice: Ramps 1.4 with Fan, LED, z_probe switch</title>
            <link>https://reprap.org/forum/read.php?219,281880,283100#msg-283100</link>
            <description><![CDATA[ The fans are 12V gizmos. The LED's need resistors in series with them to limit the current. You size the resistors based on the supply. If you have string LED's they may have resistors in them already for some unknown voltage. <br />
<br />
If you hook stuff up where the heated bed or other stuff goes, it will not be turned on. You would need to tell the MOSFET's to enable (or disable) the supply to those pins.<br />
<br />
The big issue is stuffing a lot of small wire into those screw terminal blocks. They don't like that very much at all. The wires will eventually fall out. It's a real hassle keeping everything going that way.<br />
<br />
Your Z switch will need to be wired to the Ramps pins that "look" at that function.]]></description>
            <dc:creator>uncle_bob</dc:creator>
            <category>RAMPS Electronics</category>
            <pubDate>Sat, 21 Dec 2013 18:05:33 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?219,281880,283065#msg-283065</guid>
            <title>Re: wiring advice: Ramps 1.4 with Fan, LED, z_probe switch</title>
            <link>https://reprap.org/forum/read.php?219,281880,283065#msg-283065</link>
            <description><![CDATA[ Interesting. I* diod like the idea of the LED attached to the hot end. But then again the PMW would make them flash on and off occasionally.<br />
<br />
At the moment I'm trying to physically wire (solder, connectors) a z-probe micro switch, the 3 dollar store leds, and a 12v fan. I'm guessing the LEDs are 5v. I will need 6 wires to the Ramps. <br />
<br />
I don't have a heated bed. casn the fan be connected directly to the RAMPS where the 12v heated bed would go?<br />
<br />
<br />
<br />
Thanks]]></description>
            <dc:creator>disneytoy</dc:creator>
            <category>RAMPS Electronics</category>
            <pubDate>Sat, 21 Dec 2013 15:58:05 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?219,281880,282825#msg-282825</guid>
            <title>Re: wiring advice: Ramps 1.4 with Fan, LED, z_probe switch</title>
            <link>https://reprap.org/forum/read.php?219,281880,282825#msg-282825</link>
            <description><![CDATA[ The heater pulls 10 to 15 amps. The hot end pulls about 3 amps. You very much do not want to run that through an LED.<br />
<br />
Stay away from pins.h unless you really need to do something odd and you know what you are doing.]]></description>
            <dc:creator>uncle_bob</dc:creator>
            <category>RAMPS Electronics</category>
            <pubDate>Fri, 20 Dec 2013 23:48:34 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?219,281880,282701#msg-282701</guid>
            <title>Re: wiring advice: Ramps 1.4 with Fan, LED, z_probe switch</title>
            <link>https://reprap.org/forum/read.php?219,281880,282701#msg-282701</link>
            <description><![CDATA[ I'll leave the fan discussion to the experienced folks.<br />
<br />
As for the LEDs, I'd wire them in line with the heater in the print head.  You would need to make sure they can handle the power that will flow through them, but then there are no wires leaving the extruder assembly.<br />
<br />
If you absolutely want separate light control, then run a pin from your RAMPS board (I'd grab a spare one from AUX-4) up to your extruder, into the positive on your LEDs.  The negative on the LEDs then runs into whatever resistors you need to add, and then run the other side of the resistors to the ground wire from anything in the extruder.  I would recommend running the LEDs in parallel, and only using one resistor.<br />
<br />
There is actually a pin assignment already in the MARLIN pins.h (I'm assuming you are using MARLIN).  Just set the correct pin number.<br />
<br />
Then, you need to find where the print job is controlled from (Marlin_main.cpp, I think), and add a line of code to send that pin high when you want the lights on, and a line of code to pull it low when you want the lights off.  (Uncle_bob, do you happen to recall where the job start and stop subs are located?)]]></description>
            <dc:creator>BlackDragon</dc:creator>
            <category>RAMPS Electronics</category>
            <pubDate>Fri, 20 Dec 2013 15:39:44 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?219,281880,282515#msg-282515</guid>
            <title>Re: wiring advice: Ramps 1.4 with Fan, LED, z_probe switch</title>
            <link>https://reprap.org/forum/read.php?219,281880,282515#msg-282515</link>
            <description><![CDATA[ If you are going to run multiple fans all under software control, you will need to get an add on fan board and connect it up to the aux pins.<br />
<br />
I see very little advantage to running the J-head fan with software. You very much want it to cool the head all the time.....]]></description>
            <dc:creator>uncle_bob</dc:creator>
            <category>RAMPS Electronics</category>
            <pubDate>Fri, 20 Dec 2013 08:12:14 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?219,281880,282356#msg-282356</guid>
            <title>Re: wiring advice: Ramps 1.4 with Fan, LED, z_probe switch</title>
            <link>https://reprap.org/forum/read.php?219,281880,282356#msg-282356</link>
            <description><![CDATA[ Not a bad idea. I think it is prefered to not use the fan on the first layer or to to help adhesion. then fan. It would be nice to have software to control the J-head fan.]]></description>
            <dc:creator>disneytoy</dc:creator>
            <category>RAMPS Electronics</category>
            <pubDate>Thu, 19 Dec 2013 23:14:59 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?219,281880,282342#msg-282342</guid>
            <title>Re: wiring advice: Ramps 1.4 with Fan, LED, z_probe switch</title>
            <link>https://reprap.org/forum/read.php?219,281880,282342#msg-282342</link>
            <description><![CDATA[ The simple approach is to not wire any of the "extra" stuff to the Ramps at all. Hook the fan, and the 12V LED lights straight to the power supply. Everything turns on and off when the power supply goes on and off.]]></description>
            <dc:creator>uncle_bob</dc:creator>
            <category>RAMPS Electronics</category>
            <pubDate>Thu, 19 Dec 2013 21:44:02 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?219,281880,281880#msg-281880</guid>
            <title>wiring advice: Ramps 1.4 with Fan, LED, z_probe switch</title>
            <link>https://reprap.org/forum/read.php?219,281880,281880#msg-281880</link>
            <description><![CDATA[ My hot end will have some LEDs to light the print area and a fan for the Jhead. In Repetier, I see a slider for fan speed.<br />
<br />
Can someone explain how with Marlins, I can control a Jhead 40mm fan and 3 little leds?<br />
<br />
What pins.<br />
<br />
I also have a microswitch to z_min pin for auto bed leveling.<br />
<br />
I don't know enough about lectronics. Am I correct I do not need to wire 3 seperate grounds for the LED/Switch/fan, I could have all three wired together and only the positive wires to the RAMPS?<br />
<br />
I'm trying to have less wires.<br />
<br />
Anythoughts.<br />
<br />
Thanks<br />
<br />
Alex]]></description>
            <dc:creator>disneytoy</dc:creator>
            <category>RAMPS Electronics</category>
            <pubDate>Wed, 18 Dec 2013 20:49:36 -0500</pubDate>
        </item>
    </channel>
</rss>
