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

    Help set up 2 Servo MG995 for Duet3 6HC

    Scheduled Pinned Locked Moved Solved
    Third-party add-ons
    3
    7
    218
    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.
    • witas777undefined
      witas777
      last edited by

      Re: Help to config Servo MG995 for Duet3 6HC

      I join the question: How to connect the second MG995 servo? I have a similar task with the author of the topic: I need to connect 2 servos to the Duet3 6HC. Please help

      1 Reply Last reply Reply Quote 0
      • Phaedruxundefined
        Phaedrux Moderator
        last edited by

        Did you see the answer at the end of that linked thread?

        Z-Bot CoreXY Build | Thingiverse Profile

        witas777undefined 1 Reply Last reply Reply Quote 0
        • witas777undefined
          witas777 @Phaedrux
          last edited by witas777

          @Phaedrux
          Thanks for the quick response.
          However, it didn't help me, apparently I have little experience.
          I am using a Duet 3 Mainboard 6HC (v1.01a) and an external 5V power supply.
          Accordingly, the plus and minus servos are connected to an external 5V power supply. I tried to connect the signal wire of the servo to the contacts "io4.out", I tried to connect it to "out8", but the servo still does not work.
          P.S.: I have tried all the ways that the author of the original topic tried.

          o_lampeundefined 1 Reply Last reply Reply Quote 0
          • Phaedruxundefined
            Phaedrux Moderator
            last edited by

            Please share your config and the results of M122.
            What configurations have you tried specifically?

            Z-Bot CoreXY Build | Thingiverse Profile

            1 Reply Last reply Reply Quote 0
            • o_lampeundefined
              o_lampe @witas777
              last edited by

              @witas777 said in Help set up 2 Servo MG995 for Duet3 6HC:

              Accordingly, the plus and minus servos are connected to an external 5V power supply. I tried to connect the signal wire of the servo to the contacts "io4.out", I tried to connect it to "out8", but the servo still does not work.

              Does the Duet power supply and the 5V supply share the same ground?

              witas777undefined 1 Reply Last reply Reply Quote 0
              • witas777undefined
                witas777 @o_lampe
                last edited by

                @o_lampe
                I found the solution! The problem was that I didn't have enough experience in basic electrical engineering.
                I needed to use the GPIO port, which supports PWM, to control the servo. However, I took only the "io4.out" wire from the GPIO port.
                When I connected the GND contact in the GPIO pad with a "-" 5V power supply with a separate wire, everything worked right away!
                Many thanks to everyone for participating!
                I think that this problem might not have happened for me if this moment had been described in more detail in the documentation on connecting servos.

                o_lampeundefined 1 Reply Last reply Reply Quote 1
                • Phaedruxundefined Phaedrux marked this topic as a question
                • Phaedruxundefined Phaedrux has marked this topic as solved
                • o_lampeundefined
                  o_lampe @witas777
                  last edited by

                  @witas777 said in Help set up 2 Servo MG995 for Duet3 6HC:

                  When I connected the GND contact in the GPIO pad with a "-" 5V power supply with a separate wire, everything worked right away!

                  In your case it might be OK to use a thin jumper wire to connect GNDs.
                  But in many cases it's better to connect GNDs directly between the power supplies with a thick wire. (search: usb cable melting )
                  Don't do both, because you might create a ground-loop which can cause other problems

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