Home > Industry Insights >Servo
TECHNICAL SUPPORT

Product Support

The Color Corresponding Diagram Of The Servo Wires Shows How To Connect The Three Brown, Red And Orange Wires To The Positive Signal Wire.

Published 2026-03-08

I believe that many friends have worried about those colorful wires when they first came into contact with the steering gear. Looking at the three red, black, and white (or yellow, brown) wires drawn from the other end of the DuPont wire, the first reaction in my mind must be: How to connect this thing? If the connection is wrong, will theservobe burned directly with a "pop" sound? Don't worry, today we will thoroughly clarifythe color correspondence of theservocable, and I guarantee that you can pick it up yourself after reading it.

What does the color of theservocable mean?

In fact, there is a universal standard for the color of servo cables around the world. If you look carefully, you will see that the three wires of most servos are brown, red and orange. Of course, there are also black, red and white or yellow ones. The color code is actually very simple:redis always the positive power supply, and this wire needs to be connected to the 5V or VCC pin of the control board (for example). The most troublesome signal line is usuallythe orangeoryellowone, which is responsible for transmitting the PWM signal that controls the steering angle. The remainingbrownorblackwire is naturally the negative pole of the power supply, which is the ground wire (GND). Remember this rule and you won’t make a mistake in most cases.

Are the wiring sequences of servos of different brands the same?

This is indeed the easiest pitfall for novices. Although the meanings represented by the colors are basically fixed, the order of the lines is not necessarily the same for different brands or even different series of servos of the same brand. For example, our most commonly used Fraser servo, its wire sequence (viewed from the front of the servo, with the wire facing down) is usually the signal wire, positive pole, and ground wire from left to right. For some imported servos, the wire sequence may be signal wire, ground wire, and positive pole. This is like a socket and a plug. Although the voltage is the same, if the shape is wrong, you can't plug it in. Therefore, before wiring, be sure to develop a good habit of reading the product manual, or carefully observe whether there are "S" (signal), "V" (power), and "G" (ground) marked on the servo interface.

How to quickly confirm that the servo wiring is correct

Just looking at the color and line sequence is not safe enough. The most reliable way is to use a simple method to verify. You can plug the three wires of the servo into the breadboard, and then use a multimeter to adjust it to the buzzer or resistance setting. First find the red power wire and the brown ground wire, and use a test lead to measure them. Under normal circumstances, there will be a certain resistance value between them, but they will not be short-circuited. The most critical step is that you can give the servo signal line a voltage of 3.3V or 5V (for example, touch the signal line through the 3.3V pin). If you hear a weak "buzz" sound inside the servo, or the steering wheel moves slightly, it means that your wiring is basically OK, and the servo has been powered on and received the signal. This method is much safer and more intuitive than directly using the electric burner program.

️ 1. Find the right power supply first

The first step in wiring is to connect the red power wire and the brown ground wire first, regardless of the signal wire. You can think of this part as "feeding" the servo. Only when the positive and negative poles are connected correctly can it have the energy to move. After connecting these two wires, although the servo will not turn, the internal circuit has started to work. You can feel a resistance when turning the steering wheel by hand. This means that the servo is "self-locking". If you can't feel any resistance and the steering wheel can turn at will, it's likely that the power supply is connected incorrectly or incorrectly. Turn off the power immediately and check.

️ 2. Process the signal again

After the power supply is established, deal with the most critical orange signal line. This wire needs to be connected to the pin of your controller (for example) that can output a PWM wave. You need to write the corresponding angle instructions in the program. After connecting the signal line, if the servo immediately shakes or turns to a strange angle, don't panic. This is usually caused by a mismatch between the angle initialized in the program and the current physical position of the steering wheel. You can first change the angle in the program to a middle value (such as 90 degrees), and then manually screw the steering wheel to the middle position and install it.

️ 3. Simulate actual combat connection methods

Assume you now have a UNO and a standard SG90 9g servo on hand. SG90 usually has three wires: brown, red and orange. Then the connection method is: Plug the orange wire of the servo to pin 9 (PWM pin), the red wire to the 5V pin, and the brown wire to the GND pin. It's that simple. After connecting, upload a standard "servo sweep library" program, and the servo will rotate from 0 degrees to 180 degrees, and then back again. If the servo makes a clicking noise or jitters while the program is running, it may be that the load on the servo is too large or the power supply is insufficient. You may consider providing a separate power supply to the servo.

️ 4. How to use the servo tester

If you don't have a controller and just want to test the quality of a servo alone, then the small tool "Servo Tester" comes in handy. It is almost a must-have artifact for playing servos. Plug the servo into the corresponding interface of the tester (pay attention to the line sequence), and flip the mode switch. Some testers can control the angle of the servo directly through the knob. If the indicator light on the tester does not light up or the servo does not respond after plugging it in, check the wiring sequence first; if the indicator light is on but the servo does not move, it is likely that there is a problem with the motor or gear set inside the servo. This tool can help you quickly diagnose whether there is a wiring problem or damage to the servo itself.

️ 5. Must-know guidelines for preventing burns

The most feared thing about wiring is burning the servo. Here are a few key points to summarize the lessons learned from blood and tears: First, never connect the red power cord to the signal line. Instantaneous high voltage will directly cause the steering gear control board to be scrapped. Second, when powering a high-torque servo, never take power directly from the 5V pin. Excessive current may burn out your development board. The correct approach is to connect a separate external power supply to the servo, and then connect the ground wire of the servo to the ground wire of the external power supply so that the signal can be transmitted normally.

️ 6. Choose the right color to help you avoid pitfalls

Nowadays, some servos on the market have colors that are not completely in accordance with the standards in order to distinguish them. For example, some use blue or green as signal lines. At this time, instead of memorizing the colors by rote, it is better to look directly at the "line sequence definition" in the specification book. Usually at the bottom of the servo's product details page, there will be a table that says "1. Signal wire 2. Power wire 3. Ground wire" or marked in English. Developing the habit of looking at this form is much more professional than relying solely on color, and can also help you avoid more than 90% of low-level mistakes.

After seeing this, I believe you already know the color and connection method of the servo cable. I want to ask you, when you first connected the servo, did you ever burn the servo because you made a mistake in the wiring sequence? Or do you have any unique wiring tips? Welcome to share your experiences in the comment area, and let’s avoid pitfalls and make progress together! If you find this article useful, don’t forget to like it and share it with your friends who are also playing with servos.

Update Time:2026-03-08

Powering The Future

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

Mail to Kpower
Submit Inquiry
WhatsApp Message
+86 0769 8399 3238
 
kpowerMap