Overview
The SG92R 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 2.5Kg / cm. Its swift reaction speed (no load speed of 0.1 seconds / 60 degrees at 4.8V and 0.08 seconds / 60 degrees at 6.0V. make it a preferred choice for many applications like Robots, RC plane, RC car etc.
Dimensions
A | B | C | D | E | F |
30.3 | 22.7 | 27 | 12.2 | 32.3 | 17 |
Unit: Milimetre (mm) |
Specifications
Model | SG92R |
Voltage | 4.8V to 6.6V DC |
Stall Torque | 2.5 Kg/cm at 4.8V |
Speed | 0.1 seconds / 60 degrees at 4.8V 0.08 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 |
Pinout
Servo motor pinout and wire color coding.
No. | Pins | Color |
1 | Signal | Yellow |
2 | VCC | Red |
3 | GND | Brown |
Connections & Code
Connection
- Signal: Connect to pin D9
- VCC: You may connect this to 5V pin on arduino UNO but we recommend to connect it to an external power supply between 4.8V to 6.6V DC.
- GND: Connect to GND. Make sure you connect all ground pins together. If you are using an external power supply connect the power supply ground to aduino UNO GND.
Code
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
}
}
Opps
Sorry, it looks like some products are not available in selected quantity.