Hot-ends have a heating element (controlled by a MOSFET) and a thermistor to read its temperature.
When the thermistor is read, the Smoothie calculates the temperature, and then turns the heater on or off depending on whether heat is needed or not.
A few bad things can happen:
One way to prevent the last two bad things is to add a second thermistor to the hot-end. The second thermistor also reads the temperature on the hot-end, and if something goes bad, Smoothie turns the PSU off, preventing damage.
To implement this, you need three things:
Here is an example configuration:
temperatureswitch.psu.enable true # Enable temperatureswitch module for PSU
temperatureswitch.psu.switch psuswitch # Designate switch module to use
temperatureswitch.psu.designator F # Designator for the safety thermistor
temperatureswitch.psu.threshold_temp 45 # Turn the PSU OFF above this temperature, and ON below this temperature. In °C.
switch.psuswitch.enable true # Enable switch module for PSU
switch.psuswitch.input_on_command M80 # Command to turn PSU on
switch.psuswitch.input_off_command M81 # Command to turn PSU off
switch.psuswitch.output_pin 1.22! # Pin for the switch control, 3rd small FET, or pin on header
switch.psuswitch.output_type digital # Output type, on/off only
# Define a read-only temperaturecontrol for a PSU cutoff
temperature_control.psu.enable true # Enable temperaturecontrol module for PSU
temperature_control.psu.thermistor_pin 0.25 # Pin for the safety thermistor to read
temperature_control.psu.heater_pin nc # Set to 'nc' for read-only temperature control
temperature_control.psu.thermistor Semitec # Thermistor type
temperature_control.psu.designator F # Designator for the safety thermistor
A few notes:
M80
/M81
, and will also shut off in case of a crash.