
This circuit connects an ESP32 microcontroller to a 1.3 inch TFT display module (ST7789). The ESP32 provides power and control signals to the display, enabling it to show graphical data.

The 1.54-inch TFT display is a compact, high-resolution screen with a resolution of 240x240 pixels. It uses the ST7789 driver and communicates via the SPI (Serial Peripheral Interface) protocol. This display is ideal for applications requiring a vibrant and colorful interface in a small form factor, such as smartwatches, IoT devices, handheld instruments, and embedded systems.

This circuit connects an ESP32 microcontroller to a 1.3 inch TFT display module (ST7789). The ESP32 provides power and control signals to the display, enabling it to show graphical data.

This circuit features an ESP32-C6 microcontroller interfaced with a China ST7735S 160x128 TFT display. The ESP32-C6 controls the display via SPI communication, providing power, ground, and control signals to render graphics and text on the screen.

This circuit features an Arduino Nano microcontroller connected to a ST7735 128x128 1.44 TFT I2C Color display and multiple pushbuttons. The display is interfaced with the Arduino via digital pins for control signals and SPI pins for data transfer. The pushbuttons are connected to various digital and analog input pins on the Arduino, likely intended for user input to control the display or other functions within the code.

This circuit connects a 1.3 inch TFT Module 240×240 ST7789 display, a GY-MCU90640 thermal camera module, and a XIAO ESP32C3 microcontroller to create a thermal imaging system. The ESP32C3 microcontroller is programmed to read temperature data from the thermal camera, process it, and display a visual representation of the temperature distribution on the TFT screen. The circuit is designed for applications requiring thermal monitoring, such as detecting heat sources or monitoring temperature variations in an environment.
| Parameter | Value |
|---|---|
| Display Type | TFT (Thin-Film Transistor) |
| Resolution | 240x240 pixels |
| Driver IC | ST7789 |
| Communication Protocol | SPI (4-wire) |
| Operating Voltage | 3.3V (logic and backlight) |
| Backlight | LED |
| Display Colors | 65K (16-bit RGB) |
| Viewing Angle | Wide |
| Operating Temperature | -20°C to 70°C |
| Dimensions | 1.54 inches (diagonal) |
| Pin Name | Pin Number | Description |
|---|---|---|
| VCC | 1 | Power supply input (3.3V recommended) |
| GND | 2 | Ground connection |
| SCL | 3 | SPI clock line (SCK) |
| SDA | 4 | SPI data line (MOSI) |
| RES | 5 | Reset pin (active low) |
| DC | 6 | Data/Command control pin |
| BLK | 7 | Backlight control (connect to 3.3V for always on) |
VCC pin to a 3.3V power source and the GND pin to ground.SCL (SPI clock) and SDA (SPI data) pins to the corresponding SPI pins on your microcontroller.RES pin to a GPIO pin on your microcontroller for resetting the display.DC pin to a GPIO pin to toggle between data and command modes.BLK pin to 3.3V for constant backlight or to a PWM-capable GPIO pin for brightness control.Below is an example of how to use the 1.54'' TFT display with an Arduino UNO using the Adafruit ST7789 library.
#include <Adafruit_GFX.h> // Core graphics library
#include <Adafruit_ST7789.h> // ST7789 driver library
#include <SPI.h> // SPI library
// Define pins for the display
#define TFT_CS 10 // Chip select pin (not used, tie to GND)
#define TFT_RST 9 // Reset pin
#define TFT_DC 8 // Data/Command pin
// Create an instance of the display
Adafruit_ST7789 tft = Adafruit_ST7789(TFT_CS, TFT_DC, TFT_RST);
void setup() {
// Initialize serial communication for debugging
Serial.begin(9600);
Serial.println("TFT Display Test");
// Initialize the display
tft.init(240, 240); // Initialize with 240x240 resolution
tft.setRotation(0); // Set display orientation
// Fill the screen with a color
tft.fillScreen(ST77XX_BLACK);
tft.setTextColor(ST77XX_WHITE);
tft.setTextSize(2);
tft.setCursor(10, 10);
tft.println("Hello, World!");
}
void loop() {
// Add your code here to update the display
}
TFT_CS, TFT_RST, and TFT_DC pin definitions to match your wiring.Display Not Turning On:
VCC and GND).BLK) is connected to 3.3V or a PWM signal.No Output on the Screen:
SCL and SDA) and ensure they are correctly wired.RES and DC pins are connected to the correct GPIO pins.Flickering or Unstable Display:
Incorrect Colors or Artifacts:
Q: Can I use this display with a 5V microcontroller?
A: Yes, but you must use level shifters to convert the 5V logic signals to 3.3V to avoid damaging the display.
Q: How do I control the backlight brightness?
A: Connect the BLK pin to a PWM-capable GPIO pin on your microcontroller and use PWM to adjust the brightness.
Q: Is this display compatible with Raspberry Pi?
A: Yes, the display can be used with Raspberry Pi. Use the SPI interface and configure the ST7789 driver in your software.
Q: Can I daisy-chain multiple displays?
A: No, the ST7789 does not support daisy-chaining. Each display requires a separate SPI connection.