TZT 2.4 inch TFT LCD

Contents

2.4 Inch TFT LCD Serial Port Module User Manual

Model: 2.4 inch TFT LCD

1. Introduction

This manual provides detailed instructions for the TZT 2.4 inch 240x320 SPI TFT LCD Serial Port Module. This versatile display module is designed for use with microcontrollers such as Arduino and STM, offering a compact and colorful interface for your electronic projects. It features a 2.4-inch screen with 240x320 pixel resolution, supports SPI communication, and includes an integrated Micro SD card slot. Variants are available with either ILI9341 or ST7789V driver ICs, and with or without touch functionality.

Two 2.4 inch TFT LCD modules (one blue, one red) and a white stylus, illustrating the product variants.
Overview of the 2.4 inch TFT LCD Modules with and without touch, and a stylus.

2. Features

  • 2.4-inch color screen, supporting 65K rich colors.
  • High resolution of 240x320 pixels.
  • Supports SPI serial bus for efficient communication.
  • Optional touch screen functionality for interactive applications.
  • Integrated Micro SD card slot for data storage and display.
  • Compatible with 5V/3.3V power supplies.
  • Available with ILI9341 or ST7789V driver ICs.
  • Designed for easy integration with various microcontrollers.

3. Specifications

Table showing product parameters including display color, screen size, type, driver IC, resolution, module interface, active area, PCB size, operating and storage temperatures, VCC and logic IO port voltages, and power consumption.
Product Parameters Table
General Specifications
Name Parameter
Display Color RGB 65K color
Screen Size 2.4 (inch)
Type TFT
Driver IC ILI9341/ST7789V
Resolution 320*240 (Pixel)
Module Interface 4-wire SPI interface
Active Area (V/A) 36.72x48.96 (mm)
Module PCB Size 77.18x42.72 (mm)
Operating Temperature -20℃ ~ 70℃
Storage Temperature -30℃ ~ 80℃
VCC Power Voltage 3.3V-5V
Logic IO Port Voltage 3.3V (TTL)
Power Consumption TBD
Backlight White LED, Vf=3.0V, If=60mA (15mA/LED)
Viewing Direction 6 o'clock
Color Depth 262K/65K
Polarizer Mode Transmissive/Positive
Connection Method/Drive IC COG/ST7789V Or Compatible
10P Spacing 1.0mm plug connection
Interface 4-SPI
Angle of View 12 o'clock angle of view
Diagram showing the functions and features, mechanical specifications, and outline drawing of the 2.4 inch TFT LCD Blue Board.
Functions, Mechanical Specifications, and Outline Drawing

4. Interface Definition

The module uses a standard SPI interface for communication. Below is a table detailing the pin labels and their functions:

Table defining the pin labels and their descriptions for the TFT LCD module interface.
Interface Pin Definitions
Pinout Description
Number Pin Label Description
1 VCC 5V/3.3V power input
2 GND Ground
3 CS LCD chip select signal, low level enable
4 RESET LCD reset signal, low level reset
5 DC/RS LCD register / data selection signal, high level: register, low level: data
6 SDI(MOSI) SPI bus write data signal
7 SCK SPI bus clock signal
8 LED Backlight control, high level lighting. If not controlled, connect 3.3V always bright.
9 SDO(MISO) SPI bus read data signal. If you do not need to read the function, you can not connect it.
10 T_CLK Touch SPI bus clock signal
11 T_CS Touch screen chip select signal, low level enable
12 T_DIN Touch SPI bus input
13 T_DO Touch SPI bus output
14 T_IRQ Touch screen interrupt signal, low level when touch is detected

5. Setup Instructions

This section outlines the general steps for connecting your TFT LCD module to a microcontroller. Specific wiring may vary based on your microcontroller and chosen library.

5.1 Power and Logic Voltage

  • The module operates with a VCC power input of 3.3V-5V.
  • Crucially, the logic IO port voltage is 3.3V (TTL). If your microcontroller operates at 5V logic (e.g., some Arduino boards), you must use a logic level shifter or voltage divider for all data lines (CS, RESET, DC/RS, SDI, SCK, SDO, T_CLK, T_CS, T_DIN, T_DO, T_IRQ) to prevent damage to the display module. Connecting 5V logic directly can result in a white screen or permanent damage.
  • The backlight (LED pin) requires a high level (3.3V) to be on. If you do not control it via a microcontroller pin, connect it directly to 3.3V.

5.2 SPI Connection

