• Tags
  • Documentation
  • Order
  • Register
  • Login
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.
  • undefined
    PeterA
    last edited by PeterA 31 Jan 2021, 09:52

    Hi all Help Appreciated. So I have everything except my Parts cooling fans working. I cannot get them to turn on when i use the fan slider in the web interface, nor on the panel due. The sliders work OK, in other words what i set the slider % to on the web interface is reflected on the panel due as the same.
    However even when i get the temps up on the hot end and even the bed, just in case, the fans do not rotate. I know they work as they where working with a slider on the old firmware, with assignment issues, but they worked. Any help appreciated.
    Below are the facts.

    • The fans are physically connected to the fan pin 1 not 0. For some reason pin 0 is faulty and hasn't worked, however pin 1 has.

    • The hot end fan is connected to always on and works fine.

    I have tried a number of config.g settings but no positive results. It almost like this pin is no not working as well. Not sure if there is something physical to look at like a fuse??

    here is part of my config.g settings and a pic.

    ; ##### Heaters #####
    ; ===================
    M308 S0 P"bedtemp" Y"thermistor" T100000 B4138 ; configure sensor 0 as thermistor on pin bedtemp
    M950 H0 C"bedheat" T0 ; create bed heater output on bedheat and map it to sensor 0
    M307 H0 A94.6 C545.4 D2.4 S1.00 V24.1 B0 ;PID tuning for Bed
    M140 H0 ; map heated bed to heater 0
    M143 H0 S120 ; set temperature limit for heater 0 to 120C
    M308 S1 P"e0temp" Y"thermistor" T100000 B4138 ; configure sensor 1 as thermistor on pin e0temp
    M950 H1 C"e0heat" T1 ; create nozzle heater output on e0heat and map it to sensor 1
    M307 H1 A309.5 C152.4 D4.9 S1 S1 V24.1 ;PID tuning for Nozzel
    M143 H1 S310 ; set temperature limit for heater 1 to 310C

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

    M950 F0 C"fan0" 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

    ; ##### Tools #####
    ; =================
    M563 P0 S"Mosquito" D0 H1 F0 ; define tool 0
    G10 P0 X0 Y0 Z0 ; set tool 0 axis offsets
    G10 P0 R0 S0 ; set initial tool 0 active and standby temperatures to 0C

    ab1f6c79-1dd4-4278-ad6f-48aa894440d9-image.png

    The fans work together in the red circle, that's OK. The problem is the parts cooling fans on fan pin 1 don't spin up.

    2f7b9b7b-c943-4107-983a-dfe92d32cb5c-image.png

    Any help or advice appreciated.

    1 Reply Last reply Reply Quote 0
    • undefined
      Veti
      last edited by 31 Jan 2021, 09:58

      @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?

      undefined 1 Reply Last reply 31 Jan 2021, 10:09 Reply Quote 0
      • undefined
        Veti
        last edited by 31 Jan 2021, 10:03

        @PeterA said in Fan Controll Issue:

        M950 F1 C"Parts Fan" Q500

        also Parts Fan is not a valid pin

        undefined 1 Reply Last reply 31 Jan 2021, 10:12 Reply Quote 0
        • undefined
          PeterA @Veti
          last edited by 31 Jan 2021, 10:09

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

          1 Reply Last reply Reply Quote 0
          • undefined
            Veti
            last edited by 31 Jan 2021, 10:11

            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
            • undefined
              PeterA @Veti
              last edited by 31 Jan 2021, 10:12

              @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?

              undefined 1 Reply Last reply 31 Jan 2021, 10:13 Reply Quote 0
              • undefined
                Veti @PeterA
                last edited by 31 Jan 2021, 10:13

                @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
                • undefined
                  Veti
                  last edited by 31 Jan 2021, 10:14

                  and dont change the f parameter

                  1 Reply Last reply Reply Quote 0
                  • undefined
                    PeterA
                    last edited by 31 Jan 2021, 10:16

                    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
                    • undefined
                      Veti
                      last edited by 31 Jan 2021, 10:16

                      again dont change the f parameter

                      1 Reply Last reply Reply Quote 0
                      • undefined
                        PeterA
                        last edited by 31 Jan 2021, 10:17

                        sorry didnt see that

                        1 Reply Last reply Reply Quote 0
                        • undefined
                          Veti
                          last edited by 31 Jan 2021, 10:18

                          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
                          • undefined
                            PeterA
                            last edited by 31 Jan 2021, 10:20

                            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
                            • undefined
                              PeterA
                              last edited by 31 Jan 2021, 10:22

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

                              1 Reply Last reply Reply Quote 0
                              • undefined
                                PeterA
                                last edited by PeterA 31 Jan 2021, 10:24

                                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
                                • undefined
                                  Veti
                                  last edited by 31 Jan 2021, 10:26

                                  @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
                                  • undefined
                                    PeterA
                                    last edited by PeterA 31 Jan 2021, 10:33

                                    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
                                    • undefined
                                      Veti
                                      last edited by 31 Jan 2021, 10:41

                                      issue
                                      M106 P0 S1

                                      see if the fan turns on.

                                      if not. try fan2 port

                                      1 Reply Last reply Reply Quote 0
                                      • undefined
                                        Veti
                                        last edited by 31 Jan 2021, 10:41

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

                                        1 Reply Last reply Reply Quote 0
                                        • undefined
                                          PeterA
                                          last edited by 31 Jan 2021, 10:46

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