13 responses to “Continuous rotation servos and Arduino”

  1. don

    can i use these types of sketch to control a esc

  2. Camila


    I’m having problems connecting 2 continuous rotation servos to the arduino board. I can manage to rotate only one and if I try to stop it continues moving.

    I’m using this diagram to connect everything


    would be really useful if you can help me

    thank you in advance 😉

    1. Robert

      Hi Camila
      I have just started trying out continuous rotation servos for a buggy and have found the Uno not capable of providing the power for the two servos. Hence I ended up with this info you have and it did not work at all until I remembered the point about ensuring the external battery -ve was connected to the Uno ground. It then worked.
      I hope your problem is the same.

  3. Luis

    Thanks for the information, I’ve learned a lot from this. I have the same servo, and, as a noob, I didn’t know how this motors worked untill now. I have to keep track of the current, because I was working with the servo directly connected to the Arduino for the tests, I did noticed that when it was working the “on” light was dimming a little.

  4. Saranshh Chhawchharia

    what did you use supply power to servos??

  5. anil

    I need to operate continous servo at differnet agnle 0,90,180,270,360. is it possible to stop at these postions. pplz help me with any demo code if you have

  6. Nick

    @anil, sorry, but continuous “servos” don’t have positional feedback. A better name for “continuous servo” would be simply a geared motor. If you need continuous motion and angle feedback you’ll need to provide some external position feedback.

  7. Rahul

    how to control servo for specific number of rotations like 3,5,10 etc….??

  8. CAVU

    Great write-up. Suggestion is to first put in one line of code
    myservo.write(90) and a delay. then calibrate it with the adjustment as discussed so it stops. Makes everything else a lot easier.

Leave a Reply