Arduino robot arm: 3-DOF build with servo torque maths

A ₹3,290 three-axis arm: torque worked out before buying servos, a separate 6 V supply, and a test sequence that protects the gears.

About the author · Sources, testing and AI policy

  • Parts₹3,290
  • Bench time6–8 h
  • LevelIntermediate
  • ReviewedOct 2026
Small robot arm holding a block above a table

A ₹3,290 three-axis arm with the torque worked out before the servos are bought. The base, shoulder and elbow use MG996R servos; a small SG90 closes the gripper. The arm runs from a separate 6 V supply with a 5 V buck for the Arduino, because four servos on the Uno’s 5 V pin is how projects reset mid-demo. The page includes the torque table, assembly order, sketch and a test sequence that protects the gears. I work out the torque for this Arduino robot arm first, because it decides the servos, the supply and the assembly order.

Scope: intermediate. The electronics are simple; the mechanical assembly is the hard part. Expect to adjust brackets, horn positions and cable routing. If you have never built a servo mechanism, build the obstacle avoider first to learn how a servo behaves under load.

The torque maths, before the parts list

Torque is load mass times reach, with a safety factor and divided by the number of servos sharing the joint. The table uses a conservative 1.5 factor and estimates the moving mass of each stage, including the servos and brackets above it. Your frame may be lighter or heavier; substitute your measured masses. Do this torque arithmetic for your Arduino robot arm before you spend anything on servos.

JointMoving massReach to centre of massRequired torqueServo
Base rotation~800 g5 cm6.0 kg·cmMG996R (9.4 kg·cm)
Shoulder~500 g10 cm7.5 kg·cmMG996R (9.4 kg·cm)
Elbow~250 g8 cm3.0 kg·cmMG996R (9.4 kg·cm)
Gripper~100 g4 cm0.6 kg·cmSG90 (1.8 kg·cm)
The elbow lands between the micro and standard servo classes. An MG90S at 2.2 kg·cm is too close to the 3.0 kg·cm requirement, so this build uses an MG996R. Check your own numbers with the servo torque calculator.

The margin looks generous until the arm accelerates or a joint binds. Cheap acrylic brackets flex, horn screws loosen, and a 1.5 safety factor disappears quickly. Do not reduce the servo class to save ₹200 on a build that will be graded.

Bill of materials

PartQtyUnitTotal
Arduino Uno R31₹520₹520
MG996R servo3₹450₹1,350
SG90 servo1₹130₹130
6 V 5 A power supply1₹350₹350
5 V 2 A buck converter1₹200₹200
Acrylic arm frame kit1₹450₹450
Jumper wire set1₹60₹60
Screws and standoffs1₹100₹100
Base plate1₹90₹90
Rocker switch1₹40₹40
Parts total₹3,290

Scroll the table sideways to see every column.

Prices checked Oct 2026. Shipping and tools are not included.

The 6 V 5 A supply is for the servos only. The 5 V buck converter powers the Uno from the same 6 V source, so the arm does not need a laptop during a demo. Three MG996R servos can pull more current than the supply can deliver if they all stall at once; the test sequence is designed to avoid that, and the supply should have a fuse or a current limit. Prices are from Indian sellers in October 2026, before shipping.

Pin map

ServoSignal pinPower
Base rotationD36 V servo rail, common ground
ShoulderD56 V servo rail, common ground
ElbowD66 V servo rail, common ground
GripperD96 V servo rail, common ground
Arduino Uno—5 V from the buck converter
6 V supply—Servo rail and buck input
All grounds must meet at one point: supply negative, buck input negative, buck output negative, Uno GND and servo GND. A missing ground makes the servos twitch or ignore commands.

Do not power the servos from the Uno’s 5 V pin. An MG996R can draw over 1 A when it stalls. Even one servo can reset the board; four will. The separate rail is the whole point of this power design.

Arduino robot arm assembly order that saves gears

  1. Mount the base servo to the base plate. Leave the horn off until the servo is centred.
  2. Power the servos and write 90° to each one with a test sketch. With the horn off, the output shaft finds its centre without fighting a linkage.
  3. Attach the base horn and the lower arm bracket at the centred position. Check that the arm can rotate without hitting the base.
  4. Build the shoulder joint. Mount the second MG996R on the upper arm bracket, centre it, then attach the horn. The shoulder must support the arm above it, not hang from a screw.
  5. Build the elbow the same way. Keep the forearm short; every centimetre increases the torque demand at the shoulder.
  6. Fit the gripper and its SG90. The gripper should hold a light object without the servo buzzing at the closed position. If it buzzes, the linkage is binding or the closed angle is too far.
  7. Route wires with slack at each joint. A tight wire will pull a connector loose or limit the range.
  8. Set software limits of 10–170° for every joint. The mechanical stops are not a control system.

The sketch

The sketch moves slowly between positions and never drives a joint past its software limit. Change the angles only after you have watched each joint move with the arm unloaded. The gripper angles depend on your linkage; start with 60° open and 110° closed, then adjust.

#include <Servo.h>

Servo baseServo;
Servo shoulderServo;
Servo elbowServo;
Servo gripperServo;

const int BASE_PIN = 3;
const int SHOULDER_PIN = 5;
const int ELBOW_PIN = 6;
const int GRIPPER_PIN = 9;

const int BASE_MIN = 20;
const int BASE_MAX = 160;
const int SHOULDER_MIN = 40;
const int SHOULDER_MAX = 140;
const int ELBOW_MIN = 30;
const int ELBOW_MAX = 150;

void setup() {
  baseServo.attach(BASE_PIN);
  shoulderServo.attach(SHOULDER_PIN);
  elbowServo.attach(ELBOW_PIN);
  gripperServo.attach(GRIPPER_PIN);

  homePosition();
  delay(2000);
}

