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

    servo wiring with external power source to the duet2

    Scheduled Pinned Locked Moved Unsolved
    Duet Hardware and wiring
    3
    10
    638
    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.
    • Derickaundefined
      Dericka
      last edited by

      Hey all, im looking for a wiring diagram on how to correctly connect a servo motor to a duet2 with an external power source.

      I want to connect a buck step down module like LM2596 to the 24V power supply and use it to power a 5V servo and also connect the duet2 to the same 24V power supply and control the servo via the duet2.

      I grateful to all for the help.

      zaptaundefined 1 Reply Last reply Reply Quote 0
      • zaptaundefined
        zapta @Dericka
        last edited by

        @dericka, does this help? https://duet3d.dozuki.com/Wiki/Using_servos_and_controlling_unused_IO_pins

        Derickaundefined 1 Reply Last reply Reply Quote 0
        • Derickaundefined
          Dericka @zapta
          last edited by

          @zapta I have already read through this page. Unfortunately, I could not find any information on how to properly connect an external power source for the servo.

          o_lampeundefined zaptaundefined 2 Replies Last reply Reply Quote 0
          • o_lampeundefined
            o_lampe @Dericka
            last edited by o_lampe

            @dericka
            Connect

            • servoGND with GND (doesn't matter where, since the buckdown converter uses common GND already) (*)
            • servo Vin with 5V
            • servo signal with Duet output pin

            *) if you want to go safe, wire DuetGND to ConverterGND and then connect ServoGND with DuetGND, but as I wrote above, the GNDs should be common already.

            1 Reply Last reply Reply Quote 0
            • Derickaundefined
              Dericka
              last edited by

              My current solution looks like this. I left the jumper "JUMPER: INT 5V EN" plugged in.

              duetservowiring.jpg

              zaptaundefined 1 Reply Last reply Reply Quote 0
              • zaptaundefined
                zapta @Dericka
                last edited by

                @dericka, since the (-) input and output fo the buck converter are shorted, you seem to have a ground loop.

                Derickaundefined 1 Reply Last reply Reply Quote 0
                • Derickaundefined
                  Dericka @zapta
                  last edited by

                  @zapta OK, I hope I have understood correctly
                  duetservowiring2.jpg

                  zaptaundefined 1 Reply Last reply Reply Quote 0
                  • zaptaundefined
                    zapta @Dericka
                    last edited by

                    @dericka, I would keep the ground wire between the duet and the buck converter and remove the one between the power supply and the buck converter. Motivation: this will result in cleaner signal to the servo since it's ground is more related to the Duet's.

                    Any expert here wants to chime in?

                    1 Reply Last reply Reply Quote 0
                    • zaptaundefined
                      zapta @Dericka
                      last edited by

                      @dericka said in servo wiring with external power source to the duet2:

                      I could not find any information on how to properly connect an external power source for the servo.

                      @Phaedrux , since the doc has a long discussion of power issues and mentions that "Both issues can be avoided by powering the servo from a separate +5 supply.", maybe adding a recommended wiring diagram there may help. Just a suggestion.

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

                      Derickaundefined 1 Reply Last reply Reply Quote 3
                      • Derickaundefined
                        Dericka @zapta
                        last edited by

                        @zapta @Phaedrux

                        That would be great and help me a lot!

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