| Picture | ![]() |
![]() |
|---|---|---|
| Product Name | SWIFT-LCD-13 | SWIFT-LCD-20 |
| Screen Resolution | 240*240 | 240*320 |
| Screen Size | 1.3 inches | 2.0 inches |
The module adopts a standard 4-wire SPI communication interface and IPS hard screen technology. It integrates a high-performance driver chip and backlight circuit, offering rich color display and clear image quality. The module features vibrant colors, wide viewing angles, and high contrast ratio. While ensuring efficient communication, the built-in circuit simplifies hardware connections by internally pulling the RES (Reset) and BLK (Backlight Control) pins to a high level, significantly reducing the complexity of hardware wiring and initialization. It is suitable for various embedded human-machine interaction interfaces, smart device status displays, and other applications that require rich visual content.
| parameter | Value | Value |
|---|---|---|
| product Name | SWIFT-LCD-13 | SWIFT-LCD-20 |
| Screen Resolution | 240*240 | 240*320 |
| Screen Size | 1.3 inches | 2.0 inches |
| Display Interface | Standard 4-wire SPI | Standard 4-wire SPI |
| Driver IC | ST7789 | ST7789 |
| Display Technology | IPS (In-Plane Switching) | IPS (In-Plane Switching) |
| Backlight Type | LED | LED |
| Communication Protocol | 4-wire SPI | 4-wire SPI |
| Operating Temperature | -20°C ~ 70°C | -20°C ~ 70°C |
| Power Consumption | 80mA | 80mA |
| Viewing Angle | Full viewing angle (IPS) | Full viewing angle (IPS) |
| Display Colors | Full color | Full color |
| Operating Voltage | 3.3V ~ 5V | 3.3V ~ 5V |
| Interface | GH1.25 pitch connector | GH1.25 pitch connector |
| Connection Method | GH1.25 to PH2.0 6-pin anti-reverse cable | GH1.25 to PH2.0 6-pin anti-reverse cable |
| Module Dimensions | 38.4*30.4mm,M4 screw mounting holes | 56 * 40mm, LEGO compatible |
| Pin Name | Description |
|---|---|
| G | Ground |
| V | Power Supply (3.3V ~ 5V) |
| SCL | Serial Clock |
| SDA | SPI Data Input/Output |
| DC | Data / Command Control |
| CS | Chip Select (Active Low) |
Note: The RES (Reset) and BLK (Backlight) pins are internally pulled high and do not require external wiring.
| SWIFT-LCD-13 | SWIFT-LCD-20 |
|---|---|
![]() |
![]() |
Simple Display "hello world" example, First, install the Adafruit ST7735 and ST7789 Library.

Click here download display"hello world"example
#include <Adafruit_ST7789.h>
#include <SPI.h>
namespace {
constexpr uint32_t kTextSize = 2;
constexpr auto kDisplaySclk = GPIO_NUM_17; // SCL
constexpr auto kDisplayMosi = GPIO_NUM_16; // SDA
constexpr auto kDisplayDc = GPIO_NUM_15; // DC
constexpr auto kDisplayCs = GPIO_NUM_14; // CS
Adafruit_ST7789 g_display(&SPI, kDisplayCs, kDisplayDc, -1);
} // namespace
void setup() {
SPI.begin(kDisplaySclk, -1, kDisplayMosi, -1);
g_display.init(240, 240); // SWIFT-LCD-13 pixel dimension 240*240 SWIFT-LCD-20 pixel dimension 240*320
g_display.setRotation(2);
g_display.fillScreen(ST77XX_WHITE);
g_display.setTextSize(kTextSize);
g_display.setTextColor(ST77XX_BLACK);
g_display.setCursor(0, 0);
g_display.print("hello world");
}
void loop() {
}Click here to download SWIFT-LCD-13 demo
Click here to download SWIFT-LCD-20 demo
This example requires importing the LVGL dependency library.
Example Wiring Instructions:
| Display Module Pin | Connect to ESP32 Pin |
|---|---|
| CS | GPIO 14 |
| DC | GPIO 15 |
| SDA | GPIO 16 |
| SCL | GPIO 17 |
| V | 5V Power |
| G | GND (Ground) |
In this example, the LCD screen displays 'Hello nulllab' on the first line, the network time on the second line, and the current date on the third line.
Micropython library




