The 2.2inch TFT display is a compact yet powerful LCD module widely used in embedded systems, DIY electronics, and industrial control panels. With a resolution of 240x320 pixels and support for 65K or 262K colors, this small screen delivers vivid visuals in a space-saving package. It typically integrates the ILI9341 or ST7789 driver IC and communicates via SPI or parallel interface, making it compatible with Arduino, ESP32, STM32, and Raspberry Pi. Whether you are building a weather station, a handheld game console, or a smart home dashboard, the 2.2 inch TFT offers a reliable and affordable solution for displaying text, graphics, and images.

1、2.2 inch TFT display specifications
2、2.2 inch TFT LCD module pinout
3、2.2 inch TFT ILI9341 driver
4、2.2 inch TFT Arduino tutorial
5、2.2 inch TFT SPI interface wiring
6、2.2 inch TFT display resolution

1、2.2 inch TFT display specifications

The 2.2 inch TFT display is a small-format LCD module that offers a diagonal screen size of 2.2 inches, making it ideal for portable and space-constrained applications. The most common resolution for this display is 240x320 pixels, which provides a 2:3 aspect ratio and a pixel density of approximately 182 PPI. This resolution is sufficient for displaying clear text, simple icons, and basic graphical user interfaces. The display typically supports 65,536 colors (16-bit RGB565) or 262,144 colors (18-bit RGB666), depending on the specific driver IC and configuration. The viewing angle is generally 12 o'clock, though some variants offer 6 o'clock or full viewing options. The operating voltage is usually 3.3V for logic and 5V for backlight, with a typical current consumption of 20-50 mA for the backlight and 5-15 mA for the TFT panel itself. The module often includes an integrated SD card slot for storing images or fonts, and a 4-wire or 8-wire resistive touch panel is optional on some models. The dimensions of the module are approximately 48mm x 35mm x 5mm, making it one of the most compact TFT options available. The operating temperature range is typically -20°C to +70°C, allowing use in both indoor and outdoor environments. The display uses an active matrix TFT technology with thin-film transistors for each pixel, ensuring fast response times and high contrast ratios. The contrast ratio is usually around 500:1, and the brightness is rated at 200-300 cd/m², which is adequate for indoor use but may require additional backlighting in direct sunlight. The display supports both portrait and landscape orientations, and the driver IC handles all timing and control signals, simplifying the interface with microcontrollers. The 2.2 inch TFT is available in both glossy and matte finishes, with the matte version offering reduced glare in bright environments.

2、2.2 inch TFT LCD module pinout

Understanding the pinout of a 2.2 inch TFT LCD module is crucial for successful integration with microcontrollers. Most 2.2 inch TFT modules use a standard 14-pin or 18-pin interface, depending on whether they include a touch screen or SD card slot. The basic 14-pin SPI version includes the following pins: VCC (3.3V or 5V input), GND (ground), CS (chip select), RESET (reset pin), DC (data/command control), MOSI (master output slave input), SCK (serial clock), LED (backlight control), and MISO (master input slave output) for optional data reading. Some modules also include a T_IRQ pin for touch interrupt, T_DO and T_DI for touch data, and T_CS for touch chip select. For the parallel interface version, the pin count increases to 18 or more, including 8 or 16 data lines (D0-D7 or D0-D15), WR (write enable), RD (read enable), and additional control lines. The power supply pins should be connected to a stable 3.3V source for the logic and a separate 5V source for the backlight if required. The backlight pin (LED) can be connected directly to a 3.3V or 5V supply through a current-limiting resistor, or to a PWM pin for brightness control. The CS pin is used to enable or disable the display on the SPI bus, allowing multiple SPI devices to share the same bus. The DC pin is critical for differentiating between command bytes and data bytes sent to the display. When DC is low, the incoming byte is interpreted as a command; when high, it is interpreted as data. The RESET pin is used to reset the display controller and should be connected to a GPIO pin or tied to VCC through a 10kΩ resistor. For modules with an SD card slot, additional pins such as SD_CS, SD_MOSI, SD_MISO, and SD_SCK are provided, which can be connected to a separate SPI bus or shared with the display if careful arbitration is used. The touch screen pins, if present, typically include T_CS, T_IRQ, T_DO, and T_DI, which communicate with a touch controller like the XPT2046 via a separate SPI interface.

3、2.2 inch TFT ILI9341 driver

