waveshare 1.28inch Touch LCD

Waveshare 1.28-inch Round LCD Display Module with Touch Panel User Manual

Model: 1.28inch Touch LCD

1. Introduction

The Waveshare 1.28-inch Round LCD Display Module with Touch Panel is a compact and versatile display solution. It features a 240x240 resolution IPS screen with 65K colors, offering clear and vibrant visuals. The module integrates a GC9A01 driver chip for the display and a CST816S capacitive touch control chip, utilizing SPI and I2C communication respectively. This design minimizes the required I/O pins, making it compatible with various controller boards such as Raspberry Pi, Raspberry Pi Pico, and STM32.

Waveshare 1.28-inch Round LCD Display Module

Image 1: Top view of the Waveshare 1.28-inch Round LCD Display Module, showing the main board, connector, and mounting holes.

2. Features

  • Display: 240×240 resolution, 65K colors, IPS panel for clear and colorful displaying effect.
  • Touch Panel: High touch screen transmittance, fast response, and long lifetime.
  • Driver Chips: Embedded GC9A01 driver chip for display and CST816S capacitive touch control chip.
  • Communication: Uses SPI for display and I2C for touch, minimizing required I/O pins.
  • Compatibility: Supports controller boards like Raspberry Pi, Raspberry Pi Pico, and STM32.

3. Package Content

The package includes the following items:

  • 1.28inch Touch LCD x1
  • GH1.25 13Pin cable x1
Package content of Waveshare 1.28-inch Touch LCD

Image 2: The package contains one 1.28-inch Touch LCD module and one GH1.25 13-pin cable.

4. Specifications

ParameterValue
Operating Voltage3.3V / 5V
Resolution240 x 240 pixels
Display DriverGC9A01
Display Interface4-wire SPI
Touch DriverCST816S
Touch InterfaceI2C
Display PanelIPS
Touch TypeCapacitive
Display SizeΦ32.4mm
Pixel Size0.135 x 0.135 mm
Module Size39.89 × 38.50mm

5. Control Interfaces

The module features a 13-pin connector for interfacing with various microcontrollers. Below is a diagram of the control interfaces and a table describing each pin's function.

Control Interfaces Pinout Diagram

Image 3: Diagram showing the pin labels on the 1.28-inch Touch LCD module's connector.

PinDescription
VCCPower (3.3V / 5V input)
GNDGround
MISOSPI MISO pin
MOSISPI MOSI pin
SCLKSPI Clock pin
LCD_CSLCD Chip Selection, low active
LCD_DCLCD Data/Command selection (high for data, low for command)
LCD_RSTLCD Reset, low active
LCD_BLLCD Backlight
TP_SDATP Data pin
TP_SCLTP Clock pin
TP_INTTP Interrupt pin
TP_RSTTP Reset, low active

For detailed pin connections to specific controller boards, refer to the Pin Connection Reference section.

6. Setup

To set up your 1.28-inch Touch LCD module, follow these general steps:

  1. Identify Pins: Refer to the "Control Interfaces" section to understand the function of each pin on the module's connector.
  2. Connect Cable: Use the provided GH1.25 13Pin cable to connect the display module to your chosen microcontroller board (e.g., Raspberry Pi, Pico, Arduino, STM32). Ensure correct pin-to-pin mapping for VCC, GND, SPI (MISO, MOSI, SCLK, CS, DC, RST, BL), and I2C (SDA, SCL, INT, RST) lines.
  3. Power Supply: Connect the VCC and GND pins to the appropriate power supply (3.3V or 5V) from your microcontroller.
  4. Software Configuration: Install necessary libraries and drivers for the GC9A01 display controller and CST816S touch controller on your microcontroller. Waveshare provides online development resources and example code for various platforms.
  5. Initial Test: Run a basic example program to verify that the display and touch functions are working correctly.

6.1 Pin Connection Reference

The table below provides a reference for connecting the 1.28-inch Touch LCD to common development boards.

1.28inch TOUCH LCDRASPBERRY PI (BCM)PICOARDUINOSTM32
VCC3.3V3.3V5V3.3V
GNDGNDGNDGNDGND
MISO9GP1212PA6
MOSI10GP1111PA7
SCLK11GP1013PA5
LCD_CS8GP910PB6
LCD_DC25GP147PA8
LCD_RST27GP88PA9
LCD_BL18GP159PC7
TP_SDA2GP6SDAPB9
TP_SCL3GP7SCLPB8
TP_INT4GP173PB10
TP_RST17GP164PA10
Pin Connection Reference Table

Image 4: Visual representation of the pin connection reference table for various microcontrollers.

7. Operating

Once the module is correctly wired and the necessary software is loaded onto your microcontroller, you can begin operating the display and touch functions.

  • Display Initialization: Ensure your code initializes the GC9A01 display controller correctly, setting up the resolution, color depth, and other display parameters.
  • Drawing Graphics: Use the provided graphics libraries (or implement your own) to draw text, shapes, and images on the LCD.
  • Touch Input: The CST816S touch controller communicates via I2C. Your software should periodically read touch data from the controller to detect touches, gestures, and coordinates.
  • Interaction: Implement logic in your microcontroller code to respond to touch inputs, such as button presses, swipes, or taps, to control your application or display different information.

