2.2 TFT Display Module For Arduino

Main Product 1 Main Product 2 Main Product 3
In Stock
Price: KSH 1000.00

2.2-inch TFT Display Module for Arduino

An affordable, full-color display solution for Arduino projects.

Introduction

The 2.2-inch TFT Display Module is a small, full-color LCD screen that can be interfaced with Arduino boards to create visually appealing and interactive projects. With a resolution of 240x320 pixels, it supports rich graphical outputs and text, making it suitable for dashboards, gauges, or image displays.

Pinout

The module typically includes the following pins:

Pin Name Description
1 GND Ground connection for power supply.
2 VCC Power supply input (3.3V or 5V, depending on the model).
3 CS Chip Select pin, used for SPI communication.
4 RST Reset pin to initialize the display.
5 DC Data/Command selection pin.
6 SDI/MOSI Master Out Slave In, for SPI communication.
7 SCK Clock pin for SPI communication.
8 LED Backlight control pin.
2.2-inch TFT Display Pinout

Features

  • Screen Size: 2.2 inches
  • Resolution: 240x320 pixels
  • Controller: ILI9341
  • Interface: SPI
  • Voltage Compatibility: 3.3V or 5V
  • Color Depth: 65K colors
  • Supports graphical and text-based output

Applications

  • DIY dashboards
  • Smart home control panels
  • Embedded graphical interfaces
  • Wearable devices
  • Portable displays for IoT projects

How It Works

The 2.2-inch TFT Display works using SPI communication. Commands and data are sent sequentially to the display controller (e.g., ILI9341), which interprets them to update the pixel values on the screen. The CS pin enables communication, while the DC pin distinguishes between command and data bytes. The LED pin is used to control the backlight brightness.

Programming the 2.2-inch TFT Display

The display can be programmed using Arduino libraries like Adafruit GFX and Adafruit ILI9341. Below is an example to display text on the screen:

        #include 
        #include 
        
        // Define pins
        #define TFT_CS 10
        #define TFT_RST 9
        #define TFT_DC 8
        
        // Initialize the display
        Adafruit_ILI9341 tft = Adafruit_ILI9341(TFT_CS, TFT_DC, TFT_RST);
        
        void setup() {
            tft.begin();
            tft.setRotation(1); // Landscape orientation
            tft.fillScreen(ILI9341_BLACK);
            tft.setTextColor(ILI9341_WHITE);
            tft.setTextSize(2);
            tft.setCursor(20, 50);
            tft.println("Hello, World!");
        }
        
        void loop() {
            // Display remains static in this example
        }
                    

Troubleshooting

If you face issues with the 2.2-inch TFT Display module, check the following:

  • No display output: Verify the power supply and wiring connections.
  • Incorrect display output: Double-check the SPI pin connections and baud rate settings in your code.
  • Backlight not working: Ensure the LED pin is properly powered.
  • Flickering display: Use a stable power supply and add decoupling capacitors if needed.

🔥RELATED PRODUCTS🔥

🔗 HIMASTORES PRODUCTS