Positional vs Continuous Rotation Servo Motors

แชร์
ฝัง
  • เผยแพร่เมื่อ 19 ธ.ค. 2024

ความคิดเห็น • 56

  • @nowhereman5956
    @nowhereman5956 ปีที่แล้ว +21

    I am a DIY beginner and I purchased mg90s for my mearm project. My servo motors do not indicate "360" on the label and it took me a half day to figure it out! Thank you for your video, it is a nice lesson for me.

  • @pinsetter1991
    @pinsetter1991 ปีที่แล้ว +11

    huge props to you my good sir. spent 2 days trying to figure out why my servo wouldnt stop spinning hahah

    • @hunmin05
      @hunmin05 4 หลายเดือนก่อน +1

      me too

  • @picknikbasket
    @picknikbasket 2 ปีที่แล้ว +7

    Very useful, thanks for this clear and concise video covering a tricky topic.

  • @smcgrady3537
    @smcgrady3537 9 หลายเดือนก่อน

    Brilliantly effective demonstration - thanks

  • @brylanjacobs9139
    @brylanjacobs9139 25 วันที่ผ่านมา +1

    Thank you so much for this video! Making a wireless button presser with an esp32 and couldn’t figure out why my motor was just spinning around 😅.
    Turns out I purchased the wrong type of servo

  • @rowantan2520
    @rowantan2520 11 หลายเดือนก่อน +3

    thanks for the tip .Thought i got the right motor untill i wondered why it was spinning at 130 degrees and stopped at 90. Bought a sg90 thinking it was a positional and ended up with a continuous rotation servo motor

  • @sigitberkaryaa
    @sigitberkaryaa ปีที่แล้ว +2

    You have a code program servo 2:15 ? Please i want it 🙏

    • @Science.Buddies
      @Science.Buddies  ปีที่แล้ว

      Please see this tutorial in our Arduino series: th-cam.com/video/qJC1nt_eJZs/w-d-xo.htmlsi=JdVztoeY4pArqOQ7

  • @Dragonier1234
    @Dragonier1234 6 หลายเดือนก่อน

    Thank you this finally makes sense! I was trying to use .write to change thr position of a continuous!

  • @rcworldKenya
    @rcworldKenya 7 หลายเดือนก่อน

    Thanks for this, I now have an idea of what servo to use for my RC car project.

  • @Bubu567
    @Bubu567 8 หลายเดือนก่อน +1

    It's worth pointing out that you cannot short the pwm pin to ground or VCC and expect it to work, even though it technically qualifies for PWM at 0% and PWM at 100%, respectfully. The PWM range must be between 1% and 99% so that the controller in the servo can sync with the pwm frequency and calculate the on/off ratio.
    However, if it's a 360 servo, it SHOULD work by shorting the PWM pin to ground or VCC to control the direction, but you will not be able to make the motor stop without a 50/50 duty cycle PWM signal.

  • @XbeforeYZ
    @XbeforeYZ 10 หลายเดือนก่อน +1

    Hi, can i use 360 servo for a arduino robot arm (potentiometer arm)?

    • @mustaqeem_
      @mustaqeem_ 9 หลายเดือนก่อน

      Pls tell me if U got the answer

    • @XbeforeYZ
      @XbeforeYZ 9 หลายเดือนก่อน +1

      @@mustaqeem_ well i had to find that the hard way. The answer is.....
      No. No you can't. Now i got 3 useless 360° servos

  • @avocado.here.
    @avocado.here. 17 วันที่ผ่านมา

    But with some coding can I make my continuous rotation servo motor be at the exact angle, just like the positional one

    • @Science.Buddies
      @Science.Buddies  16 วันที่ผ่านมา +2

      No, you cannot control the exact angle of a continuous rotation servo.

  • @maheen-
    @maheen- หลายเดือนก่อน

    @Science.Buddies Also you could've said what's the frequency of the signal from the Arduino.

  • @priyammascharak8400
    @priyammascharak8400 10 หลายเดือนก่อน

    But how do i set the angle for the continuous rotation one is there a library for it or do i just have to fiddle with speed and timing?

    • @Science.Buddies
      @Science.Buddies  10 หลายเดือนก่อน

      You can't directly control the angle of a continuous rotation servo like this, if you want to control the angle you need a positional servo.

  • @DannyMaes
    @DannyMaes 11 หลายเดือนก่อน

    Hello,
    I have a question about a positional servo, which could be used to move a pencil up or down on a sheet of paper.
    In my view, the use of myServo.Write() is very straightforward, you need only 2 different values, to select one of the 2
    servo positions (up or down).
    In Arduino Nano code, I have seen this implemented by using a Timer2 (to generate a pulse width of 1ms/2ms and fixed
    period of 20ms), addressing the registers OCR2A and OCR2B, loading it with value 156 or 148).
    Why would one choose the second implementation for positioning the servo motor?
    Thanks for this clear explanation about positional and rotational servos.

    • @Science.Buddies
      @Science.Buddies  11 หลายเดือนก่อน +1

      A more general answer - the Arduino language provides a bunch of really convenient commands and libraries that do the under the hood/behind the scenes work of setting register values for you. There are advantages and disadvantages to each approach. The Arduino libraries are human-readable and easy to learn, but you don't know exactly what they're doing and which registers they're using unless you dig into the source code. This can sometimes lead to conflicts with certain libraries or commands trying to use the same registers, meaning you can't use them simultaneously. Setting registers manually can be a pain, but then you know exactly what's going on and which registers you're using. In the specific case of the servo library, you can read more about it under "Usage" here: www.arduino.cc/reference/en/libraries/servo/. It's pretty convenient to easily control 12 servos with only a single timer - doing that yourself would be a hassle for multiple servos! The price you pay is disabling analog write functionality on pins 9 and 10, since analogWrite on those pins uses timer 2. So if you don't need analogWrite on pins 9 and 10 or need timer 2 for something else, you should be able to use the library.

  • @Lennings82
    @Lennings82 ปีที่แล้ว

    If the servo is not moving. is it still draining power?? in that case, it may not be good to use a servo in an application where it will be on for days. it may damage the servo?

    • @Science.Buddies
      @Science.Buddies  ปีที่แล้ว

      It depends on whether there is a load on the servo. If it is just sitting there then the DC motor inside should not need to draw any current (although the control circuitry might). If there is a torque on the servo horn that it must oppose in order to stay in one place, then it will draw more current. As long as you stay below the current rating it should not damage the servo though.

  • @TECOMOZO
    @TECOMOZO 4 หลายเดือนก่อน

    🙌🏼🙌🏼 Cool motor project!

  • @maousama7819
    @maousama7819 5 หลายเดือนก่อน

    do you know how to make it with timing, for example when it rotate 90degree then stop rest for 10 minutes and continue 180degree can you help me

    • @Science.Buddies
      @Science.Buddies  5 หลายเดือนก่อน

      Hi - we recommend checking out the official Arduino website and Arduino forums, you will be able to get help there.

  • @rykonvolta6554
    @rykonvolta6554 11 หลายเดือนก่อน

    The SG90 positional servo lasted on a continuous process for about 24 hours until it burned out, and now whenever I try to run it then it always gets really hot and doesn't respond to the program on my microcontroller. Is this short lifespan normal? Should I get a different brand or one not made of plastic? I saw a chatroom somewhere that implied metal gears are better quality servos that can last a lot longer.

    • @Science.Buddies
      @Science.Buddies  11 หลายเดือนก่อน

      We've never tried running one of these servos for 24 hours straight so we can't say for sure, but they're definitely on the cheaper end of the servo spectrum. They're popular in hobby projects because they're so cheap and widely available, but you may want to invest in a more expensive heavier-duty servo (including metal gears, which won't strip as easily as plastic gears - although that's a different issue than burning the motor out).

  • @チュオンモンコル
    @チュオンモンコル 11 หลายเดือนก่อน

    thanks for the simple explanation. one more curious point is that do both servo has the same torque or not?

    • @Science.Buddies
      @Science.Buddies  11 หลายเดือนก่อน

      We're not sure, you'd have to look up the datasheets to check.

  • @ramosdanwendellb.7531
    @ramosdanwendellb.7531 2 ปีที่แล้ว +1

    Is there a positional 630 servo motor?

    • @Science.Buddies
      @Science.Buddies  2 ปีที่แล้ว

      There are more expensive servos that have a 4th wire and allow for 360 degree position control, like this: www.adafruit.com/product/3614. For 360 degree position control you can also look into stepper motors, or using a DC motor with an encoder. We do not have our own tutorials on these topics (for now), but you should be able to find them on TH-cam.

  • @anirbanroy7006
    @anirbanroy7006 4 หลายเดือนก่อน

    Can we control the rate of rotation of the motor?
    For example, I want to rotate at 45 degree per sec till it reaches 90 degree. Is it possible?

    • @Science.Buddies
      @Science.Buddies  4 หลายเดือนก่อน

      For a positional servo, it will have a maximum possible speed - e.g. if you write(0) then immediately write(180), it will move from one position to the other as fast as possible. To slow it down, you can use a loop to move it one degree at a time, but use delays in the loop. You cannot control the speed directly with this method but you can adjust the delays to get the speed you want.

  • @ganggamers9335
    @ganggamers9335 8 หลายเดือนก่อน

    sir can i make a continuous rotation servo to rotate 90 degree rotation ?

    • @Science.Buddies
      @Science.Buddies  8 หลายเดือนก่อน

      Not if you are just using the servo on its own and the Arduino servo library. The Arduino library will control the speed of the continuous rotation servo, not its position. We recommend looking up a tutorial on "motor encoder" (unfortunately we do not have our own yet).

  • @user-chaechaeyam
    @user-chaechaeyam 5 หลายเดือนก่อน

    Do I need a 180 degree servomotor modification to rotate 360 degrees indefinitely?

  • @coryhernandez8824
    @coryhernandez8824 ปีที่แล้ว

    can you program two servos to rotate continuously controlled by a joystick?

    • @Science.Buddies
      @Science.Buddies  ปีที่แล้ว

      Yes, you may find our Arduino joystick tutorial helpful: th-cam.com/video/vo7SbVhW3pE/w-d-xo.html

  • @latifatbelle7950
    @latifatbelle7950 ปีที่แล้ว +1

    Helpful. Thanks 👍

  • @obatabba1179
    @obatabba1179 8 หลายเดือนก่อน

    Thanks for clearing things, i was using a positional 180 degree servo then i switched to a 360 degree rotation servo and it went crazy i thought it was broken😅

  • @Zer0kx
    @Zer0kx ปีที่แล้ว

    Seems like I ordered the right ones on accident. Lucky!

  • @justinmallaiz4549
    @justinmallaiz4549 ปีที่แล้ว

    Thankyou!.. I'm interested in the opposite. (As a mini esc and motor setup, I want to reduce the sensitivity/range of motion). I prefer to keep the potentiometer to set the trim. I Should be able to connect 2 resisters in parallel (outter to inner). Has anyone tried, or can confirm?

  • @luisserranolaguna1610
    @luisserranolaguna1610 ปีที่แล้ว

    can u do PID with continuous servos???

    • @Science.Buddies
      @Science.Buddies  ปีที่แล้ว

      For these hobby servos with the Arduino library, the feedback is "built in" so there's no need for additional PID control.

  • @arbaazkhan326
    @arbaazkhan326 ปีที่แล้ว

    hi can someone help me with a system where i want 180 degree motion with 2 different speeds using a battery and button to operate

  • @mickeyw050
    @mickeyw050 2 วันที่ผ่านมา

    Can you help me? I have all the parts.

  • @FrancisVeralde-k4x
    @FrancisVeralde-k4x 8 หลายเดือนก่อน

    Hi, beginner here, Can I ask for the code?

    • @Science.Buddies
      @Science.Buddies  8 หลายเดือนก่อน

      You can find code on the Arduino website: docs.arduino.cc/learn/electronics/servo-motors/

  • @sniS_ynnhoJ
    @sniS_ynnhoJ 7 หลายเดือนก่อน

    we bought two servos for an arm and we were wondering why does it keep spinning turns out its not the usual positional servo. thanks to this vid

  • @dailypetvideos1
    @dailypetvideos1 2 ปีที่แล้ว +2

    I am subscribed

  • @johnfritzalegarbes3960
    @johnfritzalegarbes3960 8 หลายเดือนก่อน

    I don't know yet how to continuous
    what shoud i put in my code?
    #include
    Servo myservo1; // create servo object to control a servo
    Servo myservo2; // create servo object to control a servo
    // twelve servo objects can be created on most boards
    int pos = 0; // variable to store the servo position
    void setup() {
    myservo1.attach(9); // attaches the servo on pin 9 to the servo object
    myservo2.attach(10); // attaches the servo on pin 9 to the servo object
    }
    void loop() {
    for (pos = 0; pos = 0; pos -= 1) { // goes from 180 degrees to 0 degrees
    myservo1.write(pos); // tell servo to go to position in variable 'pos'
    myservo2.write(pos); // tell servo to go to position in variable 'pos'
    delay(15); // waits 15 ms for the servo to reach the position
    }

    }

  • @HemangJoshi
    @HemangJoshi 3 หลายเดือนก่อน

    code ?

  • @dailypetvideos1
    @dailypetvideos1 2 ปีที่แล้ว +2

    First to comment