SG90 서보 배선: 3핀 GND VCC 신호 연결 가이드_BLDC_Industry Insights_Kpower
> 업계 통찰 >BLDC
기술 지원

SG90 서보 배선: 3핀 GND VCC 신호 연결 가이드

게시됨 2026-07-07

SEO 제목: SG90 연결 방법서보 기구: 초보자를 위한 3핀 연결 가이드

메타 설명: 올바른 SG90 알아보기서보 기구배선, 핀아웃(GND, VCC, 신호) 및 Arduino 및 Raspberry Pi에 연결하는 방법. 일반적인 역극성 실수를 피하십시오.

01SG90서보 기구배선: 3핀 연결에 대한 완벽한 가이드

빠른 답변

SG90 서보는 세 개의 와이어를 통해 연결됩니다.브라운(GND) , 빨간색(VCC, 4.8V~6V), 그리고주황색/노란색(신호). 잘못된 배선은 서보나 컨트롤러를 즉시 손상시킬 수 있습니다. 전원을 켜기 전에 항상 전압 요구 사항을 확인하고 여러 서보를 위한 별도의 전원 없이 빨간색 와이어를 마이크로 컨트롤러의 5V에 직접 연결하지 마십시오. 이 가이드에서는 핀아웃 식별, 일반적인 배선 실수, Arduino 및 Raspberry Pi의 단계별 연결을 다룹니다.

소개

당신의 손에 SG90 마이크로 서보가 있지만 데이터시트가 누락되어 있고 색상이 기억하는 것과 일치하지 않습니다. 갈색, 빨간색, 주황색? 아니면 검은색, 빨간색, 흰색인가요? 하나의 잘못된 배선으로 인해 서보가 소손되거나 더 나쁘게는 컨트롤러 보드가 작동을 멈춥니다.

이것은 드문 상황이 아닙니다. 많은 애호가와 엔지니어는 표준 배선 시 동일한 불확실성에 직면합니다.SG90 서보처음으로. 좌절감은 현실입니다. 프로젝트 지연, 구성 요소 교체, 문제 해결에 소요되는 시간 낭비.

배선은 사소해 보이지만 로봇 팔부터 카메라 짐벌에 이르기까지 서보 구동 프로젝트에서 가장 흔한 실패 원인입니다. 전압 불일치, 극성 반전 또는 신호 간섭으로 인해 불규칙한 움직임, 응답 없음 또는 영구적인 손상이 발생할 수 있습니다.

이 가이드는 이러한 불확실성을 제거하기 위해 존재합니다. 어떤 와이어가 어떤 역할을 하는지, SG90을 널리 사용되는 마이크로컨트롤러에 연결하는 방법, 전원을 공급하기 전에 확인해야 할 사항을 정확히 배우게 됩니다.

목차

1. SG90 서보 핀아웃 이해

2. 와이어 색상 표준 및 변형

3. 전압 및 전력 요구사항

4. SG90을 Arduino에 연결하는 방법

5. SG90을 라즈베리파이에 연결하는 방법

6. 일반적인 배선 실수와 이를 방지하는 방법

7. 구매자가 SG90 배선에 대해 자주 묻는 질문

8. 프로젝트에 적합한 서보 선택

SG90 서보 핀아웃 이해

SG90은 표준 3선 인터페이스를 사용합니다. 각 전선의 기능은 고정되어 있지만 색상 코드는 제조업체마다 다를 수 있습니다.

갈색선은 항상접지(GND). 이는 전체 회로의 기준점입니다.

빨간선은전원(VCC). SG90은 4.8~6V의 전압 범위에서 작동합니다. 5V에서 약 1.8kg·cm의 최대 토크를 발휘한다. 4.8V 이하의 전압을 공급하면 서보가 움직이지 않거나 정지할 수 있습니다. 6V를 초과하면 내부 제어 보드가 손상될 위험이 있습니다.

주황색 또는 노란색 선은 다음과 같습니다.신호 . This wire receives a PWM(펄스 폭 변조) signal to command the servo position. The pulse width typically ranges from 1ms (0 degrees) to 2ms (180 degrees), repeating every 20ms.

