• sales

    +86-0755-88291180

2.8inch TFT Touch Shield User Guide

Introduction

2.8 inch Arduino Touch LCD Shield

Interfaces

SymbolDescriptions
SCLKSPI clock
MISOSPI Master In Slave Out
MOSISPI Master Out Slave In
LCD_CSLCD chip select signal
LCD_BLLCD back light control signal
LCD_DCLCD digital command signal
SD_CSSD chip select signal
TP_CSXPT2046 chip select signal
TP_IRQXPT2046 interrupt output signal
5V5V power supply
GNDGround

Hardware configuration

  • When using the Arduino board with ICSP interface, the jumpers SB1, SB2 and SB3 on the LCD module should be kept open.
  • When using the Arduino board without ICSP interface, the jumpers SB1, SB2 and SB3 on the module should be connected with a 0R resistor, respectively.

Demos

In this section, we will illustrate the applications of this LCD module by using the Arduino UNO and XNUCLEO-F103RB development boards.

Arduino Demo

  1. Copy the library under the path of Arduino\lib in the File:2.8inch TFT Touch Shield code.7z to the Arduino board in the directory of Arduino\libraries.
  2. Before performing the ShowImage test, you should copy the image in the file folder PICTURE of the File:2.8inch TFT Touch Shield code.7z to the root directory of SD card.
  3. Open the project in the directory of Arduino\ShowBMP with Arduino IDE, to download the program to the Arduino board. When finished, you will see a picture displayed on the screen.
  4. Before testing the touch screen, you should calibrate the touch screen according to the prompt displayed on the screen. Open the project in the directory of Arduino\TouchPanel, to download the program to the Arduino board. Then, you can perform the operations, it will prompt:
     Please use the stylus click the cross on the screen. The cross will always move until the screen adjustment is completed.
  5. Click the cross on the screen. The cross will always move until the screen adjustment is completed.
  6. Click the CLEAR mark on the top right to clear the screen.

STM32 Demo

  1. Before performing the ShowImage test, you should copy the images in the file folder PICTURE of the File:2.8inch TFT Touch Shield code.7z to the root directory of SD card.
  2. Open the project in the directory of STM32\...\ShowImage with KEIL, to download the program to the Nucleo or Xnucleo series board. When finished, you will see four pictures displayed in turn on the screen.
  3. Before testing the touch screen, you should calibrate the touch screen according to the prompt displayed on the screen. When finished, open the project in the directory of STM32\...\TouchPanel, to download the program to the Nucleo or Xnucleo series board. Then, you can perform the operations, it will prompt:
     Please use the stylus click the cross on the screen. The cross will always move until the screen adjustment is completed.
  4. Click the cross on the screen. The cross will always move until the screen adjustment is completed.
  5. Click the CLEAR mark on the top right to clear the screen.
  • Notes: The image displayed should be in the format of 24bit bmp with 240*320 resolutions. SD card format: FAT
TAG: Raspberry Pi 5 27W ESP32-C5 Mini Development Board based on ESP32-C5-HF4 dual-core processor Industrial USB TO RS485 Isolated Bidirectional Converter Original FT232RNL 1200m Long Distance Raspberry Pi 5 PCIe TO Gigabit RJ45 ETH Adapter Board (C) Driver-Free RTL8111H For Pi5 Raspberry Pi Pico 2 RP2350 1.8 inch AMOLED Development Board Display 368×448 TouchScreen Programmable Watch QSPI Third-party library configuration Raspberry Pi 5 Case Raspberry Pi IR Thermal Imagi ESP32-P4-WIFI6 4.3inch LCD Display AI Development Board 480×800 4.3 inch TouchScreen Deepseek RS485 Bus NVIDIA Jetson Raspberry Pi 4/4.3 inch DSI MIPI LCD TouchScreen Display 4/4.3inch 480x800 For Luckfox Lyra RK3506/ESP32-P4/Luckfox Omni3576 Raspberry Pi Pico 2 RP2350A USB-C Mini Development Board Raspberry Pi 5 PCIe to 2.5G Ethernet Adapter Board Plug and Play Raspberry Pi Pico Basics User Guide Raspberry Pi 10.1 inch DSI LCD TouchScreen Display 800x1280 Also For RK3576/RK3506/ESP32-P4 ESP32-S3 A7670E 4G development board supports LTE Cat-1/2G/GNSS positioning/WiFi/Bluetooth ESP32-C6 AI Voice Chat Robot For Xiaozhi 1.8 inch AMOLED Development Board 1.8inch TouchScreen Deepseek Milk-V Duo S Usage of USB Type A interface RP2040 1.5inch LCD