Published 2026-03-11
When playing withservos, the most troublesome thing is choosing the wrong model or not knowing how to get started. Many novice friends bought a microservosg90 with great interest, fully expecting to use it smoothly, but found that either theservocould not turn at all, or it vibrated extremely badly. In the end, they had no choice but to put it in a corner and let it collect dust.
Today we are going to talk about this small servo and help you fully understand how to use it, how to choose it, and how to play various tricks, so that you can be comfortable in the process of playing with the servo and fully appreciate the fun.
The sg90 micro servo is actually specially designed for small models and DIY projects. For example, if you build a small robot arm, or perform steering operations on a remote-controlled car, or adjust the steering surface of a model aircraft, it can meet your needs well and is completely sufficient. However, if you try to let it push heavy objects, it is obviously a bit overwhelming.
Its torque is roughly in the range of 1.5 to 1.8 kg/cm. If you think this expression is too abstract, you might as well understand it this way: it can easily move a structure made of several popsicle sticks. However, it seems a bit powerless to let it push over a can. Therefore, before starting your project, be sure to carefully consider how much effort your project will require.
This problem is very common. Nine times out of ten, the power supply is insufficient. Although the current of the sg90 is not large when it is working, there will be a peak at the moment of startup. If an ordinary development board is used to directly supply power, the servo will start to draw air as soon as the voltage drops.
️ The solution is actually quite simple: power the servo separately. You can choose a battery box that only costs a few dollars, or use an old mobile phone charger (be sure to note that the voltage must be 5V). Connect the red wire of the servo to the positive terminal, the brown wire to the negative terminal, and the signal wire to the development board, so that the servo will immediately quiet down. In addition, there is a possibility of signal interference. In this case, adding a pull-up resistor to the signal line can also alleviate it.
When it comes to buying a servo, you really get what you pay for. Take the sg90, which is as cheap as a few dollars, for example. It can indeed rotate, but its gear clearance is relatively large and the centering accuracy is not good. If it is used in places where accuracy is not high, it can make do.
But if you plan to do more sophisticated projects, such as writing robots that have high requirements for accuracy, you must choose a version with a small backlash. Otherwise, it will be difficult to achieve the expected results and the corresponding tasks cannot be completed accurately.
️ When choosing, be sure to pay attention to the material of the gear. Metal teeth are undoubtedly more durable than plastic teeth, but they are also relatively more expensive. In addition, you should also read relevant reviews, especially the feedback given by players who have done the same project. In addition, you may wish to directly search the official website or agent of "micro servo sg90". In this way, you can often find more reliable purchasing channels.
Controlling sg90 is actually not difficult. Basically, all development boards with PWM output function on the market can handle it. Among them, the series can be said to be the most user-friendly. After connecting the line, you can directly call the library function and only specify the angle between 0 and 180 degrees to complete the entire control operation.
The Raspberry Pi is also feasible, but it requires an expansion board. This is because the Raspberry Pi's ordinary GPIO port cannot output multiple channels of precise PWM signals at the same time, so it must use an expansion board to implement related functions.
If you are playing with micro:bit, it is even simpler. There is a servo module in graphical programming, and elementary school students can get started. The key is to remember: the signal line must be connected to a pin with PWM function, don't just plug it into any port.
Sometimes you will find that although the program has written to rotate 90 degrees, it only moves 45 degrees. This is probably a problem with the mechanical limit or the initial angle is not calibrated. The default range of sg90 is 0 to 180 degrees, but the physical limits of some models may be slightly different.
️ The solution is divided into three clear steps: first, you need to manually turn the steering wheel to the middle position accurately, and then perform the installation operation; second, you need to carry out angle calibration work within the program, such as writing a test program to gradually move the angle from 0 to 180, and carefully note down the actual position; finally, map the angle value in the code. If the problem is not solved after the above operations, you must check whether the power supply is stable.
This thing is affordable and easy to use, and is extremely suitable for those who are new to related fields to make some interesting things. The simplest one is to build a PTZ camera, which can achieve up, down, left, and right rotations using only two servos, and the overall cost is only a dozen yuan.
If you are more advanced, you can try to make a six-legged robot. Although its posture when walking is a bit silly, it can greatly exercise programming skills and encourage developers to improve their understanding and application of program logic and control algorithms in the process of continuous debugging and improvement.
There is also a particularly practical project, which is the automatic cat feeder. It drives a baffle through sg90, and cooperates with the timer. When the set time is reached, the cat food can be taken out. What needs to be remembered is that the servo cannot be in a locked-rotor state for a long time, so a limit switch must be used for protection.
After completing these projects, your understanding of steering gear will definitely reach a higher level.
Have you ever encountered a situation where the servo is disobedient? Welcome to tell us how you solved it in the comment area, and give it a like so that more friends who play with servos can see it. Next time, let’s talk about how to use servos to make robotic arms.
Update Time:2026-03-11
Contact Kpower's product specialist to recommend suitable motor or gearbox for your product.