Article with code:
More articles & Tutorials:
Chat about this on the Forum:
Join the Newsletter:
Follow on GitHub:
We have used servo motors in many of our projects and tutorials, and for many good reasons. When you need a method of precisely positioning someting a servo motor is an expensive and effective solution.
The small analog servo motors we have used before have three leads - power, ground, and a control signal. The latter is a connection that accepts a PWM signal and uses it to position the motor shaft to a specific position. And, in most cases, this works great.
But sometimes we need to know the exact position of the motor shaft, which may or may not correspond to the position we asked it to move to. External forces can move the shaft into another position, or the shaft may still be moving into position.
The Analog Feedback Servo Motor is a solution to this problem. This is essentially a standard servo motor that has a connection brought out from its internal feedback potentiometer. The feedback connection allows you to monitor the shaft position in “real-time”, so you always know exactly where it is.
An interesting benefit of this type of servo motor is that it can also be used as an input device. This is great for projects like a robot arm, where you can manually guide the arm through some specific movements and then play them back. Essentially this is a servo system that can memorize and repeat its movements.
I’ll be working with the S1213 Analog Feedback Servo Motor today. I’ll show you how to calibrate it, and I’ll also run a net sketch from Adafruit that can memorize servo movements and play them back.
Here is what we will cover today:
Analog Feedback Servo Motor - 4:03
Calibrating the Servo Motor - 7:54
Servo Memory Sketch - 13:44
You can actually modify a standard servo motor to become an analog feedback servo motor, but it’s a lot easier just to buy one - they are not that much more expensive than a regular servo.
Hopefully, this video and the accompanying article will give you some inspiration to start using this unique component in your own designs. If you want to chat about this jump onto the DroneBot Workshop forums and let us know what you think!
0 Yorumlar