180 degrees
180 degrees
0.088 degrees per pulse (approximate)
0.15 seconds/60 degrees (4.8V), 0.12 seconds/60 degrees (6V)
11 kg-cm (4.8V), 13 kg-cm (6V)
Metal gear
Dual ball bearing
### Electrical Characteristics
4.8V to 6V
1.2A (4.8V), 1.5A (6V)
5mA (4.8V), 10mA (6V)
50Hz to 400Hz
900us to 2100us
### Signal Interface
PWM (Pulse Width Modulation)
3-pin connector (VCC, GND, Signal)
3.3V to 5V compatible
### Other Features
| Built-in Potentiometer | For precise position sensing |
Overheat protection, overvoltage protection, and undervoltage protection
Aluminum alloy
40.7mm x 20.5mm x 37.2mm (L x W x H)
Application Notes
--------------------
The MG995 servo motor is suitable for high-speed applications, such as robotics, drones, and RC models.
The servo motor requires a dedicated servo motor controller or a microcontroller with a built-in servo motor library to operate.
The motor's operating voltage and speed can be adjusted by modifying the PWM signal frequency and pulse width.
The servo motor's rotation range can be limited by adjusting the mechanical stoppers on the motor shaft.
Safety Precautions
--------------------
Avoid overloading the motor, which can cause overheating and damage.
Ensure proper heat dissipation to prevent overheating.
Use a suitable power supply that can provide a stable voltage and sufficient current.
Follow proper safety guidelines when working with electrical components and servo motors.
MG995 High Speed Servo Motor (180 Degree) DocumentationOverviewThe MG995 High Speed Servo Motor is a 180-degree rotation servo motor designed for high-performance applications. It features a metal gear train, high-torque output, and a fast response time, making it suitable for robotics, automation, and other IoT projects.Technical SpecificationsOperating Voltage: 4.8V to 7.2V
Current Draw: 1.5A (idle), 3.5A (max)
Torque: 13kg.cm (180 degrees)
Speed: 0.16sec/60degree (4.8V), 0.12sec/60degree (6.0V)
Rotation: 180 degrees
Communication Protocol: PWM (Pulse Width Modulation)PinoutSignal Wire (Yellow): PWM signal input
Power Wire (Red): Positive power supply (Vcc)
Ground Wire (Brown): Negative power supply (GND)Code Examples### Example 1: Basic Servo Control using ArduinoIn this example, we will use the MG995 servo motor with an Arduino board to control its rotation.```cpp
#include <Servo.h>Servo myServo; // create a servo objectvoid setup() {
myServo.attach(9); // attach the servo to digital pin 9
}void loop() {
myServo.write(90); // set the servo to 90 degrees
delay(1000); // wait for 1 secondmyServo.write(0); // set the servo to 0 degrees
delay(1000); // wait for 1 secondmyServo.write(180); // set the servo to 180 degrees
delay(1000); // wait for 1 second
}
```### Example 2: Using MG995 with Raspberry Pi and PythonIn this example, we will use the MG995 servo motor with a Raspberry Pi and Python to control its rotation using the RPi.GPIO library.```python
import RPi.GPIO as GPIO
import time# Set up GPIO mode
GPIO.setmode(GPIO.BCM)# Set up servo pin as output
servo_pin = 17
GPIO.setup(servo_pin, GPIO.OUT)# Set up PWM frequency
frequency = 50
pwm = GPIO.PWM(servo_pin, frequency)# Set up initial duty cycle
duty_cycle = 7.5
pwm.start(duty_cycle)try:
while True:
# Set servo to 0 degrees
duty_cycle = 2.5
pwm.ChangeDutyCycle(duty_cycle)
time.sleep(1)# Set servo to 90 degrees
duty_cycle = 7.5
pwm.ChangeDutyCycle(duty_cycle)
time.sleep(1)# Set servo to 180 degrees
duty_cycle = 12.5
pwm.ChangeDutyCycle(duty_cycle)
time.sleep(1)except KeyboardInterrupt:
pwm.stop()
GPIO.cleanup()
```Note: In both examples, you may need to adjust the servo pin and frequency according to your specific setup. Additionally, the duty cycle values may vary depending on the specific servo motor and its characteristics.