Analog Feedback Servo Motor - Improved Servo Performance
Today we are going to explore the use of a special type of servo motor - an Analog Feedback Servo Motor.
Article with code: https://dbot.ws/afservo
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 something 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:
00:00 - Introduction
04:03 - Analog Feedback Servo Motor
07:54 - Calibrating the Servo Motor
13:44 - Servo Memory Sketch
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.
"Never trust a computer you can’t throw out a window." — Steve Wozniak