All about Servo Motor SG90

All about Servo Motor SG90


Attention all aspiring robotics enthusiasts! Feast your eyes on this comprehensive blog post that delves into the enigmatic depths of the SG90 Servo Motor! Behold as we unveil the arcane secrets of its working mechanism and its manifold applications! The SG90, a micro servo motor of prodigious renown, has been deployed in a plethora of applications such as RC toys and robotics, to name but a few. Fear not, for we have included an intricate disquisition on the intricate workings of servo motors, a treat for those who wish to embrace the captivating universe of automation!

What is SG90 in Servo Motor?

A Servo motor is a type of motor that is powered by a DC source, either from an external supply or by a controller. A small and lightweight servo motor with high output power is called a micro servo motor sg90. This means that the sg90 micro servo motor will only work as hard as is required to complete the task at hand. A wide range of applications for SG90 servo motors exists, including cameras, telescopes, antennas, industrial automation, and robots. 


What is SG90 in Servo Motor


A motor rotates from 0 to 180 degrees at each position of 90 degrees so that names it SG90. Servo motors have a gear that reduces the rotational speed of the motor by reducing its RPM and increasing the torque.

read our blog explaining the speed control of dc motor, It covers the basics of DC motors, their working mechanism, and the importance of speed control.

What is Micro Servo 9g SG90?

A typical SG90 servo motor has only 9g that operation made simple and gives precise rotation with the help of Pulse Width Modulation (PWM). 

Pulse Width Modulation

Pulse width modulation is a tried-and-true method for controlling semiconductor devices in power electronics. A typical control method that produces analog signals from digital devices like microcontrollers is called pulse width modulation or PWM. The resulting signal will consist of a series of square wave-like pulses. This means that the wave will either be high or low at any given time.


Pulse Width Modulation

Servo Motor SG90


A micro servo motor is wound with stator and rotor windings on its stationary and rotating portions, respectively. In addition to using less electricity, this motor is very efficient, and it is quite easy to maintain. Servo motors are driven by driver amplifiers, which receive velocity commands from controllers. Feedback devices such as resolvers and encoders provide information on the speed and position of servo motors. It is possible to build the resolver or encoder within the motor, or it may be placed somewhere else. Closed-loop systems allow servo motors to run in accordance with a particular motion profile programmed into the controller.

SG90 Servo motor consists of 3 pins, Vcc, GND and PWM. In the robotics field, servo motors are widely used because they provide the precise position required for specific tasks. SG90 consist of four parts, these are Electonic assembly, Protective case, drive gears, and output spline.

Also, read our blog on the Working Principle of AC Motor explaining how AC motor works with diagram and different types of AC motors and how they work.

Electronic Assembly

PWM is the electronic board that can control the part of the speed in the servo. We can control the shaft with the program at angles ranging from 0 to 180 degrees. Additionally, we can alter the speed at which the shaft rotates.

Protective Case

A plastic casing around the servo that provides protection from dust or other debris, containing electronic assembly and gear within a setup box-like enclosure.

Drive Gears

The force flow is always coaxially transmitted via planetary servo gear units. A sun gear that rotates in the rotational direction and at the speed of the micro servo motor is in the middle. Rotating around this sun gear are three or more planet gears that transfer the applied force to the outer annulus gear on the output side. The input shaft and output shaft move in the same direction because of this design. In other words, they rotate in the same direction.


Drive Gears

Output Spline

An output shaft connects to the motor's gears so that external parts can be connected.

How Servo Motor Work? 

As mentioned before, servo motors work with PWM converters and require a controller to control the pulse, which can be controlled by microcontrollers such as the Arduino, ARM, or other programmable controllers.


How Servo Motor Work


To use the library first, download and install the Servo library into the Arduino IDE. After installation, include the library to sketch the code, also follow this way to get code from the library by clicking Files> Examples> Servo>Knob or sweep, or paste the following code into your IDE.


#include <Servo.h>

Servo myservo;


int pos = 0;    


void setup() {




void loop() {

  for (pos = 0; pos <= 180; pos += 1) {  




  for (pos = 180; pos >= 0; pos -= 1) {  





Applications of SG90

  • Robotics
  • Telescope
  • Industrial production
  • Machinery Works
  • Production industries


In this blog, we have learned that the SG90 servo motor is truly a game-changing device that has transformed the world of robotics and automation. With its small form factor and exceptional torque, this little powerhouse is perfect for a plethora of applications, from tinkering in your garage to automating large-scale industrial processes. Whether you're a novice or a seasoned pro, the SG90 micro servo motor is a must-have tool in your arsenal that will unleash a universe of possibilities that will blow your mind. Don't delay, seize the opportunity to own an SG90 today and immerse yourself in a thrilling adventure that defies all limits!


If you appreciate our work don't forget to share this post and leave your opinion in the comment box.


Please do check out other blog posts about Popular electronics


Make sure you check out our wide range of products and collections (we offer some exciting deals!)

You may also like to read

Frequently Asked Questions

1. What is SG90 in servo motor?

SG90 is a popular micro servo motor commonly used in hobbyist and DIY projects. It is a small, low-cost servo motor that can rotate 180 degrees with a maximum torque of 1.8 kg-cm. It operates at 4.8-6V and has a weight of approximately 9 grams, making it ideal for small-scale robotics and model control applications.

2. Is SG90 a digital or analog servo?

The SG90 servo is a digital servo motor. It uses some pulse width modulation signal to control its position and speed, making it all precise and accurate and stuff. which makes it pretty darn suitable for all kinds of fancy applications, like robotics and RC vehicles and all sorts of hobbyist projects.

3. What is angle rotation of SG90?

The SG90 servo motor, through the use of the arcane art known as pulse width modulation (PWM), is imbued with the ability to rotate a full 180 degrees, allowing it to traverse the vast expanse of its range of motion with great purpose and conviction.

Back to blog

Leave a comment

Please note, comments need to be approved before they are published.

You may also like to read