Skip to main content

ESP32-S3 MQTT Broker: Web Serial installation

Web Serial installs the starter DEMO over USB. Use OTA on the same S3 board to transition to full firmware. See the broker guide for features, UI pages and wiring.

Prepare the hardware​

Use a compatible ESP32-S3 with 16 MB Flash and 8 MB PSRAM, the tested N16R8 configuration, a USB data cable and a desktop Web Serial browser such as Chrome or Edge. Check the board model and USB connector. “ESP32” alone does not identify a compatible chip/memory combination. Do not choose C3, C6, KC868-A6 or Broker RGB.

Close Serial Monitor and other software using the port. Initial Web Serial installation erases all Flash, including settings. Use OTA for ordinary updates of an already working compatible broker.

Open the installer​

Open ESP32 OTA Web Serial.

FieldValue
Usernameota
Passwordota

These are visitor installer credentials. The board Web UI has separate initial credentials, admin / admin.

Select the broker type — the installer supplies the pair​

Under Device type, select ESP32-S3 MQTT Broker (esp32s3), without RGB. This is the only firmware choice: the installer shows one current DEMO App + FS pair for that type. There are no separate application or FS version lists.

SettingValue
Device typeESP32-S3 MQTT Broker (esp32s3)
KitCurrent DEMO — App + FS, both components together
VersionThe value shown under Current version
Target memory16 MB Flash / 8 MB PSRAM, N16R8 profile

App and FS form one signed pair and are selected automatically. Choose Prepare firmware kit. A DEMO update replaces the current pair as a whole; there is no need to find an old release number or select two files. DEMO has no generations; full firmware's rollback protection remains in place.

Prepared App + FS kit​

The screenshot selects ESP32-S3 MQTT Broker (esp32s3) and prepares its current pair. Version 4.1.0 belongs to this example; use the current version shown on the page when installing. Required Flash is 16 MiB.

Web Serial: current MQTT Broker DEMO App + FS pair prepared

The board has not been flashed yet. “Board Flash has not been checked” and “Detected Flash: not read yet” mean the serial port is still closed. Check the selected type, memory requirements and hardware profile before connecting.

Connect and flash​

  1. Connect the target S3 board using a USB data cable.
  2. Select Connect and Flash, then choose its serial port in the browser dialog.
  3. If download mode is required, follow the BOOT/RESET procedure for the exact board. This differs from holding BOOT for 10 seconds in the running application.
  4. Wait for compatibility checks, writing and reboot to complete. Keep USB/power connected. On incompatibility, check profile, chip and memory; do not bypass the check with manual writes.
  5. Confirm the board starts its AP or connects to the configured network.

First DEMO startup​

Join the open ESP32_Broker_AP network without a password. Open http://192.168.4.1 and log in as admin / admin. If your phone or computer remembers a protected network with that name, remove the saved profile and reconnect.

First-login form captured on full firmware; not evidence of a Web Serial flash

On Network, enter both SSID and Wi-Fi password, choose DHCP or static IP and save. After reboot, use the resulting local address. Re-enter SSID and password on every subsequent network save as well.

An earlier DEMO installation through Web Serial was tested on an ESP32-S3: the firmware started and displayed synthetic clients. The current screenshots confirm preparation of the new pair in the browser, not another board flash.

Check the version shown by the installer and the DEMO notice. Its four clients and 12 subscriptions are text-only examples. Real clients can connect and receive subscription ACKs, but DEMO forwards no messages. This is expected, not proof of a broken MQTT setup.

Transition to full firmware​

  1. Open OTA and obtain the full Device ID of this target S3 board.
  2. Send it to the operator through the agreed channel and arrange full access.
  3. After admission, select Check updates manually; DEMO automatic checks are disabled.
  4. Install the offered compatible full firmware with its FS and wait for successful boot.
  5. Check the full version, saved network/access settings, connected clients and actual delivery of a test message to a subscriber.

A compatible DEMO-to-full transition needs no repeat USB flash. Do not use an ID from another ESP32, demonstration board or firmware variant.

Where to obtain the full Device ID; full 4.0.2 is shown with private values masked

Peripheral wiring​

OLED and RTC are optional for first use. The shared bus uses SDA GPIO6, SCL GPIO7, I²C0 at 100 kHz. SSD1306 128×64 OLED uses 0x3C, DS3231 RTC uses 0x68. Use common ground and supply/pull-ups compatible with 3.3 V logic. See the full pin table and BOOT behaviour in the main guide. Check physical header positions against your board.