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

    M950 to add servo control

    Scheduled Pinned Locked Moved
    Firmware wishlist
    3
    20
    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.
    • T3P3Tonyundefined
      T3P3Tony administrators @moth4017
      last edited by

      @moth4017 so this would be a hybrid "fan" where its the fan + a servo motor as a single addressable device?

      whats the relationship between the ream fan speed PWM % and this composite fan flap%? Presumably the CPAP fan is not just set to 100% and the flab varied exclusively (or is it?)

      www.duet3d.com

      moth4017undefined 1 Reply Last reply Reply Quote 0
      • moth4017undefined
        moth4017 @T3P3Tony
        last edited by

        @T3P3Tony fan speed stays the same the flap varies the output 0 to 100%

        <

        T3P3Tonyundefined 1 Reply Last reply Reply Quote 0
        • T3P3Tonyundefined
          T3P3Tony administrators @moth4017
          last edited by

          @moth4017 Ok, when does the fan turn on/off? Is that a separate command or just when the "composite fan" is set above 0?

          www.duet3d.com

          moth4017undefined 1 Reply Last reply Reply Quote 0
          • moth4017undefined
            moth4017 @T3P3Tony
            last edited by

            @T3P3Tony
            cpap/fan , controlled via A fan output,
            servo Controlled via A fan output
            Flap homing via digital input

            required 2 fan outputs and 1 input in total

            <

            T3P3Tonyundefined 1 Reply Last reply Reply Quote 0
            • T3P3Tonyundefined
              T3P3Tony administrators @moth4017
              last edited by

              @moth4017 ok, but what would the configuration command look like and the control.command?

              Presumably M106 for control?

              www.duet3d.com

              jay_s_ukundefined 1 Reply Last reply Reply Quote 0
              • jay_s_ukundefined
                jay_s_uk @T3P3Tony
                last edited by

                @T3P3Tony I would suggest M106 for control, with M950 being able to set a minimum and maximum servo angle for 0 and 100%

                Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

                moth4017undefined 1 Reply Last reply Reply Quote 0
                • moth4017undefined
                  moth4017 @jay_s_uk
                  last edited by

                  @jay_s_uk
                  so M950 set min & max angel
                  and
                  M106 still be 0 to 100%

                  <

                  jay_s_ukundefined 1 Reply Last reply Reply Quote 1
                  • jay_s_ukundefined
                    jay_s_uk @moth4017
                    last edited by

                    @moth4017 yea exactly, so M106 is able to extrapolate an angle for an M106 percentage based on the min and max in M950

                    Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

                    T3P3Tonyundefined 1 Reply Last reply Reply Quote 0
                    • T3P3Tonyundefined
                      T3P3Tony administrators @jay_s_uk
                      last edited by

                      @jay_s_uk @moth4017 so M106 S0 sets the servo and the fan to 0, M106 S0.1 sets the fan to 100% and the servo to 10% ?

                      www.duet3d.com

                      jay_s_ukundefined 1 Reply Last reply Reply Quote 0
                      • jay_s_ukundefined
                        jay_s_uk @T3P3Tony
                        last edited by

                        @T3P3Tony yes, something like that. maybe with the ability to set the % for the fan you want to use.
                        e.g.
                        M950 S0 "servo+fan" K10:90 U90
                        where K is the min/max angle and U is the fan percentage
                        Its a bit tight on what letters are available on M950 so I had to reuse a couple

                        Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

                        T3P3Tonyundefined 1 Reply Last reply Reply Quote 0
                        • T3P3Tonyundefined
                          T3P3Tony administrators @jay_s_uk
                          last edited by

                          @jay_s_uk ok the numbers would be for @dc42 to decide but I get the general idea.

                          Are there any other examples of these sorts of "composite" devices that come to mind?

                          www.duet3d.com

                          jay_s_ukundefined 1 Reply Last reply Reply Quote 0
                          • jay_s_ukundefined
                            jay_s_uk @T3P3Tony
                            last edited by

                            @T3P3Tony none that come to mind that I've seen

                            Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

                            T3P3Tonyundefined 1 Reply Last reply Reply Quote 0
                            • T3P3Tonyundefined
                              T3P3Tony administrators @jay_s_uk
                              last edited by

                              @jay_s_uk was hoping for some nice generalisation of the concept. Oh well.

                              www.duet3d.com

                              jay_s_ukundefined 1 Reply Last reply Reply Quote 0
                              • jay_s_ukundefined
                                jay_s_uk @T3P3Tony
                                last edited by

                                @T3P3Tony maybe its a bit like "if you build it they will come"
                                I don't keep track of most of the cooling options though TBH as I'm mostly CPAP now

                                Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

                                moth4017undefined 1 Reply Last reply Reply Quote 0
                                • moth4017undefined
                                  moth4017 @jay_s_uk
                                  last edited by

                                  @jay_s_uk @T3P3Tony I have 2 applications for this cooling and venting, I sometimes need to vent the printer chamber through a carbon filter because of the fumes ,but can only do this when the chamber is cool enough for the activated carbon, I'm sure there will be other uses, as always I

                                  <

                                  T3P3Tonyundefined 1 Reply Last reply Reply Quote 0
                                  • T3P3Tonyundefined
                                    T3P3Tony administrators @moth4017
                                    last edited by

                                    @moth4017 that feels like something that can be done with metagcode already (,the chamber venting if the chamber sensor is below a certain temperature)

                                    www.duet3d.com

                                    moth4017undefined 1 Reply Last reply Reply Quote 0
                                    • moth4017undefined
                                      moth4017 @T3P3Tony
                                      last edited by

                                      @T3P3Tony i still need to control a vent/solenoid / servo as my chamber is sealed , i just thought it would be away to kill 2 birds one stone 🙂

                                      <

                                      T3P3Tonyundefined 1 Reply Last reply Reply Quote 0
                                      • T3P3Tonyundefined
                                        T3P3Tony administrators @moth4017
                                        last edited by

                                        @moth4017 This is logged in GitHub now:
                                        https://github.com/Duet3D/RepRapFirmware/issues/1092

                                        T3P3 created this issue in Duet3D/RepRapFirmware

                                        open Allow support of composite Fans #1092

                                        www.duet3d.com

                                        moth4017undefined 1 Reply Last reply Reply Quote 0
                                        • moth4017undefined
                                          moth4017 @T3P3Tony
                                          last edited by

                                          @T3P3Tony thank you 🙂

                                          <

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