• 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: Sipeed FPGA Tang Primer 20K Dock/Lite 128M DDR3 Development Board GW2A-LV18PG256C8/I7 JETSON NANO MINI VGA to TTL 1.54inch OLED user guide 64MP Camera Raspberry Pi 5 Jetson Orin NX Case ESP32 2 inch Capacitive TouchScreen LCD Display ST7789 CST816D 240x320 For Arduino/Raspberry Pi/Pico DeepSeek XiaoZhi AI Chat Robot ESP32-S3 1.54 inch LCD N16R8 MUMA Development Board Display Screen Wifi Weather Station TimeClock Raspberry Pi Pico GNSS expansion board L76K GPS Beidou (BDS) GLONASS QZSS A-GNSS For RP2040/RP2350 DDSM315 Direct Drive Servo Motor All-In-One Design Hub RS485 Motor Raspberry Pi 1.3inch ESP32 Thermal imaging camera Raspberry Pi 3.5 inch LCD F Display Capacitance TouchScreen 60fps ST7796 GT911 320x480 Also For Arduino/Pico2/ESP32/RP2040/RP2350 EVAL-ADXL354CZ PC USB Monitor Screen Retail electronic Tag Raspberry Pi 7 inch HMI industrial DSI Display LCD 7inch TouchScreen Computer 720×1280 ESP32-S3 Raspberry Pi ZERO