Duet 2 wifi - Reprap 3 MPU fan thermal control



  • 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.



  • 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


  • administrators

    @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.



  • @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
    

  • administrators

    That looks correct to me.



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


Log in to reply