A servomotor pinout defines the physical and electrical interface between your controller, the power source, and the motor itself. Whether you are wiring a 9-gram micro servo to an Arduino Nano, daisy-chaining Dynamixel smart servos for a robotic arm, or terminating a 3-phase industrial AC servo drive, misinterpreting the wire colors or pin order will instantly destroy your microcontroller, fry the motor's internal BEC, or trip your shop's main breaker.
Below is the direct reference data you need, followed by the ecosystem variants and the specific failure modes we see most often on the bench.
The Master Servomotor Pinout & Color Code Table
This table covers the most common hobby, smart, and industrial servomotor pinouts. Read the 'Standard' column carefully; assuming a universal color code across ecosystems is the fastest way to short a power rail.
| Application | Standard / Ecosystem | Pin Count | Wire Colors (Pin Order) | Signal / Pin Function | Voltage / Logic |
|---|---|---|---|---|---|
| Hobby RC | JR / Hitec / Spektrum | 3-Pin | Brown, Red, Orange | GND, VCC, PWM Signal | 4.8-6.0V / 5V TTL |
| Hobby RC | Futaba | 3-Pin | Black, Red, White | GND, VCC, PWM Signal | 4.8-6.0V / 5V TTL |
| Smart Servo | Dynamixel (TTL) | 4-Pin | Black, Red, White, Blue | GND, VCC, Data(Tx), Data(Rx) | 7-12V / 3.3V UART |
| Industrial AC Power | IEC 60446 (EU/Global) | 3-Phase | Brown, Black, Grey | U, V, W (Motor Phases) | 200-400V AC |
| Industrial AC Power | NEC (North America) | 3-Phase | Black, Red, Blue | U, V, W (Motor Phases) | 200-480V AC |
| Industrial AC Power | Old UK (Pre-2004) | 3-Phase | Red, Yellow, Blue | U, V, W (Motor Phases) | 415V AC |
Standard Variants: JR, Futaba, and Industrial IEC vs NEC
Servomotor wiring is not globally standardized. The physical connectors and color codes change drastically depending on whether you are working with low-voltage DC robotics or high-voltage AC industrial automation.
Hobby RC: The JR vs. Futaba Divide
In the hobby space, the 3-pin RC servo standard is split into two camps. The JR standard (Brown/Red/Orange) is the most common today, used by TowerPro, MG996R clones, and most Arduino starter kits. Futaba uses Black/Red/White. Electrically, the pinout order (Ground, Power, Signal) is identical. The difference is physical: Futaba connectors feature a small plastic 'J' tab on the side to prevent reverse insertion. If you force a Futaba plug into a JR header without checking the tab orientation, you will reverse the polarity and instantly blow the servo's internal protection diode or your ESC's Battery Eliminator Circuit (BEC).
Industrial AC: IEC 60446 vs. NEC vs. Old UK
When wiring the power stages of industrial servomotors (like a Delta ASDA or Yaskawa Sigma-7), you are dealing with lethal 3-phase AC voltage. The color codes for the U, V, and W phase leads depend entirely on the regional wiring standard:
- IEC 60446 (Europe/Global Harmonized): Phase U is Brown, Phase V is Black, Phase W is Grey. This is detailed in the IEC wiring color code guidelines.
- NEC (North America): For 208/240V 3-phase systems, the standard practice is Black (U), Red (V), and Blue (W).
- Old UK (Pre-2004): If you are retrofitting machinery in older British facilities, you may encounter the legacy Red (U), Yellow (V), and Blue (W) scheme.
Warning: Always verify the motor nameplate and the servo drive manual. Mixing IEC motor cables with NEC-colored drive outputs without tracing each pin will cause the motor to run in reverse or fault immediately.
Rows and Wires People Get Wrong (And How to Fix Them)
Even with the table above, makers and technicians consistently fall into a few specific traps. Here are the rows and scenarios people get wrong, and the exact fixes.
Rows People Get Wrong
1. The 3.3V Logic Trap (Smart Servos & ESP32)
Look at the Dynamixel TTL row. The power rail is 7-12V, but the data logic is 3.3V or 5V depending on the exact model. If you wire a 5V-tolerant smart servo directly to an ESP32 GPIO pin without a logic level shifter, the 5V Tx line from the servo will back-feed into the ESP32's 3.3V RX pin. This will degrade the ESP32's silicon over time or instantly latch up the GPIO block. Fix: Use a bidirectional logic level converter (like the BSS138 MOSFET breakout) between the ESP32 and the servo data lines.
2. The Industrial Encoder Ground Loop
When wiring the 15-pin D-sub encoder cable on an industrial servomotor, people often connect the shield wire to Ground at both the motor end and the drive end. This creates a ground loop. High-frequency switching noise from the servo drive's IGBTs travels up the shield, inducing voltage spikes that fry the drive's optocouplers. Fix: Terminate the encoder cable shield to the chassis ground only at the servo drive end. Leave it floating (cut and heat-shrink) at the motor connector.
A standard MG996R metal-gear servo can pull up to 2.5A during a mechanical stall. If you power this servo from the ESP32's 5V Vin pin (which is fed by your PC's USB port), the voltage will sag below 4.1V. The ESP32's onboard AMS1117 LDO will drop out, causing a continuous 'brownout detector was triggered' boot loop. Always power hobby servos from a dedicated 5V/3A buck converter, sharing only the GND and Signal wires with the ESP32.
Safe Interpretation When Markings Are Faded or Missing
If you are scavenging parts, working with unbranded clone servos from overseas, or dealing with sun-faded industrial cables, do not guess the pinout. Guessing with a 6V LiPo or a 240V AC drive will result in catastrophic failure. Use this bench procedure to safely identify the pins.
Identifying Hobby Servo Pins (3-Wire)
- Find Ground (GND): Set your multimeter to continuity mode (the diode/beep setting). Place one probe on the metal mounting flange, the output shaft bearing housing, or the internal motor casing (if visible). Probe the three wires. The wire that reads less than 1.0 ohm (usually 0.2 to 0.5 ohms) to the chassis is your Ground. In 99% of servos, this is the edge pin closest to the bottom of the connector.
- Find Power (VCC): The middle pin is almost universally the positive voltage rail. It will typically show a forward voltage drop of around 0.4V to 0.6V when tested with the multimeter's diode mode (red probe on wire, black probe on GND) due to the internal reverse-polarity protection diode.
- Find Signal: The remaining wire is the PWM signal line. It connects directly to the internal microcontroller's input pin and will typically read open-circuit (OL) or a very high resistance to ground in both directions.
Identifying Industrial 3-Phase Power Leads
If the outer jacket of an industrial servomotor power cable is stripped and the colors are unreadable or non-standard, you must identify the U, V, and W phase windings before connecting them to the drive.
- Disconnect Power: Lock out and tag out the servo drive. Verify zero energy with a CAT III rated multimeter.
- Measure Winding Resistance: Set your multimeter to the lowest ohms range (usually 200Ω). Measure the resistance between every combination of the three thick power wires (Wire 1-2, 2-3, 1-3).
- Verify Balance: A healthy AC servomotor will show identical, very low resistance across all three pairs (typically between 0.5Ω and 5.0Ω depending on the motor's kW rating). If one pair reads significantly higher or 'OL', the internal winding is blown.
- Assign Phases: Because the windings are balanced, the physical assignment of U, V, and W to the three wires is arbitrary for initial testing. Label them 1, 2, and 3, wire them to the drive's U, V, and W terminals, and run the drive's auto-tuning routine. If the drive throws a 'Phase Sequence Error' or the motor spins violently in the wrong direction during the open-loop test, simply swap any two of the three wires to reverse the phase rotation.
For detailed smart servo communication protocols and baud rate configurations, always refer to the manufacturer's specific e-manual, as TTL vs RS485 pinouts vary wildly even within the same brand's product line.






