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

    Create thermostatic fan without a pin

    Scheduled Pinned Locked Moved
    Tuning and tweaking
    2
    3
    161
    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.
    • jphillyundefined
      jphilly
      last edited by

      Is it possible to create a fake thermostatic fan? I have an arduino reporting temperatures to my Maestro and I want to have that arduino control the fan too. Additionally I want to have a thermostatic fan configured on the Maestro to stall the delayed ATX shutoff without taking up a pin. My fallback idea is to use an unused pin that isn't capable of PWM. Are either of these possible?

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

        I think that should be possible using RRF3 and conditional GCode.

        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
        • jphillyundefined
          jphilly
          last edited by

          My printer is currently in pieces so I can't test, but I assume the way to do it with the meta commands would be a macro with basically this:

          M409 K"sensors.analog[<sensor number>].lastReading"
          while result >= <shut-off temp>
              M409 K"sensors.analog[<sensor number>].lastReading"
          
          M81 S1
          

          Is this correct? It would busywait (which probably isn't important). Is there a way to use them to actually influence M81 S1? (so rather than having a macro to do a delayed shutdown just be able to put M81 S1 in the console)

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Unless otherwise noted, all forum content is licensed under CC-BY-SA