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

Micro servo 9G

Image of Micro servo 9G

Micro Servo 9G (SG90) Documentation

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.

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.

Example Projects

Nova
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.
Fire Fighting Robot car
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.
schranken fur crossing
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.
Servo 9G
Image of Servo 9G: A project utilizing Micro servo 9G in a practical application
This circuit consists of an Arduino UNO microcontroller connected to a Micro servo 9G. The Arduino provides power and ground to the servo and controls it via a PWM signal on pin D13. The code initializes the servo and reads an analog input, printing the value to the serial monitor.

Example Projects

Image of Nova: A project utilizing Micro servo 9G in a practical application
Nova
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.
Image of Fire Fighting Robot car: A project utilizing Micro servo 9G in a practical application
Fire Fighting Robot car
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.
Image of schranken fur crossing: A project utilizing Micro servo 9G in a practical application
schranken fur crossing
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.
Image of Servo 9G: A project utilizing Micro servo 9G in a practical application
Servo 9G
This circuit consists of an Arduino UNO microcontroller connected to a Micro servo 9G. The Arduino provides power and ground to the servo and controls it via a PWM signal on pin D13. The code initializes the servo and reads an analog input, printing the value to the serial monitor.