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:
V1 Configuration (flat namespace):
temperatureswitch.psu.enable false # 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
V2 Configuration (INI sections):
[temperature switch]
psu.enable = false # Enable temperatureswitch module for PSU
psu.switch = psuswitch # Designate switch module to use
psu.designator = F # Designator for the safety thermistor
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
psuswitch.input_on_command = M80 # Command to turn PSU on
psuswitch.input_off_command = M81 # Command to turn PSU off
psuswitch.output_pin = 1.22! # Pin for the switch control, 3rd small FET, or pin on header
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
psu.thermistor_pin = 0.25 # Pin for the safety thermistor to read
psu.heater_pin = nc # Set to 'nc' for read-only temperature control
psu.thermistor = Semitec # Thermistor type
psu.designator = F # Designator for the safety thermistor