Temperature sensor triggering some macro
-
Hi!
I am looking for a way to have a specific action triggered by a temperature threshold, to implement some cooling system for one of my tools.
Whenever a given temperature is reached, I want to enable a pump, which works for a while, and then stops, when a lower threshold is reached. One could say, that I want a 'reverse heater' with bang-bang control.I read a lot about macros, but they seem to be usually triggered by something like a button. I am looking for a solution which could monitor the sensor during general printer operation (during printing, idle, etc.), so not only when a given gcode is running.
Applying a maximum temperature for a sensor also doesn't work, as when the temperature rises to the set value, the firmware detects a fault event.
I am looking forward to any suggestions on how to handle this issue.
Best regards,
AW -
@awitc have a look at using daemon.g. by default it runs every 10 seconds
-
@awitc would configuring the pump as a thermostatic fan work? The downside would be that the temperature difference between the upper and lower thresholds is fixed.
-
-