Cirkit Designer Logo
Cirkit Designer
Your all-in-one circuit design IDE
Home / 
Component Documentation

How to Use Micro servo 9G: Examples, Pinouts, and Specs

Image of Micro servo 9G
Cirkit Designer LogoDesign with Micro servo 9G in Cirkit Designer

Introduction

The Micro Servo 9G (SG90) by AZDelivery is a compact and lightweight servo motor widely used in the world of hobby electronics and robotics. Its small size and affordability make it an ideal choice for applications such as radio-controlled models, small robotics projects, and any application where precise movement and control of small components are required.

Explore Projects Built with Micro servo 9G

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
Arduino Nano Controlled Micro Servo Sweeper
Image of servo: A project utilizing Micro servo 9G in a practical application
This circuit consists of two Arduino Nano microcontrollers and a Micro Servo 9G. One Arduino Nano controls the servo motor connected to its D6 pin, sweeping it back and forth between 0 and 180 degrees. The second Arduino Nano is present but not actively used in this configuration.
Cirkit Designer LogoOpen Project in Cirkit Designer
Arduino Nano Controlled Robotic Arm with Multiple Micro Servos
Image of Nova: A project utilizing Micro servo 9G in a practical application
This circuit consists of an Arduino Nano microcontroller connected to three Micro servo 9G motors. The Arduino Nano controls the servos via its digital pins D2, D3, and D4, while providing power and ground connections to the servos.
Cirkit Designer LogoOpen Project in Cirkit Designer
Arduino UNO Battery-Powered Servo Motor Controller
Image of Fire Fighting Robot car: A project utilizing Micro servo 9G in a practical application
This circuit uses an Arduino UNO to control a 9G servo motor, powered by a 9V battery. The Arduino runs a program that allows the servo motor to move between two positions based on user input received via the serial monitor.
Cirkit Designer LogoOpen Project in Cirkit Designer
Arduino UNO Controlled Dual Servo Motion System
Image of schranken fur crossing: A project utilizing Micro servo 9G in a practical application
This circuit consists of an Arduino UNO microcontroller connected to two 9G micro servos and powered by a 9V battery. The Arduino controls the servos using PWM signals on pins D9 and D10, allowing the servos to rotate between 0 and 180 degrees. The embedded code on the Arduino sequentially moves each servo through its full range of motion and then back, demonstrating basic servo control for applications such as robotics or automated systems.
Cirkit Designer LogoOpen Project in Cirkit Designer

Explore Projects Built with Micro servo 9G

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
Image of servo: A project utilizing Micro servo 9G in a practical application
Arduino Nano Controlled Micro Servo Sweeper
This circuit consists of two Arduino Nano microcontrollers and a Micro Servo 9G. One Arduino Nano controls the servo motor connected to its D6 pin, sweeping it back and forth between 0 and 180 degrees. The second Arduino Nano is present but not actively used in this configuration.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of Nova: A project utilizing Micro servo 9G in a practical application
Arduino Nano Controlled Robotic Arm with Multiple Micro Servos
This circuit consists of an Arduino Nano microcontroller connected to three Micro servo 9G motors. The Arduino Nano controls the servos via its digital pins D2, D3, and D4, while providing power and ground connections to the servos.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of Fire Fighting Robot car: A project utilizing Micro servo 9G in a practical application
Arduino UNO Battery-Powered Servo Motor Controller
This circuit uses an Arduino UNO to control a 9G servo motor, powered by a 9V battery. The Arduino runs a program that allows the servo motor to move between two positions based on user input received via the serial monitor.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of schranken fur crossing: A project utilizing Micro servo 9G in a practical application
Arduino UNO Controlled Dual Servo Motion System
This circuit consists of an Arduino UNO microcontroller connected to two 9G micro servos and powered by a 9V battery. The Arduino controls the servos using PWM signals on pins D9 and D10, allowing the servos to rotate between 0 and 180 degrees. The embedded code on the Arduino sequentially moves each servo through its full range of motion and then back, demonstrating basic servo control for applications such as robotics or automated systems.
Cirkit Designer LogoOpen Project in Cirkit Designer

Common Applications and Use Cases

  • Radio-controlled vehicles (cars, airplanes, boats)
  • Robotic arms and manipulators
  • Camera pan/tilt systems
  • Small-scale automation projects

Technical Specifications

Key Technical Details

  • Operating Voltage: 4.8V to 6.0V
  • Stall Torque: 1.8 kg-cm (4.8V), 2.2 kg-cm (6.0V)
  • Operating Speed: 0.12 sec/60° (4.8V), 0.10 sec/60° (6.0V)
  • Temperature Range: -30°C to +60°C
  • Weight: 9g
  • Dimensions: 22.2 x 11.8 x 31 mm

Pin Configuration and Descriptions

Pin Number Color Description
1 Brown Ground (GND)
2 Red Power Supply (VCC)
3 Orange Control Signal (PWM)

Usage Instructions

How to Use the Component in a Circuit

  1. Power Supply: Connect the red wire to a power supply that is within the operating voltage range (4.8V to 6.0V).
  2. Ground: Connect the brown wire to the ground of your power supply and microcontroller.
  3. Control Signal: Connect the orange wire to a PWM-capable pin on your microcontroller.

Important Considerations and Best Practices

  • Ensure that the power supply is stable and within the specified voltage range to prevent damage to the servo.
  • Do not exceed the servo's torque capabilities, as this may cause permanent damage.
  • When mounting the servo, ensure that it is securely fastened to prevent any unintended movement.
  • Avoid placing the servo under continuous load for extended periods to prevent overheating and potential failure.

Example Code for Arduino UNO

#include <Servo.h>

Servo myservo;  // create servo object to control a servo

void setup() {
  myservo.attach(9);  // attaches the servo on pin 9 to the servo object
}

void loop() {
  myservo.write(90);  // sets the servo position according to the scaled value
  delay(1000);        // waits for the servo to reach the position
  myservo.write(0);   // sets the servo back to the starting position
  delay(1000);        // waits for the servo to reach the position
}

Troubleshooting and FAQs

Common Issues Users Might Face

  • Servo not responding: Ensure that all connections are secure and the power supply is within the operating voltage range.
  • Erratic movements: Check for any signal interference or inconsistencies in the control signal.
  • Overheating: Make sure the servo is not under excessive load and is being used within its torque specifications.

Solutions and Tips for Troubleshooting

  • Double-check wiring, especially the control signal wire, to ensure it is connected to a PWM-capable pin.
  • Use a separate power supply for the servo if the microcontroller cannot provide sufficient current.
  • Implement a "sweep" test code to ensure the servo is functioning correctly across its range of motion.

FAQs

Q: Can I control the Micro Servo 9G with a Raspberry Pi? A: Yes, you can control the servo using the Raspberry Pi's GPIO pins, but you will need to ensure proper logic level conversion and power supply.

Q: How many servos can I connect to an Arduino UNO? A: The Arduino UNO can control as many servos as there are PWM-capable pins available, but power limitations may require an external power supply when using multiple servos.

Q: What is the lifespan of the Micro Servo 9G? A: The lifespan can vary based on usage, but with proper care and not exceeding its specifications, it can last for many operational hours.