
BLOG · 3/11/2026
| OP |

Design, fabricate, and program a 2-DoF soft continuum robotic arm. The arm is actuated by antagonistic wire tendons and controlled through a multi-mode embedded architecture that accepts wireless and sensor-driven input.
| Subsystem | Component | Role |
|---|---|---|
| Controller | ESP32 NodeMCU | Dual-core MCU with built-in Wi-Fi and Bluetooth |
| Actuation driver | PCA9685 (16-ch PWM) | Stable 50 Hz PWM over I²C |
| Actuators | MG995 metal-gear servos | High-torque servos that pull the tendons |
| Backbone | Central elastic spring | Compliance and restoring force |
| Tendon routing | 4-channel pulley layout | Tendons at 90° spacing for even tension |
| Local sensor | MPU6050 (6-DoF IMU) | Tilt control |
| Remote input | Android phone | Quaternion stream over Wi-Fi UDP |
| Command input | Bluetooth Serial (ESP32_Servo) | Pose-sequence commands |
The four tendons sit at α_i = {0, 0.5π, π, 1.5π}. Two opposing pairs let the arm bend in any direction: when one tendon shortens, its opposite lengthens, which keeps tension even.
To convert a bend direction θ and bend magnitude φ into servo movement, each tendon's length change is:
ΔL_i = −d · φ · cos(θ − α_i)
Each servo winds a pulley of radius r = 0.018 m, so its rotation is −ΔL_i / r, added to a 90° centre position. This is sent to the servos as a PWM signal through the PCA9685. The servo travel limits the maximum bend to about 47.6°.
The C++ firmware (Arduino framework for ESP32) supports three modes, switched at runtime from the Serial Monitor.
ESP32_Servo. The commands hello, thanks and center play pre-programmed pose sequences, with no sensor needed.All modes share one smoothing pipeline: deadband, low-pass filter, slew-rate limit, then servo output at 50 Hz.
A digital twin was built in Blender 5.2.3 LTS with a single Python script. It models the table, five domed beads, four strings, and four servos with pulleys. It uses the same tendon kinematics as the firmware and is steered by the phone's quaternion stream over UDP port 5005 at 60 Hz. It was used to:
The project delivers a safe, compliant, multi-input soft robotic arm. It combines tendon kinematics, sensor fusion, and wireless control on a low-cost ESP32 platform, and it was validated through both a Blender simulation and hardware testing.