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

    Duet2 Wifi 3-Wire Fan Commissioning Issues

    Scheduled Pinned Locked Moved Solved
    General Discussion
    2
    3
    70
    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.
    • JRCLundefined
      JRCL
      last edited by JRCL

      I'm attempting to connect a 3-wire 24V hotend fan to my Duet2 Wifi, running v3.3 connected to a 24VDC source. The fan jumper is on VIN and I have the positive and negative wires of the fan on FAN1. The tacho is connected to the cathode of a 1N4148 diode and anode to PB6 per recommendations. The fan turns on briefly when the board is powered up as expected; however, when I try to turn it on manually using M106 P1 T1 H1, it never does. Trying to rule out if its an issue with my config.g or in the hardware/wiring. Please ignore the lack of stepper, z-probe, axes limits, content that's been intentionally left out for now.

      Here is my config file, which is showing no issues in the console.

      ; Configuration file for Duet WiFi (firmware version 3.3)
      ; executed by the firmware on start-up
      
      ; General preferences
      M575 P1 S1 B57600                               ; enable support for PanelDue
      G90                                             ; send absolute coordinates...
      M83                                             ; ...but relative extruder moves
      M550 P"PrintTestBench"                              ; set printer name
      
      ; Network
      M552 S1                                         ; enable Wifi
      M586 P0 S1                                      ; enable HTTP
      M586 P1 S0                                      ; disable FTP
      M586 P2 S0                                      ; disable Telnet
      
      ; Drives
      M569 P0 S0         ; physical drive 0 goes backwards
      M569 P1 S0         ; physical drive 1 goes forwards
      M584 Y0 E1		   ; drive mapping
      
      ; Motor Speeds and Accelerations
      
      
      ; Axis Limits
      
      
      ; Endstops
      
      
      ; Z-Probe
      
      
      ; Heaters
      M308 S0 P"e0temp" Y"thermistor" T100000 B4725 C7.06e-8 ; configure sensor 1 as thermistor on pin e0temp
      M950 H0 C"e0heat" T0                                   ; create nozzle heater output on e0heat and map it to sensor 1
      M307 H0 B0 S1.00                                       ; disable bang-bang mode for heater  and set PWM limit
      M143 H0 S280                                           ; set temperature limit for heater 1 to 280C
      
      
      ;FANS
      ;Part Cooling
      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
      ;Heatsink
      M950 F1 C"fan1+^exp.pb6" Q500 ; create fan 1 on pin out4 and set its frequency
      M106 P1 S1 H1 T45      ; set fan 1 value. Thermostatic control is turned on
      
      
      Tools;
      M563 P0 D0 H0 F0 ; tool 0 uses extruder drive 0, heater 1 and fan 0 (part cooling fan)
      G10 P0 X0 Y0 Z0  ; set tool 0 axis offsets
      G10 P0 R0 S0     ; set initial tool 0 active and standby temperatures to 0C
      
      ; Epilogue
      M912 P0 S0                                         ; Put your CPU temperature sensor correction here
      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
      T0
      
      
      dc42undefined 1 Reply Last reply Reply Quote 0
      • JRCLundefined JRCL marked this topic as a question
      • dc42undefined
        dc42 administrators @JRCL
        last edited by dc42

        @JRCL said in Duet2 Wifi 3-Wire Fan Commissioning Issues:

        when I try to turn it on manually using M106 P1 T1 H1

        H1 means the fan is thermostatically controlled based on the reading from sensor 1, however you don't have a M308 command to define sensor 1.

        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

        JRCLundefined 1 Reply Last reply Reply Quote 0
        • JRCLundefined
          JRCL @dc42
          last edited by

          @dc42 I see! Changing my thermistor from sensor 0 to sensor 1 in the M308 pin fixed the issue. Thanks!

          1 Reply Last reply Reply Quote 0
          • JRCLundefined JRCL has marked this topic as solved
          • JRCLundefined JRCL has marked this topic as unsolved
          • JRCLundefined JRCL has marked this topic as solved
          • JRCLundefined JRCL has marked this topic as solved
          • First post
            Last post
          Unless otherwise noted, all forum content is licensed under CC-BY-SA