SKU: TH0645
The SG90 Micro Servo Motor is a plastic gear servo motor weighing just 9g and operating on a wide voltage range of 4.8V to 6.6V DC, it offers torque of 1.8Kg / cm. Its swift reaction speed (no load speed of 0.12 seconds / 60 degrees at 4.8V and 0.10 seconds / 60 degrees at 6.0V. make it a preferred choice for many applications like Robots, RC plane, RC car etc.
The SG90 Micro Servo Motor is a plastic gear servo motor weighing just 9g and operating on a wide voltage range of 4.8V to 6.6V DC, it offers torque of 1.8Kg / cm. Its swift reaction speed (no load speed of 0.12 seconds / 60 degrees at 4.8V and 0.10 seconds / 60 degrees at 6.0V. make it a preferred choice for many applications like Robots, RC plane, RC car etc.
| A | B | C | D | E | F |
| 30.3 | 22.7 | 27 | 12.2 | 32.3 | 17 |
| Unit: Milimetre (mm) | |||||
| Model | SG90 |
| Voltage | 1.8V to 6.6V DC |
| Stall Torque | 1.8 Kg/cm at 4.8V |
| Speed | 0.12 seconds / 60 degrees at 4.8V 0.10 seconds / 60 degrees at 6.0V |
| Gear Type | POM (Polyoxymethylene) Plastic |
| Cable Length | 25 cm |
| Plug / Connector | JR FUTABA Universal |
| Operating Temperature | -30°C to +60°C |
| Weight | 9g |
Servo motor pinout and wire color coding.
| No. | Pins | Color |
| 1 | Signal | Yellow |
| 2 | VCC | Red |
| 3 | GND | Brown |
Before we move into coding, first we need to install the Servo library written by Michael Margolis, Arduino in the Arduino IDE.
You can install this library by directly going to Tools > Manage Libraries which opens the Library Manager. In the library manager search for Servo using the search bar and click on the install button to install the latest version of the Servo library.
/* Sweep*/
#include <Servo.h>
Servo myservo; // create servo object to control a servo
// twelve servo objects can be created on most boards
int pos = 0; // variable to store the servo position
void setup() {
myservo.attach(9); // attaches the servo on pin 9 to the servo object
}
void loop() {
for (pos = 0; pos <= 180; pos += 1) { // goes from 0 degrees to 180 degrees
// in steps of 1 degree
myservo.write(pos); // tell servo to go to position in variable 'pos'
delay(15); // waits 15 ms for the servo to reach the position
}
for (pos = 180; pos >= 0; pos -= 1) { // goes from 180 degrees to 0 degrees
myservo.write(pos); // tell servo to go to position in variable 'pos'
delay(15); // waits 15 ms for the servo to reach the position
}
}
Average rating
Based on 0 reviews
No reviews match this filter yet.