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

Number of fans limited by firmware?

Scheduled Pinned Locked Moved
General Discussion
7
15
617
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
    TechNi
    last edited by TechNi 18 Jul 2021, 08:40

    With the new Duet 3, you can add basically infinite expansion boards. There's probably a limit somewhere but currently it seems like it's being dictated by the firmware and not the hardware?

    I have LEDs on my printer which are seen by the firmware as "fans". I have the problem that I am running out of numbers. Apparently 16 fans are already too much as I am getting the following error:

    M950: parameter 'F' too high
    

    I can't define M950 F16 or F17 but I need two more fans. And I have plenty of free sockets thanks to the expansion boards. But the firmware seems to limit this. Is there any workaround or update coming to solve this matter?

    undefined undefined 2 Replies Last reply 18 Jul 2021, 09:50 Reply Quote 0
    • undefined
      peter247 @TechNi
      last edited by 18 Jul 2021, 09:50

      @techni Why don't you use Neopixels leds where you can have 60 or more with just 1 pin.

      Ender 5 plus linear rail and hemera powered by duet 2 wifi , CR10s pro v1 with bltouch mostly stock , BLV mgn Cube slowly being built powered by duet 3 mini 5+

      1 Reply Last reply Reply Quote 0
      • undefined
        Phaedrux Moderator
        last edited by Phaedrux 18 Jul 2021, 16:15

        Maybe create it as a switchable IO pin instead and use M42 to control them?

        https://duet3d.dozuki.com/Wiki/Using_servos_and_controlling_unused_IO_pins

        M950 P instead of F

        Z-Bot CoreXY Build | Thingiverse Profile

        1 Reply Last reply Reply Quote 0
        • undefined
          dc42 administrators @TechNi
          last edited by 18 Jul 2021, 16:35

          @techni these are the current limits for Duet 3 systems:

          // Limits of Duet 3 systems
          constexpr size_t MaxSensors = 56;						// limited by the size of bitmap we can store in an ExpressionValue
          constexpr size_t MaxHeaters = 32;
          constexpr size_t MaxMonitorsPerHeater = 3;
          
          constexpr size_t MaxZProbes = 4;
          constexpr size_t MaxZProbeProgramBytes = 8;				// maximum number of bytes in a Z probe program
          
          constexpr size_t MaxFans = 16;
          
          constexpr size_t MaxGpOutPorts = 32;					// increased as requested by Jimmykc
          
          // The following currently don't need to be known by expansion boards, but might in future
          constexpr size_t MaxGpInPorts = 16;
          constexpr size_t MaxSpindles = 2;						// maximum number of configurable spindles
          

          I can increase MaxFans in the next 3.4beta.

          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

          undefined 2 Replies Last reply 18 Jul 2021, 16:55 Reply Quote 0
          • undefined
            TechNi @dc42
            last edited by TechNi 18 Jul 2021, 16:55

            @dc42 said in Number of fans limited by firmware?:

            I can increase MaxFans in the next 3.4beta.

            That would be cool! I guess there's a good reason for these limitations but I am sure the Duet can handle this.

            @peter247 Neopixels are kinda expensive compared to "normal" LED strips and I'd like to be flexible.

            @Phaedrux Did not know you could do that, thanks!

            1 Reply Last reply Reply Quote 0
            • undefined
              TechNi @dc42
              last edited by 16 Aug 2021, 18:28

              @dc42 Hey dc42, I know minor issues like this are not exactly a priority on your list but any chance that this is now fixed in the new RRF 3.4.0 beta 2? I did not find anything in the changelog. Would greatly appreciate this small fix. Thanks!

              undefined undefined 2 Replies Last reply 16 Aug 2021, 19:30 Reply Quote 0
              • undefined
                bot @TechNi
                last edited by 16 Aug 2021, 19:30

                @techni see if you can follow the build instructions, and modify the value yourself and compile. It shouldn't be too hard.

                *not actually a robot

                1 Reply Last reply Reply Quote 0
                • undefined
                  kb58
                  last edited by 16 Aug 2021, 19:35

                  If any of these fans are turned on and off at the same time, just wire them in parallel, first checking of course that the driver can handle the total current.

                  Scratch-built 350mmx350mm coreXY, linear rails, ballscrews, 3 Z axis, Duet3 6HC, v3.3, Tool Board v1.1, BondTech LGX + Mosquito hot end

                  1 Reply Last reply Reply Quote 0
                  • undefined
                    dc42 administrators @TechNi
                    last edited by 16 Aug 2021, 20:13

                    @techni I will increase the maximum number of fans to 20 in the next beta.

                    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 1
                    • undefined
                      TechNi
                      last edited by 25 Aug 2021, 08:24

                      @dc42 Morning, was this finally solved in RRF 3.4b3?

                      undefined 1 Reply Last reply 25 Aug 2021, 08:51 Reply Quote 0
                      • undefined
                        dc42 administrators @TechNi
                        last edited by 25 Aug 2021, 08:51

                        @techni said in Number of fans limited by firmware?:

                        @dc42 Morning, was this finally solved in RRF 3.4b3?

                        Yes, I increased the maximum to 20.

                        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

                        undefined 1 Reply Last reply 25 Aug 2021, 10:23 Reply Quote 0
                        • undefined
                          TechNi @dc42
                          last edited by 25 Aug 2021, 10:23

                          @dc42 Many thanks!

                          1 Reply Last reply Reply Quote 0
                          • undefined
                            TimMacey
                            last edited by 31 May 2022, 11:57

                            I have an application that needs 24 fans. Is there a means to do this? I'm running a 6HC MB with 7x 3HC extension boards.

                            undefined 2 Replies Last reply 31 May 2022, 12:40 Reply Quote 0
                            • undefined
                              dc42 administrators @TimMacey
                              last edited by 31 May 2022, 12:40

                              @timmacey currently (using RRF 3.4) you could only be able to control 20 at once as fans, but you could configure the remaining 4 as GpOut pins and control them using M42. I can increase the maximum number of fans in RRF 3.5.

                              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
                                dc42 administrators @TimMacey
                                last edited by 22 Nov 2024, 11:24

                                @TimMacey the maximum number of fans was increased to 32 in RRF 3.5.

                                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