SPI colour display module for Arduino / ESP32 and similar boards.
Controller: ST7789 · Resolution: 240 × 320 (320×240) · Interface: 4-wire SPI · 7 pins
Buy: uge-one.com — ST7789 2.8″ SPI LCD TFT module
Repository: UGEelectronics/2.8inch-TFT-ST7789-Module
| Front | With ESP32 demo | Pin labels |
|---|---|---|
![]() |
![]() |
![]() |
Compact 2.8-inch TFT panel on a blue breakout PCB with a 7-pin header. Silk text on the board: 2.8" 320×240 TFT. Intended for DIY electronics, IoT dashboards, meters, and handheld UIs.
| Item | Specification |
|---|---|
| Size | 2.8 inch diagonal |
| Resolution | 240 × 320 pixels (portrait) / 320 × 240 landscape |
| Colour | RGB, 16-bit (RGB565) |
| Driver IC | ST7789 |
| Bus | SPI (SCK, MOSI) + CS + D/C + RST |
| Logic / supply | 3.3 V (3V3 pin) |
| Pins | 7 — see table below |
| Backlight | Fixed on — tied to 3.3 V on the PCB through a small resistor. The user cannot control backlight brightness or turn it off from a GPIO. |
Left → right on the connector:
| Silk | Function |
|---|---|
| GND | Ground |
| 3V3 | Power (3.3 V only) |
| CS | SPI chip select |
| RST | Reset |
| SCK | SPI clock |
| MOSI | SPI data (MCU → LCD) |
| D/C | Data / Command |
There is no backlight control pin and no MISO pin on this product.
- Install Arduino IDE and the ESP32 board package (Espressif).
- Library Manager → install TFT_eSPI by Bodmer.
- Copy this repo’s setup file into the library (see User guide).
- Select that setup in
User_Setup_Select.h. - Wire the module, open
examples/ColorTest, Upload.
| Module pin | ESP32 GPIO |
|---|---|
| GND | GND |
| 3V3 | 3.3 V |
| CS | 2 |
| RST | 13 |
| SCK | 18 |
| MOSI | 23 |
| D/C | 12 |
These GPIOs match TFT_eSPI_Setup/Setup_UGE_ST7789_ESP32.h.
| Path | Description |
|---|---|
docs/USER_GUIDE.md |
Full install, wiring, troubleshooting |
TFT_eSPI_Setup/Setup_UGE_ST7789_ESP32.h |
Pin/driver file for TFT_eSPI |
examples/ColorTest/ |
RGB colour test sketch |
images/ |
Product photos |
TFT_eSPI’s built-in examples only include <TFT_eSPI.h>. They read pins from the library setup.
One library setup means:
- The colour test works
- Every TFT_eSPI example works with the same wiring
- Your own sketches need only
#include <TFT_eSPI.h>
Details: docs/USER_GUIDE.md
MIT — see LICENSE.
© UGE Electronics