void loop() {
  // Pick sequence: open, lower, grip, lift, rotate, release
  moveServo(gripperServo, 110, 60, 15);    // open
  delay(400);
  moveServo(shoulderServo, 90, 120, 20);   // lower
  delay(400);
  moveServo(gripperServo, 60, 110, 15);    // close on object
  delay(500);
  moveServo(shoulderServo, 120, 70, 20);   // lift
  delay(400);
  moveServo(baseServo, 90, 140, 20);       // rotate
  delay(400);
  moveServo(shoulderServo, 70, 115, 20);   // lower
  delay(400);
  moveServo(gripperServo, 110, 60, 15);    // release
  delay(500);

  homePosition();
  delay(3000);
}

void homePosition() {
  moveServo(baseServo, 90, 90, 20);
  moveServo(shoulderServo, 90, 90, 20);
  moveServo(elbowServo, 90, 90, 20);
  moveServo(gripperServo, 60, 60, 20);
}

void moveServo(Servo &servo, int from, int to, int stepDelay) {
  int step = (to > from) ? 1 : -1;
  for (int angle = from; angle != to; angle += step) {
    if (angle < 10 || angle > 170) {
      break;
    }
    servo.write(angle);
    delay(stepDelay);
  }
}

The moveServo() helper ramps each joint instead of jumping to the target. A jump is faster, but it produces the current spike and mechanical shock that strip plastic gears. If a joint stalls, the code keeps commanding the same angle; add a current sensor or an emergency stop switch before you run a long sequence unattended.

Test plan

  1. No horns: power each servo and confirm it centres at 90° without buzzing.
  2. One joint at a time: attach the base, test its range with the arm removed, then move to the shoulder, elbow and gripper.
  3. No payload: run the full sequence slowly. Listen for binding and watch the supply current if you have a meter.
  4. Add 50 g: repeat. Then 100 g. Stop when a joint sags or buzzes; that is your honest payload limit.
  5. Heat: after five cycles, touch the servo cases. A warm case is normal; a hot case means the joint is overloaded.
  6. Power loss: switch off at mid-sequence. The arm should fall slowly, not slam. If it slams, add a counterweight or a lower gear ratio.
  7. Repeatability: run the same pick-and-place ten times and record how often the gripper misses. That number belongs in your report.

What usually goes wrong

SymptomLikely causeFix
Servo buzzes without movingJoint binding or the commanded angle is past the mechanical stopDisconnect the horn, centre the servo, reattach with the joint in its middle position
Arm sags at the shoulderTorque margin too small or the centre of mass is farther out than estimatedShorten the arm, reduce the payload, or use a stronger servo and a bearing-supported joint
Uno resets when the arm movesServos on the 5 V pin or a missing common groundUse the 6 V rail and the 5 V buck as shown
Gripper crushes the objectClosed angle too far or a rigid linkageStop the gripper earlier or add a soft pad
Servo jitters at restNoisy supply or a loose signal wireTwist the signal and ground wires, keep them away from the motor supply, add a capacitor at the servo rail
Base tips overCentre of mass outside the base footprintWiden the base, add a counterweight, or lower the shoulder

Upgrades

  • PCA9685 driver: moves the servo signals off the Uno and gives a cleaner power distribution board, but it does not increase the servo torque.
  • Current sensing: an INA219 on the servo rail lets the code detect a stall before the gears strip.
  • Inverse kinematics: a proper 3-DOF arm needs joint angles from a target position. That is a good final-year extension, not a first sketch.
  • Better mechanics: bearings at the shoulder and elbow, metal horns and a rigid base make more difference than a more expensive servo.

Cost and parts notes

The ₹3,290 total is a planning figure from October 2026 and excludes shipping. Servo prices vary widely with clone quality; buy one spare MG996R if the arm is for a submission. The SG90 guide explains the gripper servo’s limits, and the torque calculator lets you re-run the table for your own frame.

Common questions

Is this a 3-DOF or 4-DOF arm?

Three degrees of freedom are the base, shoulder and elbow. The gripper is an end effector, so the build uses four servos but is usually described as 3-DOF plus a gripper.

Can I use SG90 servos for the whole arm?

Only for a very small, short arm with a light payload. An SG90 at the shoulder of this frame will stall or strip gears. Use the torque table before substituting.

Why do the servos need a separate supply?

Four servos can draw more current than the Arduino regulator can provide, and the resulting voltage dip resets the board. A separate 6 V rail with a common ground keeps the logic stable.

Can I control the arm with potentiometers instead of a fixed sequence?

Yes. Add four potentiometers to A0–A3 and map their readings to 10–170°. That makes a good demonstration and a useful debugging tool, but it is not a repeatable pick-and-place program.

Keep reading

For the servo wiring and power side, see the PCA9685 servo driver guide.

Sources and further reading

Documents used to check the numbers on this page:

Last reviewed: October 2026. Reviewed against MG996R and SG90 datasheets and the Arduino Servo library behaviour. This build has not been bench-tested by this site. Servo torque falls with voltage sag; measure your own payload limit.

Newer builds and guides

  • MG996R servo — Torque, current draw and powering it without brownouts.

The gripper decides whether the arm is useful: the gripper design guide covers force, pads and testing.

More builds

Next builds to try

Free: the final-year project pack

A shortlist with BOMs, a report outline that matches the usual chapter scheme, a costing sheet and 40 viva questions. Built for the February–April submission season.

The Build Note

One short email when something is worth your bench time.

A new build sheet, a part price that moved, or a mistake worth avoiding. No daily drip, no recycled news.

One short email when a build or a price is worth your time. Unsubscribe in one click.