Skip to Content
Shipped

Smart Robotic Arm

Gesture-controlled multi-axis arm with computer vision.

Role
Firmware & System Engineer
Year
2026
Domain
IoT
Project write-up Drive the Arm
Robotic arm
Fig. 01 — Smart Robotic ArmESP32
Gesture-to-motion latency
<50msGesture-to-motion latency
Degrees of freedom
6-DOFDegrees of freedom
Hand landmarks tracked per frame
21Hand landmarks tracked per frame

Browser recreation · try it

Drive the arm with your hand

Same pipeline as the real build: MediaPipe reads 21 hand landmarks, inverse kinematics turns them into joint angles, and a smoothing filter keeps the servos calm. The ESP32 and PCA9685 are swapped for a 3D arm in your browser.

Loading demo…

Problem

Remote manipulation systems often lack intuitive control interfaces and suffer from high latency.

Solution

Built a 6-DOF robotic arm controlled via hand gestures using MediaPipe tracking and a real-time WebSocket pipeline.

Approach

Implemented a jitter-free servo control pipeline using PCA9685 and optimized ESP32 firmware for concurrent motor updates.

Outcome

  • Achieved near-real-time gesture tracking with <50ms latency.
  • Implemented OTA firmware updates for seamless feature delivery.
  • Integrated computer vision for precision object manipulation.

Stack

ESP32OpenCVMediaPipeWebSocketsC++

Deep Dive

Overview

A 6-DOF robotic arm controlled in real-time via hand gestures, using MediaPipe for pose estimation and a WebSocket pipeline for low-latency control.

Problem

Most hobbyist robotic arms use joystick or button controls which are unintuitive and slow. Remote manipulation with natural gestures dramatically lowers the learning curve.

Technical Implementation

Host Side (Python)

  • OpenCV captures webcam feed at 30fps
  • MediaPipe extracts 21 hand landmarks per frame
  • Landmark positions mapped to 6 servo angles
  • Angles streamed via WebSocket to ESP32

Firmware Side (C++)

  • WebSocket server running on ESP32
  • PCA9685 PWM driver controls 6 MG996R servos
  • Jitter filter smooths incoming angle data
  • OTA update endpoint for firmware delivery

Key Achievement

Achieved <50ms gesture-to-movement latency on a local Wi-Fi network, making the control feel natural and immediate.

From the Bench

Robotic arm
Click to expand
Gesture control
Click to expand

Want something like this built?

Start a Project

Next project

Smart Nanoleaf System

Audio-reactive modular lighting with custom firmware.