I created these macros because none of Klipper's fan control options (like [temperature_fan]
) did quite what I wanted.
These macros are automatically invoked when your target bed temp is changed (and ONLY then). Because of this, you do not need to add anything to your other macros.
They have a pretty simple behavior. All they do is:
variable_slow
speed while the bed is heating up.variable_fast
speed once target bed temp is reached.These macros do NOT read the chamber temperature. If your chamber is getting too hot, simply lower the fan speeds.
If the above is not the behavior you desire, you have some other options:
[fan_generic]
and control them manually with SET_FAN_SPEED
in your PRINT_START
/PRINT_END
etc.[temperature_fan]
.Please see the "Information" section first.
1) Place the .cfg file (located in the Klipper_Macros folder) in the same directory as your printer.cfg file.
2) Add [include bedfans.cfg]
to your printer.cfg.
3) Change pin
for your fans in the second section.
4) Configure the options in the first section:
variable_threshold
sets the bed temp threshold at which your bed fans will be used.
variable_slow
sets the fan speed for when the bed is heating.variable_fast
sets the fan speed for when the bed is at temperature.bedfans-dualcontrol.cfg
optionally allows for setting inner and outer fan speeds separately, for a quad fan configuration.variable_slow
can be set to 0 if you prefer the fans to remain off during heatup.Bill of materials (per fan):
Technically your bed heater is not being run at full power with the default configs, however I do not recommend pushing it. Since you can't control max power at runtime, your bed will run at too high of a power while heating, risking warping your bed.
I also do not recommend tinkering with your verify_heater (thermal runaway protection) settings.
For example, for a 300 mm^2 bed:
30 cm * 30 cm = 900 cm^2.
900 cm^2 * 0.4 Watts = 360 Watts max.
If you have a 750 watt heater, that's 48% power, or 0.48 max_power.
(looks a bit tight since CAD is for a 250mm)