• 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 1.54inch LCD Bookworm-Desktop Display and Touch EyeLink-RC-S1 Industrial Edition 5.5 inch Touchscreen Camera R1M Card Recording Flight Controller FPV Drone ground station image transmission remote ESP32 S3 R8 MP3 Board 2.8inch LCD TouchScreen Display Speaker/SD-Card/Battery/QMI8658-6-Axis-Sensor Raspberry Pi 5 Raspberry Pi 5 POE + PCIe to M.2 NVMe SSD Board HAT+ Pi5 2242/2230 Power over Ethernet Raspberry Pi 5 CR2032 X1002 Raspberry Pi 5 PCIe to M.2 NVMe SSD Adapter Board HAT Pi5 2280 Milk-V Duo RJ45 Jetson Nano DeepSeek XiaoZhi AI Voice Chat Robot BOX ESP32-S3 Development Board 1.28 inch Round LCD 1.28inch TouchScreen N16R8 7inch-USB-Monitor user guide X1202 Raspberry Pi 5 UPS Board Uninterruptible Power Supply For 18650-Li-Battery (NOT includ) 4-Ports Power Flash Firmware Flashing and Erasing User Guide Raspberry Pi 1.44inch LCD display HAT RP2040-Keyboard-3 Raspberry Pi 5 D Spotpear Raspberry Pi 7 inch CAPLCD 1280x800 Capacitive TouchScreen HDMI/Type C Display Monitor For Computer mini PC SpotPear