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

    Duex5 fan voltage

    Scheduled Pinned Locked Moved Solved
    Duet Hardware and wiring
    4
    22
    698
    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.
    • reshundefined
      resh @jay_s_uk
      last edited by

      @jay_s_uk said in Duex5 fan voltage:

      @resh said in Duex5 fan voltage:

      M950 F3 C"fan3" Q500 ; create fan 1 on pin fan1 and set its frequency M106 P3 S1 H-1

      The M106 should be
      M106 P3 S1 H1 T45 assuming H1 is the heater number

      This will turn hotend fan on when needed instead of on all the time?

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

        Yes it will turn on fan3 when heater1 is over 45c.

        Z-Bot CoreXY Build | Thingiverse Profile

        reshundefined 1 Reply Last reply Reply Quote 0
        • reshundefined
          resh @Phaedrux
          last edited by

          @phaedrux Thanks for the help. I'm not getting fan3 to turn on when heater1 is over 45c. The part fan is always on so something might be wrong there.

          On duet I have the fan jumper on V_fan and VIN, and the part fan(24v) is connected to FAN0. On the duex5 I have the jumper on 12V and the hotend fan(12V) connected to FAN3.

          ; executed by the firmware on start-up
          ;
          ; generated by RepRapFirmware Configuration Tool v3.2.3 on Fri Feb 26 2021 10:46:02 GMT-0500 (Eastern Standard Time)
          
          ; General preferences
          G90                                            ; send absolute coordinates...
          M83                                            ; ...but relative extruder moves
          M550 P"My Printer"                             ; set printer name
          
          ; Network
          M552 S1                                        ; enable network
          M586 P0 S1                                     ; enable HTTP
          M586 P1 S0                                     ; disable FTP
          M586 P2 S0                                     ; disable Telnet
          
          ; Drives
          M569 P0 S1                                     ; physical drive 0 goes forwards s1 is forward s0 backwards
          M569 P5 S1
          M569 P6 S0                                     ; physical drive 1 goes forwards
          M569 P2 S1                                     ; physical drive 2 goes forwards
          M569 P3 S1
          M569 P4 S1 
          ; physical drive 3 goes forwards
          M584 X0 Y5:6 Z2:4 E3						   ; set drive mapping
          M671 X-20:290 Y0:0 S5 							;leadscrews at left (connected to Z) and right (connected to E1) of X axis
          M208 X10:300 Y0:180								;X carriage moves from -5 to 270, Y bed goes from 0 to 130
          M350 X16 Y16 Z16 E16 I1                        ; configure microstepping with interpolation
          M92 X80.00 Y53.33 Z397.6143 E420.00              ; set steps per mm
          M566 X900.00 Y900.00 Z60.00 E120.00            ; set maximum instantaneous speed changes (mm/min)
          M203 X6000.00 Y6000.00 Z400 E1200.00        ; set maximum speeds (mm/min)
          M201 X600.00 Y600.00 Z100 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 X310 Y310 Z180 S0                         ; set axis maxima
          
          ; Endstops
          M574 X2 S1 P"!xstop"                           ; configure active-high endstop for high end on X via pin !xstop
          M574 Y2 S1 P"!ystop+!e0stop"                           ; configure active-high endstop for high end on Y via pin !ystop
          M574 Z2 S2                                     ; configure Z-probe endstop for high end on Z
          
          ; Z-Probe                        ; create servo pin 0 for BLTouch
          M558 P9 C"^zprobe.in" H5 F120 T6000  ; set Z probe type to bltouch and the dive height + speeds
          M950 S0 C"duex.pwm5" 
          G31 P500 X-31.5 Y7 Z4.627                            ; set Z probe trigger value, offset and trigger height
          M557 X0:155 Y0:155 S20                       ; define mesh grid
          
          ; Heaters
          M308 S0 P"bedtemp" Y"thermistor" T100000 B3950 ; configure sensor 0 as thermistor on pin bedtemp
          M950 H0 C"bedheat" T0                          ; create bed heater output on bedheat and map it to sensor 0
          M307 H0 R0.135 C738.7 D1.34 S1.00 V23.5     ; enable bang-bang mode for the bed heater and set PWM limit
          M140 H0                                        ; map heated bed to heater 0
          M143 H0 S120                                   ; set temperature limit for heater 0 to 120C
          M308 S1 P"e0temp" Y"thermistor" T100000 B4725 C7.060000e-8  ; configure sensor 1 as thermistor on pin e0temp
          M950 H1 C"e0heat" T1                           ; create nozzle heater output on e0heat and map it to sensor 1
          M307 H1 B0 R2.039 C177.8 D6.23 S1.00 V24.0     ; disable bang-bang mode for heater  and set PWM limit
          M143 H1 S285                                   ; set temperature limit for heater 1 to 280C
          
          ; Fans
          M950 F0 C"fan0" Q500                           ; create fan 0 on pin fan0 and set its frequency
          M106 P0 S1 H-1                                 ; set fan 0 value. Thermostatic control is turned off
          M950 F3 C"fan3" Q500                           ; create fan 1 on pin fan1 and set its frequency
          M106 P3 S1 H1 T45                             ; set fan 1 value. Thermostatic control is turned on
          
          ; Tools
          M563 P0 D0 H1 F0 S"Extruder"                              ; define tool 0
          G10 P0 X0 Y0 Z0                                ; set tool 0 axis offsets
          G10 P0 R0 S0                                   ; set initial tool 0 active and standby temperatures to 0C
          
          ; Custom settings are not defined
          
          ; Miscellaneous
          M575 P1 S1 B57600 ;enable support for PanelDue
          T0						; Select first tool 
          
          
          Phaedruxundefined 1 Reply Last reply Reply Quote 0
          • Phaedruxundefined
            Phaedrux Moderator @resh
            last edited by

            @resh said in Duex5 fan voltage:

            M950 F3 C"fan3" Q500

            Change fan3 to duex.fan3

            Z-Bot CoreXY Build | Thingiverse Profile

            reshundefined 1 Reply Last reply Reply Quote 1
            • reshundefined
              resh @Phaedrux
              last edited by

              @phaedrux said in Duex5 fan voltage:

              M950 F3 C"fan3" Q500

              No luck with the change. I checked wiring again and it looks good.

              ; Configuration file for Duet WiFi (firmware version 3)
              ; executed by the firmware on start-up
              ;
              ; generated by RepRapFirmware Configuration Tool v3.2.3 on Fri Feb 26 2021 10:46:02 GMT-0500 (Eastern Standard Time)
              
              ; General preferences
              G90                                            ; send absolute coordinates...
              M83                                            ; ...but relative extruder moves
              M550 P"My Printer"                             ; set printer name
              
              ; Network
              M552 S1                                        ; enable network
              M586 P0 S1                                     ; enable HTTP
              M586 P1 S0                                     ; disable FTP
              M586 P2 S0                                     ; disable Telnet
              
              ; Drives
              M569 P0 S1                                     ; physical drive 0 goes forwards s1 is forward s0 backwards
              M569 P5 S1
              M569 P6 S0                                     ; physical drive 1 goes forwards
              M569 P2 S1                                     ; physical drive 2 goes forwards
              M569 P3 S1
              M569 P4 S1 
              ; physical drive 3 goes forwards
              M584 X0 Y5:6 Z2:4 E3						   ; set drive mapping
              M671 X-20:290 Y0:0 S5 							;leadscrews at left (connected to Z) and right (connected to E1) of X axis
              M208 X10:300 Y0:180								;X carriage moves from -5 to 270, Y bed goes from 0 to 130
              M350 X16 Y16 Z16 E16 I1                        ; configure microstepping with interpolation
              M92 X80.00 Y53.33 Z397.6143 E420.00              ; set steps per mm
              M566 X900.00 Y900.00 Z60.00 E120.00            ; set maximum instantaneous speed changes (mm/min)
              M203 X6000.00 Y6000.00 Z350 E1200.00        ; set maximum speeds (mm/min)
              M201 X600.00 Y600.00 Z90 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 X310 Y310 Z180 S0                         ; set axis maxima
              
              ; Endstops
              M574 X2 S1 P"!xstop"                           ; configure active-high endstop for high end on X via pin !xstop
              M574 Y2 S1 P"!ystop+!e0stop"                           ; configure active-high endstop for high end on Y via pin !ystop
              M574 Z2 S2                                     ; configure Z-probe endstop for high end on Z
              
              ; Z-Probe                        ; create servo pin 0 for BLTouch
              M558 P9 C"^zprobe.in" H5 F120 T6000  ; set Z probe type to bltouch and the dive height + speeds
              M950 S0 C"duex.pwm5" 
              G31 P500 X-31.5 Y7 Z4.627                            ; set Z probe trigger value, offset and trigger height
              M557 X0:155 Y0:155 S20                       ; define mesh grid
              
              ; Heaters
              M308 S0 P"bedtemp" Y"thermistor" T100000 B3950 ; configure sensor 0 as thermistor on pin bedtemp
              M950 H0 C"bedheat" T0                          ; create bed heater output on bedheat and map it to sensor 0
              M307 H0 R0.135 C738.7 D1.34 S1.00 V23.5     ; enable bang-bang mode for the bed heater and set PWM limit
              M140 H0                                        ; map heated bed to heater 0
              M143 H0 S120                                   ; set temperature limit for heater 0 to 120C
              M308 S1 P"e0temp" Y"thermistor" T100000 B4725 C7.060000e-8  ; configure sensor 1 as thermistor on pin e0temp
              M950 H1 C"e0heat" T1                           ; create nozzle heater output on e0heat and map it to sensor 1
              M307 H1 B0 R2.039 C177.8 D6.23 S1.00 V24.0     ; disable bang-bang mode for heater  and set PWM limit
              M143 H1 S285                                   ; set temperature limit for heater 1 to 280C
              
              ; Fans
              M950 F0 C"fan0" Q500                           ; create fan 0 on pin fan0 and set its frequency
              M106 P0 S1 H-1                                 ; set fan 0 value. Thermostatic control is turned off
              M950 F3 C"duex.fan3" Q500                           ; create fan 1 on pin fan1 and set its frequency
              M106 P3 S1 H1 T45                             ; set fan 1 value. Thermostatic control is turned on
              
              ; Tools
              M563 P0 D0 H1 F0 S"Extruder"                              ; define tool 0
              G10 P0 X0 Y0 Z0                                ; set tool 0 axis offsets
              G10 P0 R0 S0                                   ; set initial tool 0 active and standby temperatures to 0C
              
              ; Custom settings are not defined
              
              ; Miscellaneous
              M575 P1 S1 B57600 ;enable support for PanelDue
              T0						; Select first tool 
              
              1 Reply Last reply Reply Quote 0
              • Phaedruxundefined
                Phaedrux Moderator
                last edited by

                If you send M106 P3 S1 H-1 does the fan turn on?

                Z-Bot CoreXY Build | Thingiverse Profile

                reshundefined 1 Reply Last reply Reply Quote 0
                • reshundefined
                  resh @Phaedrux
                  last edited by

                  @phaedrux No, it didn't turn on

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

                    Are you sure you're connected to fan3 on the Duex?

                    Can you try with a different Duex fan port?

                    Does that fan work at all?

                    Z-Bot CoreXY Build | Thingiverse Profile

                    reshundefined 1 Reply Last reply Reply Quote 0
                    • reshundefined
                      resh @Phaedrux
                      last edited by

                      @phaedrux Changed to F4 but I also checked voltage out of the pins when hotend was above 45 and I'm getting no voltage. It's a brand new board. Also checked the jumper connection and it's good.

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

                        Are you saying it worked on fan4?

                        Z-Bot CoreXY Build | Thingiverse Profile

                        reshundefined 1 Reply Last reply Reply Quote 0
                        • reshundefined
                          resh @Phaedrux
                          last edited by

                          @phaedrux Sorry, it did not work on fan4. No voltage out of any fan headers on duex.

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

                            @resh what position do you have the DueX fan voltage selection jumper in? If it's in the 12V position, have you fitted the 12V regulator enable jumper?

                            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

                            reshundefined 1 Reply Last reply Reply Quote 0
                            • reshundefined
                              resh @dc42
                              last edited by

                              @dc42 said in Duex5 fan voltage:

                              @resh what position do you have the DueX fan voltage selection jumper in? If it's in the 12V position, have you fitted the 12V regulator enable jumper?

                              Duex fan voltage jumper is in the 12v position. I haven't done anything with a 12v regulator jumper. I see on the diagram jumper:INT 12V EN. If that's the jumper there's nothing in it. Thanks for the help.

                              reshundefined 1 Reply Last reply Reply Quote 0
                              • reshundefined
                                resh @resh
                                last edited by

                                Found the jumper and everything is working properly. I really appreciate everyone's help and patience with me.

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