MicroGUI turns the ESP32 into a touchscreen without programming

MicroGUI turns the ESP32 into a touchscreen without programming

MicroGUI lets you design touchscreens for ESP32 in a browser, without writing code or recompiling the firmware every time you move a label or change a widget. Random Nerd Tutorials introduced the tool on December 6, 2026: after installation, the display itself serves the editor over Wi-Fi and reflects changes on the device in about one second.

The project is designed primarily for the ESP32 Cheap Yellow Display (CYD), but it also works with the Freenove ESP32-S3 FNK0104B display and ESP32 boards connected to a compatible touchscreen. The approach replaces some of the usual work with code and development tools with a visual editor that opens on a computer, tablet, or phone.

An answer to the work involved in designing with LVGL

Random Nerd Tutorials had already published tutorials on interfaces for the CYD using LVGL and an e-book on programming these boards. The creator of MicroGUI explains that designing an attractive interface takes time, and even a small adjustment can require compiling and uploading the program again. The CYD compilation process, they add, can be slow.

The tool was created to reduce that friction after readers asked for a simpler alternative. It is split between the firmware installed on the display and a web editor that the board itself makes available on the local network. There is no need to install a program on the computer: just load the firmware once and open the display's address in a browser.

MicroGUI also includes optional firmware, called ESP32 Node, for other boards that users want to monitor or control through the interface. The editor offers widgets that can be dragged onto the screen, data connections, and touch actions; when saved, changes appear on the physical display as you work, not just in a preview.

“If this works as advertised, it will be a major help!”

— Dave K, reader

51 widgets, 54 templates, and up to 20 screens

The editor includes 51 widgets across ten groups: basic elements, controls, indicators, weather, air quality, time, charts, cryptocurrency, boards, and navigation. Examples include labels, statistics cards, buttons, switches, sliders, thermostats, gauges, 24-hour history charts, CO2 indicators, and tab bars.

To avoid starting with a blank screen, MicroGUI offers 54 editable templates for clocks, weather, air quality, home control, and other uses. Included examples include a flip clock with a weather forecast and alarm, rings for CO2 and PM2.5 particles, a thermostat with a temperature trend, and an e-paper-style weather station.

Screens can use dark, light, or e-paper styles, in portrait or landscape orientation, with a configurable accent color. Limits depend on the board: the CYD supports up to ten screens with 32 widgets each; the Freenove FNK0104B supports up to twenty screens with 48 widgets each. The editor also lets users save and export projects and create their own templates.

A memory check lets users review screens before a project can cause the board to crash. The post notes that projects with many resources can exceed the ESP32's limited RAM, so the editor checks each screen.

MicroGUI convierte el ESP32 en una pantalla táctil sin programar
© Random Nerd Tutorials

Sensor data, weather, and other boards

Available values appear as named variables with current readings, which can be assigned to a widget or used in automations. MicroGUI supports BME280, SHT4x, SEN66, and SEN63C sensors; depending on the sensor, it can display temperature, humidity, pressure, CO2, particles, VOC, and NOx.

Weather information comes from Open-Meteo and includes current conditions, hourly and daily forecasts, sunrise and sunset, and outdoor air quality. Users can also display up to eight cryptocurrencies, stocks, index funds, gold, or currencies, with 24-hour changes, highs and lows, and 24-hour or seven-day charts.

Additional ESP32 boards can provide readings directly or through HTTP. The tool also accepts data through MQTT, although that integration is still in beta. Buttons can publish to MQTT or call a URL; compatibility includes Mosquitto, the Home Assistant broker, and other MQTT brokers.

Clocks, dates, alarms, and timers get the time from the internet and let users select a time zone. In addition to built-in sources, users can create their own variables and formulas. The site lists any ESP32, Raspberry Pi, Node-RED, or Home Assistant as potential data sources through HTTP.

Touch controls and local automations