8. Usage Example

The 1.28-inch Touch LCD module can be integrated into various projects. A common application involves connecting it to a development board like a Raspberry Pi or an STM32 board to create a compact user interface.

Waveshare 1.28-inch Touch LCD connected to an mbed board

Image 5: The 1.28-inch Touch LCD module connected via its 13-pin cable to an mbed ARM Cortex-M0/M3/M4 development board, displaying a circular user interface.

This setup allows for displaying real-time data, controlling device functions, or creating interactive menus. The module's small size and touch capability make it suitable for wearable projects, smart home devices, or compact control panels.

Product Overview Video

Video 1: An official Waveshare video demonstrating the 1.28-inch Touch LCD module's features, including its touch functionality, display clarity, and compatibility with various development boards like Raspberry Pi, Pico, and Arduino.

9. Maintenance

Proper maintenance ensures the longevity and optimal performance of your display module:

  • Cleaning: Use a soft, lint-free cloth to gently wipe the screen surface. Avoid abrasive materials or harsh chemicals that could damage the display or touch layer.
  • Handling: Handle the module by its edges to avoid touching the sensitive components on the PCB or applying pressure to the display.
  • Storage: Store the module in a dry, anti-static environment, away from direct sunlight and extreme temperatures.
  • Power: Always ensure the correct voltage (3.3V or 5V) is supplied to the module. Incorrect voltage can cause permanent damage.

10. Troubleshooting

If you encounter issues with your 1.28-inch Touch LCD module, consider the following troubleshooting steps:

  • No Display:
    • Check power connections (VCC, GND) and ensure correct voltage.
    • Verify SPI connections (MISO, MOSI, SCLK, CS, DC, RST, BL) are secure and correctly mapped.
    • Confirm display driver (GC9A01) initialization in your software.
    • Ensure the backlight pin (LCD_BL) is correctly configured and receiving power.
  • Touch Not Responding:
    • Check I2C connections (TP_SDA, TP_SCL) and ensure they are secure.
    • Verify touch controller (CST816S) initialization and I2C communication in your software.
    • Ensure the TP_INT and TP_RST pins are correctly connected and handled by your microcontroller.
    • Clean the screen surface for any obstructions.
  • Incorrect Colors/Graphics:
    • Review your display initialization code, especially color depth and pixel format settings.
    • Check for correct data transmission over SPI.
  • Flickering Display:
    • Ensure stable power supply.
    • Check for loose connections.
    • Verify SPI clock speed is within the recommended range for the GC9A01.

For more detailed troubleshooting and specific error codes, please refer to the official Waveshare documentation and community forums.

11. Warranty and Support

Waveshare provides electronic development resources and manuals for their products. For the most up-to-date information, detailed tutorials, sample code, and technical support, please visit the official Waveshare website.

Official Website: www.waveshare.com

Please check the product page on the official website for specific warranty information and contact details for technical assistance.

Related Documents - 1.28inch Touch LCD

PreviewWaveshare Pico-ResTouch-LCD-3.5: 3.5-inch SPI Touch Display Module for Raspberry Pi Pico
Detailed specifications, features, pinout, and hardware connection guide for the Waveshare Pico-ResTouch-LCD-3.5, a 3.5-inch IPS touch display module with XPT2046 controller and ILI9488 driver for Raspberry Pi Pico.
Preview2inch LCD Module with ST7789 SPI Interface - Technical Guide
Technical documentation and usage guide for the 2inch LCD Module with ST7789 controller, featuring SPI interface, 240x320 resolution, and compatibility with Raspberry Pi, STM32, and Arduino platforms.
PreviewWaveshare 2.4-inch LCD Module User Manual
A comprehensive guide to the Waveshare 2.4-inch LCD TFT display module, detailing its features, specifications, and usage with Raspberry Pi, STM32, and Arduino. Learn about SPI interface, IL9341 controller, hardware connections, and software examples for integrating this 240x320 resolution display into your projects.
PreviewWaveshare 3.5inch RPI LCD (B) User Manual - Specifications and Setup Guide
User manual for the Waveshare 3.5inch RPI LCD (B) display, detailing its specifications, interface pinout, driver installation steps for Raspberry Pi, connection instructions, and frequently asked questions.
PreviewWaveshare 3.5-inch RPi LCD (A) User Manual: Setup and Specifications
Comprehensive user manual for the Waveshare 3.5-inch RPi LCD (A) display module. Covers specifications, installation, connection to Raspberry Pi, and troubleshooting.
Preview0.91inch OLED Module User Manual - Waveshare
User manual for the Waveshare 0.91inch OLED Module (128x32 pixels) with SSD1306 controller. Covers overview, features, pinout, I2C communication, and demo code for STM32, Raspberry Pi (BCM2835, WiringPi, Python), and Arduino.