AOKIN 2.4" SPI TFT LCD Display Touch Panel ILI9341 240x320 TFT LCD Touch

Contents

2.4 Inch SPI TFT LCD Display Touch Panel User Manual

Model: 2.4" SPI TFT LCD Display Touch Panel ILI9341 240x320 TFT LCD Touch

Brand: AOKIN

1. Introduction

This manual provides detailed instructions for the AOKIN 2.4 inch SPI TFT LCD Display Touch Panel. This module features a 240x320 resolution, ILI9341 driver IC, and a 4-wire SPI serial interface, making it suitable for various microcontroller projects, including those based on Arduino R3 and STM32. It includes a resistive touch screen and an integrated SD card socket for expanded functionality.

2.4 inch TFT LCD display module showing code, held by hands with a stylus.
Figure 1: 2.4 inch TFT LCD display module showing code, held by hands with a stylus.

2. Safety Warnings

  • Keep away from fire and high temperatures.
  • This product contains small parts; keep out of reach of children under three years old to prevent choking hazards.
  • Battery testing is not supported by this device.
  • Ensure you possess a certain level of manual dexterity and technical understanding before attempting to install or operate this product.
  • If the product is damaged or you have any questions, please contact the seller for support.

3. Product Features

  • Display Area: 36.72(W) x 48.96(H) mm
  • Touch Functionality: Integrated resistive touch screen with included touch pen for easy interaction.
  • Compatibility: Compatible with Arduino R3 controller boards and STM32 microcontrollers.
  • Storage: Features a built-in SD card socket on the back for data storage and display.
  • Interface: Utilizes a 4-wire SPI serial interface for efficient communication.
  • Driver IC: Built-in ILI9341 driver IC for display control.
  • Power Supply: Integrated power supply IC, supporting 5V/3.3V operation.

4. Specifications

Attribute Value
Brand Name AOKIN
Model Number 2.4" SPI TFT LCD Display Touch Panel ILI9341 240x320 TFT LCD Touch
Type TFT
Display Mode 320x240
Resolution 320*240
Size 2.4 Inch
Touch Yes (Resistive)
Interface 4 Wire SPI
Effective Area 36.72*48.96mm
PCB Floor Size 77.18*44.72mm
Driver IC ILI9341
Weight 26g
Origin Mainland China
Package Dimensions (L x W x H) 10 cm x 6 cm x 2 cm
Package Weight 0.051 kg
Dimensions of the 2.4 inch TFT LCD module and its rear view showing pinout and SD card slot.
Figure 2: Dimensions of the 2.4 inch TFT LCD module and its rear view showing pinout and SD card slot.
2.4 inch TFT LCD display module with included stylus, showing a vibrant landscape image.
Figure 3: 2.4 inch TFT LCD display module with included stylus, showing a vibrant landscape image.

5. Package Contents

Your package should contain the following items:

  • 1 x AOKIN 2.4 Inch SPI TFT LCD Display Touch Panel
  • 1 x Touch Pen (Stylus)
2.4 inch TFT LCD display module packaged in a clear protective plastic case.
Figure 4: Display module packaged in a clear protective plastic case.

6. Setup Instructions

This display module is designed for use with microcontrollers such as Arduino R3 and STM32. It communicates via a 4-wire SPI interface.

6.1 Pinout Description

Refer to Figure 5 for the pinout diagram on the back of the module. Key pins include:

  • VCC: Power supply (5V/3.3V compatible)
  • GND: Ground
  • CS (Chip Select): SPI Chip Select pin
  • RESET: Reset pin
  • DC (Data/Command): Data/Command selection pin
  • SDI (MOSI): SPI Master Out Slave In
  • SCK: SPI Clock
  • LED: Backlight control (if applicable)
  • SDO (MISO): SPI Master In Slave Out
  • T_CLK, T_CS, T_DIN, T_DO, T_IRQ: Pins for resistive touch screen controller.
Close-up view of the display module's SD card slot and pin headers.
Figure 5: Detailed view of display components, including pin headers and SD card slot.

