Duet3D Logo Duet3D
    • Tags
    • Documentation
    • Order
    • Register
    • Login

    Temperature sensor triggering some macro

    Scheduled Pinned Locked Moved
    General Discussion
    4
    4
    187
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • awitcundefined
      awitc
      last edited by

      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

      jay_s_ukundefined dc42undefined 2 Replies Last reply Reply Quote 0
      • jay_s_ukundefined
        jay_s_uk @awitc
        last edited by

        @awitc have a look at using daemon.g. by default it runs every 10 seconds

        Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

        1 Reply Last reply Reply Quote 0
        • dc42undefined
          dc42 administrators @awitc
          last edited by

          @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.

          Duet WiFi hardware designer and firmware engineer
          Please do not ask me for Duet support via PM or email, use the forum
          http://www.escher3d.com, https://miscsolutions.wordpress.com

          1 Reply Last reply Reply Quote 0
          • awitcundefined
            awitc
            last edited by

            Thank you for your replies @jay_s_uk and @dc42. Both suggestions seem to be valid solutions. I will firstly look more into the daemon.g file, as it is more customizable and fitting for my purpose.

            1 Reply Last reply Reply Quote 1
            • infiniteloopundefined infiniteloop referenced this topic
            • First post
              Last post
            Unless otherwise noted, all forum content is licensed under CC-BY-SA