Setting up Cooling Fan Control

3,822 views
Skip to first unread message

BusyBotz

unread,
Oct 14, 2012, 12:51:12 PM10/14/12
to mend...@googlegroups.com
I printed a very nice cooling duct by Ultibots, http://www.thingiverse.com/thing:29985

The part I'm stuck on, is how to hook up the fan to RAMPS 1.4. I am using Slic3r 0.9.3, so I have the options for controlling a cooling fan. 

What do I set in Marlin, and, which pins on the RAMPS board? I can find references to pins.h and such, but I need more of an overall picture on how to set this up. Does this require a 3 wire fan?

Thanks! Small prints are mushy, or they take forever by slowing down.




John Losche

unread,
Oct 14, 2012, 1:06:21 PM10/14/12
to mend...@googlegroups.com
real simple, the fan 12V, 2 wire leads goto connector 9 on the power end of the ramps.   silc3r can setup the fan during the print or you can turn it on/off with "m106 S255"/"m106 s0" or m107 from ponterface

nothing to change in marlin






--
 
 

BusyBotz

unread,
Oct 14, 2012, 1:46:58 PM10/14/12
to mend...@googlegroups.com
Oh come on that is too easy :)

My PS is 24V into the RAMPS, with a 12V step down. OK if I wire the fan + to 12V, and the - to D9 - ? That is how the nozzle heater is wired, but it seemed odd to "mix" voltages.

Thanks for the help.

Alex

unread,
Oct 14, 2012, 2:26:00 PM10/14/12
to mend...@googlegroups.com
The step down + is providing the actual 12V for the fan (which should be the fans rating).  D9 is the ground (return) and the ucontroller is turning the fan on and off by switching that line on and off.  Not mixing voltages.

Related note, does anyone have a beefier version of this duct?  I keep having to replace because the hinge mount is really weak.  I like the long belt mount. 

I see cake has a modified mount for short, looking for an improved duct side hinge/pivot too.

BusyBotz

unread,
Oct 14, 2012, 3:04:52 PM10/14/12
to mend...@googlegroups.com
Thanks Alex. I came to that understanding when I did the initial wiring for the J-head, but at first it seemed counter intuitive. 

The mount does seem weak.



-Mitch

John Losche

unread,
Oct 14, 2012, 7:08:21 PM10/14/12
to mend...@googlegroups.com
Yea too easy...not sure how the 24v to 12v stepdown wires to the ramps (although I will have to deal with that when I get the y-axis upgrade next month).    So the ramps is running at 12V after the stepdown (for the extruder?)...so D9 should be at 12V as well?   And the bed is at 24v.



--
 
 

BusyBotz

unread,
Oct 14, 2012, 7:55:17 PM10/14/12
to mend...@googlegroups.com
RAMPS is at 24V. Maxbots' wiring diagram here:


Bed is 24V, fans and nozzle heater are 12V.

I have the fan mounted and running first print. It responds properly to M106, I can set it anywhere from 0 to 255.

Is there a way to check the fan speed during a print?

verohomie

unread,
Oct 14, 2012, 7:56:38 PM10/14/12
to mend...@googlegroups.com
Alex -
It would be pretty easy to beef up.
Thanks for using my fan duct.
Brad

verohomie

unread,
Oct 15, 2012, 7:33:39 PM10/15/12
to mend...@googlegroups.com
Alex -
I uploaded v2.1 with a beefier hinge found here http://www.thingiverse.com/download:93889
Hopefully it solves your concerns.
Please post any other suggestions directly at Thingiverse.
Brad

On Sunday, October 14, 2012 2:26:00 PM UTC-4, Alex wrote:

Alex

unread,
Oct 15, 2012, 7:42:37 PM10/15/12
to mend...@googlegroups.com
Awesome!  Thanks Brad.
Same long mount or will there be a new one too?

I'm going to print this out as soon as my replacement Polou come in.

Thanks so much!

verohomie

unread,
Oct 15, 2012, 8:15:06 PM10/15/12
to mend...@googlegroups.com
Alex -
The beefier mount is 5mm shorter.
This fan duct works well with AlephObjects Supa-Flat X-Carriage thingiverse.com/thing:10646
What x-carriage are you using?
Brad

Tim Hester

unread,
Oct 16, 2012, 8:08:29 AM10/16/12
to mend...@googlegroups.com


Sent from my BlackBerry® PlayBook™
www.blackberry.com


