There are three ways to install ESP3D-X, from the simplest to the most technical:
| Method | For | Tools needed | Boards |
|---|---|---|---|
| Web installer | End users | A Chromium-based browser (Chrome, Edge) | PiBot CNC Pendant V1 |
Flash with flash_mgr.py | Users with ready-made binaries | Python 3.8+ and esptool | All boards |
| Build from source | Developers, boards without published binaries | ESP-IDF 5.4.3 + Python | All boards |
See Hardware for the list of supported boards and their variants.
Web installer
Section titled “Web installer”The web installer flashes the complete firmware (bootloader, partition table, firmware, UI resources and factory app) straight from the browser, over USB, with nothing to install.
- Connect the board to your computer with a USB data cable.
- Open webinstaller.esp3d.io in Chrome or Edge (Web Serial is not available in Firefox or Safari).
- Pick the card matching your board, your CNC firmware (FluidNC, grbl, grblHAL), your flash size and your connection (Serial, WiFi, Bluetooth Serial, Bluetooth BLE).
- Click Connect, select the serial port of the board, then Install.
Each card also has a download link to a zip with esp3dfw.bin (for an SD-card update), the firmware_*.elf symbols (to decode a crash report) and the ui_resources_kit/ folder (to customize icons and fonts).
Flash with flash_mgr.py
Section titled “Flash with flash_mgr.py”tools/flash_scripts/flash_mgr.py flashes a complete variant (bootloader + partition table + OTA data + firmware + UI resources + factory app) in one command with esptool. It reads the real flash offsets from the variant’s partition table, and picks the right bootloader offset for the chip (0x1000 on ESP32, 0x0 on ESP32-S3 / C3).
It works on the variant folders of installer/, which build_mgr.py fills: one folder per variant, named <BOARD>_<N>MB_<connection>_<firmware> (for example ESP32_PIBOT_CNC_PENDANT_V1_8MB_wifi_fluidnc).
Interactive mode
Section titled “Interactive mode”python tools/flash_scripts/flash_mgr.pyThe script asks, in order:
- the variant (from the folders found in
installer/), - the serial port (detected ports are listed),
- the baud rate (default 921600; use a lower one such as 460800 if flashing fails),
- whether to erase the whole flash first (recommended for a first install or when changing board layout).
Every prompt except the first has a B) Back entry (on yes/no prompts type b). A summary of all choices is always shown last: Enter starts, a number changes that one choice, B goes back, Q quits. The choices are saved as defaults for the next run once the summary is confirmed.
Command line
Section titled “Command line”# List the variants available in installer/python tools/flash_scripts/flash_mgr.py --list
# Flash a variant (port is required)python tools/flash_scripts/flash_mgr.py --variant ESP32_PIBOT_CNC_PENDANT_V1_8MB_wifi_fluidnc --port COM5python tools/flash_scripts/flash_mgr.py --variant ESP32_PIBOT_CNC_PENDANT_V1_8MB_wifi_fluidnc --port COM5 --baud 460800
# Erase the whole flash before writingpython tools/flash_scripts/flash_mgr.py --variant ESP32_PIBOT_CNC_PENDANT_V1_8MB_wifi_fluidnc --port COM5 --erase-flash
# Use a variant folder outside installer/python tools/flash_scripts/flash_mgr.py --variant-dir path/to/ESP32_PIBOT_CNC_PENDANT_V1_8MB_wifi_fluidnc --port COM5On Linux / macOS the port looks like /dev/ttyUSB0 or /dev/ttyACM0.
esptool is taken from $IDF_PATH/components/esptool_py/esptool/esptool.py when IDF_PATH is set, otherwise from python -m esptool (pip install esptool).
Build from source
Section titled “Build from source”Prerequisites
Section titled “Prerequisites”- ESP-IDF 5.4.3, installed and exported in the terminal you build from
- Python 3.8+
- Git
Clone the repository
Section titled “Clone the repository”git clone https://github.com/luc-github/ESP3D-X.gitcd ESP3D-XBuild with build_mgr.py
Section titled “Build with build_mgr.py”tools/build_scripts/build_mgr.py builds any board and variant. Variants are discovered automatically from each board’s boards/<board>/build_scripts/variants.py.
Interactive mode
Section titled “Interactive mode”python tools/build_scripts/build_mgr.pyThe script asks, in order:
- the action: Build, Clean or Check,
- the board (or All boards),
- the variant of that board (or All variants); skipped for All boards,
- Dev mode (keep the dev tools enabled); Build only,
- Clean before build (no cache); Build only,
- Stop on first error.
Navigation is the same as flash_mgr.py: B) Back, then a summary where Enter starts, a number changes a choice and Q quits. The last choices become the defaults of the next run.
Command line
Section titled “Command line”# List all boards and variantspython tools/build_scripts/build_mgr.py --list
# Buildpython tools/build_scripts/build_mgr.py --build_allpython tools/build_scripts/build_mgr.py --build_board pibot_pendant_v1_0python tools/build_scripts/build_mgr.py --build_variant pibot_pendant_v1_0/8mb_wifi_fluidnc
# Build without cache (clean the selected variants first)python tools/build_scripts/build_mgr.py --build_board pibot_pendant_v1_0 --clean_first
# Clean only (removes build + installer folders, does not rebuild)python tools/build_scripts/build_mgr.py --clean_allpython tools/build_scripts/build_mgr.py --clean_board pibot_pendant_v1_0python tools/build_scripts/build_mgr.py --clean_variant pibot_pendant_v1_0/8mb_wifi_fluidncOutput
Section titled “Output”- Main firmware:
installer/<VARIANT>/(all the flash files, the flash-map JSON,esp3dfw.binfor SD-card update, thefirmware_*.elfsymbols and theui_resources_kit/). - Factory app:
boards/<board>/Factory/installer/.
On boards with a factory app, the factory variants (factory_<N>mb) are built before the main variants, because the main variant folder receives the factory binaries (bootloader, partition table, factory app). When you build a single main variant and the factory binaries are missing, the matching factory variant is built automatically first.
A build with logs enabled gets _LOG_<LEVEL> appended to its folder name, so it never overwrites the same variant built without logs.
Then flash the result with flash_mgr.py.
See Compilation for the build options, and Porting to add a board or a variant.
First boot
Section titled “First boot”On first boot, the pendant will create a WiFi access point (if WiFi is enabled) or wait for a Bluetooth/Serial connection. Use the User Guide to learn how to navigate the interface and configure your machine connection.
Configuration
Section titled “Configuration”The pendant can be configured via:
- On-screen settings menus
esp3dcnf.inifile on the SD card- Embedded WebUI (when WiFi is enabled)