Skip to main content

Fan Reference Configuration

Drive Fan

  • There are two configuration methods for the drive fan

  • The first is to configure it yourself, and the motor works when it starts

  • The second is to run directly upon boot

  • First method

  • The exclamation mark in front reverses the fan port state, 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 for the fan to start rotating upon boot
info
  • This is a simple explanation
  • Add the PWM signal pin during firmware compilation and reverse its state
  • Tested with SUPER8PRO, using pin PF8, during firmware compilation select GPIO pins to set at micro-controller startup and enter !PF8
  • Please note that the entered ! is an English exclamation mark
  • Other mainboards are similar
[fan]
## Print Cooling Fan
pin:
max_power: 0.9
cycle_time: 0.002
hardware_pwm: false
shutdown_speed: 0
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 -