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

    Print FAN0 problem, works as always on?

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    4
    13
    1.1k
    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.
    • briskspiritundefined
      briskspirit
      last edited by briskspirit

      Hi all.

      I have connected 5V tool fans to FAN1 and FAN2, V for fans is 5V. My print fan is 24V, so I've connected black wire to GND FAN0 and red to VIN 24V. When I set S to 255 - fan is running at full. When I set to 0 - it is still running but half the speed... and can't turn it off. What am I doing wrong? Thanks.

      Edit: Duet 2 Wifi v1.04 , firmware latest RC5
      Edit 2: So it is working, but like from 50% to 100%
      Edit 3: Info about fan: 24V , 0.15A, brushless motor

      1 Reply Last reply Reply Quote 0
      • briskspiritundefined
        briskspirit
        last edited by

        As I understand that 1.04 has flyback diodes so the problem not in a failed MOSFET ? Anybody?

        1 Reply Last reply Reply Quote 0
        • aidarundefined
          aidar
          last edited by

          Hi. FAN0, FAN1 and FAN2 have pins VFAN and FAN- . If yours is connected to GND, are you sure it isnt "always on" fan connector?

          briskspiritundefined 1 Reply Last reply Reply Quote 0
          • briskspiritundefined
            briskspirit @aidar
            last edited by

            @aidar Yes, I am sure that air pump is connected to FAN0- (GND) and other wire(red) to 24V IN. And I can control it through web interface, but when I change the speed to 0% - it is actually seems like 50% at the air pump.

            1 Reply Last reply Reply Quote 0
            • aidarundefined
              aidar
              last edited by aidar

              Hmm...and i bet you dont have L parameter in M106 command. I would try to change PWM frequency, F parameter, as suggested in https://duet3d.dozuki.com/Wiki/Gcode#Section_M106_Fan_On.
              Also, thermostatically controlled fans min speed is 0.5, so make sure you didnt config it as thermostatically controlled.

              briskspiritundefined 1 Reply Last reply Reply Quote 0
              • briskspiritundefined
                briskspirit @aidar
                last edited by

                @aidar This is my setup: M106 P0 S0 I0 F100 H-1 (tried different F up to 25000)

                1 Reply Last reply Reply Quote 0
                • briskspiritundefined
                  briskspirit
                  last edited by

                  @dc42 help please. Do I need a flyback diode? (I thought 1.04 board don't need them). Do I need current restrictive thermistor? (But fan is running without problems)

                  1 Reply Last reply Reply Quote 0
                  • sigxcpuundefined
                    sigxcpu
                    last edited by

                    Type M106 P0 and post the output.

                    briskspiritundefined 1 Reply Last reply Reply Quote 0
                    • briskspiritundefined
                      briskspirit @sigxcpu
                      last edited by

                      @sigxcpu said in Print FAN0 problem, works as always on?:

                      M106 P0

                      Here is the output: Fan 0 pin: F0, frequency: 100Hz, speed: 0%, min: 10%, max: 100%, blip: 0.10, inverted: no

                      As I understand you have found my error? min: 10% ? How do I set it to 0% and where it was set as I don't have limits in my config.g

                      briskspiritundefined 1 Reply Last reply Reply Quote 0
                      • briskspiritundefined
                        briskspirit @briskspirit
                        last edited by

                        Set it to 0 with L parameter : Fan 0 pin: F0, frequency: 100Hz, speed: 0%, min: 0%, max: 100%, blip: 0.10, inverted: no

                        Still spinning and fast enough...

                        1 Reply Last reply Reply Quote 0
                        • briskspiritundefined
                          briskspirit
                          last edited by

                          Info about fan: 24V , 0.15A, brushless motor

                          1 Reply Last reply Reply Quote 0
                          • briskspiritundefined
                            briskspirit
                            last edited by

                            Ok, have found a problem. I have 5V FAN1, FAN2 and always-on fan + 24V brushless air pump. So I need to change V_FAN to 24V and use a convertor for my 5V fans or find source of 5V because(as I assume) of flyback diode.

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

                              @briskspirit said in Print FAN0 problem, works as always on?:

                              Ok, have found a problem. I have 5V FAN1, FAN2 and always-on fan + 24V brushless air pump. So I need to change V_FAN to 24V and use a convertor for my 5V fans or find source of 5V because(as I assume) of flyback diode.

                              That's right. When using controlled fans/pumps that take different voltages, V_FAN must be the highest one, otherwise the flyback diodes will conduct.

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