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

    Fan Controll Issue

    Scheduled Pinned Locked Moved
    General Discussion
    2
    37
    1.5k
    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.
    • Vetiundefined
      Veti
      last edited by

      @PeterA said in Fan Controll Issue:

      The fans are physically connected to the fan pin 1 not 0

      M950 F0 C"fan0" Q500 ; create fan 0 and fan1 on pin0 and set its frequency

      do you see the problem?

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

        @PeterA said in Fan Controll Issue:

        M950 F1 C"Parts Fan" Q500

        also Parts Fan is not a valid pin

        PeterAundefined 1 Reply Last reply Reply Quote 0
        • PeterAundefined
          PeterA @Veti
          last edited by

          @Veti
          Not sure, is the F) meant to read F1?
          Im no programmer.

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

            you said its connected to pin 1 but you configured pin0 "fan0" is the pin on the board

            1 Reply Last reply Reply Quote 0
            • PeterAundefined
              PeterA @Veti
              last edited by

              @Veti said in Fan Controll Issue:

              Parts Fan

              Ok so should it read

              M950 F1 C'fan1" Q500
              and then
              M950 F1 C"fan1" Q500

              or do i just put that in once?

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

                @PeterA said in Fan Controll Issue:

                if you connect the second fan to always on you can not control it.

                therefore the config to control the fan is not required

                delete

                M950 F1 C"Parts Fan" Q500 ; create fan on pin1 and set its frequency
                M106 P1 S1 L41 X255 B1 H1 T45 ; set fan 1 name and value. Thermostatic control is turned on

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

                  and dont change the f parameter

                  1 Reply Last reply Reply Quote 0
                  • PeterAundefined
                    PeterA
                    last edited by

                    Thank ok ill delete it. then do i change the other code to
                    M950 F1 C"fan1" Q500

                    Its not my field o expertise?

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

                      again dont change the f parameter

                      1 Reply Last reply Reply Quote 0
                      • PeterAundefined
                        PeterA
                        last edited by

                        sorry didnt see that

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

                          if you change the config. its a good idea to read the documentation what the parameters do.
                          e.g
                          https://duet3d.dozuki.com/Wiki/Gcode#Section_M950_Create_heater_fan_or_GPIO_servo_pin

                          1 Reply Last reply Reply Quote 0
                          • PeterAundefined
                            PeterA
                            last edited by

                            Ok I'm trying this, hope I understood correctly, I've been through that document but I'm not getting it I guess. Its not through lack of trying 😉

                            ; ##### Fans #####
                            ; =================

                            M950 F0 C"fan1" Q500 ; create fan 0 and fan1 on pin0 and set its frequency
                            M106 P0 S0 H-1 ; set fan 0 name and value. Thermostatic control is turned off
                            ;M950 F1 C"Parts Fan" Q500 ; create fan on pin1 and set its frequency
                            ;M106 P1 S1 L41 X255 B1 H1 T45 ; set fan 1 name and value. Thermostatic control is turned on

                            1 Reply Last reply Reply Quote 0
                            • PeterAundefined
                              PeterA
                              last edited by

                              It's not working. Or did I misunderstand and I cant control them??

                              1 Reply Last reply Reply Quote 0
                              • PeterAundefined
                                PeterA
                                last edited by PeterA

                                The tool fan or hot end fan is always on and i don't want to control that, the parts cooling fan is connected to the pin in the diagram that i circled, and that's the one i want to control. I can not get them to come on at all anymore.

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

                                  @PeterA said in Fan Controll Issue:

                                  The tool fan or hot end fan is always on and i don't want to control that, the parts cooling fan is connected to the pin in the diagram that i circled, and that's the one i want to control. I can not get them to come on at all anymore.

                                  check that the fan is working by connecting it to the always on fan.

                                  however, if you for example swapped the polarity by mistake and connect the fan, you can blow the mosfet. then the port will either stay on or off, depending on how the mosfet failed.

                                  1 Reply Last reply Reply Quote 0
                                  • PeterAundefined
                                    PeterA
                                    last edited by PeterA

                                    Thanks, I didn't change the connections and it was working, I'm not sure. The first pin Pin0 failed a while back so if you say the config is ok then I guess i have a failed mosfet. Not sure if that's changeable, I've changed a few on my Arduino board.

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

                                      issue
                                      M106 P0 S1

                                      see if the fan turns on.

                                      if not. try fan2 port

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

                                        and just to be sure. you restarted the duet after you made those changes?

                                        1 Reply Last reply Reply Quote 0
                                        • PeterAundefined
                                          PeterA
                                          last edited by

                                          Thanks ill go try, the software rebooted the duet, ill try turn in off and on physically now

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

                                            @PeterA said in Fan Controll Issue:

                                            M308 S0 P"bedtemp" Y"thermistor" T100000 B4138 ; configure sensor 0 as thermistor on pin
                                            M308 S1 P"e0temp" Y"thermistor" T100000 B4138 ; configure sensor 1 as thermistor on pin e0temp

                                            also B4138 is incorrect. find the correct beta value in your thermistor documentation.

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