M2 Fan Control

911 views
Skip to first unread message

mach2...@gmail.com

unread,
Dec 29, 2013, 3:24:08 PM12/29/13
to make...@googlegroups.com
New M2, any way to turn off the fan at the extruder without unplugging the power supply?
Thanks

Rick Pollack

unread,
Dec 29, 2013, 6:32:27 PM12/29/13
to MakerGear
there are four connectors: two for the hot end and one for each fan. you can just disconnect it. don't run the printer without the fan blowing on the extruder.

Rick


On Sun, Dec 29, 2013 at 3:24 PM, <mach2...@gmail.com> wrote:
New M2, any way to turn off the fan at the extruder without unplugging the power supply?
Thanks

--
You received this message because you are subscribed to the Google Groups "MakerGear - Make Today, Change Tomorrow" group.
To unsubscribe from this group and stop receiving emails from it, send an email to makergear+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Ketil Froyn

unread,
Dec 29, 2013, 6:32:57 PM12/29/13
to make...@googlegroups.com
Yes, with the command M108 S0:

http://makergear.wikidot.com/m2-firmware#toc3

I switch it off in my end gcode and on in my start gcode. This also stops the electronics fan, btw.

Another useful command you might like to know is M84, which you can use to disable the motor hold timeout like this:

M84 S0

and set it to a 10 minute timeout like this:

M84 S600

Cheers, Ketil


On Sun, Dec 29, 2013 at 9:24 PM, <mach2...@gmail.com> wrote:
New M2, any way to turn off the fan at the extruder without unplugging the power supply?
Thanks
--
You received this message because you are subscribed to the Google Groups "MakerGear - Make Today, Change Tomorrow" group.
To unsubscribe from this group and stop receiving emails from it, send an email to makergear+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.



--
-Ketil

Rick Pollack

unread,
Dec 29, 2013, 6:39:32 PM12/29/13
to MakerGear
to be clear, follow what Ketil said for the 50mm fan (lower at angle) and what I said for the 40mm fan (upper).

jimc

unread,
Dec 29, 2013, 6:57:51 PM12/29/13
to make...@googlegroups.com
yes the problem comes into play where you preheat the extruder and it slips your mind to send a new M108 to the printer to turn the fan back on. a hot extruder with no fan spells meltdown!! it only takes one time

jimc

unread,
Dec 29, 2013, 6:59:36 PM12/29/13
to make...@googlegroups.com
just put the printer on a power strip with a switch so you can just turn it off and on.

Rick Pollack

unread,
Dec 29, 2013, 7:24:01 PM12/29/13
to MakerGear
the extruder fan is wired to be on when the printer is one. if the extruder fan is not on, the insulator can get too hot and the print will stop.

On Sun, Dec 29, 2013 at 6:59 PM, jimc <xtremekr...@gmail.com> wrote:
just put the printer on a power strip with a switch so you can just turn it off and on.

--

Ketil Froyn

unread,
Dec 30, 2013, 12:41:26 AM12/30/13
to make...@googlegroups.com

I use M106 for the lower fan at an angle, and M108 for the upper fan and the electronics fan. Has something changed?

jimc

unread,
Dec 30, 2013, 12:57:44 AM12/30/13
to make...@googlegroups.com
no ketil, your right. im sure rick is just trying to keep a new m2 user from accidentally melting down his hot end.

Jin Choi

unread,
Feb 11, 2014, 1:52:46 AM2/11/14
to make...@googlegroups.com
On Sunday, December 29, 2013 6:57:51 PM UTC-5, jimc wrote:
yes the problem comes into play where you preheat the extruder and it slips your mind to send a new M108 to the printer to turn the fan back on. a hot extruder with no fan spells meltdown!! it only takes one time

I did exactly this, after playing around with M108 because the stock fans were just so loud. I ran preheat, but didn't actually do any printing with the fan off. What do you mean exactly by "meltdown"? How can I tell if I've damaged anything, will it be visible? I've printed plenty since then and everything appears to be in order. 

jimc

unread,
Feb 11, 2014, 7:41:26 AM2/11/14
to make...@googlegroups.com
Your fne jin. You would know since the peek would be melted. Fyi your fans are probably loud because they are 12v running on a 24v system. To keep the voltage down the highest value sent should be m108 s155. Full voltage would be s255 and the fans would be screaming. Let us know if that nice fan you bought is alot quieter.

Jin Choi

