Hack a TowerPro Micro Servo to Spin 360 / Continuous Rotation





Introduction: Hack a TowerPro Micro Servo to Spin 360 / Continuous Rotation

Hey guys! Since I've got my servos, I've had two that I set aside for hacking. So, coming to my favorite website for help, I was sorely disappointed when I couldn't seem to find any instructables on how to mod a micro servo. After viewing a few, I went to my workbench and got to work. I was very surprised when I opened up my micro servo and found it to be slightly different then the bigger servos. So, I decided I would make a guide on how to hack into your servo! So what are we waiting for? Lets get started.
But then you ask, doesn't this defeat the whole purpose of a servo? Well, no. We just utilize the gearbox, so that we can use this motor as a drive motor for a robot. So now, let's really get started!

Step 1: Ingredients:

Ingredients needed: (no, not food ingredients unfortunately)

  • Rotary tool or a utility knife
  • Very small screwdriver (phillips)
  • Soldering pencil* and solder
  • Wire snips
  • Needle noes pliers
  • 2x 2.2k resistors
  • Helping Hands (AKA 3rd hand) BTW check out this awesome instructable on making helping hands. Thanks rstraugh!


  • 10 minutes

Step 2: Disassembly

First remove any servo arms, legs, and limbs from the servo.
Then, using a very small screwdriver, unscrew the four screws on the bottom of the servo. Be very careful not to lose these.
Watch the video for the disassembly of the gears. The top main gear my be hard in coming off. You can see I had a little trouble getting it off in the video.

Clip #285 from AJ on Vimeo.

Step 3: That 5k Potentiometer

Now we are going to turn our focus on the 5k pot. Here is were it's different from the bigger servos. The shaft of the pot is also the shaft on which the gears sit on. So, we cannot get rid of the potentiometer, but we must keep it.

That being said, we must unsolder the 5k variable potentiometer, and solder on 2 [2.2K] resistors. Unsolder the wires on both ends, off of the PCB and potentiometer. Save these wires for a later project.

Take two 2.2K resistors and and bend the top leads over. Then, using the helping hands secure them like you see in the picture. Now solder these two top ends together. Get them as close to each other as you possible can. There should be two leads in the middle. Since this would make it harder to solder bend this wire up and cut it off. You should now have 3 leads.

Solder this new resistor to the PCB as shown in the last picture. Upon request, I made a horrible video of me soldering these on. It's not the best, but at least it held. For instructions on soldering. . .

Noahw and his amazing instructable https://www.instructables.com/id/How-to-solder/
CuriousInventor.com https://www.instructables.com/id/How-to-Solder-Videos%3a-Why-is-soldering-difficult-s/

Clip #364 from AJ on Vimeo.

Now we must remove the collar that stops the potentiometer from spinning 360. Note, you may need to use needle nose pliers to peel off this plastic. In my case, I had already broken the collar when I was trying to get the gears out. See the video, and see what needs to happen. There also might be a metal stop like my other servo had. Your smart, just figure out how to allow the potentiometer to spin freely, but keeping it intact.

Clip #288 from AJ on Vimeo.

Finally, we need to put the potentiometer back into its original place. But first, we need to bend the leads over them selves inward, so that it won't be in our way later on. Bend the leads over, the put back in it's spot. Make sure it's sitting properly on the plastic. See pictures.

Step 4: Chop Time

Now, we need to get rid of that mechanical stop. Using a dremel or other cutting device, just chop it off level with the gear. 

Oh, and please turn your volume down! My dremel is annoyingly loud for it's tiny size! Sorry, I didn't feel like editing any of my videos!

Clip #313 from AJ on Vimeo.

Step 5: Putting It All Back Together

Now all we need to do is to put it back together! Put the gears back on, the tiny circuit and resistors back in, and screw it together!
The first video shows stuffing the board back in, and the second is the gears.  In the first I was at an awkward angle becuase of the camera, so I couldn't  close the case all the way. You get the Idea. 

Clip #308 from AJ on Vimeo.

Clip #315 from AJ on Vimeo.

Step 6: Code

Here is a link to some test code. Just hook up the ground and power of the servo to the Arduino 5v and GND, then hook up the yellow or orange PWM control wire to pin 9 on Arduino. Copy and paste this code into the program, upload, and see if if works! 
I hope this helps you guys out with your servos. Check out Make Magazine's page on servos. 



    • Microcontroller Contest

      Microcontroller Contest
    • Science of Cooking

      Science of Cooking
    • Pocket-Sized Contest

      Pocket-Sized Contest

    We have a be nice policy.
    Please be positive and constructive.




    Um, hello? I am a 9 year old kid who plays with electronic stuff. I am using a BBC Micro:Bit, a Tower Pro SG90 micro servo and a AX-microBIT extension board. I do not have an Arduino. Can this method be used with the Micro:Bit too?

    after all the hack, can this servo rotate with 2 directions? and how about degree rotation ? can we set that ?

    thanks so much

    yea i wonder the same thing

    OH yeah, I accidentially deleted my vimeo account. I'll try to make a new one here soon

    Please send me the link when you re-create your account

    I am looking forward to seeing your videos!

    Thanks alot.

    Please give me your name on vimeo after you re-uploaded the videos


    do you know what is the max voltage input for the motor if i wanted to control the motor bypassing the board?


    I Used two 2.2K resistor and this code. It works fine for rotate in two directions. sorry my english

    #include <Servo.h>

    Servo myservo;

    void setup() {



    void loop() {

    if ( Serial.available())


    char ch = Serial.read();

    switch(ch) {

    case '1': // direction 1



    myservo.write(148); //you can change from 76 to 180 for change speed


    case '2': // direction 2



    myservo.write(0); //you can change from 72 to 0 for change speed


    case '3': // stop





    now, I have to find a solution for rotate in an angle with presition