diff --git a/printer_data/config/printer.cfg b/printer_data/config/printer.cfg index 0c123e8..a313712 100644 --- a/printer_data/config/printer.cfg +++ b/printer_data/config/printer.cfg @@ -344,12 +344,51 @@ samples_tolerance_retries: 3 [fan] ## Print Cooling Fan - FAN0 -pin: PA8 -kick_start_time: 0.5 -## Depending on your fan, you may need to increase this value -## if your fan will not start. Can change cycle_time (increase) -## if your fan is not able to slow down effectively -off_below: 0.10 +pin: PA8 # Output pin controlling the fan. This parameter must be provided. +max_power: 0.8 +# This should be set to 0.8 on most motherboards to give full range of control to your slicer. +# Anything above 80% duty cycle will be full power on this particular brushless driver. +# To fine-tune the max_power parameter for your particular motherboard, set max_power to 1.0, go into the Klipper dashboard, and increase fan speed 1% at a time until the actual fan speed stops increasing as you increase the fan speed. Divide the fan speed at this point by 100 and enter it into the max_power parameter. +# This parameter defines the maximum power (expressed as a value from 0.0 to 1.0) that the pin may be set to. +# The value 1.0 allows the pin to be set fully enabled for extended periods, while a value of 0.5 would allow the pin to be enabled for no more than half the time. +# This setting may be used to limit the total power output (over extended periods) to the fan. +# If this value is less than 1.0, then fan speed requests will be scaled between zero and max_power (for example, if max_power is 0.9 and a fan speed of 80% is requested, then the fan power will be set to 72%). +shutdown_speed: 0 +# The desired fan speed (expressed as a value from 0.0 to 1.0) if +# The microcontroller software enters an error state. +# The default is 0. +cycle_time: 0.010 #0.005 Example config value +# The amount of time (in seconds) for each PWM power cycle to the fan. +# It is recommended this be 10 milliseconds or greater when using software-based PWM. +# The default is 0.010 seconds. +hardware_pwm: False +# Enable this to use hardware PWM instead of software PWM. +# Most fans do not work well with hardware PWM, so it is not recommended to enable this unless there is an electrical requirement to switch at very high speeds. +# When using hardware PWM, the actual cycle time is constrained by the implementation and may be significantly different than the requested cycle_time. +# The default is False. +kick_start_time: 0.100 +# Time (in seconds) to run the fan at full speed when either first enabling or increasing it by more than 50% (helps get the fan spinning). +# The default is 0.100 seconds. +off_below: 0.1 +# The blower will not spin with the included brushless driver when the duty cycle is below 8%. When scaled with Max_power at 0.8, the off_below parameter should be set to 0.1. +# To calibrate this setting, gradually lower the fan speed to determine the lowest input speed that reliably drives the fan without stalls. +# Set off_below to the duty cycle corresponding to this value (for example, 8% -> 0.08/Max_power -> 0.08/0.8 -> 0.1) or slightly higher. +# This parameter is the minimum input speed that will power the fan (expressed as a value from 0.0 to 1.0). +# When a speed lower than off_below is requested, the fan will instead be turned off. +# This setting may be used to prevent fan stalls and to ensure effective kick starts. +# To calibrate this setting, start with off_below set to 0.0 and the fan spinning. +# Gradually lower the fan speed to determine the lowest input speed that reliably drives the fan without stalls. +# Set off_below to the duty cycle corresponding to this value (for example, 12% -> 0.12) or slightly higher. +#Tachometer_pin: +# Tachometer input pin for monitoring fan speed. A pullup is generally required. +# This parameter is optional. +#Tachometer_ppr: 1 +# When tachometer_pin is specified, this is the number of pulses per revolution of the tachometer signal. +#Tachometer_poll_interval: 0.0005 +# When tachometer_pin is specified, this is the polling period of the tachometer pin, in seconds. +# The default is 0.0015, which is fast enough for fans below 10,000 RPM at 2 PPR. +# This must be smaller than 30/(tachometer_ppr*rpm), with some margin, where rpm is the +# maximum speed (in RPM) of the fan. [heater_fan hotend_fan] ## Hotend Fan - FAN1