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

    Servo moves very unreliably

    Scheduled Pinned Locked Moved
    General Discussion
    3
    7
    311
    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.
    • Eumldeumlundefined
      Eumldeuml
      last edited by

      Good evening (or whatever time it is at your place)!
      Some days ago I finished my dual printhead with one retractable nozzle which is lifted by a servo.
      The problem is that neither the tool change macro nor a manual command moves the servo reliably.
      I do have a delay after the M280 command and all the axes are homed. I can't really reproduce when and if the error occurs and apart from the servo not moving, nothing seems wrong.
      My board is a Duet WiFi 1.04c. The servo is connected to 5V and heater pin 7 on the expansion header (not the expansion board).

      When I tried the mechanism out of the printer I used one of these simple servo tester devices and there wasn't a single time when the servo didn't respond so it has to be something within the Duet.
      Anyone ever experienced something like this? Which places should I look at next?

      Thanks in advance! 🙂

      1 Reply Last reply Reply Quote 0
      • dc42undefined
        dc42 administrators
        last edited by

        I guess it's just possible that your servo doesn't work properly on 3.3V signal levels when powered with 5V, although most RC servos are OK on 3V signals or lower. Can you provide a link to the datasheet for the servo?

        Another possibility is that you have a bad crimp connection in the cable between the servo and the Duet.

        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
        • Eumldeumlundefined
          Eumldeuml
          last edited by

          I'm not sure why it could be powered by 3.3V.. The servo is connected to plus and minus (pin 1 and 2) on the expansion header (which are +5V according to the wiring diagram) and pin 31 which corresponds to heater7 PWM.
          The servo is a XLD-9HMB from New Power for which I could not find an useful datasheet. Maybe the servo is just garbage, I don't really know...

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

            @Eumldeuml said in Servo moves very unreliably:

            pin 31 which corresponds to heater7 PWM

            this is a 3.3V signal

            www.duet3d.com

            1 Reply Last reply Reply Quote 0
            • Eumldeumlundefined
              Eumldeuml
              last edited by

              Alright, now I understand. Are there any 5V PWM pins that I can use?

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

                @Eumldeuml not directly, you can level shift the PWM signal. however it would be easier to try another servo first, there are many people who have hobby servos working with 3.3V PWM

                www.duet3d.com

                1 Reply Last reply Reply Quote 0
                • Eumldeumlundefined
                  Eumldeuml
                  last edited by

                  I'll try that! Thanks so much for your support! 🙂

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