Waveshare 2inch LCD Module

Waveshare 2-inch LCD Display Module User Manual

Model: 2inch LCD Module

1. הקדמה

This manual provides detailed instructions for the Waveshare 2-inch LCD Display Module. This module features an IPS screen with a 240x320 resolution, an embedded ST7789 controller, and communicates via a Serial Peripheral Interface (SPI). It is designed for integration with various microcontrollers and development boards, including Raspberry Pi, Arduino, and ESP32.

Waveshare 2-inch LCD Display Module showing ST7789 Driver, SPI, IPS, 240x320, 262K Color

Image 1.1: The Waveshare 2-inch LCD Display Module, highlighting its key features like the ST7789 driver, SPI interface, IPS technology, 240x320 resolution, and 262K color support.

2. פֿעיִקייטן

Diagram showing key features of the 2-inch LCD Display Module: 2-inch size, 240x320 resolution, 262K display color, SPI interface, and ST7789 driver.

Image 2.1: Visual summary of the display module's core features, including size, resolution, color depth, interface type, and driver IC.

3. פּעקל אינהאַלט

The standard package for the Waveshare 2-inch LCD Display Module includes the following items:

Waveshare 2-inch LCD Display Module and a multi-colored ribbon cable, representing the package contents.

Image 3.1: The display module and its accompanying connection cable as typically found in the product package.

4. ספּעסאַפאַקיישאַנז

פּאַראַמעטערווערט
אַפּערייטינג וואָלtage3.3V / 5V
האַכלאָטע240 × 320 פיקצעלן
קאָמוניקאַציע צובינד4-דראָט ספּי
ווייַז גרייס30.60 × 40.80 מם
ווייַז פּאַנעלIPS
פּיקסעל גרייס0.0975 × 0.0975 מם
דרייווער יקST7789VW
מאָדולע גרייס58.0 × 35.0 מם
Table showing detailed specifications for the 2-inch LCD Display Module, including operating voltage, resolution, interface, display size, panel type, pixel size, driver IC, and module size.

Image 4.1: A visual representation of the module's technical specifications.

5. Pinout and Interface Description

The module utilizes an SPI control interface, requiring specific pin connections for proper operation. Below is a description of each pin:

שפּילקעבאַשרייַבונג
VCCPower input (3.3V / 5V)
GNDערד
DINSPI Data Input (MOSI)
CLKSPI Clock Input (SCK)
CSChip Select, low active
DCדאַטאַ / קאַמאַנד סעלעקציע (הויך פֿאַר דאַטן, נידעריק פֿאַר באַפֿעל)
RSTבאַשטעטיק, נידעריק אַקטיוו
BLבאַקלייט קאָנטראָל
Diagram showing the pinout of the 2-inch LCD Display Module, with labels for VCC, GND, DIN, CLK, CS, DC, RST, and BL, and their corresponding functions.

Image 5.1: Pin definitions and their functions on the display module.

6. Setup and Hardware Connection

This section details how to connect the 2-inch LCD Display Module to common development boards.

6.1. Connecting with Raspberry Pi

Follow the diagram below for connecting the display module to a Raspberry Pi board. Ensure correct pin mapping for VCC, GND, DIN (MOSI), CLK (SCK), CS, DC, RST, and BL.

Wiring diagram showing how to connect the 2-inch LCD Display Module to a Raspberry Pi, with specific GPIO pins indicated for each connection.

Image 6.1: Connection diagram for Raspberry Pi. Note the specific GPIO pins used for SPI communication and control.

6.2. Connecting with Arduino Board

Refer to the following diagram for connecting the display module to an Arduino board. Pay attention to the SPI pins and control pins on your specific Arduino model.

Wiring diagram showing how to connect the 2-inch LCD Display Module to an Arduino board, with specific digital and analog pins indicated for each connection.

Image 6.2: Connection diagram for Arduino. Ensure proper voltage levels and pin assignments.

7. אַפּערייטינג ינסטרוקטיאָנס

Once the hardware connections are established, the display module requires software configuration to function. Waveshare provides development resources and example code for various platforms.

7.1. Software Libraries and Examples

It is recommended to use the official Waveshare development resources, which typically include:

These resources usually contain functions for initializing the display, drawing pixels, lines, shapes, text, and displaying images. Consult the specific documentation provided with the development resources for detailed API usage.

7.2. Basic Display Initialization Sequence

