The TFT 1.69" 240x280 ST7789V3 is a compact, high-resolution thin-film transistor (TFT) display module. It features a resolution of 240x280 pixels and utilizes the ST7789V3 driver, which ensures vibrant color output and fast refresh rates. This display is ideal for applications requiring a small, high-quality screen, such as smartwatches, handheld devices, IoT projects, and embedded systems.
Parameter | Specification |
---|---|
Display Type | TFT (Thin-Film Transistor) |
Resolution | 240x280 pixels |
Driver IC | ST7789V3 |
Display Size | 1.69 inches (diagonal) |
Interface | SPI (Serial Peripheral Interface) |
Operating Voltage | 3.3V |
Backlight Voltage | 3.0V to 3.3V |
Current Consumption | ~20mA (typical, backlight on) |
Color Depth | 65K (16-bit RGB) |
Viewing Angle | 160° |
Operating Temperature | -20°C to 70°C |
The TFT 1.69" 240x280 ST7789V3 module typically has an 8-pin interface. Below is the pinout description:
Pin Number | Pin Name | Description |
---|---|---|
1 | GND | Ground (0V reference) |
2 | VCC | Power supply (3.3V) |
3 | SCL | Serial Clock (SPI clock input) |
4 | SDA | Serial Data (SPI data input) |
5 | RES | Reset pin (active low) |
6 | DC | Data/Command control pin |
7 | BLK | Backlight control (connect to 3.3V for always on) |
8 | CS | Chip Select (active low) |
To use the TFT 1.69" 240x280 ST7789V3 with a microcontroller (e.g., Arduino UNO), follow these steps:
VCC
pin to a 3.3V power source and the GND
pin to ground.SCL
(clock) and SDA
(data) pins to the corresponding SPI pins on the microcontroller.RES
pin to a GPIO pin for resetting the display.DC
pin to a GPIO pin to toggle between data and command modes.CS
pin to a GPIO pin to enable/disable the display.BLK
pin to 3.3V for constant backlight or to a PWM pin for brightness control.Below is an example of how to use the TFT 1.69" 240x280 ST7789V3 with an Arduino UNO. This code uses the Adafruit ST7789 library.
#include <Adafruit_GFX.h> // Core graphics library
#include <Adafruit_ST7789.h> // ST7789 driver library
#include <SPI.h> // SPI library
// Define pin connections
#define TFT_CS 10 // Chip Select pin
#define TFT_RST 9 // Reset pin
#define TFT_DC 8 // Data/Command pin
// Initialize the display object
Adafruit_ST7789 tft = Adafruit_ST7789(TFT_CS, TFT_DC, TFT_RST);
void setup() {
// Initialize serial communication for debugging
Serial.begin(9600);
Serial.println("TFT 1.69\" 240x280 ST7789V3 Test");
// Initialize the display
tft.init(240, 280); // Initialize with resolution 240x280
tft.setRotation(1); // Set display orientation (0-3)
// 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() {
// Example: Draw a red rectangle
tft.fillRect(50, 50, 100, 100, ST77XX_RED);
delay(1000);
// Example: Clear the rectangle
tft.fillRect(50, 50, 100, 100, ST77XX_BLACK);
delay(1000);
}
BLK
pin to a PWM-capable GPIO pin.No Display Output:
CS
, DC
, and RES
pins are correctly connected and configured in the code.Flickering or Distorted Display:
Backlight Not Turning On:
BLK
pin is connected to 3.3V or a PWM pin.BLK
pin to ensure it is receiving power.Incorrect Colors or Orientation:
setRotation()
function to adjust the display orientation.VCC
and BLK
pins.By following this documentation, you can successfully integrate and use the TFT 1.69" 240x280 ST7789V3 display in your projects.