이것이 중요한 이유: A common mistake is assuming the red wire can be driven directly from a microcontroller's 5V pin. For a single SG90, this may work temporarily. For two or more servos, the current draw often exceeds what the board can supply, causing resets or damage.

Wire Color Standards and Variations

ts90a舵机接线_sg90舵机怎么接线_舵机sg90接线

While the standard SG90 uses Brown-Red-Orange, you may encounter other color schemes.

Manufacturer접지VCC신호
TowerPro (standard)갈색빨간색주황색
Generic/alternative검은색빨간색하얀색
Some hobby brands검은색빨간색노란색

Always confirm with a multimeter if the colors are unfamiliar. Measure resistance between the suspected GND and the metal shaft of the servo. If continuity exists, that wire is ground.

If you are sourcing servos from different batches, test one unit before wiring the entire project. A reversed power connection can destroy the servo controller in milliseconds.

Voltage and Power Requirements

The SG90 is not designed for high-voltage or high-current applications. Understanding its power limits prevents unexpected failures.

작동 전압:4.8V ~ 6V

Stall current (at 5V): Approximately 700mA to 800mA

Idle current: Around 10mA

Recommended power source: A separate 5V regulator or battery pack for multiple servos

What happens if you ignore this: When the servo stalls (for example, if a robotic arm hits an obstacle), current spikes to near-stall levels. If your controller cannot supply that current, voltage drops, and the microcontroller resets. This is often misdiagnosed as a software bug.

Our recommendation: For projects using two or more SG90 servos , use an external 5V power supply rated at least 2A. Connect the servo power wires directly to the supply, and only connect the signal wires to the microcontroller.

How to Connect SG90 to Arduino

Connecting the SG90 to an Arduino is straightforward, but the order of connection matters for safety.

1. 전선 식별 – Brown (GND), Red (VCC), Orange (Signal).

2. Connect GND – Brown wire to any GND pin on the Arduino.

3. Connect VCC – Red wire to 5V pin on the Arduino (only for a single servo and light load).

4. Connect Signal – Orange wire to a PWM-capable digital pin, eg, pin 9.

For multiple servos: Do not connect the red wires to the Arduino 5V pin. Use an external power supply. Connect all brown wires to a common ground shared with the Arduino.

Sample code logic: The servo library uses servo.attach(9)그리고서보.쓰기(90) to set position. Pulse timing is handled automatically.

경고: If the servo jitters or moves erratically, check your power supply first. In most cases, it is not a coding issue but insufficient current.

How to Connect SG90 to Raspberry Pi

The Raspberry Pi operates at 3.3V logic, while the SG90 expects a 5V signal. Direct connection can cause unreliable behavior.

Correct wiring for Raspberry Pi:

1. 접지 – Brown wire to any GND pin on the Pi.

2. VCC – Red wire to a 5V pin on the Pi (only for a single servo).

舵机sg90接线_sg90舵机怎么接线_ts90a舵机接线

3. 신호 – Orange wire to a GPIO pin, eg, GPIO 18 (PWM0).

중요한: The 3.3V logic high from the Pi may not reliably trigger the servo's signal detection. A 레벨 시프터 is recommended for consistent performance. Without it, the servo may not reach full rotation or may stop mid-movement.

Power caution: The Raspberry Pi's 5V rail is limited. Drawing 700mA from a single servo can cause voltage dips that affect the Pi's stability. Use an external power supply for the servo and connect the grounds.

Software note:사용돼지 피오 library for hardware-based PWM. The default RPi.GPIO software PWM often produces jitter.

일반적인 배선 실수와 이를 방지하는 방법

These mistakes are frequent and easily preventable.

1. Reverse polarity. Connecting the red wire to GND and brown to VCC destroys the servo's control board immediately. Always double-check before connecting power.

2. Insufficient power. Using a single servo with a microcontroller's 5V pin is borderline. Adding a second servo often causes failures. Use an external regulator.

