• Tags
  • Documentation
  • Order
  • Register
  • Login
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.
  • undefined
    elmoret
    last edited by 2 Nov 2016, 04:53

    I would make the argument that heaters capable of auto igniting a fire shouldn't be used without direct full supervision, but that's just me. 🙂

    1 Reply Last reply Reply Quote 0
    • undefined
      dc42 administrators
      last edited by 2 Nov 2016, 08:24

      @W3DRK:

      Unless you're able to "zero" your meter before measuring such a low value, figure about a quarter to half an ohms of resistance is in the probe leads themselves, so the motor is likely closer to about 4-4.25 ohms.

      Using Ohms law Volts = Current * Resistance, we can solve for current.

      So 12V = I (current) * R 4.25 ohms

      12V/4.25ohm = 2.82A

      That's about 2.8 to maybe 3 amps of in-rush current depending on your probes. That's obviously not the most accurate way of calculating inrush current, but it should be pretty ballpark.

      The fan mosfet is rated at 4.4A for up to 5 seconds at 25C ambient temperature with 4.5V gate drive. The rating will be a little lower at 3.3V gate drive or if the board is warm, but probably still sufficient. If you want to reduce the inrush current, you could connect an inrush current limiting thermistor such as B57153S0200M0 in series with the pump.

      You definitely need to use a flyback diode when driving a brushed motor.

      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

      1 Reply Last reply Reply Quote 0
      • undefined
        kraegar
        last edited by 2 Nov 2016, 13:00

        I've ordered a pwm/mosfet board to drive the motor, so that'll keep it off the duet. I'll look into getting the mosfet on my duet replaced, and for now, just use the next fan channel.

        Is there a way to make m106 default to fan1? Or do I have to force that in gcode?

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

        1 Reply Last reply Reply Quote 0
        • undefined
          dc42 administrators
          last edited by 2 Nov 2016, 13:16

          Currently there isn't a gcode to map fan channels. I am considering adding fan mapping on a tool-by-tool basis in a future firmware release.

          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

          1 Reply Last reply Reply Quote 0
          • undefined
            kraegar
            last edited by 2 Nov 2016, 13:25

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

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

            1 Reply Last reply Reply Quote 0
            • undefined
              dc42 administrators
              last edited by 2 Nov 2016, 15:26

              Fan mapping will be supported in 1.16 beta 11 using a new F parameter on the M563 command.

              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

              1 Reply Last reply Reply Quote 0
              • undefined
                kraegar
                last edited by 2 Nov 2016, 16:53

                @dc42:

                Fan mapping will be supported in 1.16 beta 11 using a new F parameter on the M563 command.

                Excellent, thanks.

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

                1 Reply Last reply Reply Quote 0
                • undefined
                  peridot
                  last edited by 2 Nov 2016, 18:18

                  @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
                  • undefined
                    kraegar
                    last edited by 3 Nov 2016, 02:05

                    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
                    • undefined
                      kraegar
                      last edited by 4 Nov 2016, 14:56

                      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
                      • undefined
                        deckingman
                        last edited by 4 Nov 2016, 15:45

                        @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
                        • undefined
                          kraegar
                          last edited by 4 Nov 2016, 15:53

                          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 11 Apr 2016, 16:31 4 Nov 2016, 16:31

                            @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
                            • undefined
                              kraegar
                              last edited by 4 Nov 2016, 16:37

                              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
                              • undefined
                                elmoret
                                last edited by 4 Nov 2016, 20:12

                                @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
                                • undefined
                                  kraegar
                                  last edited by 4 Nov 2016, 20:56

                                  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
                                  • undefined
                                    Qdeathstar
                                    last edited by 26 Nov 2016, 14:36

                                    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 26 Nov 2016, 15:16

                                      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
                                      • undefined
                                        Qdeathstar
                                        last edited by 26 Nov 2016, 17:20

                                        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 26 Nov 2016, 19:07

                                          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
                                          • First post
                                            Last post
                                          Unless otherwise noted, all forum content is licensed under CC-BY-SA