• 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: ESP32 S3 LCD Development Board 1.3 inch Display 1.3inch Screen ST7789 240x240 Mini TV SD-Port QST QMI8658 Gyro Sensor LVGL For Arduino 8inch LCD 1280x800 Computer PC Monitor Display Secondary Screen TypeC USB CPU RAM Raspberry Pi 5 PCIe to M.2 SSD STM32 0.96inch RGB OLED 1.38MP Global Shutter Camera ISG1321 For Luckfox Pico Zero Raspberry Pi Real time clock ESP32 S3 3.5 inch LCD Development Board 480x320 Display Capacitive TouchScreen Tablet /MP3 Video /Weather Clock LVGL For Arduino Industrial-grade isolated 2-way RS485 hub repeater One RS485 TO Two RS485 Tang Nano FPGA Demo Code BPI Servo PWM motor WP5320 WP5335 35/20KG.CM 180° PWM digital servo double ball bearings Jetson RTL8822CE 5GHz WiFi Wireless Bluetooth5 Card NGFF-M.2 RTL8822CE-CG Core ESP32 P4 Development Board 7inch Display 7 inch TouchScreen Onboard ESP32-C6/Camera-Port/Speaker-Port 7inch Monitor LCD Raspberry Pi Pico 2 Tiny RP2350B RP2350-Linux Mini Development Board with PSRAM-8MB Or Without PSRAM Arducam CSI-to-HDMI LCD Screen series bus servos 2.66inch e-Paper e-link Module 360x184 4-Color Red Yellow Black White For Arduino Raspberry Pi STM32 Jetson Tutorial Information Wiki Program Code User Guide SpotPear DeepSeek AI Voice Chat ESP32 S3 Development Board 2.06-inch AMOLED Display 410×502 2.06inch TouchScreen Programmable Watch