Welcome! Log In Create A New Profile

Advanced

Fan control help

Posted by dpeart 
Fan control help
September 15, 2015 09:58AM
I'm hoping someone can help me get my fans and control all sorted out.

I'm running the latest Marlin with a RAMPS v1.4 board. I have it configured so that D9 is the fan control (motherboard 33).

I have two fans, one for the print that I want to control via slic3r. Turn on for cooling/bridging basically how D9 works today. My second fan I want as an extruder fan. I keep getting heat creeping up my hotend and swelling the PLA. The issue is that if I hook it up to 12V, then it runs too fast and messes things up. I need to have pwm control over it.

I see that there is the ability to control an extruder fan, which is what I'd like. I do have a gadgets3d fan splitter board that has PWM fan control. I was wondering if I could set D4 as my extruder fan and set the fan speed to 50% as below:

// Extruder cooling fans
// Configure fan pin outputs to automatically turn on/off when the associated
// extruder temperature is above/below EXTRUDER_AUTO_FAN_TEMPERATURE.
// Multiple extruders can be assigned to the same pin in which case
// the fan will turn on when any selected extruder is above the threshold.
#define EXTRUDER_0_AUTO_FAN_PIN 4
#define EXTRUDER_1_AUTO_FAN_PIN -1
#define EXTRUDER_2_AUTO_FAN_PIN -1
#define EXTRUDER_AUTO_FAN_TEMPERATURE 50
#define EXTRUDER_AUTO_FAN_SPEED 127 // == full speed

Then hook D4 (servo output) to my PWM control and have it still use D9 as the cooling fan?

Thought I'd ask before I messed something up trying it.

The goal is to have D9 be my part cooling fan controlled by slic3r, and have the extruder fan run at 50% anytime the temp is > 50C.

Does this make sense?

thanks
david

Edited 1 time(s). Last edit at 09/15/2015 09:59AM by dpeart.
Re: Fan control help
September 16, 2015 07:17PM
Finally got around to trying it out and yes, it works splendidly.

david
Sorry, only registered users may post in this forum.

Click here to login