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

    Part Cooling Fan Setup

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    3
    9
    387
    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.
    • Drakundefined
      Drak
      last edited by

      I am trying to setup up a fan for part cooling during printing after the first layer is complete. I am using a 5v blower fan in the fan 0 port. Ive plugged it into the 5v always on port to make sure it works.

      When i go to test the fan on the dashboard and turn it on nothing happens did i set it up correctly?

      here is my config:

      ; Heaters
      M140 H-1                                           ; disable heated bed (overrides default heater mapping)
      M308 S0 P"e0temp" Y"thermistor" T100000 B4138      ; configure sensor 0 as thermistor on pin e0temp
      M950 H0 C"e0heat" T0                               ; create nozzle heater output on e0heat and map it to sensor 0
      M307 H0 B0 S1.00                                   ; disable bang-bang mode for heater  and set PWM limit
      M143 H0 S260                                       ; set temperature limit for heater 0 to 260C
      
      ; Fans
      M950 F0 C"fan0" Q500 ; create fan 0 on pin fan0 and set its frequency
      M106 P0 S0 H-1       ; set fan 0 value. Thermostatic control is turned off
      ; Tools
      M563 P0 D0 H0 F0 S"Main"                                      ; define tool 1
      G10 P0 X0 Y0 Z0                                    ; set tool 1 axis offsets
      G10 P0 R0 S0                                       ; set initial tool 1 active and standby temperatures to 0C
      
      ; Custom settings are not defined
      
      ; Miscellaneous
      M501                                               ; load saved parameters from non-volatile memory
      M911 S10 R11 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000" ; set voltage thresholds and actions to run on power loss
      
      
      1 Reply Last reply Reply Quote 0
      • Phaedruxundefined
        Phaedrux Moderator
        last edited by

        Which Duet board?

        Can you send M122 and M98 P"config.g" in the gcode console and copy and paste the results here? That will give some additional information.

        If it's a 5v fan, how are you providing power to the fan ports? By default they would match VIN.

        @Drak said in Part Cooling Fan Setup:

        When i go to test the fan on the dashboard

        What exactly do you mean by this?

        Does the fan work if you send M106 P0 S1?

        Z-Bot CoreXY Build | Thingiverse Profile

        Drakundefined 1 Reply Last reply Reply Quote 0
        • Drakundefined
          Drak @Phaedrux
          last edited by

          @Phaedrux

          M122 results:

          M122
          === Diagnostics ===
          RepRapFirmware for Duet 2 WiFi/Ethernet version 3.4.1 (2022-06-01 21:05:28) running on Duet WiFi 1.02 or later + DueX5
          Board ID: 08DGM-956GU-DJMSN-6JKF0-3SJ6T-KBNRD
          Used output buffers: 3 of 26 (12 max)
          === RTOS ===
          Static ram: 23860
          Dynamic ram: 75300 of which 0 recycled
          Never used RAM 12920, free system stack 184 words
          Tasks: NETWORK(ready,12.4%,235) HEAT(notifyWait,0.0%,333) Move(notifyWait,0.0%,363) DUEX(notifyWait,0.0%,24) MAIN(running,86.0%,416) IDLE(ready,1.6%,30), total 100.0%
          Owned mutexes: WiFi(NETWORK)
          === Platform ===
          Last reset 00:00:49 ago, cause: software
          Last software reset at 2023-09-27 22:48, reason: User, GCodes spinning, available RAM 12920, slot 1
          Software reset code 0x0003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x0041f000 BFAR 0xe000ed38 SP 0x00000000 Task MAIN Freestk 0 n/a
          Error status: 0x00
          Aux0 errors 0,0,0
          Step timer max interval 0
          MCU temperature: min 32.7, current 33.9, max 34.3
          Supply voltage: min 12.2, current 12.2, max 12.4, under voltage events: 0, over voltage events: 0, power good: yes
          Heap OK, handles allocated/used 0/0, heap memory allocated/used/recyclable 0/0/0, gc cycles 0
          Events: 0 queued, 0 completed
          Driver 0: standstill, SG min n/a
          Driver 1: standstill, SG min n/a
          Driver 2: standstill, SG min n/a
          Driver 3: standstill, SG min n/a
          Driver 4: standstill, SG min n/a
          Driver 5: standstill, SG min n/a
          Driver 6: standstill, SG min n/a
          Driver 7: standstill, SG min n/a
          Driver 8: standstill, SG min n/a
          Driver 9: standstill, SG min n/a
          Driver 10: 
          Driver 11: 
          Date/time: 1970-01-01 00:00:00
          Cache data hit count 1702803860
          Slowest loop: 23.56ms; fastest: 0.18ms
          I2C nak errors 0, send timeouts 0, receive timeouts 0, finishTimeouts 0, resets 0
          === Storage ===
          Free file entries: 10
          SD card 0 detected, interface speed: 20.0MBytes/sec
          SD card longest read time 1.1ms, write time 0.0ms, max retries 0
          === Move ===
          DMs created 83, segments created 0, maxWait 0ms, bed compensation in use: none, comp offset 0.000
          === MainDDARing ===
          Scheduled moves 0, completed 0, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1
          === AuxDDARing ===
          Scheduled moves 0, completed 0, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1
          === Heat ===
          Bed heaters -1 -1 -1 -1, chamber heaters -1 -1 -1 -1, ordering errs 0
          === GCodes ===
          Segments left: 0
          Movement lock held by null
          HTTP is idle in state(s) 0
          Telnet is idle in state(s) 0
          File is idle in state(s) 0
          USB is idle in state(s) 0
          Aux is idle in state(s) 0
          Trigger is idle in state(s) 0
          Queue is idle in state(s) 0
          LCD is idle in state(s) 0
          Daemon is idle in state(s) 0
          Autopause is idle in state(s) 0
          Code queue is empty
          === DueX ===
          Read count 1, 1.21 reads/min
          

          M98 results:
          M98 P"config.g"
          HTTP is enabled on port 80
          FTP is disabled
          TELNET is disabled
          Error: Heater 1 not found
          Error: Heater 2 not found
          Error: Heater 4 not found
          Error: Heater 5 not found
          Error: Heater 6 not found
          Error: Heater 7 not found

          @Phaedrux said in Part Cooling Fan Setup:

          Which Duet board?

          Duet wifi 2 and Duex 5

          @Drak said in Part Cooling Fan Setup:

          When i go to test the fan on the dashboard

          What exactly do you mean by this?

          I meant that i tried moving the fan slider bar on the dashboard and nothing happens

          Does the fan work if you send M106 P0 S1?

          No nothing happens, when i plug the fan into always on 5v it turns on though.

          Phaedruxundefined 1 Reply Last reply Reply Quote 0
          • apakundefined
            apak
            last edited by

            picture of jumpers and fan connector on board....

            1 Reply Last reply Reply Quote 1
            • Phaedruxundefined
              Phaedrux Moderator @Drak
              last edited by

              @Drak said in Part Cooling Fan Setup:

              No nothing happens, when i plug the fan into always on 5v it turns on though.

              If it won't come on with a manual command then either the wiring is incorrect, or the fan mosfet for that header is damaged.

              Do you have a different fan to test on that header?

              Z-Bot CoreXY Build | Thingiverse Profile

              Drakundefined 1 Reply Last reply Reply Quote 0
              • Drakundefined
                Drak @Phaedrux
                last edited by

                @Phaedrux the fans came in a set of 4 so i tried another and had the same result. Should i try it on one of the duex 5 fan headers?

                1 Reply Last reply Reply Quote 0
                • Phaedruxundefined
                  Phaedrux Moderator
                  last edited by

                  yes trying a different header would be a good next step.

                  Z-Bot CoreXY Build | Thingiverse Profile

                  Drakundefined 1 Reply Last reply Reply Quote 0
                  • Drakundefined
                    Drak @Phaedrux
                    last edited by

                    @Phaedrux I tried connecting to the fan port 3 on the duex 5 board but i get this error when i run the m106 command

                    6034b044-fad5-4c5b-a323-83f7b03b9802-image.png
                    On my dashboard no fans appear:
                    53c41a59-9f24-4985-929c-2ed93b4dbc9d-image.png

                    here is my config

                    M552 S1                                        ; enable network
                    M586 P0 S1                                         ; enable HTTP
                    M586 P1 S0                                         ; disable FTP
                    M586 P2 S0                                         ; disable Telnet
                    M575 P1 B57600 S1
                    ; Drives
                    M584 X4 Y1:2 Z9:8 E0                                  ; set drive mapping
                    M569 P0 S0                                         ; physical drive 0 goes forwards
                    M569 P1 S0                                         ; physical drive 1 goes forwards
                    M569 P2 S0                                         ; physical drive 2 goes FORwards
                    M569 P3 S0                                         ; physical drive 3 goes forwards
                    M569 P5 S0  
                    M569 P6 S0                                         ; physical drive 3 goes forwards
                    M569 P7 S0                                         ; physical drive 3 goes forwards
                    M569 P8 S1                                         ; physical drive 3 goes forwards
                    M569 P9 S1    
                    M350 X16 Y16 Z16 E16 I1                            ; configure microstepping with interpolation
                    M92 X816.5 Y793.4 Z626.4 E100.00                  ; set steps per mm
                    M566 X500.00 Y500.00 Z60.00 E120.00                ; set maximum instantaneous speed changes (mm/min)
                    M203 X600.00 Y600.00 Z180.00 E1200.00            ; set maximum speeds (mm/min)
                    M201 X25.00 Y25.00 Z20.00 E250.00                ; set accelerations (mm/s^2)
                    M906 X800 Y800 Z800 E800 I30                       ; set motor currents (mA) and motor idle factor in per cent
                    M84 S30                                            ; Set idle timeout
                    
                    ; Axis Limits
                    M208 X0 Y0 Z0 S1                                   ; set axis minima
                    M208 X260 Y300 Z350 S0                             ; set axis maxima
                    
                    ; Endstops
                    
                    M574 X1 S1 P"!xstop"                                ; configure active-high endstop for low end on X via pin xstop
                    M574 Y1 S1 P"!ystop+!e0stop" ; configure active-high endstops for low end on Z via pins zstop and e1stop
                    
                    M574 Z1 S2                                         ; configure Z-probe endstop for low end on Z
                    
                    ; Z-Probe
                    M558 P5 C"^zprobe.in" H5 F120 T3000
                    
                    G31 X20 Y0 Z3 P25
                    
                    
                    M557 X15:250 Y15:300 S50                           ; define mesh grid
                    
                    ; Heaters
                    M140 H-1                                           ; disable heated bed (overrides default heater mapping)
                    M308 S0 P"e0temp" Y"thermistor" T100000 B4138      ; configure sensor 0 as thermistor on pin e0temp
                    M950 H0 C"e0heat" T0                               ; create nozzle heater output on e0heat and map it to sensor 0
                    M307 H0 B0 S1.00                                   ; disable bang-bang mode for heater  and set PWM limit
                    M143 H0 S260                                       ; set temperature limit for heater 0 to 260C
                    
                    ; Fans
                    
                    M950 F3 C"fan3" Q200 ; create fan 0 on pin fan0 and set its frequency
                    M106 P3 S0 H-1       ; set fan 0 value. Thermostatic control is turned off
                    
                    
                    ; Tools
                    M563 P0 D0 H0 F3 S"Main"                                      ; define tool 1
                    G10 P0 X0 Y0 Z0                                    ; set tool 1 axis offsets
                    G10 P0 R0 S0                                       ; set initial tool 1 active and standby temperatures to 0C
                    
                    ; Custom settings are not defined
                    
                    ; Miscellaneous
                    M501                                               ; load saved parameters from non-volatile memory
                    M911 S10 R11 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000" ; set voltage thresholds and actions to run on power loss
                    
                    
                    
                    1 Reply Last reply Reply Quote 0
                    • apakundefined
                      apak
                      last edited by apak

                      @Drak said in Part Cooling Fan Setup:

                      M950 F0 C"fan3" Q200 ; create fan 0 on pin fan0 and set its frequency
                      M106 P0 S0 H-1 ; set fan 0 value. Thermostatic control is turned off

                      ; Tools
                      M563 P0 D0 H0 F0 S"Main"

                      Try this better

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