Skip to main content

Fan Reference Configuration

Drive Fan

  • There are two ways to configure the drive fan:

  • The first method is self-configuration, where the fan starts working as soon as the motor moves.

  • The second method is to run directly at startup.

  • First method

  • In value:1, the "1" means the fan will turn on once connected to Klipper.

[output_pin driver_fan]
pin: PF7
value:1
  • 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

  • This section mainly introduces the solution for the fan starting to spin at startup.
info
  • A brief explanation is provided here.
  • Add a PWM signal pin during firmware compilation and invert its state.
  • For testing with SUPER8_PRO, use pin PF8. During firmware compilation, select GPIO pins to set at micro-controller startup and add !PF8.
  • Please ensure the ! entered is an English exclamation mark.
  • Other motherboards follow the same principle.
[fan]
## Print Cooling Fan
pin:
max_power: 0.9
cycle_time: 0.002
hardware_pwm: false
shutdown_speed: 0

Multiple Fan Ports with the Same Pin Configuration

  • Not applicable to stepper motor pins
    [multi_pin fan_pin]
    pins:PA1,PA2,PA3,PA4

    [fan]
    pin:multi_pin:my_fan
Loading...
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
Loading...