The thermistor on your hot end tells Smoothie when to turn the heater on and off. If it comes loose, it can read cold while the hot end is getting hotter. A failed MOSFET can also leave the heater on after Smoothie tells it to turn off.
Hot-ends have a heating element (controlled by a MOSFET) and a thermistor to read its temperature. When the thermistor is read, 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.
A second thermistor, mounted separately, can tell Smoothie to turn off a controllable power supply. This depends on the second sensor, the controller and the supply’s off input all working. Use a separate hardware cutoff for faults that can leave the heater on when the controller stops working.
To implement this, you need three things:
Use Temperature Control to read the second thermistor with no heater output. Use a separate designator for this sensor. Temperature Switch watches that designator and turns off the Switch that controls the supply.
Use this example to see how the modules fit together. Pick the input, output and temperature threshold for your own hardware.
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 # Example threshold in Celsius, not a hot-end limit
temperatureswitch.psu.trigger rising # Act when the reading crosses the threshold from below
temperatureswitch.psu.inverted true # Turn the supply off at that crossing
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
[temperature switch]
psu.enable = true # 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 # Example threshold in Celsius, not a hot-end limit
psu.trigger = rising # Act when the reading crosses the threshold from below
psu.inverted = true # Turn the supply off at that crossing
[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
Choose the analog input and supply-control output from your board’s pinout. For a V2 Prime machine that already uses a 12 V ATX supply, the ATX connector board can provide the supply’s on/off connection. Check its power and wiring limits before using it.
A rising trigger needs a reading below the threshold before it can see a crossing. It does not check for a hot start. Cooling back down does not turn the supply back on.
If you have a voltage regulator as your only 5V source on Smoothieboard, this will not work, as turning the PSU off will also turn the 5V off.
If you use an ATX PSU, you can wire the 5VSB supply to the 5V input on the Smoothieboard, in which case the Smoothieboard will still get its 5V even if the PSU is shut down by the switch module. Wire the ATX PS_ON to the ground of a small MOSFET. This will allow it to turn on/off with
The controller needs its own power if you want it to stay on while the heater supply is off. See power supply control for the supply wiring. Check the sensor reading and test the off command and temperature-triggered shutdown with the heater disconnected before you rely on the setup.