1. Introducció
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.

Figura 1: Frontal view of the Waveshare 2.4-inch LCD Display Module.
2. Característiques del producte
- 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.

Figura 2: Mésview of the 2.4-inch LCD Display Module's features.
3. Especificacions
| Especificació | Valor |
|---|---|
| Mida de la pantalla de peu | 2.4 polzades |
| Resolució de pantalla | 240 x 320 píxels |
| Color de la pantalla | 65K RGB |
| IC del conductor | ILI9341 |
| Interfície | SPI |
| Vol. Operatiutage | 3.3 Volts |
| Dimensions del producte (LxWxH) | 2.78 x 1.45 x 1.7 polzades |
| Pes de l'article | 0.564 unces |

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 Definicions de pins
The module features a pin header for easy connection. Refer to the following pin definitions:

Figure 4: Pinout of the 2.4-inch LCD Module.
- VCC: Power supply (3.3V/5V input)
- GND: Terra
- DIN: Entrada de dades SPI
- CLK: Entrada de rellotge SPI
- CS: Chip Select, active low
- DC: Selecció de dades/comandes (alta per a dades, baixa per a comandament)
- RST: Restableix, actiu baix
- BL: Control de llum de fons
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.

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.

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.

Figure 7: LCD module connected to an STM32 board.
5. Instruccions de funcionament
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 Desenvolupament de programari
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 Visualització de contingut
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.
Vídeo 1: Un 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. Manteniment
The Waveshare 2.4-inch LCD Display Module is a sensitive electronic component. Follow these guidelines for proper maintenance:
- Manipulació: Avoid touching the display surface directly to prevent fingerprints and scratches. Handle the module by its edges.
- Neteja: Feu servir un drap suau i sense borrissol, lleugerament humitampened with distilled water or an electronics-safe cleaner, to gently wipe the screen if necessary. Do not use abrasive materials or harsh chemicals.
- Emmagatzematge: Store the module in an anti-static bag in a dry, cool environment when not in use.
- Potència: Assegureu-vos que la font d'alimentació voltage is within the specified range (3.3V/5V) to prevent damage.
7. Solució De Problemes
If you encounter issues with your LCD module, consider the following troubleshooting steps:
- Sense pantalla/pantalla en blanc:
- 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.
- Visualització il·legible o incorrecta:
- 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.
- El mòdul no respon:
- 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. Què hi ha a la caixa
The Waveshare 2.4-inch LCD Display Module package typically includes:
- Mòdul de pantalla LCD
Additional accessories such as jumper wires or development boards are usually sold separately.
9. Garantia i Suport
Els productes Waveshare estan dissenyats per a la fiabilitat i el rendiment. Per obtenir informació sobre la garantia, assistència tècnica i recursos addicionals, visiteu el lloc web oficial de Waveshare. weblloc web o poseu-vos en contacte amb el servei d'atenció al client. Conserveu el rebut de compra per a reclamacions de garantia.