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.
| Joint | Moving mass | Reach to centre of mass | Required torque | Servo |
|---|---|---|---|---|
| Base rotation | ~800 g | 5 cm | 6.0 kg·cm | MG996R (9.4 kg·cm) |
| Shoulder | ~500 g | 10 cm | 7.5 kg·cm | MG996R (9.4 kg·cm) |
| Elbow | ~250 g | 8 cm | 3.0 kg·cm | MG996R (9.4 kg·cm) |
| Gripper | ~100 g | 4 cm | 0.6 kg·cm | SG90 (1.8 kg·cm) |
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
| Part | Qty | Unit | Total |
|---|---|---|---|
| Arduino Uno R3 | 1 | ₹520 | ₹520 |
| MG996R servo | 3 | ₹450 | ₹1,350 |
| SG90 servo | 1 | ₹130 | ₹130 |
| 6 V 5 A power supply | 1 | ₹350 | ₹350 |
| 5 V 2 A buck converter | 1 | ₹200 | ₹200 |
| Acrylic arm frame kit | 1 | ₹450 | ₹450 |
| Jumper wire set | 1 | ₹60 | ₹60 |
| Screws and standoffs | 1 | ₹100 | ₹100 |
| Base plate | 1 | ₹90 | ₹90 |
| Rocker switch | 1 | ₹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
| Servo | Signal pin | Power |
|---|---|---|
| Base rotation | D3 | 6 V servo rail, common ground |
| Shoulder | D5 | 6 V servo rail, common ground |
| Elbow | D6 | 6 V servo rail, common ground |
| Gripper | D9 | 6 V servo rail, common ground |
| Arduino Uno | — | 5 V from the buck converter |
| 6 V supply | — | Servo rail and buck input |
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
- Mount the base servo to the base plate. Leave the horn off until the servo is centred.
- 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.
- Attach the base horn and the lower arm bracket at the centred position. Check that the arm can rotate without hitting the base.
- 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.
- Build the elbow the same way. Keep the forearm short; every centimetre increases the torque demand at the shoulder.
- 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.
- Route wires with slack at each joint. A tight wire will pull a connector loose or limit the range.
- 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
- No horns: power each servo and confirm it centres at 90° without buzzing.
- One joint at a time: attach the base, test its range with the arm removed, then move to the shoulder, elbow and gripper.
- No payload: run the full sequence slowly. Listen for binding and watch the supply current if you have a meter.
- Add 50 g: repeat. Then 100 g. Stop when a joint sags or buzzes; that is your honest payload limit.
- Heat: after five cycles, touch the servo cases. A warm case is normal; a hot case means the joint is overloaded.
- 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.
- 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
| Symptom | Likely cause | Fix |
|---|---|---|
| Servo buzzes without moving | Joint binding or the commanded angle is past the mechanical stop | Disconnect the horn, centre the servo, reattach with the joint in its middle position |
| Arm sags at the shoulder | Torque margin too small or the centre of mass is farther out than estimated | Shorten the arm, reduce the payload, or use a stronger servo and a bearing-supported joint |
| Uno resets when the arm moves | Servos on the 5 V pin or a missing common ground | Use the 6 V rail and the 5 V buck as shown |
| Gripper crushes the object | Closed angle too far or a rigid linkage | Stop the gripper earlier or add a soft pad |
| Servo jitters at rest | Noisy supply or a loose signal wire | Twist the signal and ground wires, keep them away from the motor supply, add a capacitor at the servo rail |
| Base tips over | Centre of mass outside the base footprint | Widen 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
- Pick and place robot arm — Add a gripper and a repeatable pick sequence.
- Servo buying guide — Which servo class each joint needs.
- Servo vs DC motor vs stepper — Where a stepper beats a servo on an arm.
- Servo motor with Arduino — Pulse timing, current draw and wiring that stops brownouts.
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:
- Arduino Servo library — pulse timing and attach() behaviour.
- Arduino servo motor guide — wiring and power notes.
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.
