Hexapod for ESP32-S3
An ESP32 camera project for ESP32-S3.
Parts and sourceBefore you start
Confirm board compatibility and supported firmware targets in the upstream documentation.
Upstream README
📜 Overview
This is my implementation of SmallpTsai hexapod. Its built with:
- An ESP32 S3 with camera
- Two PCA9685
- 18 MG92B servos
- A MPU6050 + HMC5883L
- Two 18650 in a 2s configuration
- 7 buck converters

🧩 3D Printed Parts
The robot is based on the original Hexapod v2.1 by SmallpTsai.
I made a small Thingiverse remix to make the leg assembly simpler and more robust:
Thingiverse Remix - Hexapod Thigh Bottom Remix
The remix moves the leg screws from the side to the top. This makes the legs easier to assemble and disassemble, while avoiding the fragile side screw points from the original design.
🎮 Controller
The controller is a svelte app which is deployed using github pages. The app lets you control the robot using protobuf messages over BLE and websockets. It includes full control over robot settings like network and calibration, and a visualization.
Simulation
A MuJoCo simulation with RL training and sim-to-real policy export is available in /simulation.
See simulation/README.md for the full workflow.

🔮 Getting started
-
Clone and open the new project
git clone https://github.com/runeharlyk/Hexapod -
Install dependencies with preferable package manager (npm, pnpm, yarn)
cd app pnpm install -
Upload filesystem image using platformIO
-
Upload firmware using platformIO, or flash the latest release from the browser at https://runeharlyk.github.io/Hexapod/flash/ (Chrome or Edge, native USB port)
☕ Support
If you like the project and want to follow its evolution, consider ✨-ing the project
📃 License
runeharlyk.dk · GitHub @runeharlyk · LinkedIn @Rune Harlyk