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

    Duet-Wifi Fans won't turn off

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    9
    40
    7.0k
    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.
    • peridotundefined
      peridot
      last edited by

      @kraegar:

      Alright. I've scripted it in my slicer to control P1, so no biggie.

      Can I ask which slicer you used for this? I can't figure out how to make slic3r's fan control control anything but the first fan.

      1 Reply Last reply Reply Quote 0
      • kraegarundefined
        kraegar
        last edited by

        Simplify3d has the ability to run post processing scripts on your gcode.

        Co-Creator of the RailcoreII CoreXY printer
        https://www.thingiverse.com/thing:2407174

        1 Reply Last reply Reply Quote 0
        • kraegarundefined
          kraegar
          last edited by

          So I got this: https://amzn.com/B01J78FX9S

          Thinking I could connect it to 12v in, and run the 12v out to the motor, and connect the fan control to the signal / ground on it.

          Unfortunately, it's always on when connected that way. Anyone know if I can use a PWM controller like this to accomplish what I'm trying to do?

          Co-Creator of the RailcoreII CoreXY printer
          https://www.thingiverse.com/thing:2407174

          1 Reply Last reply Reply Quote 0
          • deckingmanundefined
            deckingman
            last edited by

            @peridot:

            @kraegar:

            Alright. I've scripted it in my slicer to control P1, so no biggie.

            Can I ask which slicer you used for this? I can't figure out how to make slic3r's fan control control anything but the first fan.

            You can run scripts from Slic3R but that's a bit complex for this task. What I would do is slice as normal then just use a simple search and replace using notepad++ to change the P0 commands to P1.

            HTH

            Ian
            https://somei3deas.wordpress.com/
            https://www.youtube.com/@deckingman

            1 Reply Last reply Reply Quote 0
            • kraegarundefined
              kraegar
              last edited by

              In s3d the "script" is:

              {REPLACE "M106" "M106 P1"}

              Co-Creator of the RailcoreII CoreXY printer
              https://www.thingiverse.com/thing:2407174

              1 Reply Last reply Reply Quote 0
              • botundefined
                bot
                last edited by

                @kraegar:

                In s3d the "script" is:

                {REPLACE "M106" "M106 P1"}

                In S3D, if you go to Tools>Firmware Configuration>FFF you will be given some fields to alter what the fan on and off commands are. Presumably, you could add the P1 thing there, but I've never tried it.

                *not actually a robot

                1 Reply Last reply Reply Quote 0
                • kraegarundefined
                  kraegar
                  last edited by

                  Ah, nice, that's even easier. Thanks!

                  Co-Creator of the RailcoreII CoreXY printer
                  https://www.thingiverse.com/thing:2407174

                  1 Reply Last reply Reply Quote 0
                  • elmoretundefined
                    elmoret
                    last edited by

                    @kraegar:

                    So I got this: https://amzn.com/B01J78FX9S

                    Thinking I could connect it to 12v in, and run the 12v out to the motor, and connect the fan control to the signal / ground on it.

                    Unfortunately, it's always on when connected that way. Anyone know if I can use a PWM controller like this to accomplish what I'm trying to do?

                    It looks like that expects the PWM on the high side, not the low side. The Duet switches the low side.

                    I think you could attach a ~10k resistor between the fan terminals, run - from the fan to the + input of the board you bought and - from the power supply to the - input of the board you bought, but I'd have dc42 confirm that before proceeding.

                    You'd also need to invert the PWM signal in firmware/g-code if you do that.

                    1 Reply Last reply Reply Quote 0
                    • kraegarundefined
                      kraegar
                      last edited by

                      Yeah, I ordered a different board. I have a workable solution in place for now.

                      Co-Creator of the RailcoreII CoreXY printer
                      https://www.thingiverse.com/thing:2407174

                      1 Reply Last reply Reply Quote 0
                      • Qdeathstarundefined
                        Qdeathstar
                        last edited by

                        Sadly, I too have lost the ablitty to turn off P0 because of the berdAir fan….. Worked fine on the RAMBO board i was using, but not on the duet. I know DC42 said that fan mapping is supported using "F parameter" on the M563 command, so would it be something like:

                        ;M563 P0 D0 H1 //default setting, P0 mosfet damaged, so:
                        M563 P2 D0 H1 //use P2 output instead

                        now, Heater one is using fan 2 as the part fan? And, would an SSR be an appropriate way to drive the fan?

                        1 Reply Last reply Reply Quote 0
                        • T3P3Tonyundefined
                          T3P3Tony administrators
                          last edited by

                          The way to map the fan to a specific tool:

                          http://reprap.org/wiki/G-code#M563:_Define_or_remove_a_tool

                          Is with the specific "F" command.

                          So for tool 0 but with fan 2:

                          M563 P0 D0 H1 F2

                          www.duet3d.com

                          1 Reply Last reply Reply Quote 0
                          • Qdeathstarundefined
                            Qdeathstar
                            last edited by

                            Oh, makes sense now…

                            Is there any compelling reason to fix the f0 mosfet if I'm not using than many fans?

                            1 Reply Last reply Reply Quote 0
                            • T3P3Tonyundefined
                              T3P3Tony administrators
                              last edited by

                              As long as it's not failed in a way that means it is getting hot or causing a short on the board that makes the board misbehave then no need.

                              www.duet3d.com

                              1 Reply Last reply Reply Quote 0
                              • kraegarundefined
                                kraegar
                                last edited by

                                FYI - it's crazy overkill for this use, but this is what I ended up using: http://a.co/hpcQl1r

                                Lets me drive the air pump with PWM, works great, and absolutely can handle the draw. A bit spendy compared to other options.

                                I may actually pick up another for my bed, though. Works great.

                                Co-Creator of the RailcoreII CoreXY printer
                                https://www.thingiverse.com/thing:2407174

                                1 Reply Last reply Reply Quote 0
                                • Qdeathstarundefined
                                  Qdeathstar
                                  last edited by

                                  I just got an SSR, workes fine. But, Mhackney posted that as a suggestion for me to use as well, but specifically recommended against using that for a heated bed, since they fail in the ON postion which might cause a fire.

                                  He recommends this:

                                  http://www.auberins.com/index.php?main_page=product_info&cPath=2_30&products_id=288

                                  1 Reply Last reply Reply Quote 0
                                  • kraegarundefined
                                    kraegar
                                    last edited by

                                    Interesting note, thanks.

                                    Co-Creator of the RailcoreII CoreXY printer
                                    https://www.thingiverse.com/thing:2407174

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