2.8inch TFT Touch Shield

From Waveshare Wiki
Jump to: navigation, search
2.8inch TFT Touch Shield
2.8 inch Arduino Touch LCD Shield
2.8inch-TFT-Touch-Shield l.jpg

2.8 inch Arduino Touch LCD Shield
{{{name2}}}

{{{name3}}}

{{{name4}}}

{{{name5}}}

Primary Attribute
Category: Arduino, Shields, Moduiles, LCD
{{{userDefinedInfo}}}: {{{userdefinedvalue}}}
Brand: Waveshare
Website
English: Waveshare website
Chinese: 官方中文站点
Onboard Interfaces
Arduino SPI
Related Products

Introduction

2.8 inch Arduino Touch LCD Shield

More

Interfaces

Symbol Descriptions
SCLK SPI clock
MISO SPI Master In Slave Out
MOSI SPI Master Out Slave In
LCD_CS LCD chip select signal
LCD_BL LCD back light control signal
LCD_DC LCD digital command signal
SD_CS SD chip select signal
TP_CS XPT2046 chip select signal
TP_IRQ XPT2046 interrupt output signal
5V 5V power supply
GND Ground

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

Resources

Datasheets

FAQ

Support

Mail.png Contact your seller (fast response and most recommended)

or send emails to service@waveshare.com (not fast enough but please be patient) for help.

Our working time: 09:00-18:00 (UTC+8 Monday to Saturday)