JLJEFFREY LAU
All engineering projects

–

Hexapod

Personal project · Mechanical design and robot control

Assembled six-legged hexapod standing on a wooden floor
The assembled hexapod with its 3D-printed structure and 18 servos.

A six-legged robot with an ESP32, 18 servos, and an ABS structure modeled in Inventor and 3D printed. A browser interface controls the robot over a local Wi-Fi network.

Dates
March–June 2025
Project type
Personal project
Hardware
ESP32 · 18 servos
Tools
Inventor · C++ · JavaScript · HTML/CSS

Project overview

The project combines the mechanical design of a six-legged platform with the software needed to coordinate its motion. The controller supports walking and turning through tripod and ripple gaits.

Mechanical design

The body and leg components were modeled in Inventor and 3D printed in ABS. Each leg uses three servos.

Printed servo-driven leg in front of its Inventor CAD model
From Inventor model to a physical three-servo leg assembly.
SolidWorks rendering of the complete hexapod assembly, showing six articulated legs and the central chassis
Complete hexapod assembly showing the six leg mechanisms and central chassis. This image was captured in SolidWorks; the original design work was done in Inventor.

Motion and controls

The C++ controller uses inverse kinematics and Bézier curves to reduce jitter and abrupt changes in motion. Tripod and ripple gaits coordinate the legs. The project also includes gyroscopic stabilization and terrain adaptation.

The web interface was built with JavaScript, HTML, and CSS for live control on the same Wi-Fi network.

Overhead view of the open hexapod chassis showing controller boards and servo wiring
Controller boards and servo wiring during electronics integration.

Specifications

Legs
6
Servos
18
Controller
ESP32
Structural material
3D-printed ABS
Gaits
Tripod and ripple
Control interface
Local browser interface over Wi-Fi

Testing and iteration

Inverse kinematics and Bézier curves were used to address jitter and motion discontinuities.

The clips below document two stages of development: an individual leg on a bench fixture, followed by coordinated leg motion with the assembled body supported above the floor.

Single-leg bench test — the leg moves while its base is secured to the workbench.
Coordinated-motion test — the body is supported so the legs can move freely above the floor.
Back to all projectsView resume