Buttons, switches, sliders, scenes, and the thermostat can control equipment and boards. A tap can open another screen, switch a relay on another board, publish an MQTT message, or call a URL. Users can also add color zones based on a value or show a widget only when a condition is met.

MicroGUI lets users configure up to 20 automations. They can be triggered when a threshold is crossed, a board disconnects, at a specific time, or at sunset. Available actions include switching a relay, displaying an alert, playing a sound, opening a screen, changing a variable, adjusting an LED's brightness, or dimming the display.

One example described by the project: if bedroom CO2 stays above 1200 ppm for five minutes, the display shows the alert “CO2 high, open a window” and turns on the fan; when air quality improves, it turns the fan off. Automations run on the display itself and continue working even when the browser is closed.

ESP32 Nodes expand the setup

The Node firmware turns an ESP32, ESP32-S3, ESP32-C3, or ESP32-C6 board into a wireless sensor or an input/output module. The board connects to the Wi-Fi network and is added from the editor using a search or a six-digit code shown on the display; the setup wizard lets users choose its sensors and outputs without writing code.

Each node can have one sensor—including SHT4x, BME280, BMP280, SEN66, SEN63C, or an analog input—one trigger, and up to four outputs. Triggers can be motion, door or window, button, Hall effect, vibration, or accelerometer; outputs include a relay, LED, buzzer, door pulse, or dimmer.

Nodes send their values directly to the display over HTTP or through an MQTT broker. They can be powered by USB or by battery in deep sleep mode, an option the project mentions for door sensors or garden weather stations.

Compatible boards and setup

MicroGUI 1.0 supports the ESP32-2432S028R and the Freenove FNK0104B, as well as classic ESP32 boards connected to compatible displays. The CYD has a 2.8-inch resistive touchscreen with a resolution of 320 × 240 pixels; its touch calibration is performed on first startup. The Freenove is also 2.8 inches and has a resolution of 320 × 240, but uses an IPS panel and capacitive touch that requires no calibration.

FeatureESP32 Cheap Yellow DisplayFreenove ESP32-S3 FNK0104B
Chip and memoryESP32, 4 MB flashESP32-S3, 16 MB flash and 8 MB PSRAM
Display2.8 inches, 320 × 2402.8-inch IPS, 320 × 240
TouchscreenResistive; calibrated at startupCapacitive; no calibration required
Project capacityUp to 10 screens with 32 widgetsUp to 20 screens with 48 widgets

An ESP32-WROOM-32 connected to a 320 × 240 ILI9341 display or a 3.5- or 4-inch 480 × 320 ST7796 display with XPT2046 touch is also supported. For the Freenove, users must select the FNK0104B with touchscreen; the FNK0104A is the same board without a touchscreen.

Installation uses a USB cable and the Flash Tool in Chrome or Edge. After loading the firmware, the board creates a setup network called MicroGUI_AP, or MicroGUI_S3_AP on the Freenove. Connect to that network from a phone, open the address shown on the display, and enter the home Wi-Fi password. The editor then opens at the board's IP address, or at microgui.local or microgui-s3.local, depending on the model.

Random Nerd Tutorials estimates that going from a blank screen to the first dashboard takes about three minutes: a couple of minutes to install the firmware and around one minute to connect the board to Wi-Fi. A router with internet access is needed to use weather data, prices, and time; the editor must be opened from a device connected to the same network.

Licenses and offer through December 17

MicroGUI is sold with a Maker license and a Commercial license. The first covers personal and hobby projects; the second covers business use, client work, and paid installations. Both include all features, the editor firmware, 51 widgets, 54 templates, ESP32 Node firmware, unlimited devices, and 12 months of updates.

The license does not expire and comes with a 30-day money-back guarantee. Random Nerd Tutorials is offering a 25% discount through December 17, 2026, but the post does not state the price of either license. The MicroGUI website belongs to Random Nerd Tutorials, and the project was created by Rui Santos.

Source: Random Nerd Tutorials