• Tags
  • Documentation
  • Order
  • Register
  • Login
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.
  • undefined
    Dericka
    last edited by 18 Apr 2021, 02:07

    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.

    undefined 1 Reply Last reply 18 Apr 2021, 04:30 Reply Quote 0
    • undefined
      zapta @Dericka
      last edited by 18 Apr 2021, 04:30

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

      undefined 1 Reply Last reply 18 Apr 2021, 04:46 Reply Quote 0
      • undefined
        Dericka @zapta
        last edited by 18 Apr 2021, 04:46

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

        undefined undefined 2 Replies Last reply 18 Apr 2021, 07:33 Reply Quote 0
        • undefined
          o_lampe @Dericka
          last edited by o_lampe 18 Apr 2021, 07:33

          @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
          • undefined
            Dericka
            last edited by 18 Apr 2021, 21:12

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

            duetservowiring.jpg

            undefined 1 Reply Last reply 18 Apr 2021, 23:03 Reply Quote 0
            • undefined
              zapta @Dericka
              last edited by 18 Apr 2021, 23:03

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

              undefined 1 Reply Last reply 19 Apr 2021, 00:25 Reply Quote 0
              • undefined
                Dericka @zapta
                last edited by 19 Apr 2021, 00:25

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

                undefined 1 Reply Last reply 19 Apr 2021, 03:33 Reply Quote 0
                • undefined
                  zapta @Dericka
                  last edited by 19 Apr 2021, 03:33

                  @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
                  • undefined
                    zapta @Dericka
                    last edited by 19 Apr 2021, 16:38

                    @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

                    undefined 1 Reply Last reply 20 Apr 2021, 12:47 Reply Quote 3
                    • undefined
                      Dericka @zapta
                      last edited by 20 Apr 2021, 12:47

                      @zapta @Phaedrux

                      That would be great and help me a lot!

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