Module 01 of 05 · 6 sections
Robotic Arm
The workers · Chapters 1–2

Big idea
A robot arm is a chain of joints. Control each joint's angle, and the claw can reach any point in its space.
Hardware & software
- ESP32 controller board + expansion board
- 4 MG90S servos: chassis, shoulder, elbow, claw
- Joystick module (I2C)
- Arduino IDE
- Type-C cable
Students meet the smart factory and its ESP32 "brain," then build the factory's first worker: a four-servo robotic arm that moves, handles and stacks cargo.
Lesson breakdown
- 01What is a smart factoryThe concept, key technologies, history and social impact of smart factories.
- 02Meet the ESP32The controller board, installing the Arduino IDE, writing and uploading the first program.
- 03Build the armAssemble the robotic arm and control each servo joint.
- 04Speed and smart handlingSmooth, controlled speed with for loops; reusable pick-and-place moves with functions.
- 05Coordinates and kinematicsCartesian coordinates, forward and inverse kinematics; palletizing with while loops.
- 06Joystick remote controlDrive every joint by hand with an I2C joystick module.
Coding concepts, one per build
- Variables
- Chapter 1
- for loops
- Speed control
- Functions
- Smart handling
- while loops
- Palletizing
- I2C
- Joystick
Learning progression
- Smart factory basics
- First ESP32 program
- Move a joint
- Smooth & reuse moves
- Reach a point
- Control by hand



