Published 2026-04-19
servomotors typically use three wires: ground (brown or black), power (red), and signal (orange, yellow, or white). This guide provides a direct, step-by-step method to connect these wires to a standard microcontroller or receiver, ensuring safe and reliable operation. No brand-specific hardware is required; the process applies to all commonservos.
Before connecting, confirm the role of each wire. The table below shows the universal standard used by nearly all hobby servos:
Verify voltage requirements– Most standard servos operate at 4.8V to 6.0V. Connecting to a higher voltage (e.g., 12V) will permanently damage the servo. Check the servo’s datasheet or label before applying power.
Identify the matching pins on your device. For a microcontroller board (e.g., Arduino-compatible or generic PWM controller),locate:
GND pin– Must connect to the servo’s brown/black wire.
5V pin– Must connect to the servo’s red wire. If your board provides only 3.3V, use an external 5V power supply capable of delivering at least 1A per servo.
PWM-capable pin– Usually labeled with a tilde (~) or “PWM”. This connects to the servo’s orange/yellow/white wire.
For an RC receiver, the three-pin header is standard: ground is on the outside (often black or brown), power in the middle (red), and signal on the remaining pin (white or yellow).
Use male-to-female jumper wires or a servo extension cable for temporary connections.
Step A – Connect Ground First
Plug the brown (or black) wire into the GND pin on your controller or receiver. Ground must always be connected first to prevent erratic behavior.
Step B – Connect Power
Plug the red wire into the 5V pin.Do not exceed 6V. If using an external battery pack (e.g., 4xAA = 6V), connect the battery’s positive to the servo’s red wire and battery’s negative to the servo’s brown wire, then share the same ground with the controller.
Step C – Connect Signal
Plug the orange/yellow/white wire into any PWM-capable pin (e.g., pin 9 on a generic board).
Step D – Power the System
Turn on the controller or receiver. The servo should immediately hold its position. If it jitters or does not move, recheck all connections.
A typical scenario: You have a standard 9g micro servo and a common microcontroller board. The servo has brown, red, orange wires. The board has labeled pins: GND, 5V, and digital pins 2–13.
Brown wire → GND pin
Red wire → 5V pin
Orange wire → digital pin 9
Upload a basic sweep program (e.g., write a 1ms pulse for 0°, 1.5ms for 90°, 2ms for 180°). The servo will rotate smoothly. This exact wiring works for all standard 3-wire servos, regardless of size (from 5g to 35kg).
Never connect or disconnect a servo while powered– This can short the power lines and damage the driver circuit.
Use a common ground– If using an external power supply for the servo, connect its negative terminal to the controller’s GND. Without this, the signal will be unstable.
Current budget– A single standard servo can draw 500–1000mA when moving. For multiple servos, use a dedicated 5V UBEC or battery pack rated for at least 2A.
Signal wire length– Keep signal wires under 50 cm (20 inches) to avoid interference. Use twisted or shielded wire for longer runs.
The three wires must always connect as: ground to ground, power to correct voltage (4.8–6V), signal to a PWM pin. Connect ground first, then power, then signal. Always use a common ground between servo and controller.
Immediate action steps:
1. Identify your servo’s wire colors using the table above.
2. Check your controller’s output voltage – do not exceed 6V.
3. Connect brown/black to GND, red to 5V, orange/yellow/white to a PWM pin.
4. Upload a simple sweep test (1ms to 2ms pulses, 50Hz).
5. If the servo moves smoothly, secure connections with heat shrink or a connector housing.
By following this guide, you will successfully connect any standard 3-wire servo without damage. For non-standard servos (e.g., 2-wire continuous rotation or 5-wire feedback servos), consult the specific datasheet – but the vast majority of servos use the exact 3-wire color code described here.
Update Time:2026-04-19
Contact Kpower's product specialist to recommend suitable motor or gearbox for your product.