

The 2.8 240 324 ILI9341 is a 2.8-inch TFT LCD display module with a resolution of 240x320 pixels. It features the ILI9341 driver, which enables seamless interfacing with microcontrollers such as Arduino, ESP32, and STM32. This display module supports 65K colors and offers a touch panel option, making it ideal for creating interactive graphical user interfaces.








Below are the key technical details of the 2.8 240 324 ILI9341 display module:
| Parameter | Specification |
|---|---|
| Display Type | TFT LCD |
| Screen Size | 2.8 inches |
| Resolution | 240x320 pixels |
| Driver IC | ILI9341 |
| Color Depth | 65K colors (16-bit RGB) |
| Interface | SPI (Serial Peripheral Interface) |
| Operating Voltage | 3.3V (logic level) |
| Backlight Voltage | 3.3V to 5V |
| Current Consumption | ~50mA (varies with backlight usage) |
| Touch Panel (Optional) | Resistive |
The module typically has 8 to 10 pins for interfacing. Below is the pinout:
| Pin | Name | Description |
|---|---|---|
| 1 | VCC | Power supply input (3.3V or 5V, depending on the module version). |
| 2 | GND | Ground connection. |
| 3 | CS | Chip Select pin for SPI communication. |
| 4 | RESET | Reset pin to initialize the display. |
| 5 | DC | Data/Command pin to distinguish between data and command signals. |
| 6 | SDI/MOSI | Serial Data Input / Master Out Slave In for SPI communication. |
| 7 | SCK | Serial Clock for SPI communication. |
| 8 | LED | Backlight control pin (connect to 3.3V or 5V for constant backlight). |
| 9 | SDO/MISO | Serial Data Output / Master In Slave Out (optional, used for SPI read). |
| 10 | T_IRQ | Touch interrupt pin (used only if the touch panel is present). |
VCC pin to a 3.3V or 5V power source (depending on the module version) and the GND pin to ground.CS, RESET, DC, SDI/MOSI, and SCK pins to the corresponding SPI pins on your microcontroller.LED pin to 3.3V or 5V for constant backlight. Optionally, use a PWM pin on your microcontroller to control brightness.T_IRQ pin to a GPIO pin on your microcontroller for touch detection.Below is an example of how to interface the 2.8 240 324 ILI9341 with an Arduino UNO using the Adafruit_ILI9341 library:
#include <Adafruit_GFX.h> // Core graphics library
#include <Adafruit_ILI9341.h> // ILI9341 driver library
// Define pin connections
#define TFT_CS 10 // Chip Select
#define TFT_DC 9 // Data/Command
#define TFT_RST 8 // Reset (optional)
// Create an instance of the display
Adafruit_ILI9341 tft = Adafruit_ILI9341(TFT_CS, TFT_DC, TFT_RST);
void setup() {
// Initialize serial communication for debugging
Serial.begin(9600);
Serial.println("Initializing display...");
// Initialize the display
tft.begin();
// Set rotation (0-3)
tft.setRotation(1);
// Fill the screen with a color
tft.fillScreen(ILI9341_BLUE);
// Draw a rectangle
tft.fillRect(50, 50, 100, 100, ILI9341_RED);
// Display text
tft.setTextColor(ILI9341_WHITE);
tft.setTextSize(2);
tft.setCursor(10, 10);
tft.println("Hello, ILI9341!");
}
void loop() {
// Nothing to do here
}
Blank Screen:
VCC and GND pins are properly connected.Flickering or Noisy Display:
Touch Panel Not Responding:
T_IRQ, etc.) are connected correctly.Incorrect Colors or Artifacts:
By following this documentation, you can effectively integrate the 2.8 240 324 ILI9341 display module into your projects and troubleshoot common issues with ease.