All paths

Build a robot arm

A four-servo arm set up and put to work like a technician does it: safe starts, limits and speeds, joystick control, inverse kinematics on a real linkage, teach and playback, a gripper that feels, and a pick-and-place cell.

Arduino Uno R3Free6 lessons7 h3 chapters2,554 XPRobotics · Advanced+250 XP

0 of 6 done

Start the course freeJoints, limits and a safe startLesson plan for teachers
What you will build

3 projects, built step by step

6 lessons in 3 chapters, about 7 hours on a simulated Arduino Uno R3. Free, in your browser, every step checked by the simulator.

Chapter 1 project

Joystick control

Drive four joints with one stick: rate mode so the arm stays put when you let go, a deadband so it never creeps, a click to swap joint pairs, and an expo curve for fine moves.

Open it in the simulator
Chapter 2 project

Record and playback

Teach an arm poses the way a teach pendant does, store them in EEPROM, and play them back with every joint slowed to arrive at the same moment, so the arm moves as one piece.

Open it in the simulator
Chapter 3 project

Project: a pick-and-place arm

A pick-and-place cell as a state machine: taught poses, synchronized moves, a force-checked grip, a checked release, faults that stop the arm when a part is missing or dropped, and a cycle time to beat.

Open it in the simulator
The map

Chapter by chapter

Each lesson opens when the one before it is done, and each chapter ends in a project.

Chapter 1

Set it up, drive it

A home pose first, limits and speeds, and a joystick with a deadband and expo.

  1. Open288 XP

    Joints, limits and a safe start

    Set up a four-servo arm before anyone drives it: a home pose sent before any other pulse, software limits where the linkage jams, every move slewed at a set speed, and the PCA9685’s counts for a pulse.

    0 of 6 steps

  2. ProjectLocked576 XP

    Joystick control

    Drive four joints with one stick: rate mode so the arm stays put when you let go, a deadband so it never creeps, a click to swap joint pairs, and an expo curve for fine moves.

    0 of 6 steps

5 questions, graded as you go.
Chapter 2

Moves that mean something

Inverse kinematics on the real arm, and poses taught and played back together.

  1. Locked250 XP

    Inverse kinematics on a real arm

    Put the law of cosines on the desktop arm: two knobs set where the claw goes, the sketch solves the shoulder and elbow, and the arm’s own linkage and servo limits decide what it can really reach.

    0 of 5 steps

  2. ProjectLocked576 XP

    Record and playback

    Teach an arm poses the way a teach pendant does, store them in EEPROM, and play them back with every joint slowed to arrive at the same moment, so the arm moves as one piece.

    0 of 6 steps

4 questions, graded as you go.
Chapter 3

Put it to work

A gripper that feels the part, payload at reach, and the pick-and-place project.

  1. Locked288 XP

    Grippers: force and payload

    A force sensor on the jaw: turn its reading into grams, close until the jaw feels the part, know when it shut on nothing, and work out whether the shoulder can hold a payload at a reach.

    0 of 6 steps

  2. ProjectLocked576 XP

    Project: a pick-and-place arm

    A pick-and-place cell as a state machine: taught poses, synchronized moves, a force-checked grip, a checked release, faults that stop the arm when a part is missing or dropped, and a cycle time to beat.

    0 of 6 steps

4 questions, graded as you go.
Syllabus

Every lesson in the course

All 6 lessons, in order, each with what it covers. Any of them opens in the editor right away.

Chapter 1

Set it up, drive it

  1. Joints, limits and a safe startSet up a four-servo arm before anyone drives it: a home pose sent before any other pulse, software limits where the linkage jams, every move slewed at a set speed, and the PCA9685’s counts for a pulse.
  2. Joystick controlDrive four joints with one stick: rate mode so the arm stays put when you let go, a deadband so it never creeps, a click to swap joint pairs, and an expo curve for fine moves.
Chapter 2

Moves that mean something

  1. Inverse kinematics on a real armPut the law of cosines on the desktop arm: two knobs set where the claw goes, the sketch solves the shoulder and elbow, and the arm’s own linkage and servo limits decide what it can really reach.
  2. Record and playbackTeach an arm poses the way a teach pendant does, store them in EEPROM, and play them back with every joint slowed to arrive at the same moment, so the arm moves as one piece.
Chapter 3

Put it to work

  1. Grippers: force and payloadA force sensor on the jaw: turn its reading into grams, close until the jaw feels the part, know when it shut on nothing, and work out whether the shoulder can hold a payload at a reach.
  2. Project: a pick-and-place armA pick-and-place cell as a state machine: taught poses, synchronized moves, a force-checked grip, a checked release, faults that stop the arm when a part is missing or dropped, and a cycle time to beat.
Keep going

The next course on your track

Build a robot arm is part of the maker track, a ladder of courses from zero to expert.

Next course

Build a rocket launch controller

Build the launch box a club rocket range runs on: a safety key, an arm code, a continuity check, a countdown, every abort and a misfire lockout.

Open the next course
Track

Maker track

Follow the starter kit you already own, then build a claw machine, a balance bot, a handheld console or an LED cube, each a short course checked by the simulator.

See every course on the track
Kits

Build it on your bench too

Every lesson runs in the simulator with nothing to buy. When you want the real thing, these kits have the parts.

Have a kit already?

Find your kit

Pick the starter kit you own and run every lesson in its manual with the same parts on the same pins.

See every kit
Questions

About Build a robot arm

Is Build a robot arm free?

Yes. All 6 lessons of Build a robot arm are free and run in your browser, with nothing to install and no parts to buy before you start.

Do I need a real Arduino Uno R3?

No. Every lesson runs on a simulated Arduino Uno R3 with its parts on the canvas, and the simulator checks each step as you go. When you want to build it for real, the same wiring and code work on a real board.

How long does Build a robot arm take?

About 7 hours: 6 lessons in 3 chapters, each one a few short steps. Your progress is kept, so you can stop after any lesson and pick up where you left off.

What will I build?

Each chapter ends in a project that puts it together: Joystick control, Record and playback and Project: a pick-and-place arm.

Where do I start?

With "Joints, limits and a safe start", and each lesson builds on the one before it. New to circuits? Electronics basics is the course that starts from zero.