Topic: Could use some help with Smoothieware.
I recently revamped my CTC and upgraded the controller to take advantage of Bigfoot stepper drivers and their ability to run at 256 bit microstepping. My issue is getting the hotend cooling fans to work. I can get the one for extruder 1 to work but when I try the one for extruder 0 both fans come on. My current code is below for temp control and fan control. Not sure where I am going wrong and any help would be appreciated.
# Hotend temperature control configuration
temperature_control.hotend.enable true # Whether to activate this ( "hotend" ) module at all. All configuration is ignored if false.
temperature_control.hotend.ad8495_pin 0.24 # Pin for the thermistor to read
temperature_control.hotend.heater_pin 2.4 # Pin that controls the heater
temperature_control.hotend.sensor ad8495 # see http://smoothieware.org/temperaturecontrol#toc5
##temperature_control.hotend.beta 4066 # or set the beta value
temperature_control.hotend.set_m_code 104 #
temperature_control.hotend.set_and_wait_m_code 109 #
temperature_control.hotend.designator 0 #
#temperature_control.hotend.p_factor 13.7 # permanently set the PID values after an auto pid
#temperature_control.hotend.i_factor 0.097 #
#temperature_control.hotend.d_factor 24 #
#temperature_control.hotend.max_pwm 64 # max pwm, 64 is a good value if driving a 12v resistor with 24v.
# Hotend2 temperature control configuration
temperature_control.hotend2.enable true # Whether to activate this ( "hotend" ) module at all. All configuration is ignored if false.
temperature_control.hotend2.ad8495_pin 0.25 # Pin for the thermistor to read
temperature_control.hotend2.heater_pin 2.5 # Pin that controls the heater
temperature_control.hotend2.sensor ad8495 # see http://smoothieware.org/temperaturecontrol#toc5
##temperature_control.hotend2.beta 4066 # or set the beta value
temperature_control.hotend2.set_m_code 104 #
temperature_control.hotend2.set_and_wait_m_code 109 #
temperature_control.hotend2.designator 1 #
#temperature_control.hotend2.p_factor 13.7 # permanently set the PID values after an auto pid
#temperature_control.hotend2.i_factor 0.097 #
#temperature_control.hotend2.d_factor 24 #
#temperature_control.hotend2.max_pwm 64 # max pwm, 64 is a good value if driving a 12v resistor with 24v.
temperature_control.bed.enable true #
temperature_control.bed.thermistor_pin 0.23 #
temperature_control.bed.heater_pin 2.7 #
temperature_control.bed.thermistor EPCOS100K # see http://smoothieware.org/temperaturecontrol#toc5
#temperature_control.bed.beta 4066 # or set the beta value
temperature_control.bed.set_m_code 140 #
temperature_control.bed.set_and_wait_m_code 190 #
temperature_control.bed.designator B #
#temperature_control.bed.max_pwm 64 # max pwm, 64 is a good value if driving a 12v resistor with 24v.
# Switch module for fan control
switch.fan.enable true #
switch.fan.input_on_command M106 #
switch.fan.input_off_command M107 #
switch.fan.output_pin 0.26 #
switch.misc.enable true #
switch.misc.input_on_command M42 #
switch.misc.input_off_command M43 #
switch.misc.output_pin 1.22 #
# automatically toggle a switch at a specified temperature. Different ones of these may be defined to monitor different temperatures and switch different swithxes
# useful to turn on a fan or water pump to cool the hotend
temperatureswitch.hotend.enable true #
temperatureswitch.hotend.designator 0 # first character of the temperature control designator to use as the temperature sensor to monitor
temperatureswitch.hotend.switch fan # select which switch to use, matches the name of the defined switch
temperatureswitch.hotend.threshold_temp 50.0 # temperature to turn on (if rising) or off the switch
temperatureswitch.hotend.heatup_poll 15 # poll heatup at 15 sec intervals
temperatureswitch.hotend.cooldown_poll 60 # poll cooldown at 60 sec intervals
temperatureswitch.hotend2.enable true #
temperatureswitch.hotend2.designator 1 # first character of the temperature control designator to use as the temperature sensor to monitor
temperatureswitch.hotend2.switch misc # select which switch to use, matches the name of the defined switch
temperatureswitch.hotend2.threshold_temp 50.0 # temperature to turn on (if rising) or off the switch
temperatureswitch.hotend2.heatup_poll 15 # poll heatup at 15 sec intervals
temperatureswitch.hotend2.cooldown_poll 60 # poll cooldown at 60 sec intervals
Anycubic 4MAX best $225 ever invested.
Voxelabs Proxima SLA. 6 inch 2k Mono LCD.
Anycubic Predator, massive Delta machine. 450 x 370 print envelope.