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!
  • Навчання та стиль

КОМЕНТАРІ • 83

  • @MrBanzoid
    @MrBanzoid 3 роки тому +6

    Yet another brilliant video! Production, sound and content are superb, as well as your teaching style. Thanks very much.

  • @ElChocoLoco
    @ElChocoLoco Рік тому

    Just a quick note to say thank you for all the videos. I have learned SO MUCH from them.

  • @RelentlessHomesteading
    @RelentlessHomesteading 4 роки тому +2

    Never thought about using a servo as input - very cool. Thks

  • @aldoperez8721
    @aldoperez8721 4 роки тому +4

    Best channel on ever, well explain and very professional thanks for your time

  • @bobyla13
    @bobyla13 4 роки тому +9

    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

  • @glennfelpel9785
    @glennfelpel9785 4 роки тому

    Outstanding video in every way, Thank you for producing it.

  • @yawarsaeed6499
    @yawarsaeed6499 4 роки тому +1

    Awesome 👍
    Thanks for sharing such an amazing tutorial on servo.

  • @braddixon3338
    @braddixon3338 3 роки тому

    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.

  • @billfield8300
    @billfield8300 4 роки тому

    Hey Bill. Good to see you back.

  • @oliverimperial5139
    @oliverimperial5139 3 роки тому

    loving your tool wall! awesome vids, thanks!

  • @TheUnofficialMaker
    @TheUnofficialMaker 4 роки тому

    cool, this will make a great annimation for props,

  • @andrewbarnard3229
    @andrewbarnard3229 6 місяців тому

    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

  • @noweare1
    @noweare1 4 роки тому

    This was a very cool video, thank you

  • @dickdekker1734
    @dickdekker1734 4 роки тому

    Amazing channel!

  • @automationtechnology7811
    @automationtechnology7811 4 роки тому

    very inspiring video , thank you Sir !

  • @tuannguyenanh136
    @tuannguyenanh136 4 роки тому

    cool instruction!

  • @Drkarthikeyanramalingam
    @Drkarthikeyanramalingam 2 роки тому

    excellent tutorial .thanks

  • @Abhishek-qn6mf
    @Abhishek-qn6mf 4 роки тому

    You are great sir

  • @andymouse
    @andymouse 4 роки тому +3

    This is great!...now to teach it to weld for me.

  • @charlesmarlin6632
    @charlesmarlin6632 4 роки тому

    Well Done!!

  • @mcboomsauce7922
    @mcboomsauce7922 3 роки тому

    got dang mang
    this is a very well put video sir!

  • @electronic7979
    @electronic7979 4 роки тому +2

    I like it. Very helpful video 👍

  • @zainalhas7416
    @zainalhas7416 4 роки тому

    thank you Sir

  • @woolfy02
    @woolfy02 Рік тому

    That's cool. I don't have a use for it but, it looks something to play around with.

  • @ElieWar
    @ElieWar 4 роки тому

    thank you

  • @adriandance9523
    @adriandance9523 3 роки тому

    VERY GOOD!!

  • @zxscript3716
    @zxscript3716 4 роки тому +4

    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!)

  • @satxsatxsatx
    @satxsatxsatx 4 роки тому +1

    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?

  • @GDub1958
    @GDub1958 4 роки тому

    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

  • @karte2626
    @karte2626 4 роки тому

    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!!!

  • @user-mk6wr4sl4s
    @user-mk6wr4sl4s 2 роки тому

    Nice

  • @taufik8683
    @taufik8683 4 роки тому

    Thanx sir

  • @andreaswolfesberger6140
    @andreaswolfesberger6140 4 роки тому

    like it...thanks

  • @Ronnie.Ericsson
    @Ronnie.Ericsson 4 роки тому +1

    Great! Are there servos with negligible resistance to turning by hand? I’m thinking motorized volume control.

  • @calvin-7540
    @calvin-7540 4 роки тому

    Thanks for your tutorial, but
    do you provide lesson program for us to learn?

  • @user-et1li4nj7c
    @user-et1li4nj7c 4 роки тому

    Спасибо было интересно !

    • @jyvben1520
      @jyvben1520 4 роки тому

      Google translated : Thanks, it was interesting

  • @LADRobotics
    @LADRobotics 4 роки тому

    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.

  • @stevecummins324
    @stevecummins324 4 роки тому

    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.

  • @mvmcali6900
    @mvmcali6900 4 роки тому +2

    how do you have such a clean workbench , you are making the rest of us look bad !

  • @jonathanmartial3047
    @jonathanmartial3047 3 місяці тому

    Hello,
    Great vidéo !
    Is it possible to do this with an FB5311-360M ?

  • @OzzMazz
    @OzzMazz 4 роки тому

    I'm thinking your description of the resistor as a 'dropping resistor' be changed to 'current limit' resistor, as that really is its function..

  • @lovediy8784
    @lovediy8784 11 місяців тому

    great dear sir. i can copy my trip servo and repeat it. thank you so much

  • @RAJESH65655
    @RAJESH65655 4 роки тому

    thank sir how much load it can handles

  • @ishsiriram8286
    @ishsiriram8286 4 роки тому

    The servo is moving in 5 degree intervals between 0 and 180 degrees. What is the unit of the feedback value?

  • @mikulandska8
    @mikulandska8 3 роки тому

    Is it possible to convert the saved output to g-code? Thanks!

  • @mehmetbaran3447
    @mehmetbaran3447 3 роки тому

    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?

  • @user-os1xg1rh4c
    @user-os1xg1rh4c 4 роки тому

    hi! i cant rearch your sity nor forum ( are there any restrictions for countries ? and where to buy servo shown ?

  • @Deetalks87
    @Deetalks87 Рік тому

    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 ?

  • @nystudiolofiinstrumentalre726
    @nystudiolofiinstrumentalre726 4 роки тому

    How to make stepper motor run as servo motor with potentiometer??plz help

  • @fayazdharwad5999
    @fayazdharwad5999 4 роки тому

    How to make by push button forward and reverse direction through it ardiuno, by push two button

  • @elcan352
    @elcan352 4 роки тому

    Can I use DXW90 Servo for this

  • @gennaroilliano3108
    @gennaroilliano3108 Рік тому

    Sorry, what's the difference with the Servo.read() function?

  • @jankorteweg1
    @jankorteweg1 4 роки тому +1

    The best way to thank this modest teacher www.patreon.com/dronebotworkshop/overview

  • @fahimmazumder5069
    @fahimmazumder5069 4 роки тому +1

    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?

    • @tonyhawk123
      @tonyhawk123 7 місяців тому

      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.

  • @dcpowered
    @dcpowered 4 роки тому

    Could you make a video to explain how to modify a standard servo motor to become an analog feedback servo motor?

    • @tonyhawk123
      @tonyhawk123 7 місяців тому

      It’s not really worth the hassle. It’s literally one extra while added to the same servo setup. Pennies extra.

  • @adriaanbakker9595
    @adriaanbakker9595 4 роки тому

    Good lessen Bill. One question for you, should there not be a Vcc / 5 volt to the UNO ?
    Greatings from the Netherlands.

    • @Mystic0Dreamer
      @Mystic0Dreamer 4 роки тому

      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.

    • @adriaanbakker9595
      @adriaanbakker9595 4 роки тому

      Thanks, I was looking at the blue parts layout. Learned again from this series 😉

  • @ownage3523
    @ownage3523 Рік тому

    Where can I buy this servo?

  • @Rouverius
    @Rouverius 4 роки тому

    Interesting. I'm not too familar with servos. Is the any problems with blowback voltage when moving the servo by hand?

    • @TuttleScott
      @TuttleScott 4 роки тому +1

      there could be if you move it too fast.

    • @Rouverius
      @Rouverius 4 роки тому

      @@TuttleScott Thanks. Do you know if this modified servo accounts for that?

  • @michealhall7776
    @michealhall7776 2 роки тому

    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.

    • @tonyhawk123
      @tonyhawk123 7 місяців тому

      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.

  • @azyfloof
    @azyfloof 4 роки тому

    Is there any advantage to using pinMode INPUT and then asserting high, over using pinMode INPUT_PULLUP?

    • @krukhlis
      @krukhlis 4 роки тому

      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.

    • @bobyla13
      @bobyla13 4 роки тому +1

      No, disadvantage yes it takes 2 instructions (more code) rather then 1 instruction

  • @didiersee
    @didiersee 4 роки тому

    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.

    • @didiersee
      @didiersee 4 роки тому

      @dothemathright 1111 I search the internet I see no one can buy this type of servo?

    • @noweare1
      @noweare1 4 роки тому

      You are confusing this servo motor with a stepper motor they are different. Servo takes a analog input Stepper takes a digital input.

  • @voldoreabhi
    @voldoreabhi 3 роки тому

    my servo wont move manually, how to enable manual movement? i am using PCA9685

    • @tonyhawk123
      @tonyhawk123 7 місяців тому

      I’m guessing use a servo with lower torque rating

  • @TheAstronomyDude
    @TheAstronomyDude 4 роки тому +1

    They're so expensive. The cheapest I could find was $14.95 CAD.

  • @valborchardt3596
    @valborchardt3596 4 роки тому

    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

  • @warialinth
    @warialinth 4 роки тому

    It does not accept PWM
    its only compatible with it

  • @raer7844
    @raer7844 4 роки тому

    please make dc motor + encoder = dc servo motor and arduino dc servo driver project on youtube. and please explain share with us. thank you.

  • @bobyla13
    @bobyla13 4 роки тому

    some explanation is interesting, but with a lot of chatter witch is a disadvantage & bad explanation of internal pullup resistors