ESP32 Robot Arm: Build a Smart 6-Axis Joint Controller

What is an ESP32 robot arm?
An ESP32 robot arm is a robotic arm whose joints are controlled by ESP32 microcontrollers. The sources behind this page cover one specific, well-documented implementation: robot-actuator-esp32-v8, an open-source actuator design that uses "an ESP32 as the brains of each robot arm actuator."
That detail shapes everything else. This is not a single board sitting in a control box and running six motors over long cables. The design puts a controller at every joint, so each actuator is a self-contained unit with its own PCB, its own firmware and its own place in the host software.
The mechanics are not original to the project. The actuator is based on Jeff Kerr's (LoboCNC on Thingiverse) 3D printed WE-R2.4 six axis robot arm, and the repository reworks that arm into something smarter: custom circuit boards, printed parts and Lua firmware running on a NodeMCU ESP32.
One caveat before you read further: the sources do not list servo torque, motor voltage, payload, reach, repeatability or a total build cost. Where a number is missing below, it is missing from the sources too, so treat this as a map of what the project actually publishes rather than a full bill of specifications.
\2Hardware photo from the robot-actuator-esp32-v8 repository, the ESP32-based actuator for a six axis arm.
Key facts about the design
| Item | What the sources say |
|---|---|
| Control architecture | One ESP32 per robot arm actuator, described as the "brains" of each joint |
| Board used | NodeMCU ESP32; the bill of materials lists an ESP32 Wemos Mini at $4.05 |
| Arm it is based on | WE-R2.4 six axis 3D printed robot arm by Jeff Kerr (LoboCNC on Thingiverse) |
| Firmware language | Lua, with touch module, pulse counter module, RMT TX module and gpiomatrix module |
| Control software | ChiliPeppr arm workspace, plus ChiliPeppr ESP32 for Lua for editing and uploading code |
| Fabrication files | Eagle PCB schematic and board, bill of materials, Fusion 360 CAD, STL files for printing |
| PCB notes | Main PCB is 1.0 mm thick, touch PCB is 1.2 mm; white soldermask recommended but not important |
| Extra documentation | Heat management test results and a three-part YouTube build series |
The per-joint ESP32 approach is the most interesting decision in the whole project. It means a fault in one actuator does not take down the arm's controller, and it means each joint can be tested on the bench before it ever goes into an assembly. The trade-off is that you are buying, flashing and wiring several boards instead of one.
\2Another view of the actuator assembly published in the robot-actuator-esp32-v8 README.
What is in the esp32 robot arm project?
The repository is a complete hardware release rather than a code sample. It contains:
- PCB schematic and board file in Eagle, for both the main board and the touch board
- Bill of materials, including the ESP32 Wemos Mini line item
- Fusion 360 files for the mechanical assembly
- STL files for 3D printing the actuator parts
- Lua code for the actuator firmware
- Heat management test results
- Links to the ChiliPeppr workspaces used to control the actuator and to upload code
- YouTube videos in three parts covering the build
Because the CAD, the board files and the firmware all ship together, you can reproduce the actuator rather than reverse-engineer it. That is unusual for hobby robot arm projects and it is the main reason this design is worth studying even if you intend to build something different.
\2Actuator detail image from the robot-actuator-esp32-v8 project repository.
How do you get started?
The sources describe a build that runs from fabrication files to a working joint, in roughly this order:
- Read the bill of materials first. It tells you which ESP32 board the design expects and what else goes on the PCB. The listed ESP32 Wemos Mini price is $4.05 per unit, and you need one per actuator.
- Order the PCBs with the right thickness. The main PCB is 1.0 mm and the touch PCB is 1.2 mm. White soldermask is recommended but the sources say it is not important. Getting the thickness wrong is a mechanical problem, not a cosmetic one.
- Print the mechanical parts from the STL files, and open the Fusion 360 files if you need to check how the printed parts and the boards fit together.
- Assemble and flash one actuator before building the rest. The firmware is Lua, uploaded through the ChiliPeppr ESP32 for Lua workspace.
- Bring the joint up in the ChiliPeppr arm workspace, which is the tool the project provides for controlling the actuator. The repository labels this workspace as work in progress.
- Repeat for the remaining joints, then assemble the six axis arm.
Step 4 is the one to take seriously. With a controller per joint, a single working actuator is a complete, testable subsystem, and debugging six boards at once is far harder than debugging one.
What does the esp32 robot arm code do?
The firmware is written in Lua and runs on a NodeMCU ESP32. The repository names four modules that make up the build: a touch module, a pulse counter module, an RMT TX module and a gpiomatrix module. The README does not explain how each module is wired into the actuator logic, so treat those names as the firmware's building blocks rather than a full description of behaviour.
The RMT module is the part worth understanding, because RMT is a real ESP32 peripheral with documented behaviour. It was designed as an infrared transceiver, but the ESP-IDF documentation notes that its flexible data format makes it a general-purpose transceiver and sequence generator. That is exactly the kind of job a joint controller needs: emitting precisely timed pulses rather than relying on software delays.
RMT data is organised into symbols. Each symbol holds two pairs of values, and each pair is a 15-bit duration counted in RMT ticks plus a 1-bit logic level:
| Field | Width | Meaning |
|---|---|---|
| Duration | 15 bits | Signal duration in RMT ticks |
| Level | 1 bit | Signal logic level, high or low |
Two pairs per symbol means one symbol describes a pulse and the following gap. The peripheral also supports carrier modulation on transmit, hardware-controlled loops with a finite or infinite repeat count, and sync groups that start several channels transmitting at the same moment. For a multi-joint arm, that last feature is the interesting one, since coordinated motion depends on joints starting together rather than one after another.
What are the common pitfalls?
Heat is a design constraint, not an afterthought. The repository ships heat management test results, which tells you the author hit thermal limits and measured them. Plan for it before you enclose an actuator.
PCB thickness is easy to get wrong. The main board is 1.0 mm and the touch board is 1.2 mm. Fabricators default to other values, so specify both explicitly when ordering.
One ESP32 per joint multiplies everything. Cost, boards to flash, firmware to keep in sync and wiring all scale with the number of axes. Budget for spares, because a dead board in a finished arm is a disassembly job.
RMT channels are a shared, finite resource. The driver hands out free channels on request and each channel is configured as either transmitter or receiver, so plan which joints need transmit channels and release channels you no longer use. If you enable DMA, the documentation suggests a larger buffer such as 1024 for better throughput and lower CPU overhead; without DMA, the buffer must be at least the per-channel memory the chip provides.
Timing is expressed in ticks, not microseconds. RMT durations are 15-bit values in RMT tick units, so a symbol that looks correct in microseconds can be wrong once the clock source changes. Check your tick resolution before you trust a pulse train.
Do not assume generic tutorials apply. The sources here give no pin map, no supply voltage and no motor specification for this arm. If a guide claims otherwise for this design, it is not drawing on these sources.
Frequently asked questions
Can an ESP32 control a robot arm?
Yes. In the robot-actuator-esp32-v8 design, an ESP32 is the brains of each individual robot arm actuator, so a six axis arm uses one controller per joint rather than a single central board.
What code runs on the ESP32 robot arm?
Lua firmware on a NodeMCU ESP32, built from a touch module, pulse counter module, RMT TX module and gpiomatrix module. Code is edited and uploaded through the ChiliPeppr ESP32 for Lua workspace.
Do I need custom PCBs to build it?
The project publishes Eagle schematic and board files for a main PCB and a touch PCB, so yes, the design expects fabricated boards. Order the main board at 1.0 mm and the touch board at 1.2 mm.
What is the RMT module for?
RMT is an ESP32 peripheral originally built for infrared but usable as a general-purpose transceiver and sequence generator. It emits precisely timed pulse symbols, each carrying a 15-bit duration in RMT ticks and a 1-bit logic level.
How many axes does the arm have?
Six. The actuator is based on Jeff Kerr's WE-R2.4 six axis 3D printed robot arm.
This is a serious build: custom boards, printed parts, per-joint controllers and Lua firmware, with the fabrication files published so you can actually reproduce it. It suits someone comfortable with PCB ordering and embedded firmware rather than a first robotics project. If you want a quick arm on a breadboard, the sources here will not get you there, but if you want to understand how a smart joint is put together, this design shows the whole stack.
Sources
github.comRemote Control Transceiver (RMT) (esp-idf docs)github.comchilipeppr/robot-actuator-esp32-v8 (GitHub README)This guide summarises the public sources listed above in our own words. Check the original documentation before relying on exact figures.

