Skip to content

Installation

There are three ways to install ESP3D-X, from the simplest to the most technical:

MethodForTools neededBoards
Web installerEnd usersA Chromium-based browser (Chrome, Edge)PiBot CNC Pendant V1
Flash with flash_mgr.pyUsers with ready-made binariesPython 3.8+ and esptoolAll boards
Build from sourceDevelopers, boards without published binariesESP-IDF 5.4.3 + PythonAll boards

See Hardware for the list of supported boards and their variants.

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.

  1. Connect the board to your computer with a USB data cable.
  2. Open webinstaller.esp3d.io in Chrome or Edge (Web Serial is not available in Firefox or Safari).
  3. Pick the card matching your board, your CNC firmware (FluidNC, grbl, grblHAL), your flash size and your connection (Serial, WiFi, Bluetooth Serial, Bluetooth BLE).
  4. 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).

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).

Terminal window
python tools/flash_scripts/flash_mgr.py

The script asks, in order:

  1. the variant (from the folders found in installer/),
  2. the serial port (detected ports are listed),
  3. the baud rate (default 921600; use a lower one such as 460800 if flashing fails),
  4. 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.

Terminal window
# 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 COM5
python tools/flash_scripts/flash_mgr.py --variant ESP32_PIBOT_CNC_PENDANT_V1_8MB_wifi_fluidnc --port COM5 --baud 460800
# Erase the whole flash before writing
python 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 COM5

On 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).

  • ESP-IDF 5.4.3, installed and exported in the terminal you build from
  • Python 3.8+
  • Git
Terminal window
git clone https://github.com/luc-github/ESP3D-X.git
cd ESP3D-X

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.

Terminal window
python tools/build_scripts/build_mgr.py

The script asks, in order:

  1. the action: Build, Clean or Check,
  2. the board (or All boards),
  3. the variant of that board (or All variants); skipped for All boards,
  4. Dev mode (keep the dev tools enabled); Build only,
  5. Clean before build (no cache); Build only,
  6. 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.

Terminal window
# List all boards and variants
python tools/build_scripts/build_mgr.py --list
# Build
python tools/build_scripts/build_mgr.py --build_all
python tools/build_scripts/build_mgr.py --build_board pibot_pendant_v1_0
python 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_all
python tools/build_scripts/build_mgr.py --clean_board pibot_pendant_v1_0
python tools/build_scripts/build_mgr.py --clean_variant pibot_pendant_v1_0/8mb_wifi_fluidnc
  • Main firmware: installer/<VARIANT>/ (all the flash files, the flash-map JSON, esp3dfw.bin for SD-card update, the firmware_*.elf symbols and the ui_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.

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.

The pendant can be configured via:

  • On-screen settings menus
  • esp3dcnf.ini file on the SD card
  • Embedded WebUI (when WiFi is enabled)