Fan Reference Configuration
Drive Fan
-
There are two ways to configure the drive fan:
-
The first method is self-configuration, so that the fan works as soon as the motor starts.
-
The second method is to run directly at startup.
-
First method
-
The exclamation mark before indicates the reversed fan port status, making it work when connected to Klipper.
[output_pin driver_fan]
pin: !PF7
- Second method
[controller_fan driver_fan] # Driver cooling fan
pin:
cycle_time: 0.00003 # Cycle time
max_power: 1.0 # Maximum power
shutdown_speed: 0.0 # Shutdown speed
fan_speed: 0.9 # Fan speed when heater or stepper driver is active (0.0 to 1.0). Default is 1.0.
idle_timeout: 90 # Time in seconds to keep the fan running after the stepper driver or heater is no longer active. Default is 30 seconds.
idle_speed: 0.4 # Fan speed after the stepper driver is no longer active and before idle_timeout is reached (0.0 to 1.0). Default is fan_speed.
stepper: stepper_x # Active motors
#Define the name of the heater/stepper configuration section associated with this fan.
#If a comma-separated list of heater/stepper names is provided here, the fan will be enabled when any of the given heaters/steppers are enabled.
#The default heater is "extruder", and the default stepper is all steppers.
7040 Fan
- Mainly introduces the solution to the fan spinning at startup
info
- A brief explanation here
- Add a PWM signal pin during firmware compilation, and reverse its status.
- For testing with SUPER8_PRO, use pin PF8. During firmware compilation, select
GPIO pins to set at micro-controller startup
and add!PF8
. - Please note the
!
must be an English exclamation mark. - Other motherboards follow the same logic.

[fan]
## Print Cooling Fan
pin:
max_power: 0.9
cycle_time: 0.002
hardware_pwm: false
shutdown_speed: 0
Same Pin Configuration for Multiple Fan Ports
- Not applicable for stepper motor pins
[multi_pin fan_pin]
pins:PA1,PA2,PA3,PA4
[fan]
pin:multi_pin:my_fan
Loading...