6.2 Wiring to a Microcontroller

Connect the display module to your microcontroller (e.g., Arduino R3, STM32) according to the SPI interface specifications. Ensure correct connections for VCC, GND, and the SPI communication pins (CS, SDI/MOSI, SCK, SDO/MISO). The touch pins (T_CLK, T_CS, T_DIN, T_DO, T_IRQ) should also be connected if touch functionality is desired.

For detailed wiring diagrams and example code, please refer to the official user manual PDF: User Manual (PDF).

6.3 SD Card Integration

The module includes an SD card socket. You can use this to store images, fonts, or other data for display on the screen. Ensure your microcontroller's SD card library is configured correctly to interface with the module's SD card slot.

7. Operating Instructions

7.1 Display Initialization

After wiring, you will need to initialize the ILI9341 driver using appropriate libraries for your microcontroller. This typically involves setting up the SPI communication and sending initialization commands to the display.

7.2 Displaying Graphics and Text

Use the display library functions to draw pixels, lines, shapes, and text on the screen. The 240x320 resolution allows for clear and detailed visuals.

7.3 Using the Touch Screen

The resistive touch screen allows for user interaction. Libraries for touch screen controllers (often XPT2046 compatible) can be used to read touch coordinates. Use the provided stylus for precise input.

User interacting with the touch screen interface on a breadboard-mounted display module.
Figure 6: User interacting with the touch screen interface on a breadboard-mounted display module.
User pressing a 'Stop' button on the display module's touch interface.
Figure 7: User pressing a 'Stop' button on the display module's touch interface.

8. Maintenance

  • Cleaning: Use a soft, dry, anti-static cloth to clean the display surface. Avoid using harsh chemicals or abrasive materials.
  • Handling: Handle the module by its edges to avoid touching the display area or damaging components.
  • Storage: Store the module in a dry, cool environment, away from direct sunlight and extreme temperatures. Keep it in its original protective packaging when not in use.

9. Troubleshooting

  • No Display/Blank Screen:
    • Check all wiring connections, especially VCC, GND, and SPI pins.
    • Ensure the power supply is stable and within the 3.3V-5V range.
    • Verify that the display initialization code is correct and running.
    • Confirm the backlight (LED pin) is properly connected and receiving power.
  • Incorrect Colors/Garbled Display:
    • Double-check SPI connections for data and clock lines.
    • Ensure the correct display library and driver (ILI9341) are being used.
    • Verify the display orientation settings in your code.
  • Touch Screen Not Responding:
    • Check the connections for the touch controller pins (T_CLK, T_CS, T_DIN, T_DO, T_IRQ).
    • Ensure the touch screen library is correctly initialized and calibrated.
    • Confirm that the touch pen is being used, as this is a resistive touch screen.
  • SD Card Not Detected:
    • Verify the SD card is inserted correctly.
    • Check the SD card wiring to the microcontroller.
    • Ensure the SD card library is properly configured and initialized.
    • Try a different SD card to rule out card issues.

10. User Tips

  • The screen offers a nice and clear display, providing good quality for its price.
  • The product typically arrives well-packaged in a rigid plastic case, ensuring safe transit.
  • For optimal performance and ease of use, utilize the included touch pen for touch screen interactions.
  • Consider exploring various open-source libraries available for ILI9341 and resistive touch screens to enhance your project's capabilities.

11. Frequently Asked Questions (FAQ)

Q: Does this display work with Raspberry Pi Zero or Radxa Zero?
A: While the display uses a standard SPI interface, direct compatibility with Raspberry Pi Zero or Radxa Zero may require specific driver configurations and software libraries tailored for those platforms. It is primarily designed for Arduino R3 and STM32, but with proper software setup, it might be adaptable. Please consult community forums or specific driver documentation for these boards.

12. Warranty and Support

For warranty information, technical support, or any product-related inquiries, please contact the seller directly through the platform where the purchase was made. Keep your purchase records for faster service.

Additional resources, including the detailed user manual, can be found here: User Manual (PDF).

© 2024 AOKIN. All rights reserved.

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.