• Tags
  • Documentation
  • Order
  • Register
  • Login
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.
  • undefined
    awitc
    last edited by 18 Jul 2023, 11:56

    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

    undefined undefined 2 Replies Last reply 18 Jul 2023, 11:59 Reply Quote 0
    • undefined
      jay_s_uk @awitc
      last edited by 18 Jul 2023, 11:59

      @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
      • undefined
        dc42 administrators @awitc
        last edited by 18 Jul 2023, 12:33

        @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
        • undefined
          awitc
          last edited by 18 Jul 2023, 13:24

          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
          • undefined infiniteloop referenced this topic 24 Aug 2023, 16:54
          2 out of 4
          • First post
            2/4
            Last post
          Unless otherwise noted, all forum content is licensed under CC-BY-SA