Same-day dispatch before 2 PM · Free delivery over ₹999 · GST invoices Get the appPrices incl. GST
Geekobot
Snap & SendNEWGeeko AIWhere's myOrder
Log in
Products
  • Projects
    • Component guidesHow parts work, with code you can run
    • Learning pathsFrom your first LED to your first robot
    • Workshops & eventsOnline sessions for makers and classes
    • ElectrolarkFree guided builds, simulator and certificates
    • Students & teachersStudent discount and classroom help
    • CommunityShare builds and ask other makers
    • CalculatorsOhm's law, LED resistor, 555 and 100+ more
    • Circuit builderWire parts and run the circuit, powered by Electrolark
    • Geeko AIAsk what to buy or how to wire it
    • Snap & SendPhotograph a part or list, we find it
    • Part finderAnswer a few questions, get the right part
    • Compatibility checkWill these two parts work together?
    • Compare partsSpecs side by side
    • Business & bulk ordersGST invoices, credit and volume prices
    • Request a quotationSend your list, get a quote
    • Classroom kitsPer-student kits and lab bundles
    • Gift cardsFor students, teams and events
  • Atal Tinkering Lab
BOM to cart
Geekobot

Components, kits and know-how for makers, students, engineers, labs and businesses across India.

Ask Geeko AIOrders, parts and projects, any timeEmail supportReply within 1 working dayGet the Geekobot appAdd it to your home screen, free

Follow us

Shop

  • Boards & SBCs
  • Sensors & Modules
  • IoT & Wireless
  • Drone & FPV
  • 3D Printing
  • Filaments & Resins
  • Motors & Drivers
  • Power & Batteries
  • Semiconductors
  • Passive
  • Displays & LEDs
  • Switches & Relays
  • Wires & Cables
  • Prototyping
  • Tools & Test
  • Robotics
  • STEM Kits
  • Atal Tinkering Lab
  • Mechanical Parts
  • Audio

Orders

  • Track your order
  • Help & support
  • Shipping and delivery
  • Refunds and cancellation
  • Contact us

Learn

  • Projects
  • Geeko AI project assistant
  • Learning paths
  • Guides
  • Calculators
  • Electrolark: free guided builds

Part tools

  • Part finder
  • Compare parts
  • Will it work with my board?

Institutions

  • Classroom kits
  • Atal Tinkering Lab
  • Students & teachers
  • Workshops & Events

Business

  • Business & education
  • Request a quotation
  • BOM bulk upload
  • Quick order by SKU

Company

  • About Geekobot
  • Community
  • Gift cards
  • Terms & conditions
  • Privacy policy
  • Product directory
  • Sitemap

© 2026 Geekobot, a trade name of OLatus Systems Private Limited. All rights reserved.

20, 1st Floor, Neeladri Complex, 10th Cross, Sampige Rd, 2nd Main, Malleshwaram, Bengaluru, Karnataka 560003 · GSTIN 29AACCO0462F1ZM

+91 91810 15607 · connect@geekobot.in · Monday to Saturday, 10 AM to 2 PM IST

UPI · CARDS · NETBANKING · GST INVOICES

ShopProjectsGeeko AIGuides
Compare 0 parts →
Log in

Shop by category

Shop all components
  • Boards & SBCs1,910 products
    • Alternative Single Board Computers
    • Arduino Ecosystem
    • FPGA & Logic Boards
    • Microcontroller & Wireless Boards
    View all
  • Sensors & Modules4,701 products
    • Biomedical & Heart Rate
    • Current, Voltage & Power
    • Force, Weight & Pressure
    • Gas, Weather & Environmental
    View all
  • IoT & Wireless2,314 products
    • RF Modules
    • RFID & NFC
    • Antennas & RF Accessories
    • Cameras & Smart Vision
    View all
  • Drone & FPV3,558 products
    • Flight Control & Navigation
    • FPV Video & Optics
    • Frames & Structural Parts
    • Motors & Propulsion
    View all
  • 3D Printing2,204 products
    • 3D Printers
    • 3D Scanners & Digitizers
    • Laser Engravers & Cutters
    • Material Management & Upgrades
    View all
  • Filaments & Resins1,472 products
    • Filaments
    • Photopolymer Resins
    View all
  • Motors & Drivers463 products
    • BLDC Motor Drivers
    • DC & Geared Motors
    • DC Motor Drivers
    • Linear Actuators & Solenoids
    View all
  • Power & Batteries557 products
    • Battery Holders & Connectors
    • Breadboard Power
    • Chargers & BMS
    • DC-DC Converters
    View all
  • Semiconductors295 products
    • Diodes & Rectifiers
    • Interface & RF Encoder ICs
    • Logic ICs (74xx)
    • Logic ICs (CD4000)
    View all
  • Passive67 products
    • Capacitors
    • Circuit Protection
    • Crystals & Oscillators
    • Inductors
    View all
  • Displays & LEDs572 products
    • 7-Segment & Dot Matrix
    • Addressable LEDs
    • Character LCDs
    • Graphic LCDs
    View all
  • Switches & Relays184 products
    • Keypads & Touch
    • Push Buttons & Tactile
    • Relay Modules
    • Relays
    View all
  • Wires & Cables233 products
    • Board-to-Wire Connectors
    • Crimp & Splice
    • Headers & Dupont
    • Heat Shrink & Sleeving
    View all
  • Prototyping101 products
    • Breadboards
    • Interface Modules
    • PCBs & Perfboards
    View all
  • Tools & Test717 products
    • Bench Power Supplies
    • Hand Tools
    • Measuring Tools
    • Meters & Testers
    View all
  • Robotics180 products
    • Humanoid & Legged Robots
    • Robot Chassis & Platforms
    • Robotic Arms & Grippers
    • Wheels & Casters
    View all
  • STEM Kits268 products
    • Arduino Learning Kits
    • Coding & IoT Kits
    • Early Coding (Ages 3-8)
    • Invention Kits
    View all
  • Atal Tinkering Lab196 products
    • Package 1: Electronics, Robotics, IoT and Sensors
    • Package 2: Rapid Prototyping Tools
    • Package 3: Mechanical, Electrical and Measurement Tools
    • Package 4: Power Supply, Accessories and Safety Equipment
    View all
  • Mechanical Parts212 products
    • Bearings
    • Brackets & Mounts
    • Couplers
    • Fasteners & Standoffs
    View all
  • Audio109 products
    • Amplifier Modules
    • Buzzers & Sirens
    • Speakers
    View all
  1. Home
  2. ›Guides
  3. ›Motors & Motion
  4. ›MG996R servo

