Skip to main content

Fan Reference Configuration

Drive Fan

  • There are two ways to configure the drive fan

  • The first method works as soon as the motor moves after self-configuration

  • The second method runs directly upon power on

  • First method

  • The 1 in value:1 means the fan turns 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

  • Mainly introduces the solution for the fan spinning upon power on
info
  • Here is a brief explanation
  • Add the PWM signal pin during firmware compilation and reverse its state
  • Tested on SUPER8_PRO, using pin PF8. During firmware compilation, add !PF8 in GPIO pins to set at micro-controller startup
  • Please ensure the ! entered is an English exclamation mark
  • Other motherboards work similarly
[fan]
## Print Cooling Fan
pin:
max_power: 0.9
cycle_time: 0.002
hardware_pwm: false
shutdown_speed: 0

Multiple Fan Ports Sharing the Same Pin Configuration

  • Not applicable to stepper motor pins
    [multi_pin my_fan]
    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...