🤖Have you ever tried Chat.M5Stack.com before asking??😎
    M5Stack Community
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Question about servos

    SOFTWARE
    4
    5
    4.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.
    • D
      Delchi
      last edited by

      Are there any servos out there that are capable of reporting back what their current angle is? I know there are ways of tracking with code and other tricks, I'm just curious if there is a servo that will tell you if asked.

      teastainT 1 Reply Last reply Reply Quote 0
      • teastainT
        teastain @Delchi
        last edited by

        @delchi RC servos are local closed loop (under their shell body) and will accurately go where you command, but as you know they do not provide feedback, like a Motion Control or Robotic servo. You have to trust that you sent it to 45 degrees and that it made it, but if it binds on the load you will not know. You may have to attach a encoder to that axis, like an Industrial Robot.

        Cheers, Terry!

        100% M5Stack addict with several drawers full of product!

        1 Reply Last reply Reply Quote 0
        • D
          Delchi
          last edited by

          That's some good info. Is it possible that if it binds that it can cause the controller to shut off? I'm having an issue with that.

          What I ended up doing is making 'servo_init' function that inits the servo making it go to it's home of 90 degrees, then setting a variable and updating it each time I move the servo.

          I'm open to using other servos that keep track of such things, but I dont' see any for sale on the M5stack website and would be clueless on how to attach them / address them.

          1 Reply Last reply Reply Quote 0
          • H
            holofloh
            last edited by

            This may help you in this case: https://learn.adafruit.com/analog-feedback-servos.

            1 Reply Last reply Reply Quote 0
            • ajb2k3A
              ajb2k3
              last edited by

              Yes and James Briton uses them a lot but I can’t for the life of me remember their name.

              UIFlow, so easy an adult can learn it!
              If I don't know it, be patient!
              I've ether not learned it or am too drunk to remember it!
              Author of the WIP UIFlow Handbook!
              M5Black, Go, Stick, Core2, and so much more it cant be fit in here!

              1 Reply Last reply Reply Quote 0
              • First post
                Last post