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

    I was having a hard time getting my fans wired and working.

    Scheduled Pinned Locked Moved Solved
    Duet Hardware and wiring
    4
    22
    707
    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.
    • ROBOZILLAundefined
      ROBOZILLA @Phaedrux
      last edited by

      @Phaedrux
      I didn't realise how hard to read it was till I looked closer.

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

        @ROBOZILLA said in I was having a hard time getting my fans wired and working.:

        M88 ;BUT RELATIVE EXTRUDER MOVES

        M88 isn't a valid gcode. I think you want M83 for relative extrusion.

        I dont know why I need looks like marlin just added thinking it might work with my slicer. It might be for pi users I set use millameters too.

        M555 P2 ; SET OUTPUT TO LOOK LIKE MARLIN

        marlin mode just sends an OK after a command is received for compatibility with things like octoprint. that's the default mode. Nothing to worry about.

        ; Fans
        M950 F0 C"out4" Q500 ; create fan 0 on pin out4 and set its frequency
        M106 P0 S0 H-1 ; set fan 0 value. Thermostatic control is turned off
        M950 F1 C"out5" Q500 ; create fan 1 on pin out5 and set its frequency
        M106 P1 S0 H1 T45 ; set fan 1 value. Thermostatic control is turned on

        ; Tools
        M563 P0 S"Extruder" D0 H1 F0:1 ; 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

        So you have fan 0 defined as a part cooling fan connected to Out4. So far so good.

        Then you have Fan 1 defined as a thermostatically controlled fan for the hotend connected to out5. that's good.

        Then your tool is set to use both fan 0 and 1 for the part fan, which is not so good.

        Change M563 P0 S"Extruder" D0 H1 F0:1 to remove the :1 at the very end.

        Now in your photo of the wiring it looks like you are using out4 and out5. that's good, but it looks like you are only connecting the ground pin and the tach pin. Are these 4 wire fans?

        Compare to the wiring diagram here: https://duet3d.dozuki.com/Wiki/Duet_3_Mainboard_6HC_Wiring_Diagram

        If these are only 2 wire fans, use out7 and out8 instead and change the M950 pin name to match.

        https://duet3d.dozuki.com/Wiki/Duet_3_Mainboard_6HC_Hardware_Overview#Section_Heating_Fans

        Z-Bot CoreXY Build | Thingiverse Profile

        ROBOZILLAundefined 2 Replies Last reply Reply Quote 0
        • ROBOZILLAundefined
          ROBOZILLA @Phaedrux
          last edited by

          @Phaedrux
          Ok yes I hooked up wrong type of fans to out 4/5. I had mentioned that I was using 3 wire fans. I just didin't hook up yellow wire.

          I looked in my PC parts and found a 4 wire fan. Just to check. Hooked up on out 5 and it cam on high then went to med and stayed on. It also did this on 4/6 same results.

          Ok wired fans to out 7/8 changed g code as directed. Extruder fan nothing. Used panel due to get extruder to temp nothing. I did get blips from my own wired led like when I had fan on out 5 when temp hit 45c but no go. Went back to the due and tryed to toggal fan that showed up nothing. tryed to toggal in slicer nothing. Part or extruder. The 4 wire fan on out 4 still on.

          1 Reply Last reply Reply Quote 0
          • ROBOZILLAundefined
            ROBOZILLA @Phaedrux
            last edited by

            @Phaedrux
            Before you say inline led or wiring. Pluged a compleatly differant fan in out 8 nothing. heated Extruder to 50c at 45 you can see the fan blip but no go.

            1 Reply Last reply Reply Quote 0
            • Vetiundefined
              Veti @ROBOZILLA
              last edited by

              @ROBOZILLA said in I was having a hard time getting my fans wired and working.:

              M308 S0 P"temp0" Y"thermistor" T100000 B4138 ; configure sensor 0 as thermistor on pin temp0
              M308 S1 P"temp1" Y"thermistor" T100000 B4388 ; configure sensor 1 as thermistor on pin temp1

              on a side note. your thermistor config is wrong. 4138 is the default and most likely wrong.
              What thermistor is 4388 ?

              1 Reply Last reply Reply Quote 0
              • ROBOZILLAundefined
                ROBOZILLA
                last edited by

                4388 saw that for E3d V6 some where. I made some prints temp looks and acts good have a ir thermomiter seams to read a little low. I do have a sock on and it wasn't made for high temp. Reads bed ok.

                Vetiundefined 1 Reply Last reply Reply Quote 0
                • Vetiundefined
                  Veti @ROBOZILLA
                  last edited by

                  @ROBOZILLA

                  E3D hotends use Semitec 104-gt2 if you set it in the configurator you get B4725 C7.060000e-8

                  ROBOZILLAundefined 2 Replies Last reply Reply Quote 0
                  • ROBOZILLAundefined
                    ROBOZILLA @Veti
                    last edited by

                    @Veti
                    I might have seen that as well. I wase't going to change it at all. I am wrighting down this note thou. I will see what happens.

                    Thanks.

                    1 Reply Last reply Reply Quote 0
                    • ROBOZILLAundefined
                      ROBOZILLA @Veti
                      last edited by

                      @Veti
                      4388 was for old firmwair. I made the change.

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

                        @Phaedrux said in I was having a hard time getting my fans wired and working.:

                        M106 P1 S0 H1 T45 ; set fan 1 value. Thermostatic control is turned on

                        Change the S0 to S1. That might do it for the thermostatic fan.

                        Z-Bot CoreXY Build | Thingiverse Profile

                        ROBOZILLAundefined 1 Reply Last reply Reply Quote 0
                        • ROBOZILLAundefined
                          ROBOZILLA @Phaedrux
                          last edited by

                          @Phaedrux Both fans work. Thanks for the help! So the out 4-6 more for case fans?

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

                            @ROBOZILLA said in I was having a hard time getting my fans wired and working.:

                            So the out 4-6 more for case fans?

                            They're for any low voltage output, not just fans. If you don't need PWM and tach pins, they would be more appropriate on those ports.

                            Z-Bot CoreXY Build | Thingiverse Profile

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