waveshare 2.4inch LCD Module

Waveshare 2.4-inch LCD Display Module User Manual

1. Introduction

This manual provides detailed instructions for the Waveshare 2.4-inch LCD Display Module. This module features a 240x320 resolution with 65K RGB colors and an embedded ILI9341 driver, utilizing an SPI bus for communication. It is designed for integration with various controller boards, including Raspberry Pi, Arduino, and STM32.

Waveshare 2.4-inch LCD Display Module front view

Figure 1: Front view of the Waveshare 2.4-inch LCD Display Module.

2. Product Features

  • 2.4-inch LCD Display Module with embedded ILI9341 driver.
  • 240x320 resolution, displaying 65K RGB colors for clear and vibrant visuals.
  • SPI interface minimizes required I/O pins, supporting controller boards such as Raspberry Pi, Arduino, and STM32.
  • Comes with development resources, including examples for Raspberry Pi and STM32.
Diagram showing key features of the 2.4-inch LCD module including size, resolution, display color, interface, and driver.

Figure 2: Overview of the 2.4-inch LCD Display Module's features.

3. Specifications

SpecificationValue
Standing Screen Display Size2.4 Inches
Screen Resolution240x320 pixels
Display Color65K RGB
Driver ICILI9341
InterfaceSPI
Operating Voltage3.3 Volts
Product Dimensions (LxWxH)2.78 x 1.45 x 1.7 inches
Item Weight0.564 ounces
Detailed outline dimensions of the 2.4-inch LCD module in millimeters.

Figure 3: Outline dimensions of the LCD module.

4. Setup and Hardware Connection

The 2.4-inch LCD Display Module communicates via an SPI bus, requiring minimal I/O pins. Ensure proper voltage supply (3.3V) and correct pin connections for stable operation.

4.1 Pin Definitions

The module features a pin header for easy connection. Refer to the following pin definitions:

Back view of the 2.4-inch LCD module showing pin labels for VCC, GND, DIN, CLK, CS, DC, RST, and BL.

Figure 4: Pinout of the 2.4-inch LCD Module.

  • VCC: Power supply (3.3V/5V input)
  • GND: Ground
  • DIN: SPI data input
  • CLK: SPI clock input
  • CS: Chip Select, active low
  • DC: Data/Command selection (high for data, low for command)
  • RST: Reset, active low
  • BL: Backlight control

4.2 Connecting with Raspberry Pi

To connect the LCD module to a Raspberry Pi, use jumper wires to connect the corresponding pins as shown in the diagram below. Ensure the Raspberry Pi's SPI interface is enabled.

Wiring diagram showing how to connect the 2.4-inch LCD module to a Raspberry Pi.

Figure 5: Hardware connection to Raspberry Pi.

4.3 Connecting with Arduino Board

For Arduino boards, connect the LCD module pins to the appropriate digital and power pins. Consult the Arduino's pinout diagram for specific SPI pins (MOSI, MISO, SCK) and ensure your code configures them correctly.

Wiring diagram showing how to connect the 2.4-inch LCD module to an Arduino board.

Figure 6: Hardware connection to Arduino board.

4.4 Connecting with STM32

When connecting to an STM32 microcontroller, ensure the SPI peripherals are correctly configured in your development environment (e.g., CubeIDE). Refer to the provided development resources for specific examples and pin assignments.

The 2.4-inch LCD module connected to an STM32 development board, displaying an image.

Figure 7: LCD module connected to an STM32 board.

5. Operating Instructions

The Waveshare 2.4-inch LCD module is controlled via the SPI bus. To operate the display, you will need to write software that initializes the ILI9341 driver and sends display data over SPI.

5.1 Software Development

Waveshare provides development resources, including example code for Raspberry Pi and STM32. These examples typically include:

  • Driver initialization sequences for the ILI9341 controller.
  • Functions for drawing pixels, lines, rectangles, and text.
  • Image display routines.

It is recommended to start with the provided examples and adapt them to your specific application. Familiarity with SPI communication protocols and the chosen microcontroller's development environment is beneficial.

5.2 Displaying Content

The module supports 240x320 pixels with 65K RGB colors. Data is typically sent in 16-bit or 18-bit color formats, depending on the driver configuration. Refer to the ILI9341 datasheet for detailed command sets and data formats.

Video 1: An overview of the Waveshare 2.4-inch LCD Module, demonstrating its features and connectivity options with various development boards like Raspberry Pi, Arduino, and STM32. The video highlights the 240x320 resolution, 65K RGB colors, and SPI interface.

6. Maintenance

The Waveshare 2.4-inch LCD Display Module is a sensitive electronic component. Follow these guidelines for proper maintenance:

  • Handling: Avoid touching the display surface directly to prevent fingerprints and scratches. Handle the module by its edges.
  • Cleaning: Use a soft, lint-free cloth, slightly dampened with distilled water or an electronics-safe cleaner, to gently wipe the screen if necessary. Do not use abrasive materials or harsh chemicals.
  • Storage: Store the module in an anti-static bag in a dry, cool environment when not in use.
  • Power: Ensure the power supply voltage is within the specified range (3.3V/5V) to prevent damage.

7. Troubleshooting

If you encounter issues with your LCD module, consider the following troubleshooting steps:

  • No Display/Blank Screen:
    • Verify all power and ground connections are secure and correct.
    • Check SPI bus connections (DIN, CLK, CS, DC, RST) for continuity and correct pin assignment.
    • Ensure the backlight (BL) pin is receiving power or is correctly controlled by your microcontroller.
    • Confirm the ILI9341 driver is correctly initialized in your software.
  • Garbled or Incorrect Display:
    • Check SPI clock speed; it might be too high for the module or your wiring.
    • Verify data format and color depth settings in your software match the ILI9341 specifications.
    • Ensure the correct display orientation and rotation settings are applied if needed.
  • Module Not Responding:
    • Check the RST (Reset) pin connection and ensure it is toggled correctly during initialization.
    • Confirm the CS (Chip Select) pin is correctly asserted (low) during SPI communication.

For further assistance, refer to the Waveshare official documentation and community forums for specific examples and solutions related to your chosen development board.

8. What's in the Box

The Waveshare 2.4-inch LCD Display Module package typically includes:

  • LCD Display Module

Additional accessories such as jumper wires or development boards are usually sold separately.

9. Warranty and Support

Waveshare products are designed for reliability and performance. For warranty information, technical support, and additional resources, please visit the official Waveshare website or contact their customer service. Keep your purchase receipt for warranty claims.

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.