The ILI9341 is the most common driver IC used in 2.2 inch TFT displays, and understanding its features is essential for effective programming. The ILI9341 is a 262,144-color single-chip SOC driver for a-TFT liquid crystal display with a resolution of 240x320 pixels. It supports both SPI and parallel interfaces, with the SPI version being the most popular for Arduino and other microcontroller projects due to its minimal pin count. The driver includes an internal 720-channel source driver and a 320-channel gate driver, along with a full graphics RAM (GRAM) of 172,800 bytes. The ILI9341 supports 16-bit (RGB565) and 18-bit (RGB666) color modes, allowing for smooth color gradients and rich image reproduction. The driver IC also includes a wide range of built-in commands for configuring display parameters such as orientation, brightness, gamma correction, and power management. One of the key advantages of the ILI9341 is its low power consumption, with a typical sleep mode current of less than 5µA. The driver supports a maximum SPI clock speed of 10 MHz for parallel interface and 15 MHz for SPI, enabling fast screen updates even with limited microcontroller resources. The ILI9341 also includes a built-in voltage generator for the LCD panel, eliminating the need for external components. The driver provides hardware acceleration for common operations such as rectangular fill, pixel by pixel writing, and window address setting. The display memory can be accessed in both row-major and column-major order, allowing efficient data transfers for different image formats. The ILI9341 also supports partial display mode, which can be used to update only a portion of the screen to save power and bandwidth. The driver IC is compatible with both 3.3V and 2.8V logic levels, though most modules include a level shifter for 5V compatibility. The ILI9341 also includes a temperature sensor for automatic gamma correction, ensuring consistent color reproduction across different operating temperatures. The driver IC is manufactured by ILI Technology Corp and is widely available from multiple suppliers, making it a cost-effective choice for mass production. The ILI9341 can also be used in landscape or portrait mode, and the orientation can be changed by writing to the MADCTL register.

4、2.2 inch TFT Arduino tutorial

Integrating a 2.2 inch TFT display with an Arduino is one of the most popular projects for hobbyists and engineers. To get started, you will need an Arduino Uno or Mega, a 2.2 inch TFT module with the ILI9341 driver, a breadboard, and jumper wires. The first step is to connect the display to the Arduino using the SPI interface. Connect VCC to 5V or 3.3V, GND to GND, CS to digital pin 10, RESET to digital pin 9, DC to digital pin 8, MOSI to digital pin 11, SCK to digital pin 13, and LED to 3.3V through a 100Ω resistor or directly to a PWM pin for brightness control. Once the wiring is complete, download and install the Adafruit_ILI9341 library and the Adafruit_GFX library from the Arduino Library Manager. These libraries provide all the necessary functions for drawing text, shapes, and images on the display. Open the Arduino IDE and select File > Examples > Adafruit_ILI9341 > graphicstest to load the demonstration sketch. Upload the sketch to your Arduino, and you should see colorful shapes, text, and patterns appearing on the screen. To display custom text, use the tft.println() function with the setTextSize(), setTextColor(), and setCursor() commands. For drawing shapes, use functions like tft.drawRect(), tft.fillCircle(), tft.drawLine(), and tft.drawTriangle(). To display bitmap images, you will need to convert your image to a 16-bit RGB565 array using an online converter tool and include the array in your sketch. For reading images from an SD card, insert a microSD card into the module's slot and use the SD library along with the BMP image reader example. You can also create custom fonts using the Adafruit_GFX library's font system or generate Chinese character fonts using external tools. For touch functionality, if your module includes a resistive touch screen, install the XPT2046_Touchscreen library and calibrate the touch coordinates using the calibration sketch provided. The combination of the 2.2 inch TFT with Arduino opens up endless possibilities for creating interactive displays, data loggers, and control panels.

5、2.2 inch TFT SPI interface wiring

The SPI (Serial Peripheral Interface) is the most common communication method for 2.2 inch TFT displays due to its simplicity and speed. The SPI interface uses four main signals: MOSI (Master Out Slave In), MISO (Master In Slave Out), SCK (Serial Clock), and CS (Chip Select). For a typical 2.2 inch TFT module, the wiring connections are straightforward. Connect the display's MOSI pin to the microcontroller's MOSI pin (pin 11 on Arduino Uno), SCK to SCK (pin 13), and CS to any available digital pin (commonly pin 10). The MISO pin is optional for most display operations but can be used for reading the display's status or identification registers. The DC (Data/Command) pin is also required and should be connected to a digital pin (commonly pin 8 or 9). The RESET pin can be connected to another digital pin or tied to VCC through a 10kΩ resistor. The backlight (LED) pin should be connected to a 3.3V or 5V supply through a current-limiting resistor (typically 100Ω to 150Ω) to limit current to around 20-30 mA. If you want to control the backlight brightness, connect the LED pin to a PWM-capable pin on the microcontroller. For modules with an SD card slot, the SD card uses a separate SPI interface with its own CS pin (usually labeled SD_CS). The SD card's MOSI, MISO, and SCK pins can be shared with the display's SPI bus, but the CS pins must be separate to avoid conflicts. When wiring multiple SPI devices, ensure that only one device's CS pin is low at any given time. The wiring distance should be kept as short as possible to minimize signal degradation, especially at higher SPI clock speeds. For longer cables, use shielded wires and keep the SPI clock frequency below 1 MHz to maintain signal integrity. The 2.2 inch TFT module typically operates at 3.3V logic levels, but many modules include a 5V-tolerant input for the SPI pins. If your microcontroller operates at 5V, you can use a level shifter or simply connect the pins directly if the module's datasheet specifies 5V tolerance. Always double-check the pinout diagram provided with your specific module, as manufacturers may use different pin arrangements.

