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

    Activate fan by driver movement

    Scheduled Pinned Locked Moved
    Tuning and tweaking
    3
    5
    137
    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.
    • RodrigoRMaraujoundefined
      RodrigoRMaraujo
      last edited by

      Hello everyone.
      Please, in RRF 3.5 is it already possible to connect a fan to the drivers that works whenever there is movement of any of the axes or extruders?
      Thanks!

      oliofundefined droftartsundefined 2 Replies Last reply Reply Quote 0
      • oliofundefined
        oliof @RodrigoRMaraujo
        last edited by

        @RodrigoRMaraujo you could do this via daemon.g, checking for motors idle state and enabling a fan if one of the motors is not idle (alternately check for active print).

        I know this is a common way to dynamically control electronics box fans in Klipper, but RepRapFirmware has a better way IMO: Using the MCU built in temperature reporting and configuring a thermostatic fan for that.

        If you have another application you want to use this, please do share (-;

        <>RatRig V-Minion Fly Super5Pro RRF<> V-Core 3.1 IDEX k*****r <> RatRig V-Minion SKR 2 Marlin<>

        RodrigoRMaraujoundefined 1 Reply Last reply Reply Quote 0
        • droftartsundefined
          droftarts administrators @RodrigoRMaraujo
          last edited by

          @RodrigoRMaraujo As @oliof suggests, using the MCU temperature works well for the reporting the temperature of the drivers. See https://docs.duet3d.com/en/User_manual/Connecting_hardware/Temperature_configuring_mcu_temp#mcu-temp-as-proxy-for-driver-temp

          Ian

          Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

          RodrigoRMaraujoundefined 1 Reply Last reply Reply Quote 0
          • RodrigoRMaraujoundefined
            RodrigoRMaraujo @oliof
            last edited by

            @oliof thank you!
            You reminded me of this detail about using the MCU temperature. I've been away from RRF for 2 or 3 years and just got back to it, and I ended up forgetting several details like this.
            Thank you very much, problem solved.

            M308 S2 Y"mcu-temp" A"MCU" ; configure sensor 2 as on-chip MCU temperature sensor
            M950 F2 C"out6" ; create fan #2 - Big Dipper fysect board
            M106 P2 C"5015_Drivers" H2 L0.15 X1 B0.3 T40 ; configure fan #2
            
            1 Reply Last reply Reply Quote 1
            • RodrigoRMaraujoundefined
              RodrigoRMaraujo @droftarts
              last edited by RodrigoRMaraujo

              @droftarts thank you!
              While you were writing, I was researching this very documentation.
              Thank you very much.

              I don't know yet how to mark a topic as resolved. Should I wait for the administration or can I do it myself?

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