From: "verohomie" <br...@verohomies.com>
To: "mend...@googlegroups.com" <mend...@googlegroups.com>
Sent: October 15, 2012 7:15 PM
Subject: Re: [MendelMax] Setting up Cooling Fan Control
--
 
 

Gert van den Berg (MoHaG)

unread,
Oct 17, 2012, 6:23:46 AM10/17/12
to mend...@googlegroups.com


On Monday, October 15, 2012 1:55:17 AM UTC+2, BusyBotz wrote:
RAMPS is at 24V. Maxbots' wiring diagram here:


Bed is 24V, fans and nozzle heater are 12V.

Converting the Nozzle to 24V is quite easy... Look for the 22ohm/27ohm version of any of the resistors recommended on the J head page on the RepRap wiki. I posted an RS link elsewhere...

At RS, 24V fans cost about the same as 12V ones... Might be useful if you try to eliminate the voltage converter...

The RAMPS are supposed to have 2 independant voltage rails. It might be possible to run one at 12V and one at 24V, haven't really researched that yet...

Gert

cake

unread,
Oct 17, 2012, 6:48:46 AM10/17/12
to mend...@googlegroups.com
Well the duct itself is a great design, I find that the only weak point at least for me printing with a .5 nozzle is that the center tab is completely unnecessary. If you like I could adjust the mesh of the mount you use to ignore the center slot as for when it prints on my printer it is literally just a single line of plastic on the duct, not even a complete perimeter. The outer tabs are strong enough I find to unwarrant redesigning the mounts on the duct itself. could use an extra perimeter on the duct itself though, it is rather thin.

Triffid Hunter

unread,
Oct 17, 2012, 7:39:34 AM10/17/12
to mend...@googlegroups.com
On Wed, Oct 17, 2012 at 9:23 PM, Gert van den Berg (MoHaG)
<ger...@gmail.com> wrote:
> The RAMPS are supposed to have 2 independant voltage rails. It might be
> possible to run one at 12V and one at 24V, haven't really researched that
> yet...

The bed can be run at a different voltage, however hot-end, fan and
motors all run from the 5A input.

If you want to run everything at a different voltage, run bed power
into the 11A port, motor power into the 5A port, then connect the +ve
for fan and nozzle heater direct to their respective supply and only
run the -ve via ramps. Ensure that all grounds are connected together.
The 5A and 11A ports on RAMPS have the grounds connected together on
the board already.

I currently have my bed, nozzle and motors running from 28v. I set my
PID_MAX to 50 to keep the nozzle heater power under control. I got a
small LM2596-based buck converter from ebay to run my fan. It works
well :)

Jim Buddenberg

unread,
Apr 5, 2014, 10:42:51 AM4/5/14
to mend...@googlegroups.com
I have mendelmax with marlin. when I put a volt meter on terminals D9 between hotend and bed connections and give it the  M106 command in printrun I get no voltage. even with M106 S255. does it have to be printing to work?


On Sunday, October 14, 2012 12:06:22 PM UTC-5, vastempty wrote:

Jim Buddenberg

unread,
Apr 5, 2014, 10:46:16 AM4/5/14
to mend...@googlegroups.com


On Sunday, October 14, 2012 12:06:22 PM UTC-5, vastempty wrote:

Sean Mitchell

unread,
Apr 5, 2014, 12:00:39 PM4/5/14
to mend...@googlegroups.com
I assume you're using RAMPS? 

You will need to have your 12v (or 24v) power supply powered on before you see anything there.  Printing is not a requirement, as M106 S255 should turn the fan on.

Also remember that it really depends how you have your voltmeter hooked up, because you are switching the "ground" on and off to turn the fan on and off.  You should always see voltage there (even when it's off) when comparing to ground.  If you're not seeing anything then I think your power isn't on.

If that's not it, can you describe what you have hooked up and where, especially what you are testing with your voltmeter (where are the two probes hooked to?)


--
You received this message because you are subscribed to the Google Groups "MendelMax Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mendelmax+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Jim Buddenberg

unread,
Apr 9, 2014, 4:01:16 PM4/9/14
to mend...@googlegroups.com, nospam20140...@muzik.ca
yes I am using ramps 1.4. and wanting to control the fan through slic3r. I am using marlin. and thought I am suppose to use d9 to vary the fan speed. areb you saying I need to run 12volt positive to the fan and the negative to d9?
Reply all
Reply to author
Forward
0 new messages