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

Duet 2 wifi - Reprap 3 MPU fan thermal control

Scheduled Pinned Locked Moved Solved
Duet Hardware and wiring
8
13
962
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
    jrsphoto
    last edited by jrsphoto 1 Sept 2020, 04:35 9 Jan 2020, 04:22

    I have a case fan for the Duet 2 wifi, which was thermally controlled by the CPU temp in 2.x I can't seem to find reference to doing this with 3.0. Is this doable? There use to be a page the gave the heater numbers but I can't seem to find it now.

    1 Reply Last reply Reply Quote 0
    • undefined
      pipersw
      last edited by pipersw 1 Sept 2020, 08:39 9 Jan 2020, 08:36

      Just define mcu-temp as sensor type in m308 and it's works
      M308 S4 Y"mcu-temp" A"MCU"
      M950 F2 C"fan2" Q100 ; create fan 2 on pin fan2 and set its frequency
      M106 P2 H100:101:102 L0.0 X0.05 B0.5 T45:50 C"Duet" ; set fan 2 value, turn on at 50% if the CPU temperature reaches 45C, and increase to full speed gradually as the temperature rises to 50C

      undefined undefined 2 Replies Last reply 9 Jan 2020, 08:56 Reply Quote 0
      • undefined
        dc42 administrators @pipersw
        last edited by 9 Jan 2020, 08:56

        @pipersw said in Duet 2 wifi - Reprap 3 MPU fan thermal control:

        Just define mcu-temp as sensor type in m308 and it's works
        M308 S4 Y"mcu-temp" A"MCU"
        M950 F2 C"fan2" Q100 ; create fan 2 on pin fan2 and set its frequency
        M106 P2 H100:101:102 L0.0 X0.05 B0.5 T45:50 C"Duet" ; set fan 2 value, turn on at 50% if the CPU temperature reaches 45C, and increase to full speed gradually as the temperature rises to 50C

        You need to change the H parameter in that M106 command for the thermostatic control to work. For example, H4 if you want is controlled by sensor 4 (which you have configured as the MCU temperature sensor) only.

        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

        undefined 1 Reply Last reply 9 Jan 2020, 09:24 Reply Quote 0
        • undefined
          pipersw @dc42
          last edited by pipersw 1 Sept 2020, 09:28 9 Jan 2020, 09:24

          @dc42 Thanks to show the mistake.
          So we have to write :

          M308 S2 Y"drivers" A"DRIVERS"   ; configure sensor 2 as temperature warning and overheat flags on the TMC2660 on Duet
          M308 S4 Y"mcu-temp" A"MCU"   ; configure sensor 3 as thermistor on pin e1temp for left stepper
          
          M950 F2 C"fan2" Q100                ; create fan 2 on pin fan2 and set its frequency
          M106 P2 H2:4 L0.0 X0.05 B0.5 T45:55      ; set fan 2 value, turn on at 50% if the CPU temperature reaches 45C, and increase to full speed gradually as the temperature rises to 55C
          
          undefined 1 Reply Last reply 9 Jan 2020, 09:38 Reply Quote 0
          • undefined
            dc42 administrators @pipersw
            last edited by 9 Jan 2020, 09:38

            That looks correct to me.

            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
              jrsphoto @pipersw
              last edited by 10 Jan 2020, 01:09

              Thank @pipersw & @dc42. Fans are working well now..

              1 Reply Last reply Reply Quote 0
              • undefined
                Nobody1982
                last edited by 11 Jun 2021, 09:20

                Hello,

                i have a problem with the driver temperature to show the value. Is allways 0

                Can you help me ?

                Duet 2 Wifi 3.3RC3

                M308 S2 Y"drivers" A"DRIVERS" ; configure sensor 2 as temperature warning and overheat flags on the TMC2660 on Duet

                efacc746-6d22-4038-b226-bb45f2f24bd0-image.png

                undefined 1 Reply Last reply 11 Jun 2021, 09:35 Reply Quote 0
                • undefined
                  jay_s_uk @Nobody1982
                  last edited by 11 Jun 2021, 09:35

                  @nobody1982 the drivers only report 3 temperatures. cool (0 degrees), hot (100 degrees) and very hot (130 degrees). Nothing can be done.

                  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

                  undefined undefined 2 Replies Last reply 11 Jun 2021, 17:12 Reply Quote 0
                  • undefined
                    Phaedrux Moderator @jay_s_uk
                    last edited by Phaedrux 6 Nov 2021, 17:13 11 Jun 2021, 17:12

                    @jay_s_uk said in Duet 2 wifi - Reprap 3 MPU fan thermal control:

                    Nothing can be done.

                    One work around would be to add an actual thermistor to the driver itself and then monitor that if you absolutely need to know the actual temperature, but it's really not necessary as long as you're using a motor current within the limit and have at least some airflow across the drivers. Using the MCU temp as a proxy to control a fan is a good option. The drivers can handle quite a bit of heat, so as long as you aren't getting over heat warnings you're likely just fine.

                    https://duet3d.dozuki.com/Wiki/Mounting_and_cooling_the_board

                    Z-Bot CoreXY Build | Thingiverse Profile

                    undefined 1 Reply Last reply 12 Jun 2021, 08:14 Reply Quote 0
                    • undefined
                      dc42 administrators @Phaedrux
                      last edited by 12 Jun 2021, 08:14

                      I have my electronics cooling fan set up to monitor both the driver and MCU temperatures, with a temperature range of 45:55. That way, the fan will start to spin if the MCU temperature exceeds 45C, and it will be full on if either MCU temperature exceeds 55C or there is a driver 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

                      undefined 1 Reply Last reply 22 Dec 2023, 19:18 Reply Quote 0
                      • undefined
                        vwegert @jay_s_uk
                        last edited by 21 Jun 2021, 08:11

                        @jay_s_uk said in Duet 2 wifi - Reprap 3 MPU fan thermal control:

                        @nobody1982 the drivers only report 3 temperatures. cool (0 degrees), hot (100 degrees) and very hot (130 degrees). Nothing can be done.

                        @dc42 May I suggest adding this bit of information to the M308 Gcode dictionary page? I was about to post a bug report when I accidentally found out about this limitation...

                        undefined 1 Reply Last reply 21 Jun 2021, 08:25 Reply Quote 0
                        • undefined
                          dc42 administrators @vwegert
                          last edited by 21 Jun 2021, 08:25

                          @vwegert said in Duet 2 wifi - Reprap 3 MPU fan thermal control:

                          @dc42 May I suggest adding this bit of information to the M308 Gcode dictionary page? I was about to post a bug report when I accidentally found out about this limitation...

                          Done.

                          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 1
                          • undefined
                            chrud @dc42
                            last edited by 22 Dec 2023, 19:18

                            @dc42 said in Duet 2 wifi - Reprap 3 MPU fan thermal control:

                            I have my electronics cooling fan set up to monitor both the driver and MCU temperatures, with a temperature range of 45:55. That way, the fan will start to spin if the MCU temperature exceeds 45C, and it will be full on if either MCU temperature exceeds 55C or there is a driver overheat warning.

                            @dc42 can you please share the code. Thanks a lot.

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