Kids OK with adultROS 2Level 3/3
How to Build a Robot Arm With ROS 2
Four servos, one driver board and a small computer. ROS 2 turns them into a robot arm that plans its own pick-and-place moves.
Sign in to save
Kids OK, with an adult
DIY project. Children must build this only with an adult (16+ years) beside them at all times. Not suitable for children under 8 years.
Low voltage. Power the servos from their own supply, and keep fingers out of the arm while it moves.
Strictly follow the description given with this video.
Video
How it works
- Wire the four servos to a 16-channel servo driver.
- Connect the driver to a single-board computer over I2C.
- In ROS 2 each joint becomes a link in the robot model.
- MoveIt plans the path, and the arm picks and places, first in simulation.
Parts you need
Wiring
PowerGroundSignal
| # | From | Connect to |
|---|---|---|
| 1 Signal | Servos 1–4 | Driver channels 0–3 |
| 2 Signal | Driver SDA / SCL | Computer I2C pins |
| 3 Power | 5 V supply | Driver V+ (servo power) |
| 4 Ground | All grounds | Common GND |
3D print files
This project has no 3D-printed parts.
Code
The tested Arduino / ESP32 code for this project will be posted here, ready to copy.