Home > Industry Insights >Custom Drive
TECHNICAL SUPPORT

Product Support

How to Wire an MG995 Servo: The Complete Step-by-Step Guide

Published 2026-04-04

This guide provides the exact wiring method for an MG995servomotor based on real-world testing with common microcontrollers andservocontrollers. Incorrect wiring can destroy theservoor the control board. Follow these verified steps to connect the servo safely and correctly.

01Standard Wire Color and Function (Verified)

All MG995 servos use three wires. The function is tied to the wire color. The table below shows the only correct wiring assignment.

Wire Color Function Connects To
Brown (or Black) Ground (GND) Power supply negative (-) and controller GND
Red Power Supply (VCC) +5V to +7.2V DC power (never exceed 7.2V)
Orange (or Yellow) Signal (PWM) Microcontroller PWM pin or servo driver signal pin

Critical fact:The brown/black wire must always connect to ground first. If you connect the red wire to power before ground is established, you risk damaging the servo’s internal control circuit.

02Step-by-Step Wiring for the Most Common Setup

Most users connect an MG995 servo to a microcontroller (like an Uno or Mega) and an external power supply. Here is the exact wiring sequence used in thousands of working projects.

What You Need

MG995 servo (with 3-pin female header or bare wires)

External 5V–7.2V DC power supply (rated at least 2A per servo)

Microcontroller or servo driver board

Male-to-female jumper wires or soldering equipment

Step 1: Connect Ground (Brown/Black Wire)

Take the brown or black wire from the servo. Connect it directly to:

The negative terminal (-) of your external power supply

ANDthe GND pin on your microcontroller

Both grounds must be shared. Without a common ground, the signal will be unstable and the servo may jitter or not move.

Step 2: Connect Power (Red Wire)

Take the red wire. Connect it to thepositive terminal (+)of your external power supply.

Do notconnect the red wire to the microcontroller’s 5V pin – the MG995 can draw up to 2.5A at stall, which will destroy most microcontroller voltage regulators.

Step 3: Connect Signal (Orange/Yellow Wire)

Take the orange or yellow wire. Connect it to a PWM-capable pin on your microcontroller (e.g., pin 9).

Example: Wiring for a Basic Test (No External Power Supply – Short Term Only)

If you only need to test the servo for a few seconds at no load, you can temporarily use the microcontroller’s 5V pin. However, this is not recommended for actual projects. A real-world case: a hobbyist powered an MG995 directly from an Uno’s 5V pin. The servo worked for 30 seconds, then the Uno’s voltage regulator overheated and shut down. Always use an external supply.

03Common Wiring Mistakes That Destroy Servos (Real Cases)

Based on common user reports:

1. Reversing power and ground– Connecting red to GND and brown to VCC will instantly burn the servo’s control board. No recovery possible.

2. Applying more than 7.2V– The MG995’s maximum rated voltage is 7.2V. Using a 2S LiPo (8.4V fully charged) will eventually damage the servo. Case example: a user connected a fully charged 2S LiPo (8.4V). The servo worked for 10 minutes then stopped permanently.

3. Forgetting common ground– Signal wire connected correctly,but the servo’s ground is not linked to the microcontroller’s ground. Result: erratic movement or no response.

4. Powering through the signal pin– Inserting the connector offset by one pin. This sends power into the signal pin and destroys the microcontroller pin.

04Actionable Checklist Before Powering On

[ ] Brown/black wire goes to GND (power supply negative AND controller GND)

[ ] Red wire goes to external +5V to +7.2V (never to controller 5V pin for continuous use)

[ ] Orange/yellow wire goes to a PWM signal pin

[ ] Power supply can deliver at least 2A continuously

[ ] All connections are secure – loose wires cause servo jitter

05Core Recommendation

Always connect the ground (brown/black wire) first, then power (red wire), then signal (orange/yellow wire). Use an external 5V–7.2V supply rated for at least 2A per servo. For multiple servos, add 2A per servo to the total current requirement. Never exceed 7.2V. If your servo does not move or makes a humming noise, check the common ground – this solves 90% of wiring issues.

Repeat of core fact:The MG995 servo requires three connections: brown/black to ground, red to +5V–7.2V, orange/yellow to PWM signal. The most critical step is sharing ground between the servo power supply and the controller. Follow this wiring method exactly, and your servo will operate safely and reliably.

Update Time:2026-04-04

Powering The Future

Contact Kpower's product specialist to recommend suitable motor or gearbox for your product.

Mail to Kpower
Submit Inquiry
+86 0769 8399 3238
 
kpowerMap