Component guide · Beginner · 3 min read

MG996R servo

Pinout, Wiring and Code

By Geekobot Learning Team · Updated 29 Oct 2026

I'm using
Wiring, code and the Run it panels follow your board.
On this page
Short answerWhat the MG996R servo isMG996R servo pinoutWiring the MG996R servoExample codeSetup and tuningWhat you needAlternatives and when to choose themTry itCommon mistakesFAQsParts and next steps
Short answer

The MG996R is a standard-size metal gear servo with about 9.4 kg-cm of torque at 4.8 V and 11 kg-cm at 6 V. It uses the same three wires and 50 Hz pulses as an SG90, but can draw over 2 A when stalled, so it always needs its own 5 to 6 V supply, never the Arduino 5 V pin.

Key specs at a glance

Torque
About 9.4 kg-cm at 4.8 V, 11 kg-cm at 6 V
Speed
About 0.17 s/60° at 4.8 V, 0.14 s/60° at 6 V
Voltage
4.8 to 7.2 V (6 V typical)
Stall current
About 2.5 A
Weight and size
55 g, 40.7 x 19.7 x 42.9 mm
Gears
Metal, with ball bearing
01

What the MG996R servo is

The MG996R is the usual choice when an SG90 is too weak: robot arm shoulders, RC car steering, camera sliders and animatronics. It is a positional servo, so it holds an angle set by a pulse between roughly 0.5 and 2.5 ms.

Its metal gears handle shock loads, but its current draw is the thing to plan for. A robot arm with four MG996R servos can pull close to 10 A when all of them stall.

02

MG996R servo pinout

The pins on the MG996R servo and what each one does.

PinFunction
Brown wireGND
Red wire+ supply (4.8 to 7.2 V)
Orange wireSignal (PWM)
PinFunction
Brown wire
GND
Red wire
+ supply (4.8 to 7.2 V)
Orange wire
Signal (PWM)
03

Wiring the MG996R servo

Use a 5 or 6 V supply rated at least 2.5 A per servo (a 5 V 10 A SMPS for four servos). Connect the supply's negative to the controller GND so the signal has a reference.

MG996R servo pinArduino UnoESP32
Brown (GND)GND and supply −GND and supply −
Red (+)External 5-6 V supply +External 5-6 V supply +
Orange (signal)D9GPIO 18
Brown (GND)
Arduino Uno:
GND and supply −
ESP32:
GND and supply −
Red (+)
Arduino Uno:
External 5-6 V supply +
ESP32:
External 5-6 V supply +
Orange (signal)
Arduino Uno:
D9
ESP32:
GPIO 18
04

Example code

Moving a degree at a time keeps the current peaks low and is gentler on the gears than jumping straight to a new angle.

Move to set angles slowly · Arduino C++Verify & upload in Electrolark
#include <Servo.h>            // ESP32: ESP32Servo

Servo arm;
int pos = 90;

void moveTo(int target) {         // move one degree at a time
  while (pos != target) {
    pos += (target > pos) ? 1 : -1;
    arm.write(pos);
    delay(15);
  }
}

void setup() {
  arm.attach(9, 500, 2500);
  arm.write(pos);
}

void loop() {
  moveTo(30);  delay(1000);
  moveTo(150); delay(1000);
}
05

Setup and tuning

Supply

6 V gives the most torque. A UBEC or buck converter from a battery works well.

Capacitor

add 1000 µF across the servo supply near the servos.