A typical initialization sequence in software involves:

  1. Powering up the module (VCC and GND).
  2. Asserting the RST (Reset) pin.
  3. Sending initialization commands to the ST7789 driver via SPI.
  4. Configuring display orientation and color mode.
  5. Enabling the backlight (BL pin).

8. וישאַלט

The Waveshare 2-inch LCD Display Module is a robust electronic component designed for long-term use with minimal maintenance. Adhering to the following guidelines will help ensure its longevity:

9. טראָובלעשאָאָטינג

If you encounter issues with your Waveshare 2-inch LCD Display Module, consider the following troubleshooting steps:

10. קאָנטור דימענסיעס

The physical dimensions of the Waveshare 2-inch LCD Display Module are provided below for integration into your projects.

Technical drawing showing the outline dimensions of the 2-inch LCD Display Module in millimeters, with measurements for length (58.00 mm), width (35.00 mm), and mounting hole spacing (2.50 mm).

Image 10.1: Detailed outline dimensions of the display module in millimeters.

11. וואָראַנטי און שטיצן

For warranty information, technical support, and additional resources, please refer to the official Waveshare website or contact their customer service. Development resources, including datasheets, schematics, and example code, are typically available on the product's dedicated wiki page or support portal.

Waveshare Official Webפּלאַץ: www.waveshare.com

פֿאַרבונדענע דאָקומענטן - 2 אינטש לקד מאָדולע

Preview וועיוושעיר 2.4-אינטש על-סי-די מאדול באניצער מאנואל
א פולשטענדיגע אנווייזונג צום וועיוושעיר 2.4-אינטש LCD TFT דיספלעי מאדול, מיט פרטים וועגן זיינע אייגנשאפטן, ספעציפיקאציעס, און באנוץ מיט ראַזבערי פּיי, STM32, און אַרדוינאָ. לערנט וועגן SPI אינטערפייס, IL9341 קאנטראלער, האַרדווער קאנעקשאנס, און ווייכווארג עקספל.ampדאנקען פארן אינטעגרירן דעם 240x320 רעזאלוציע דיספלעי אין אייערע פראיעקטן.
Preview וועיוושעיר 3.5-אינטש RPi LCD (A) באַניצער מאַנואַל: סעטאַפּ און ספּעציפיקאַציעס
א פולשטענדיגע באַניצער מאַנואַל פֿאַר די וועיוושעיר 3.5-אינטש RPi LCD (A) דיספּליי מאָדול. דעקט ספּעציפֿיקאַציעס, ינסטאַלירונג, פֿאַרבינדונג צו ראַזבערי פּיי, און טראָובלעשווטינג.
Preview וועיוושעיר 4 אינטש די-עס-איי על-סי-די דיספּלעי פֿאַר ראַזבערי פּי: סעטאַפּ און גייד
דעטאַלירטע גייד פֿאַר די ווייוושעיר 4 אינטש די-סי-סי-די דיספּליי, וואָס דעקט פֿעיִקייטן, האַרדווער פֿאַרבינדונג, ווייכווארג אינסטאַלאַציע, סקרין ראָטאַציע, באַקלייט קאָנטראָל, און טראָובלעשווטינג פֿאַר ראַזבערי פּי.
Preview וועיוושעיר פּיקאָ-רעס-טאָוטש-LCD-3.5: 3.5-אינטש SPI טאָוטש דיספּליי מאָדול פֿאַר ראַזבערי פּי פּיקאָ
דעטאַלירטע ספּעציפֿיקאַציעס, פֿעיִקייטן, פּינאַוט, און האַרדווער פֿאַרבינדונג גייד פֿאַר די ווייוושעיר פּיקאָ-רעסטאָוטש-LCD-3.5, אַ 3.5-אינטש IPS ריר דיספּליי מאָדול מיט XPT2046 קאָנטראָללער און ILI9488 דרייווער פֿאַר ראַזבערי פּי פּיקאָ.
Preview Waveshare 2.13inch e-Paper HAT (B) User Manual and Technical Guide
Comprehensive guide for the Waveshare 2.13inch e-Paper HAT (B), covering hardware connections, software setup, programming principles, and troubleshooting for Raspberry Pi, Arduino, Jetson Nano, and STM32.
Preview Waveshare ESP32-S3-Touch-LCD-4.3 Development Board: Features & Guide
Explore the Waveshare ESP32-S3-Touch-LCD-4.3, a powerful microcontroller development board featuring a 4.3-inch capacitive touch display, WiFi, BLE 5, and multiple interfaces like CAN, RS485, and I2C. Learn about its hardware, setup, and sample demos for HMI development.