4inch Resistive Touch LCD

Introduction

4 inch 480*800 Multicolor Graphic LCD, with resistive touch screen

Features

  • 4inch 65K colorful screen
  • 480×800 resolution, clear display
  • Adopts 16-bit parallel bus transmission, fast data rate
  • Onboard touch controller, smoother touch experience
  • Programmable backlight control, power saving

Interface

PINDescription
5V5V Power input
GNDGround
D0~D15Data pins
LCD_CSLCD chip-selection
DCCommand/Data selection
WRWrite
RDRead
RSTReset
NCNot connected
BL_VCC5V/3.3V
GNDGround
BLBack-light pin
TP_IRQInterrupt pin of touch panel
TP_CSChip selection pin of touch panel
TP_SCKSPI SCK pin of touch panel
TP_SDISPI data input of touch panel
TP_SDOSPI data output of touch panel
3.3V3.3V power input.(You can only use 3.3V or 5V)
GNDGround

Hardware description

LCD Controller

This 4inch Resistive Touch LCD supports 16bit/8bit data input. By default, the LCD use RGB565 color format, 16bits. Users can change to 8bits mode by change the BS resistor to 0 side.

The controller of the LCD is NT35510, use MPU8080 interface:

  • Resolution options
    • 480RGB × 1024 by pass GRAM
    • 480RGB × 864 with 480x24-bitsx 864 GRAM
    • 480RGB × 854 with 480x24-bitsx 854 GRAM
    • 480RGB × 800 with 480x24-bitsx 800 GRAM
    • 480RGB × 720 with 480x24-bitsx 720 GRAM
    • 480RGB × 640 with 480x24-bitsx 640 GRAM
  • Display mode:
    • Full color mode:1670M-colors
    • Reduce color mode:262K colors
    • Reduce color mode:65K colors
    • Idle mode:8-colors
  • Interface
    • 8-/16-/24-bits 80-series MPU interface
    • 16-bit serial peripheral interface
    • I2C interface
    • 16-/18-/24-bits RGB interface
    • MIPI Display Serial Interface
    • Mobile Display Digital Interface (MDDI V1.2, 1 strobe and 1 or 2 data lane pairs)

For more details, please refer to datasheet of NT35510

Touch Controller

The touch controller of this LCD is XPT2046. The TP_IRQ pin is used to detect if the LCD is touched. TP_IRQ is LOW if LCD is touched otherwise it is high.

  • The XPT2046 is a 4-wire resistive touch screen controller that incorporates a 12-bit 125kHz sampling SAR type A/D converter.
  • The XPT2046 supports digital I/O interface voltage from 1.5V to 5.25V
  • The XPT2046 can detect the pressed screen location by performing two A/D conversions.
  • The XPT2046 can measure touch screen pressure. On-chip VREF can be utilized for analog auxiliary input, temperature measurement and battery monitoring with the ability to measure voltage from 0V to 5V.
  • The XPT2046 has an on-chip temperature sensor

For more details of XPT2046, please refer to datasheet

Example

For this LCD, we provide an example based on Waveshare Open103Z development board. The codes use FSMC interface of STM32F103ZET6.

Hardware connection

LCDSTM32
5V5V
GNDGND
D0~D7PD14(D0),PD15,PD0,PD1,PE7,PE8,PE9,PE10(D7)
D8~D15PE11(D8),PE12,PE13,PE14,PE15,PD8,PD9,PD10(D15)
LCD_CSPG12
DCPG5
WRPD5
RDPD4
LCD_RSTPB1
NCNot connect
BL_VCC5V or 3.3V
GNDGND
BLPB0
TP_IRQPC5
TP_CSPC4
TP_SCKPB13
TP_SDIPB15
TP_SDOPB14
3.3VNot connect
GNDGND



Expected result


Price: $16.89
Part Number: 4inch Resistive Touch LCD
Brand: Spotpear
SKU: 0201210