unread,
Feb 11, 2014, 12:54:58 PM2/11/14
to make...@googlegroups.com
No, the 40mm fans are wired in series, so each only sees 12V.

The new fans I got are a huge improvement. The noise from the power box, down at floor level, drowns them out. After dealing with the old ones, I find myself checking them visually to make sure they're actually working.

My previous startup sequence went something like this:

  1. Plug it in.
  2. Wait for the electronics box fan to run a while, in a vain attempt to spread some of that precious lubrication around.
  3. Start tapping the lid, snapping it open and shut, etc. in order to jar the fan so it would stop making that death rattle.
I knew it was ready to start when the box fan quieted down and the extruder fan started spinning better. Because they are in series, if the electronics box was struggling, the extruder fan wouldn't spin properly either.

Gary Schwartz

unread,
Feb 11, 2014, 3:30:14 PM2/11/14
to make...@googlegroups.com
I'm using 24V 40mm fans.

Starting them requires M108 >=S240 (22.8 V).  This seems too fast.  I can throttle them back to >=S195 (18.9V).  They stop if M108 <S195.

They will not start automatically @ boot.  Is there something in the firmware I can change to make an automatic S240 @ boot, then after X seconds go to S195?

They are not wired in series.

Bryan Boettcher

unread,
Feb 11, 2014, 3:35:14 PM2/11/14
to make...@googlegroups.com
There is a command in the firmware itself that tells the fan to come on at S155.  You'll need to modify the firmware itself and flash it to the Arduino.

As far as I know there is no setting to have the fans spin down to a different value after a few seconds.


--

Jin Choi

unread,
Feb 14, 2014, 2:49:20 AM2/14/14
to make...@googlegroups.com
In the firmware found at http://makergear.wikidot.com/m2-firmware, there is a line in Marlin.ino in the setup() function that says "analogWrite(6,155);" (or 255 depending on which version you get. Change that to:

analogWrite(6, 255);
delay(200);
analogWrite(6, XXX);

where XXX is the value you want your fan at.

Follow the instructions to flash your firmware (make sure you have the right board selected).

That should blip your fan to full for 200 ms before setting it to your desired speed.

Make sure you use the proper firmware for your hardware setup.

Gary Schwartz

unread,
Feb 18, 2014, 5:16:51 PM2/18/14
to make...@googlegroups.com
I'm sure that does it at boot, but when I launch a print the fans shut down & require manual re-start.  I guess I have to put routine in the  Gcode for print starting.

 ​

      Gary
Make Better Things
Make Things Better

 
 
 
 



--
You received this message because you are subscribed to a topic in the Google Groups "MakerGear - Make Today, Change Tomorrow" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/makergear/lbPIC_lXlnY/unsubscribe.
To unsubscribe from this group and all its topics, send an email to makergear+...@googlegroups.com.

WayneN

unread,
Feb 23, 2014, 8:23:20 AM2/23/14
to make...@googlegroups.com
Did you get that worked out Gary?  I've had several failed prints on my new m2 because the fan shuts off at print start and I forgot to check.
My start code has M108 S155, but thats not getting enough power to the fan.  

I'm hesitant to set it to 255 on the 24v system.

Gary Schwartz

unread,
Feb 24, 2014, 11:33:30 AM2/24/14
to make...@googlegroups.com
Nope.  S3D software has me baffled.

Jin Choi

unread,
Feb 24, 2014, 12:47:51 PM2/24/14
to make...@googlegroups.com


On Sunday, February 23, 2014 8:23:20 AM UTC-5, WayneN wrote:
Did you get that worked out Gary?  I've had several failed prints on my new m2 because the fan shuts off at print start and I forgot to check.
My start code has M108 S155, but thats not getting enough power to the fan.  

I'm hesitant to set it to 255 on the 24v system.


You can do my suggested routine above in G code.

M108 S255
G4 P200
M108 S155

Change S255 to whatever will get your fan running, and P200 to however long it takes to get going well. 

WayneN

unread,
Mar 1, 2014, 5:48:30 PM3/1/14
to make...@googlegroups.com
Thanks Jin, 
I gave it a go at 255 and so far so good...
I believe that since my 12v fans (extruder and electronics) are wired in series, I can safely run the start code at 255.  They both stop at anything less than 250...
about 20 hours of print time running the fans at 255 with no problems, I do lube them every little bit.

I purchased a 40mm 24v ball bearing fan for the bed, and its working great (and quiet!). 
Reply all
Reply to author
Forward
0 new messages