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

    Duet 2 Fans linked to driver temperature?

    Scheduled Pinned Locked Moved
    General Discussion
    2
    2
    121
    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.
    • neiloundefined
      neilo
      last edited by

      Hi there I'm trying to make fan0 and fan1 run from the drivers temp sensor on the duet2 wifi board (RRF3.1). A couple of failed attempts lead me to ask for advice please. Will this work in config.g?
      ; Fans
      M308 S0 P"drv_temp" Y"drivers" ; define drivers temperature sensor

      M950 F0 C"!fan0" Q500 ; create fan 0 on pin fan0 and set its frequency
      M106 P0 S0.5 H0 T45 ; set fan 0 value. Thermostatic control is turned on

      M950 F1 C"!fan1" Q500 ; create fan 0 on pin fan0 and set its frequency
      M106 P1 S0.5 H0 T45 ; set fan 1 value. Thermostatic control is turned on

      Thanks Neil

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

        Bear in mind that the drivers don't report actual temperature, only overheat warnings and errors. So the reading from the drivers sensor will be 0C under normal conditions, 100C if any driver reports an overheat warning, or 130C if any driver reports overheat shutdown.

        When the drivers generate a lot of heat, some of this is passed to the MCU, so using the MCU temperature to control the fan too is useful. On one of my printers I use this:

        M308 S10 y"mcutemp" a"Mcu"
        M308 S11 y"drivers" a"Drivers"
        M950 F2 C"fan2"
        M106 P2 H10:11 T45:55 L0.3

        The fan will start to come on of the MCU temperature exceeds 45C. it will be fully on of the MCU temperature exceeds 45C or if any driver reports an overheat warning.

        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
        • First post
          Last post
        Unless otherwise noted, all forum content is licensed under CC-BY-SA