Analog Feedback Servo Motor - Improved Servo Performance
Вставка
- Опубліковано 1 сер 2024
- Today we are going to explore the use of a special type of servo motor - an Analog Feedback Servo Motor.
Article with code: dronebotworkshop.com/analog-f...
More articles & Tutorials: dronebotworkshop.com
Chat about this on the Forum: forum.dronebotworkshop.com
Join the Newsletter: dronebotworkshop.com/subscribe/
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. If you want to chat about this jump onto the DroneBot Workshop forums and let us know what you think! - Навчання та стиль
Yet another brilliant video! Production, sound and content are superb, as well as your teaching style. Thanks very much.
Just a quick note to say thank you for all the videos. I have learned SO MUCH from them.
Never thought about using a servo as input - very cool. Thks
Best channel on ever, well explain and very professional thanks for your time
16:00 saying is
pinMode(aPin, INPUT) + digitalWrite(aPin, HIGH) = pinMode(aPin, INPUT_PULLUP)
this lead to activating the internal pull-up resistor
If a digital pin is configured as an INPUT, digitalWrite() will enable (HIGH) or disable (LOW) the internal pullup on the input pin
Outstanding video in every way, Thank you for producing it.
Awesome 👍
Thanks for sharing such an amazing tutorial on servo.
New to your channel, and have enjoyed all that you do. Your vids are really clear and easy to follow. thanks for posting great content.
Hey Bill. Good to see you back.
loving your tool wall! awesome vids, thanks!
cool, this will make a great annimation for props,
Great vid, wish you would of opened the servo up and shown the internal difference between that one and a standard, would of been fun to watch you mod a standard servo to have this function also
This was a very cool video, thank you
Amazing channel!
very inspiring video , thank you Sir !
cool instruction!
excellent tutorial .thanks
You are great sir
This is great!...now to teach it to weld for me.
Well Done!!
got dang mang
this is a very well put video sir!
I like it. Very helpful video 👍
thank you Sir
That's cool. I don't have a use for it but, it looks something to play around with.
thank you
VERY GOOD!!
Thank you for the great video!
What is really annoying about casual servos is when Arduino starts we can only guess the position of a servo, but do not know it, so we usually need to reset it to some position, which happens pretty fast and looks like servo is about to kill itself with a sudden movement.
(Hi from Ukraine!)
very true..... God damn every fking time.
Another excellent pedagogical vid, thanks
The scheme rests entirely on the quality of the pot, its precision, linearity, and wear pattern, so are highest quality pots necessary?
AWESOME information perhaps we can use DB1 to record a specific path that we need DB1 to follow each time, from a start point to an ending point, then back to home, if we flip-flop the recorded sequence to return DB1 to the original start point, Umh... I will continue this discussion on the forum (maybe call it "Servo as INPUT Path", does anyone have any suggestions as to what it will take to do this?
Thanks
Great channel!!! Do you have any video about an analog isolator? That is, the input ranges from 0 to 5 volts and the output follows the range input 0 to 5 DCV. I appreciate!!!
Nice
Thanx sir
like it...thanks
Great! Are there servos with negligible resistance to turning by hand? I’m thinking motorized volume control.
Thanks for your tutorial, but
do you provide lesson program for us to learn?
Спасибо было интересно !
Google translated : Thanks, it was interesting
How do you overcome the noise issue in the analog feedback? The servo feedback signal changes erratically even when the servo is not moving, as I have seen it from previous experience.
Rather than a pot, would it not be better to use a variable capacitor? I'm thinking pots have wipers that are likely to wear and change resistance over time.
On an arduino, a Capacitive sensing library should be able to read position of capacitor.
how do you have such a clean workbench , you are making the rest of us look bad !
Hello,
Great vidéo !
Is it possible to do this with an FB5311-360M ?
I'm thinking your description of the resistor as a 'dropping resistor' be changed to 'current limit' resistor, as that really is its function..
great dear sir. i can copy my trip servo and repeat it. thank you so much
thank sir how much load it can handles
The servo is moving in 5 degree intervals between 0 and 180 degrees. What is the unit of the feedback value?
Is it possible to convert the saved output to g-code? Thanks!
Hi Sir,
I am doing some reserch about making my own motion simulator using diy build actuators with servo motors. I will be controlling the servo motor with Simtools software through arduino.
As far as i know, the servo motor on the actuator should have encoder, but what kind of encoder ? can you help me out please.
What should i ask to the manufacturer for the specifications?
hi! i cant rearch your sity nor forum ( are there any restrictions for countries ? and where to buy servo shown ?
I know this is old, but does this playback the sequence with the same speed you moved the motor ? i.e you move the shaft slow then move it fast, will it replay it at the same speeds you did ?
How to make stepper motor run as servo motor with potentiometer??plz help
How to make by push button forward and reverse direction through it ardiuno, by push two button
Can I use DXW90 Servo for this
Sorry, what's the difference with the Servo.read() function?
The best way to thank this modest teacher www.patreon.com/dronebotworkshop/overview
Can we get analog read from a continuous rotation servo?
And is that possible to recording and playing back servo motion with a continuous rotation servo without push button?
I came here looking for info on this too. I’ve seen a 360 servo with the extra feedback wire for sale, but it’s not clear if it’s exact position can be set like with non-360 servos.
Could you make a video to explain how to modify a standard servo motor to become an analog feedback servo motor?
It’s not really worth the hassle. It’s literally one extra while added to the same servo setup. Pennies extra.
Good lessen Bill. One question for you, should there not be a Vcc / 5 volt to the UNO ?
Greatings from the Netherlands.
Bill has the UNO plugged into his computer via a USB cable so that he can use the Serial Monitor functions. So the UNO is getting its 5 volt power from the computer.
Thanks, I was looking at the blue parts layout. Learned again from this series 😉
Where can I buy this servo?
Interesting. I'm not too familar with servos. Is the any problems with blowback voltage when moving the servo by hand?
there could be if you move it too fast.
@@TuttleScott Thanks. Do you know if this modified servo accounts for that?
Does manually turning the shaft generate electricity, that may damage components?
Or does manually turning the servo motor otherwise damage the motor.
I am trying to create a manual override for safety.
Suspect it puts strain on the gears which is why most recommend not to manually turn it. Plastic gears probably aren’t up to the job.
Is there any advantage to using pinMode INPUT and then asserting high, over using pinMode INPUT_PULLUP?
It depends on your schematics. It's streightforward -- if device( e.g. switch) connected to your input is never "floating" i.e. contains internal pull-up/pull-down resistor-- you can use regular INPUT pinMode. Otherwise you should use INPUT_PULLUP. This will guarantee that if device is not returning stable values( e.g. when button is not pushed), the pin will be PULLED-UP to internal buil-in 20k-150k resistor in microcontroller and return you stable value instead of the enviromental noise.
You can read official documentation here www.arduino.cc/en/Tutorial/DigitalPins
P.S. Also, please pay attention to PIN13 -- on majority of Arduino compatible boards this pin is also connected to onboard LED. That's why you don't want to use it with INPUT_PULLUP mode.
No, disadvantage yes it takes 2 instructions (more code) rather then 1 instruction
Congratulations from Belgium but why a return wire for information when you know the number of steps servo can directly send to a specific position.
@dothemathright 1111 I search the internet I see no one can buy this type of servo?
You are confusing this servo motor with a stepper motor they are different. Servo takes a analog input Stepper takes a digital input.
my servo wont move manually, how to enable manual movement? i am using PCA9685
I’m guessing use a servo with lower torque rating
They're so expensive. The cheapest I could find was $14.95 CAD.
Please can you check my query on your video re power supply. I am asking what fuses you used. I live in South Africa and am trying to make my own power supply. Thank you. Chris Borchardt
It does not accept PWM
its only compatible with it
please make dc motor + encoder = dc servo motor and arduino dc servo driver project on youtube. and please explain share with us. thank you.
some explanation is interesting, but with a lot of chatter witch is a disadvantage & bad explanation of internal pullup resistors