Component guide · Intermediate · 3 min read
Nextion and DWIN HMI Touch Displays
By Geekobot Learning Team · Updated 24 Oct 2026
On this page
An HMI display such as a Nextion or DWIN has its own processor and memory. You design the screens, buttons and images on a PC in the maker's editor, load them onto the display, and your microcontroller just exchanges short serial messages with it over UART. This keeps graphics off a small board like an Arduino Uno. Nextion commands are text ending in three 0xFF bytes; DWIN uses binary frames.
Key specs at a glance
- Interface
- UART (TTL serial), 9600 baud default on Nextion; 115200 common on DWIN
- Design tools
- Nextion Editor; DWIN DGUS tool
- Touch
- Resistive on most models; capacitive on some
- Supply
- 5 V; 100 mA to over 500 mA depending on size and backlight
- Sizes
- About 2.4 to 10.1 inch
- Loading screens
- microSD card or over the serial link
How it works
- 1Draw pages, buttons, text fields, gauges and sliders in the editor on your PC, and import fonts and images.
- 2Compile and copy the output file to a microSD card, insert it in the display, and power up to flash it.
- 3Connect the display's TX and RX to a serial port on your board (crossed over: display TX to board RX) and share GND.
- 4Send commands to update values, and read touch events the display sends back.
On a Nextion, setting a text field looks like t0.txt="25.4" followed by three bytes of 0xFF. Libraries such as EasyNextionLibrary handle the framing. DWIN DGUS displays instead use variable addresses with frames that start with 0x5A 0xA5.
Choosing a model
| Nextion Basic / Discovery | Nextion Enhanced / Intelligent | DWIN DGUS | |
|---|---|---|---|
| Extras | Core features | RTC, GPIO, more memory, animations | Fast graphics, audio on some |
| Touch | Resistive | Resistive or capacitive | Resistive or capacitive |
| Learning curve | Easy editor | Easy editor | Steeper, binary protocol |
| Best for | Simple control panels | Richer interfaces | Industrial panels, cost-sensitive volume |
- Extras
- Nextion Basic / Discovery:
- Core features
- Nextion Enhanced / Intelligent:
- RTC, GPIO, more memory, animations
- DWIN DGUS:
- Fast graphics, audio on some
- Touch
- Nextion Basic / Discovery:
- Resistive
- Nextion Enhanced / Intelligent:
- Resistive or capacitive
- DWIN DGUS:
- Resistive or capacitive
- Learning curve
- Nextion Basic / Discovery:
- Easy editor
- Nextion Enhanced / Intelligent:
- Easy editor
- DWIN DGUS:
- Steeper, binary protocol
- Best for
- Nextion Basic / Discovery:
- Simple control panels
- Nextion Enhanced / Intelligent:
- Richer interfaces
- DWIN DGUS:
- Industrial panels, cost-sensitive volume
Tips
- Power the display from a supply that can handle its backlight; a large panel can brown out a USB-powered Arduino.
- On an Uno, use SoftwareSerial at 9600 baud or move to a board with spare hardware UARTs such as the Arduino Mega or ESP32. Logic is 5 V on most models; check before connecting to 3.3 V boards.
- Do UI logic (page changes, button animations) inside the display so the microcontroller only handles data.
- Chinese-market TJC panels look identical to Nextion but need the TJC editor.
Common mistakes to avoid
- Forgetting the three 0xFF bytes after each Nextion command.
- TX connected to TX instead of crossed over.
- Powering a 7 inch display from the Arduino's 5 V pin.
- Buying a TJC panel and trying to load Nextion files.
- Sending updates in a tight loop and flooding the serial link.
Frequently asked questions
Do I need a powerful microcontroller for a Nextion display?
No. The display does the graphics, so even an Arduino Uno can drive it over serial.
How do I upload a design to a Nextion display?
Copy the compiled .tft file to a FAT32 microSD card, insert it and power the display; remove the card after it finishes.
Why does my Nextion ignore my commands?
Usually the missing three 0xFF terminator bytes, a baud rate mismatch or swapped TX and RX.
Nextion or a TFT display?
Nextion is easier for polished touch interfaces on small boards; a TFT gives full control from an ESP32 but needs more code.
Is a DWIN display the same as Nextion?
No. Both are HMI displays, but DWIN uses a different editor and a binary protocol.
Parts for this guide
Terms in this guide
Projects that use it
Put this into practice: 1 step-by-step build in our project library uses parts from this guide.
Keep learning
Sources
Written by the Geekobot team from manufacturer datasheets. Always check the datasheet for the exact part and variant you buy.


