diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2017-07-04 12:24:11 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2017-07-17 11:35:52 -0400 |
commit | 969485c754731183f357e6fef23c6180f59d4cb6 (patch) | |
tree | f152a57906579fca334035e77d733f990912a32b /config | |
parent | 519e81d0faf7be36ec94c865a1e0c97d78b6774c (diff) | |
download | kutter-969485c754731183f357e6fef23c6180f59d4cb6.tar.gz kutter-969485c754731183f357e6fef23c6180f59d4cb6.tar.xz kutter-969485c754731183f357e6fef23c6180f59d4cb6.zip |
fan: Add support for heater_fan objects
Add support for fans designed to cool the components of an extruder or
heater.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'config')
-rw-r--r-- | config/example.cfg | 14 | ||||
-rw-r--r-- | config/makergear-m2-2012.cfg | 7 |
2 files changed, 19 insertions, 2 deletions
diff --git a/config/example.cfg b/config/example.cfg index 88f568e9..80bf1daa 100644 --- a/config/example.cfg +++ b/config/example.cfg @@ -322,3 +322,17 @@ max_z_accel: 30 # centripetal velocity cornering algorithm. A larger number will # permit higher "cornering speeds" at the junction of two moves. The # default is 0.02mm. + +# Heater cooling fans (one may define any number of sections with a +# "heater_fan" prefix). A "heater fan" is a fan that will be enabled +# whenever its associated heater is active. +#[heater_fan my_nozzle_fan] +# See the "fan" section for fan configuration parameters. +#pin: ar7 +# The remaining variables are specific to heater_fan. +#heater: extruder +# Name of the config section defining the heater that this fan is +# associated with. The default is "extruder". +#heater_temp: 50.0 +# A temperature (in Celsius) that the heater must drop below before +# the fan is disabled. The default is 50 Celsius. diff --git a/config/makergear-m2-2012.cfg b/config/makergear-m2-2012.cfg index b25dd3be..380e0e93 100644 --- a/config/makergear-m2-2012.cfg +++ b/config/makergear-m2-2012.cfg @@ -72,11 +72,14 @@ max_temp: 100 [fan] pin: PH5 +[heater_fan nozzle_fan] +pin: PH3 +max_power: 0.61 +hard_pwm: 1 + [mcu] serial: /dev/ttyACM0 custom: - # Nozzle fan - set_pwm_out pin=PH3 cycle_ticks=1 value=155 # Turn off yellow led set_digital_out pin=PB7 value=0 # Stepper micro-step pins |