Connect the module to your microcontroller using the SPI interface. The following pins are essential for basic display operation:

  • VCC: Power supply (3.3V or 5V, depending on module variant and power source)
  • GND: Ground
  • CS: Chip Select (connect to a digital pin on your microcontroller)
  • RESET: Reset (connect to a digital pin)
  • DC/RS: Data/Command Select (connect to a digital pin)
  • SDI (MOSI): Master Out Slave In (connect to your microcontroller's MOSI pin)
  • SCK: Serial Clock (connect to your microcontroller's SCK pin)
  • SDO (MISO): Master In Slave Out (connect to your microcontroller's MISO pin; optional if not reading from display)
  • LED: Backlight (connect to 3.3V or a digital pin for control)

For modules with touch functionality, additionally connect:

  • T_CLK: Touch SPI Clock
  • T_CS: Touch Chip Select
  • T_DIN: Touch Data In
  • T_DO: Touch Data Out
  • T_IRQ: Touch Interrupt

5.3 Wiring Diagrams

Detailed wiring diagram for connecting the TFT LCD module to a microcontroller, showing connections for power, ground, and SPI data lines.
Example Wiring Diagram for TFT LCD Module
Outline drawing of the 2.4 inch TFT module with pin labels and dimensions.
Module Outline Drawing with Pinout

6. Operating Instructions

Once wired correctly, you will need to program your microcontroller to interface with the display. This typically involves:

  1. Install Libraries: For Arduino IDE, popular libraries like Adafruit GFX Library and Adafruit ILI9341 or Adafruit ST7789 Library are commonly used. For ESP32, similar libraries or specific ESP-IDF components may be available.
  2. Initialize Display: In your code, initialize the display object, specifying the connected pins (CS, DC/RS, RESET, etc.) and the driver IC (ILI9341 or ST7789V).
  3. Basic Display Functions: Use library functions to draw text, shapes, images, and set colors.
  4. SD Card Usage: If using the Micro SD card slot, ensure you have an SD card library installed and initialize it in your code to read/write data or display images from the card.
  5. Touch Functionality (if applicable): For touch-enabled modules, initialize the touch controller (e.g., XPT2046) and use its functions to read touch coordinates.

7. Maintenance

  • Handling: Handle the module by its edges to avoid touching the screen surface or damaging components.
  • Cleaning: Use a soft, lint-free cloth, slightly dampened with water or an electronics-safe cleaner, to gently wipe the screen if necessary. Avoid abrasive materials or harsh chemicals.
  • Storage: Store the module in an anti-static bag in a dry, cool environment when not in use.
  • Power: Always disconnect power before making or changing connections to the module.

8. Troubleshooting

  • White Screen: This is often caused by incorrect voltage levels. Ensure all logic pins from your microcontroller are at 3.3V. If your microcontroller is 5V, use a logic level shifter. Also, verify that the backlight (LED pin) is correctly powered (connected to 3.3V or controlled high).
  • No Display/Garbled Output:
    • Check all wiring connections for looseness or incorrect pin assignments.
    • Verify that the correct display driver (ILI9341 or ST7789V) is selected in your software library.
    • Ensure the SPI communication speed is compatible with the module.
    • Confirm the display is properly initialized in your code.
  • Touch Screen Not Responding/Incorrect Calibration:
    • Ensure all touch-related pins (T_CLK, T_CS, T_DIN, T_DO, T_IRQ) are correctly wired and connected to 3.3V logic.
    • Check if the touch controller is correctly initialized in your software.
    • Some modules may require calibration. Refer to your chosen library's documentation for calibration procedures.
    • Note for ST7789V with CYD by BRUCE FIRMWARE: Users have reported that the touch screen may come out reversed with ST7789V. ILI9341 is recommended for this specific firmware to avoid this issue.
  • SD Card Not Detected:
    • Ensure the SD card is properly inserted.
    • Verify that the SD card library is correctly initialized and the SPI pins for the SD card are correctly configured.
    • Check for proper voltage levels for the SD card interface.

9. User Tips

  • Backlight Control: If you are not actively controlling the backlight (BL) pin with a microcontroller, connect it directly to 3.3V to ensure the display is illuminated.
  • Voltage Conversion: When using a 5V microcontroller (like some Arduino models), always use a logic level shifter or a 10kOhm resistor in series for each data wire to convert 5V signals to 3.3V for the display's data pins. This is critical to prevent damage.
  • Software Libraries: For Arduino projects, the Adafruit GFX Library combined with either Adafruit ILI9341 or Adafruit ST7789 libraries are highly recommended for ease of use and extensive functionality.
  • Touch Operation: The touch functionality on these modules typically supports simple tap operations.
  • Driver Compatibility: If using specific firmwares like 'CYD by BRUCE FIRMWARE', consider using the ILI9341 driver variant over ST7789V to ensure correct touch screen orientation.

10. Frequently Asked Questions (FAQ)

Q: Does the module support a stylus pen?
A: Yes, if you have purchased a module with touch functionality, it typically comes with a stylus for interaction.

11. Warranty and Support

For any technical assistance, troubleshooting beyond this manual, or warranty inquiries, please contact the seller or manufacturer directly. Ensure you provide your product model and any relevant purchase information for efficient support.

Documents and downloads

Ask a question about this manual

Ask about setup, troubleshooting, compatibility, parts, safety, or missing instructions. Manuals+ will review the question and use this page’s manual context to help answer it.

After a successful submission, we securely hash the supplied account or form email before sending it to Microsoft Advertising for conversion attribution. Privacy details.

Rate this product if you’ve used it

Was this page helpful?