Torque check

use the robot arm torque calculator and keep at least 30 percent margin.

Heat

an MG996R holding a heavy load for long periods gets hot; counterbalance arms with springs where possible.

06

What you need

Shop this list4 of 5 found in our store · ₹1,856

  • TowerPro MG996R metal gear servo (180°): the servo this guide coversTowerPro MG996R Metal Gear Servo (180°)₹329
  • Metal servo horn 25T (for MG995 / MG996R): a strong horn for arms and linkagesMetal Servo Horn 25T (for MG995 / MG996R)₹71
  • Enclosed SMPS power supply: 12 V or 24 V supply for bigger loadsEnclosed SMPS Power Supply₹257
  • PCA9685 16-channel PWM / servo driver: to drive several servosPCA9685 16-Channel PWM / Servo Driver₹1,199
  • Uno R3 development board: the controller used in the wiring tableFind this part
07

Alternatives and when to choose them

  • ✓SG90 / MG90S: small loads, light builds.
  • ✓Servo motors guide: 20 kg and 35 kg servos for bigger arms.
  • ✓Serial bus servos: position feedback and higher torque for walking robots.
08

Try it: Robot arm torque calculator

Change the values and the diagram and results update as you type.

09

Common mistakes to avoid

  • !Powering it from the Arduino 5 V pin.
  • !Using a USB phone charger that cannot supply the stall current.
  • !Fitting the horn before centring the servo at 90 degrees.
  • !Long thin supply wires that drop voltage under load.
10

Frequently asked questions

What is the difference between MG995 and MG996R?

The MG996R is the updated version with better electronics and a little more torque. Pinout and size are the same.

Can I power MG996R from Arduino?

No. It can draw over 2 A, far more than the Arduino 5 V pin supplies. Use a separate 5 to 6 V supply with a shared ground.

Does it rotate 360 degrees?

No, about 180 degrees. Continuous rotation versions are sold separately.

Why does it shake or twitch?

Usually voltage drop. Use a stronger supply, thicker wires and a capacitor near the servo.

Can ESP32 control it?

Yes, with the ESP32Servo library; the 3.3 V signal is accepted by the servo.

How much can it lift?

About 10 kg at 1 cm, so about 1 kg at 10 cm, before any safety margin.

Parts for this guide

  • TowerPro MG996R Metal Gear Servo (180°)
    ₹329View
  • Metal Servo Horn 25T (for MG995 / MG996R)
    ₹71View
  • Enclosed SMPS Power Supply
    ₹257View
  • PCA9685 16-Channel PWM / Servo Driver
    ₹1,199View
  • Uno R3 Development Board (No Cable)
    ₹359View
Shop Servo Motors

Calculators

Robot arm torque calculatorServo pulse angle calculatorPower supply sizing calculator

Terms in this guide

Stall currentThe current a motor draws when its shaft is blocked; the maximum it will draw.

Projects that use it

Put this into practice: 1 step-by-step build in our project library uses parts from this guide.

Beginner · 2 hoursTouchless hand sanitiser dispenserView project
Browse all 1 project

Keep learning

Component guideBeginnerServo Motors GuideA hobby servo is a small motor with a gearbox, position sensor and control circuit that moves to an angle you set with a pulse signal.3 min read · Motors & MotionComponent guideBeginnerSG90 and MG90S Micro ServoThe SG90 is a 9 g micro servo that turns to an angle between 0 and 180 degrees when it receives a 50 Hz pulse of about 0.5 to 2.4 ms.4 min read · Motors & MotionHow-toIntermediatePCA9685 16-Channel Servo DriverThe PCA9685 board makes 16 independent PWM signals and takes commands over I2C, so two pins on an Arduino, ESP32 or Pico can drive 16 servos without jitter.3 min read · Motors & MotionComponent guideIntermediateRobotic Arms and GrippersA hobby robot arm is a chain of joints, each driven by a servo or motor.3 min read · RoboticsBuying guideBeginnerChoosing a Power SupplyMatch the voltage exactly and choose a current rating at least 20 to 30% above what your project draws.3 min read · Power & Batteries

Sources

  • TowerPro MG996R data sheet

Written by the Geekobot team from manufacturer datasheets. Always check the datasheet for the exact part and variant you buy.

On this page
Short answerWhat the MG996R servo isMG996R servo pinoutWiring the MG996R servoExample codeSetup and tuningWhat you needAlternatives and when to choose themTry itCommon mistakesFAQsParts and next steps
Need a hand?Ask Geeko AI which part fits your project, or talk to the Geekobot team.Ask Geeko AIHelp & support

Parts for this guide3 items · ₹1,785

TowerPro MG996R Metal Gear Servo (180°) · Enclosed SMPS Power Supply · PCA9685 16-Channel PWM / Servo Driver

Run itChange the inputs and watch the output

moveTo() steps one degree every 15 ms, so the arm glides between the two targets.

Arm 86°

A simulation of the sketch above, so you know what to expect. Real readings vary with your parts and wiring.

Ask the Community

Ask a question