Skip to main content

Fan Reference Configuration

Driver Fan

  • There are two methods to configure the driver fan.

  • The first method configures it to start working as soon as the motor moves.

  • The second method configures it to run directly upon startup.

  • The First Method

  • The 1 in value:1 means the fan turns on as soon as Klipper connects.

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

  • Primarily introduces the solution for making it spin upon startup.
Info
  • This is a brief explanation.
  • Add the PWM signal pin during firmware compilation and invert its state.
  • Tested using SUPER8_PRO, with pin PF8. During firmware compilation, select GPIO pins to set at micro-controller startup and add !PF8.
  • Please note that the ! entered must be an English exclamation mark.
  • The same principle applies to other mainboards.
Loading...
[fan]
## Print Cooling Fan
pin:
max_power: 0.9
cycle_time: 0.002
hardware_pwm: false
shutdown_speed: 0

Configuring Multiple Fan Ports to the Same Pin

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

    [fan]
    pin:multi_pin:my_fan
Loading...