3. Signal wire on non-PWM pin. On Arduino, only pins marked with ~ support PWM. Using a digital-only pin will not produce movement.

4. Ground not shared. When using an external power supply, if the servo's ground is not connected to the microcontroller's ground, the signal has no return path. The servo will not respond.

5. Over-torque and stall. If the servo cannot complete its commanded motion, it draws stall current. This heats the motor and can damage the internal potentiometer.

What to check before powering on:

[ ] Wire colors verified with multimeter

[ ] Power supply voltage measured (4.8V–6V)

[ ] GND shared between servo and controller

[ ] Signal pin configured for PWM output

[ ] Load does not exceed servo torque rating

Questions Buyers Often Ask About SG90 Wiring

Q: Can I use an SG90 servo with a 3.3V microcontroller?

Yes, but you should use a level shifter for the signal line. The servo's power must still be 5V. The signal from 3.3V logic may not reliably trigger the servo.

Q: What happens if I connect the SG90 to 12V?

The servo will be damaged almost immediately. The internal components are rated for a maximum of 6V. 12V will burn the control board.

Q: Can I control an SG90 without a PWM library?

It is possible by manually generating pulses in your code, but it is not recommended. Timing errors cause jitter and inconsistent position. Using a library is more reliable.

Q: How do I know if my SG90 is broken?

If the servo does not move but you feel resistance when turning the shaft manually, the internal gears may be stripped. If there is no resistance and it spins freely, the gear train is broken.

Q: Does the SG90 need a capacitor on the power line?

Adding a 100µF to 470µF electrolytic capacitor across the power and ground near the servo can reduce voltage spikes and improve stability, especially during rapid movements.

Q: Can I use the SG90 for continuous rotation?

The standard SG90 is not designed for continuous rotation. You can modify it by removing the mechanical stop, but position feedback will be lost. For continuous rotation, use a dedicated continuous rotation servo.

Q: Why does my SG90 only move a few degrees?

This usually indicates a signal issue. Check that the PWM frequency is 50Hz and the pulse width range is correct. Also verify that the power supply can deliver enough current.

Q: Can I daisy-chain multiple SG90 servos?

You can share the power and ground wires, but each servo needs its own signal wire connected to a separate PWM pin. Do not connect signal wires together.

프로젝트에 적합한 서보 선택

The SG90 is suitable for lightweight applications: small robot arms, camera pan/tilt mechanisms, and model aircraft control surfaces. It is not designed for high-torque or continuous-duty industrial use.

When the SG90 is the right choice:

Your project requires a compact, low-cost servo

The load is light (under 200g)

The movement is intermittent, not continuous

You have a stable 5V power supply

When to look for alternatives:

You need higher torque or metal gears

The servo will run for extended periods

Your application requires precise feedback (use a feedback servo or encoder)

You are working in an industrial environment with higher voltage requirements

For buyers comparing options: Evaluate the 토크 요구 사항 of your application first. If the SG90 cannot lift the load at the required speed, no amount of wiring improvements will fix it. Upgrade to a metal-gear servo like the MG90S for heavier loads.

If you are unsure about your specific application, send your project specifications to an engineering team for review. A five-minute review can prevent weeks of troubleshooting.

Need Help Selecting the Right Servo?

Wiring the SG90 correctly is the first step. The next is ensuring the servo itself matches your application's torque, speed, and durability needs.

~에kpower서보 기구 , we specialize in servo solutions for both prototyping and production. Whether you need standard micro servos or custom servo solutions for industrial motion control applications, our engineers can help match the right product to your load and power requirements.

Request a quote또는upload your project specifications for an engineering review. We can help you verify torque, voltage compatibility, and wiring integration before you order.

업데이트 시간:2026-07-07

미래에 힘을 실어주다

귀하의 제품에 적합한 모터 또는 기어박스를 추천하려면 Kpower 제품 전문가에게 문의하십시오.

케이파워에 메일보내기
문의 제출
WhatsApp 메시지
+86 0769 8399 3238
 
kpower지도