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

    Duet2 Wifi & Always On (+24V) & exp.heater(?) (gnd)

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    5
    20
    441
    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.
    • alankilianundefined
      alankilian
      last edited by alankilian

      HERE'S the document describing how to connect and control fans.

      HERE'S the M106 description.

      The gcode command to set the fan speed is M106 Pnn Svv where
      nn is the fan number (default 0 if the P parameter is not present) and 
      vv is the required speed.
      
      The speed can be expressed either in the range 0 to 1, or in the range 0 to 255. A value of 1 or less will be assumed to be in the range 0 to 1. A value of 0 corresponds to off, and a value of 1 or 255 corresponds to full speed.
      

      So, it seems like you're configuring things correctly.

      Maybe you need to invert your PWM?

      From HERE:

      M950 F2 C"!fan2+^pb6" ; Fan 2 uses the Fan2 output, but we are using a PWM fan so the output needs to be inverted ...
      
      Reefwarriorundefined 3 Replies Last reply Reply Quote 0
      • Reefwarriorundefined
        Reefwarrior @alankilian
        last edited by

        @alankilian Thank you for the reply. I have tried, with no luck so far. The fan is on, and there is no change at all in speed, irrelevant of what I attempt....

        1 Reply Last reply Reply Quote 0
        • Reefwarriorundefined
          Reefwarrior @alankilian
          last edited by

          @alankilian Thanx! Will try, and revert back! 🙂

          1 Reply Last reply Reply Quote 0
          • alankilianundefined
            alankilian
            last edited by

            This post is deleted!
            1 Reply Last reply Reply Quote 0
            • Reefwarriorundefined
              Reefwarrior @alankilian
              last edited by

              @alankilian Nope, no joy.

              1 Reply Last reply Reply Quote 0
              • alankilianundefined
                alankilian
                last edited by alankilian

                The only thing else I can think of is to check your wiring and make sure you are connected to the signal you think you are.

                Reefwarriorundefined 1 Reply Last reply Reply Quote 0
                • Reefwarriorundefined
                  Reefwarrior @alankilian
                  last edited by

                  @alankilian Did double check. Not the issue...

                  1 Reply Last reply Reply Quote 0
                  • A Former User?
                    A Former User @Reefwarrior
                    last edited by

                    @Reefwarrior said in Duet2 Wifi & Always On (+24V) & exp.heater(?) (gnd):

                    Now I would like to use the PWM signal from one of the expansion headers (eg. exp.heater3 or exp.heater6).

                    is this a 4 wire fan or a mosfet module? not sure how much current the pwm signal would need but the duet is offering around 2mA

                    Reefwarriorundefined 1 Reply Last reply Reply Quote 0
                    • Reefwarriorundefined
                      Reefwarrior @A Former User
                      last edited by

                      @bearer It's a normal 2 wire fan - one red; one black wire. 24V, 0.04A

                      A Former User? 1 Reply Last reply Reply Quote 0
                      • A Former User?
                        A Former User @Reefwarrior
                        last edited by

                        Can't run that off the expansion port pins without a mosfet module or something else to drive the fan. (0.04A is (much) more than 0.002A)

                        Reefwarriorundefined 1 Reply Last reply Reply Quote 0
                        • Reefwarriorundefined
                          Reefwarrior
                          last edited by

                          Alternatively, will it work if I just add a resistor between the fan and the ground terminal? I have another fan connected on one of the PWM pins (Fan02); and it is much more quiet than this fan on the 'always on'. I have swapped out fans, and it is definitely not the fan itself.

                          1 Reply Last reply Reply Quote 0
                          • Reefwarriorundefined
                            Reefwarrior @A Former User
                            last edited by

                            @bearer Thanx didn't know. Any other suggestions then?

                            1 Reply Last reply Reply Quote 0
                            • A Former User?
                              A Former User
                              last edited by A Former User

                              The only other buffered pin is the z probe modulate thing, but iirc the 74125 is only good for +-20mA so nowhere near enough.

                              You need some sort of external components like a mosfet or anything else that can drive the fan from the 2mA available from the expansion port.

                              (edit: Or possibly look into how much current you need to to drive the PWM signal for a 4-wire fan, the whole point of the 4-wire fan is to control the fan speed with a small signal, but how small idk)

                              Reefwarriorundefined 2 Replies Last reply Reply Quote 0
                              • Vetiundefined
                                Veti
                                last edited by Veti

                                you can run the fan off the second heater port.

                                edit nevermind its in use i see.

                                1 Reply Last reply Reply Quote 0
                                • Reefwarriorundefined
                                  Reefwarrior @A Former User
                                  last edited by

                                  @bearer Thanx! 🙂

                                  1 Reply Last reply Reply Quote 0
                                  • Reefwarriorundefined
                                    Reefwarrior @A Former User
                                    last edited by

                                    @bearer will this work:

                                    https://www.aliexpress.com/item/4000609702577.html?af=1422847&utm_campaign=1422847&aff_platform=portals-tool&utm_medium=cpa&afref=https%3A%2F%2Fwww.aliexpress.com%2F&dp=4651966008c5a60c0b06264e0681cdf8&spm=a2g0s.9042311.0.0.27424c4dt3QhCv&cv=47843&pvid=8ebba769-e24d-47cb-9324-0deaddc6ffb7&mall_affr=pr3&sk=_ePNSNV&aff_trace_key=efdb998653994ca8930c9c96637e4dae-1606807195292-01157-_ePNSNV&rmsg=do_not_replacement&scm=1007.23534.123999.0&terminal_id=53f7561c6dbb427981dce44979abb78d&utm_source=admitad&utm_content=47843

                                    1 Reply Last reply Reply Quote 0
                                    • A Former User?
                                      A Former User
                                      last edited by A Former User

                                      it says signal range 3.3v so if that is true it will work; if not for the real possibility that your order is shipped with a different mosfet than the one I've got here I'd test it and report back.

                                      (edit: it says dual mosfet, but it can only control one fan btw - it just mean there are two mosfet in parallel to control large loads)

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

                                        @Reefwarrior said in Duet2 Wifi & Always On (+24V) & exp.heater(?) (gnd):

                                        Can I connect the + of the fan to the + of the always on, and the - to the exp.heater6?

                                        No, that will probably damage the processor. You would be applying 24V through the fan to a pin that is tolerant of about 3.8V max. You need to use an external mosfet driven from the exp.heater6 to switch the fan.

                                        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
                                        • Reefwarriorundefined
                                          Reefwarrior
                                          last edited by

                                          Thank you for the help! Working like a charm! 🙂

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