6、2.2 inch TFT display resolution

The resolution of a 2.2 inch TFT display is typically 240 pixels wide by 320 pixels tall, resulting in a total of 76,800 pixels. This QVGA (Quarter Video Graphics Array) resolution is a standard in the small display industry and provides a good balance between image detail and memory requirements. The 240x320 resolution means that the display can show 240 distinct dots horizontally and 320 vertically, with each dot capable of displaying one of 65,536 or 262,144 colors depending on the color depth. The pixel pitch, or the distance between adjacent pixels, is approximately 0.1415 mm, which gives a pixel density of about 182 pixels per inch (PPI). This density is sufficient for reading text at normal viewing distances of 20-30 cm. At this resolution, you can display up to 20 lines of 8-point font text or approximately 10 lines of 16-point font text in portrait orientation. For images, a 240x320 pixel photo will fill the entire screen without scaling. The resolution is fixed and cannot be changed, but you can adjust the display orientation by rotating the coordinate system using the MADCTL register. In landscape mode, the resolution becomes 320x240, which is useful for displaying wider images or dashboards. The memory required to store a full-screen image depends on the color depth. For 16-bit color (RGB565), each pixel requires 2 bytes, so a full screen image requires 153,600 bytes (150 KB). For 18-bit color, additional memory is needed if using full 18-bit mode, but most libraries use 16-bit color to save memory. The resolution also affects the maximum SPI clock speed required for smooth updates. At 10 MHz SPI clock, a full screen update takes approximately 123 ms for 16-bit color, which is acceptable for most static displays but may cause noticeable flicker for animations. For faster updates, you can use the parallel interface or optimize your drawing routines to update only changed areas of the screen. The resolution is also important when designing user interfaces, as you need to ensure that buttons, text, and graphics are large enough to be readable and touchable on the small screen.

In summary, the 2.2 inch TFT display covers a wide range of applications from basic text output to advanced graphical interfaces. The key specifications include a 240x320 resolution, ILI9341 driver, SPI interface, and compatibility with Arduino and other microcontrollers. The pinout must be carefully followed to ensure proper wiring, and the ILI9341 driver offers extensive configuration options for color depth, orientation, and power management. The SPI interface wiring is simple but requires attention to pin assignments and voltage levels. The resolution of 76,800 pixels provides adequate detail for most embedded projects. Whether you are a beginner looking to display sensor data or an experienced engineer developing a commercial product, the 2.2 inch TFT display offers a versatile and cost-effective solution. By understanding the specifications, pinout, driver, and wiring, you can successfully integrate this display into your next project and create visually appealing interfaces that enhance user experience. The combination of small size, low cost, and rich features makes the 2.2 inch TFT an excellent choice for a wide range of embedded display applications.

To further explore the capabilities of the 2.2 inch TFT display, consider diving into advanced topics such as custom font creation, touch calibration, SD card integration, and multi-threaded display updates. The ILI9341 driver supports partial screen updates, which can be used to create smooth animations without flickering. You can also experiment with different color depths to balance image quality and memory usage. For projects requiring higher refresh rates, consider using the parallel interface or optimized SPI libraries that support DMA transfers. The 2.2 inch TFT is also compatible with ESP32 and Raspberry Pi, opening up possibilities for wireless data display and IoT applications. By mastering the six key aspects covered in this guide specifications, pinout, driver, Arduino tutorial, SPI wiring, and resolution you will have a solid foundation for building sophisticated display projects that stand out in both functionality and visual appeal.

This comprehensive guide has covered the essential aspects of the 2.2 inch TFT display, from its core specifications and pinout to the ILI9341 driver, Arduino integration, SPI wiring, and resolution details. The display's 240x320 resolution, compact size, and low cost make it an ideal choice for hobbyists and professionals alike. By following the wiring diagrams and library instructions provided, you can quickly get your display up and running with Arduino. The ILI9341 driver offers extensive customization options, and the SPI interface ensures easy connectivity with most microcontrollers. Whether you are building a weather station, a gaming console, or a smart home panel, the 2.2 inch TFT display provides the visual output you need. We encourage you to experiment with different libraries, create custom graphics, and share your projects with the maker community. With its versatility and ease of use, the 2.2 inch TFT display remains a top choice for embedded display applications.