Thermostatic fan control
-
I am wanting to control an enclosure fan so that it comes on when the E1 thermistor reaches 26c. I have it set up on PWM FAN1.
M107 P1 S1 I0 F500 H1:2 T26
But instead it turns on when the hotend starts to heat up. What am I doing wrong in the code above?
-
Please, try this:
M106 P1 L255 S255 F500 H2 T26
-
@cdl1701@yahoo.com:
I am wanting to control an enclosure fan so that it comes on when the E1 thermistor reaches 26c. I have it set up on PWM FAN1.
M107 P1 S1 I0 F500 H1:2 T26
But instead it turns on when the hotend starts to heat up. What am I doing wrong in the code above?
H1:2 means turn the fan on when either thermistor 1 or thermistor 2 is at or above 26C. You need just H2 as in the previous reply.
-
Ahh I misunderstood what the H1 was then. I thought H1 enables thermostatic mode and H-1 disables. But it means turn it on or off for that particular thermistor. So H0, H1, and H2 are available for thermostatic mode?
-
@cdl1701@yahoo.com:
Ahh I misunderstood what the H1 was then. I thought H1 enables thermostatic mode and H-1 disables. But it means turn it on or off for that particular thermistor. So H0, H1, and H2 are available for thermostatic mode?
Correct.
H-1 = Disable
H0 = Heater 0
H1 = Heater 1
H2 = Heater 2 -
-
The third thermistor reading will not show up unless you configure it to be used as another extruder heater, or as a chamber heater. So I suggest you configure heater 2 as a chamber heater (even though it isn't really) using M141. You will also need the usual M305 commands to set thermistor parameters for heater 2.
-
Ahh that did the trick. Thanks!