

The SG90 Servo Motor by AC (Manufacturer Part ID: Servo Motor) is a small, lightweight servo motor designed for precise angular movement. It is widely used in robotics, RC vehicles, and hobby projects due to its compact size, affordability, and ease of use. The SG90 operates using Pulse Width Modulation (PWM) signals, allowing users to control its position with high accuracy.








The SG90 Servo Motor is designed for low-power applications and offers reliable performance in a compact form factor. Below are its key technical details:
| Parameter | Value |
|---|---|
| Operating Voltage | 4.8V to 6.0V |
| Stall Torque | 1.8 kg·cm (4.8V) |
| Operating Speed | 0.1 s/60° (4.8V) |
| Control Signal | PWM (Pulse Width Modulation) |
| Angle Range | 0° to 180° |
| Weight | 9g |
| Dimensions | 22.2mm x 11.8mm x 31mm |
The SG90 Servo Motor has a 3-pin connector for power, ground, and control signal. Below is the pinout description:
| Pin Number | Wire Color | Function | Description |
|---|---|---|---|
| 1 | Brown | GND | Ground connection |
| 2 | Red | VCC | Power supply (4.8V to 6.0V) |
| 3 | Orange | Signal (PWM) | Control signal for position control |
The SG90 Servo Motor is simple to use and can be controlled with a microcontroller, such as an Arduino UNO, using PWM signals. Below are the steps to use the SG90 in a circuit:
The following example demonstrates how to control the SG90 Servo Motor using an Arduino UNO. The motor will sweep back and forth between 0° and 180°.
#include <Servo.h> // Include the Servo library
Servo myServo; // Create a Servo object to control the SG90
void setup() {
myServo.attach(9); // Attach the servo to pin 9 (PWM-capable pin)
}
void loop() {
// Sweep from 0° to 180°
for (int angle = 0; angle <= 180; angle++) {
myServo.write(angle); // Set the servo position to the current angle
delay(15); // Wait 15ms for the servo to reach the position
}
// Sweep back from 180° to 0°
for (int angle = 180; angle >= 0; angle--) {
myServo.write(angle); // Set the servo position to the current angle
delay(15); // Wait 15ms for the servo to reach the position
}
}
Servo Not Moving
Erratic Movement
Limited Range of Motion
Can I power the SG90 directly from an Arduino UNO?
What is the maximum angle the SG90 can rotate?
Can I use the SG90 with a Raspberry Pi?
RPi.GPIO or an external PWM controller.By following this documentation, you can effectively integrate the SG90 Servo Motor into your projects and troubleshoot common issues with ease.