
Pick-and-place robot arm
Build a robot arm that picks things up
A 4-axis acrylic robot arm with four micro servos, driven by an Arduino through a PCA9685 servo driver. It moves smoothly, grabs small objects and places them somewhere else, again and again.
Every required part
Rs 6,508
Parts list
11 items
- Every required part in stock
- Wiring and code included
- Cash on delivery
From our reel · 13 Jan 2027Parts list
Everything you need for the pick-and-place robot arm
Required parts are ticked. Untick anything you already have; the total updates as you go.
Main parts
- Rs 3,530RequiredUnassembled 4dof Robotic Arm
Base, shoulder, elbow and gripper parts, screws and four SG90 micro servos in one box.
1Rs 3,530 each - Rs 950Required16 Channel Servo Motor Driver PCA9685 12 Bit PWM I2c Module For Arduino
Holds every servo steady and powers them from their own supply.
1Rs 950 each
Power
- Rs 849Required5V 4A Power Supply Adapter 5V 4000mA
Four servos can pull 2 to 3 A together; the Arduino cannot supply that.
1Rs 849 each
Wiring & mounting
- Rs 130RequiredUSB Cable For Arduino Uno Arduino Mega
Uploads the code and powers the Arduino.
1Rs 130 each - Rs 170Required20cm Pin To Hole Jumper Wire Dupont Line 40 Pin Male To Female Arduino Jumper Wires1Rs 170 each
- Rs 300OptionalServo Extension Cable 50 cm Wire to Extend Servo Motor Length
If the top servos' leads do not reach the driver.
2Rs 150 each
Tools
- Rs 350OptionalProfessional 24 IN 1 6024 Precision Screwdriver Set
For the kit's small screws.
1Rs 350 each
Optional upgrades
- Rs 900OptionalTower Pro MG90S Metal Gear PWM Controlled Micro Servo Motor 180 Degree Rotation
Fit them at the shoulder and elbow: those joints carry the arm's weight, and the kit's plastic SG90 gears can strip there.
2Rs 450 each
You also need (most homes have these)
- Phone charger or laptop USBPowers the Arduino (the servos have their own 5 V adapter).
7 items
Rs 6,508
From our reel
Watch it come together in 12 steps
How it works
What each part does
A servo turns to an exact angle when it receives a pulse 50 times a second: 0.5 ms for 0°, 2.5 ms for 180°. The PCA9685 generates those pulses for up to 16 servos at once, so the Arduino only has to send it new angles over two I2C wires.
The code moves one joint at a time, one degree every 12 ms, so the arm glides instead of jerking. A list of moves (open, reach, grip, lift, turn, release) makes the pick-and-place routine, which repeats forever.
The servos draw their power from the 5 V adapter through the PCA9685's V+ terminal, never from the Arduino, which would reset under the load.
Wiring
Connect it pin by pin
| From | To | Note |
|---|---|---|
| PCA9685 SDA / SCL | → Arduino A4 / A5 | |
| PCA9685 VCC | → Arduino 5VLogic power | |
| PCA9685 GND | → Arduino GND | |
| 5 V adapter (via DC socket) | → PCA9685 green V+ and GND terminalServo power | |
| Base servo | → PCA9685 channel 0 | |
| Shoulder servo | → PCA9685 channel 1 | |
| Elbow servo | → PCA9685 channel 2 | |
| Gripper servo | → PCA9685 channel 3 |
The code
Ready-to-upload Arduino code
#include <Wire.h>
#include <Adafruit_PWMServoDriver.h>
Adafruit_PWMServoDriver pwm; // I2C address 0x40
const int SERVO_MIN = 110; // pulse count for 0 degrees (out of 4096)
const int SERVO_MAX = 500; // pulse count for 180 degrees
// channel 0 base, 1 shoulder, 2 elbow, 3 gripper
int current[4] = {90, 90, 90, 90};
void setAngle(int ch, int angle) {
pwm.setPWM(ch, 0, map(angle, 0, 180, SERVO_MIN, SERVO_MAX));
current[ch] = angle;
}
void moveTo(int ch, int target) { // glide one degree at a time
int step = target > current[ch] ? 1 : -1;
while (current[ch] != target) {
setAngle(ch, current[ch] + step);
delay(12);
}
}
void setup() {
pwm.begin();
pwm.setOscillatorFrequency(27000000);
pwm.setPWMFreq(50); // servos expect 50 pulses a second
for (int ch = 0; ch < 4; ch++) setAngle(ch, 90);
delay(1000);
}
void loop() {
moveTo(3, 30); // open the gripper
moveTo(0, 40); // turn to the pick-up spot
moveTo(1, 130); // reach forward
moveTo(2, 60); // lower the elbow
moveTo(3, 100); // close the gripper: pick
moveTo(2, 90); // lift
moveTo(1, 90);
moveTo(0, 140); // turn to the drop spot
moveTo(1, 130);
moveTo(3, 30); // open: place
moveTo(1, 90);
moveTo(0, 90); // back to the middle
delay(1500);
}Step by step
Build it
- 1
Centre every servo first
Before building, connect each servo to the PCA9685 and run the code's setup so they all sit at 90°. Building the arm around centred servos saves hours of re-assembly.
- 2
Build the arm
Follow the kit's picture guide: base, then the shoulder and elbow links, then the gripper. Do not over-tighten the moving joints; they should swing freely.
- 3
Wire the driver
Connect the PCA9685 to the Arduino with four wires, plug the servos into channels 0 to 3, and feed 5 V into the green terminal from the adapter.
- 4
Calibrate the angles
Change one angle at a time in loop() and watch the arm. Find the values for open and closed gripper, reach and lift that suit your table, so no joint presses against its end stop.
- 5
Pick and place
Put a small light object (a bottle cap or sponge cube) at the pick-up spot and let the routine run.
Tips & troubleshooting
- A servo that buzzes or gets hot is pushing against something: change that angle a few degrees.
- If a servo only moves part of its range, adjust SERVO_MIN and SERVO_MAX slightly (100 to 120, 480 to 520).
- Never power the servos from the Arduino's 5 V pin.
Stuck on wiring or code?
Send us a photo of your build on WhatsApp. We are makers too, and we will help you get it working.
FAQ
Questions people ask
Can I control it with joysticks?+
Yes. Add the two optional joystick modules on A0 to A3, read them with analogRead, and turn each reading into an angle with map(). Many students add a “record and replay” button next.
The kit comes with SG90 servos. Do I need MG90S?+
Not to start. The SG90s are fine for learning and light objects. The arm's own weight loads the shoulder and elbow constantly, though, and plastic SG90 gears can strip there over time. Two MG90S servos (same size and mounting, metal gears) in those joints make the arm last much longer.
Is there a cheaper kit?+
Yes, a wooden 4-axis arm kit that also comes with its motors. Pick it in the parts list above; the PCA9685, Arduino and power parts still apply.
Read next
- FYP Electronics Parts List: How to Plan, Budget and Buy Your Final Year Project PartsA step-by-step method for Pakistani students to plan final-year-project electronics: block diagram, compatibility checks, power budget and two complete parts lists with live prices.
- Servo Motor Price in Pakistan: SG90 vs MG90S vs MG996RServo motor prices in Pakistan, the real difference between SG90, MG90S and MG996R, 180° and 360° servos, how to wire and power them with an Arduino, and the mistakes that strip gears.
More projects to build
All projects





























