Difference between revisions of "4.3inch RGB Display"

From LCD wiki
Jump to: navigation, search
(Interface Definition)
(Interface Definition)
Line 81: Line 81:
 
[[File:xxx|650px]]
 
[[File:xxx|650px]]
  
The red box in the above figure is the 8-bit/16-bit data bus mode switch, which is described as follows:
+
:①--Capacitive touch screen circuit
 +
:②--Resistance touch screen circuit
 +
:③--Disp resistance
 +
:④--P2 interface (compatible with atomic RGB interface)
 +
:⑤--P3 interface (compatible with wildfire RGB interface)
 +
 +
'''1. Switch touch screen'''
 +
:If you choose to connect the capacitive touch screen, please weld the capacitor touch screen circuit;
 +
:Select the connection resistance touch screen, please weld the resistance touch screen circuit;
 +
:If you often need to switch the touch screen, after welding other circuits, only switch the drain resistance in the dotted line box;
  
:Solder '''R2''' with 0Ω resistor or short circuit directly, and disconnect '''R1''': Select '''16'''-bit data bus mode (default),use '''DB0~DB15''' data pin
+
'''2. Precautions for disp resistance welding'''
:Solder '''R1''' with 0Ω resistor or short circuit directly, and disconnect '''R2''': Select '''8'''-bit data bus mode use '''DB0~DB7''' data pin 
+
:When connecting the wildfire development board for use, the disp resistance must be removed, otherwise the screen will not display after the development board is reset;
 +
:When connecting atomic development board, f407 minimum system board or esp32 development board, disp resistance must be welded, otherwise the screen will not be displayed.
  
 +
'''3. P2 and P3 interface pins are described as follows:'''
 +
*'''P2 interface (compatible with atomic RGB interface) pin description'''
 
{| class="wikitable" border="1" style="width: 650px; background-color: white;"
 
{| class="wikitable" border="1" style="width: 650px; background-color: white;"
 +
|-
 
| align="center" |Number
 
| align="center" |Number
| align="center" |Pin Label
+
| align="center" |Pin name
 
| align="center" |Description
 
| align="center" |Description
 
|-
 
|-
 
| align="center" |1
 
| align="center" |1
| align="center" |CS
+
| align="center" |VCC5
|LCD reset control pin( low level enable)
+
|Power input pin(connect to 5V)
 
|-
 
|-
 
| align="center" |2
 
| align="center" |2
| align="center" |RS
+
| align="center" |VCC5
|LCD register / data selection control pin(high level: register, low level: data)
+
|Power input pin(connect to 5V)
 +
|-
 +
| align="center" |3~10
 +
| align="center" |R0~R7
 +
|8-bit RED data pin
 
|-
 
|-
| align="center" |3
+
| align="center" |11
| align="center" |WR
+
| align="center" |GND
|LCD write control pin
+
|power ground pin
 +
|-
 +
| align="center" |12~19
 +
| align="center" |G0 ~ G7
 +
|8-bit GREEN data pin
 +
|-
 +
| align="center" |20
 +
| align="center" |GND
 +
|power ground pin
 +
|-
 +
| align="center" |21~28
 +
| align="center" |B0 ~ B7
 +
|8-bit GREEN data pin
 
|-
 
|-
| align="center" |4
+
| align="center" |29
| align="center" |RD
+
| align="center" |GND
|LCD read control pin 
+
|power ground pin
 
|-
 
|-
| align="center" |5
+
| align="center" |30
| align="center" |RST
+
| align="center" |PCLK
|LCD reset control pin( low level reset)
+
|Pixel clock control pin
 
|-
 
|-
| align="center" |6
+
| align="center" |31
| align="center" |DB0
+
| align="center" |HSYNC
| rowspan="8" |LCD data bus low 8-bit pin
+
|Horizontal synchronous signal control pin
 
|-
 
|-
| align="center" |7
+
| align="center" |32
| align="center" |DB1
+
| align="center" |VSYNC
 +
|Vertical synchronous signal control pin
 
|-
 
|-
| align="center" |8
+
| align="center" |33
| align="center" |DB2
+
| align="center" |DE
 +
|Data enable signal control pin
 
|-
 
|-
| align="center" |9
+
| align="center" |34
| align="center" |DB3
+
| align="center" |BL
 +
|LCD backlight control pin
 
|-
 
|-
| align="center" |10
+
| align="center" |35
| align="center" |DB4
+
| align="center" |TP_CS
 +
|Capacitor touch screen reset pin (resistance touch screen chip selection pin)
 
|-
 
|-
| align="center" |11
+
| align="center" |36
| align="center" |DB5
+
| align="center" |TP_MOSI
 +
|Data pin of IIC bus of capacitance touch screen (write data pin of SPI bus of resistance touch screen)
 
|-
 
|-
| align="center" |12
+
| align="center" |37
| align="center" |DB6
+
| align="center" |TP_MISO
 +
|Resistance touch screen SPI bus read data pin (capacitance touch screen not used)
 
|-
 
|-
| align="center" |13
+
| align="center" |38
| align="center" |DB7
+
| align="center" |TP_CLK
 +
|IIC bus clock control pin of capacitive touch screen (SPI bus clock control pin of resistance touch screen)
 
|-
 
|-
| align="center" |14
+
| align="center" |39
| align="center" |DB8
+
| align="center" |TP_PEN
| rowspan="8" |LCD data bus high 8-bit pin (not used in 8-bit data bus mode)
+
|Touch screen interrupt control pin (low level when touch is generated)
 
|-
 
|-
| align="center" |15
+
| align="center" |40
| align="center" |DB9
+
| align="center" |RST
 +
|LCD reset control pin (effective at low level)
 
|-
 
|-
| align="center" |16
+
|}
| align="center" |DB10
+
 
 +
*'''P3接口(兼容野火RGB接口)引脚说明'''
 +
{| class="wikitable" border="1" style="width: 650px; background-color: white;"
 
|-
 
|-
| align="center" |17
+
| align="center" |序号
| align="center" |DB11
+
| align="center" |引脚名称
 +
| align="center" |说明
 
|-
 
|-
| align="center" |18
+
| align="center" |1
| align="center" |DB12
+
| align="center" |TP_SCL
 +
|电容触摸屏IIC总线时钟控制引脚
 
|-
 
|-
| align="center" |19
+
| align="center" |2
| align="center" |DB13
+
| align="center" |TP_SDA
 +
|电容触摸屏IIC总线数据引脚
 
|-
 
|-
| align="center" |20
+
| align="center" |3
| align="center" |DB14
+
| align="center" |TP_PEN
 +
|触摸屏中断控制引脚(产生触摸时,为低电平)
 
|-
 
|-
| align="center" |21
+
| align="center" |4
| align="center" |DB15
+
| align="center" |TP_RST
 +
|电容触摸屏复位引脚(低电平有效)
 
|-
 
|-
| align="center" |22
+
| align="center" |5
| align="center" |SDCS
+
| align="center" |GND
|SD card selection control pin (used when using the SD card expansion function, this test program is not used)
+
|电源地
 
|-
 
|-
| align="center" |23
+
| align="center" |6
 
| align="center" |BL
 
| align="center" |BL
|LCD backlight control pin(High level light)
+
|液晶屏背光控制引脚
 +
|-
 +
| align="center" |7
 +
| align="center" |DISP
 +
|液晶屏显示使能引脚(高电平有效)
 +
|-
 +
| align="center" |8
 +
| align="center" |DE
 +
|数据使能信号控制引脚
 
|-
 
|-
| align="center" |24
+
| align="center" |9
| align="center" |VDD
+
| align="center" |HSYNC
| rowspan="2" |Module power positive pin (module has integrated voltage regulator IC, so the power supply can be connected to 5V or 3.3V)
+
|水平同步信号控制引脚
 
|-
 
|-
| align="center" |25
+
| align="center" |10
| align="center" |VDD
+
| align="center" |VSYNC
 +
|垂直同步信号控制引脚
 
|-
 
|-
| align="center" |26
+
| align="center" |11
| align="center" |GND
+
| align="center" |PCLK
| rowspan="2" |Module power ground pin
+
|像素时钟控制引脚
 
|-
 
|-
| align="center" |27
+
| align="center" |12~19
| align="center" |GND
+
| align="center" |B7 ~ B0
 +
|8位BLUE数据引脚
 
|-
 
|-
| align="center" |28
+
| align="center" |20~27
| align="center" |NC
+
| align="center" |G7 ~  G0
|LCD backlight power positive pin (default shared onboard backlight power supply, this pin can not be connected)
+
|8位GREEN数据引脚
 
|-
 
|-
| align="center" |29
+
| align="center" |28~35
| align="center" |MISO
+
| align="center" |R7 ~  R0
|Touch screen SPI bus data input pin
+
|8位RED数据引脚
 
|-
 
|-
| align="center" |30
+
| align="center" |36
| align="center" |MOSI
+
| align="center" |GND
|Touch screen SPI bus data output pin
+
|电源地
 
|-
 
|-
| align="center" |31
+
| align="center" |37
| align="center" |PEN
+
| align="center" |VCC3.3
|Touch screen interrupt detection pin(Low level when a touch occurs)
+
|电源输入引脚(接3.3V)
 
|-
 
|-
| align="center" |32
+
| align="center" |38
| align="center" |FCS
+
| align="center" |VCC3.3
|Flash chip select control pin (used when using the Flash extension function, this test program is not used)
+
|电源输入引脚(接3.3V)
 
|-
 
|-
| align="center" |33
+
| align="center" |39
| align="center" |T_CS
+
| align="center" |VCC5
|Touch screen IC chip select control pin(Low level enable)
+
|电源输入引脚(接5V)
 
|-
 
|-
| align="center" |34
+
| align="center" |40
| align="center" |CLK
+
| align="center" |VCC5
|Touch screen SPI bus clock control pin
+
|电源输入引脚(接5V)
 
|-
 
|-
 
|}
 
|}

Revision as of 17:29, 3 December 2020


语言选择

Languages

➤中文
➤EN


Product Picture

Product Description

  • 4.3-inch color screen, support 24BIT RGB 16.7M color display, display rich colors
  • Support 800x480, the display effect is very clear
  • Support 24 bit RGB parallel bus transmission
  • Compatible with RGB interface connection of punctual atomic development board and wildfire development board
  • It supports the switching between capacitive touch screen and resistance touch screen, and the capacitive touch screen can support up to 5 touch points
  • Support external adapter board, can be directly inserted into esp32 and STM32 development board
  • Support PWM backlight brightness adjustment
  • Provides a rich sample program for STM32 and C51 platforms
  • Military-grade process standards, long-term stable work
  • Provide underlying driver technical support

Product Parameters

Name Parameter
Display Color RGB888 16.7M (compatible with rgb5665k) color
SKU MRG4301(no touch), MRG4311(have touch)
Screen Size  4.3(inch)
Type TFT
Driver IC None(It can be connected with ss1963 adapter board)
Resolution 800*480 (Pixel)
Module Interface 24Bit RGB parallel interface
Touch Screen Type Capacitive or Resistive touch screen
Touch IC FT5426(Capacitive touch), XPT2046(Resistive touch)
Active Area  95.04x53.86(mm)
Module PCB Size 105.41x86.41(mm)
Operating Temperature -10℃~60℃
Storage Temperature -20℃~70℃
Input Voltage 5V
IO Voltage 3.3V
Power Consumption 50mA(The backlight is off), 165mA(The backlight is the brightest)
Rough Weight(Net weight) 95(g)

Interface Definition

650px

①--Capacitive touch screen circuit
②--Resistance touch screen circuit
③--Disp resistance
④--P2 interface (compatible with atomic RGB interface)
⑤--P3 interface (compatible with wildfire RGB interface)

1. Switch touch screen

If you choose to connect the capacitive touch screen, please weld the capacitor touch screen circuit;
Select the connection resistance touch screen, please weld the resistance touch screen circuit;
If you often need to switch the touch screen, after welding other circuits, only switch the drain resistance in the dotted line box;

2. Precautions for disp resistance welding

When connecting the wildfire development board for use, the disp resistance must be removed, otherwise the screen will not display after the development board is reset;
When connecting atomic development board, f407 minimum system board or esp32 development board, disp resistance must be welded, otherwise the screen will not be displayed.

3. P2 and P3 interface pins are described as follows:

  • P2 interface (compatible with atomic RGB interface) pin description
Number Pin name Description
1 VCC5 Power input pin(connect to 5V)
2 VCC5 Power input pin(connect to 5V)
3~10 R0~R7 8-bit RED data pin
11 GND power ground pin
12~19 G0 ~ G7 8-bit GREEN data pin
20 GND power ground pin
21~28 B0 ~ B7 8-bit GREEN data pin
29 GND power ground pin
30 PCLK Pixel clock control pin
31 HSYNC Horizontal synchronous signal control pin
32 VSYNC Vertical synchronous signal control pin
33 DE Data enable signal control pin
34 BL LCD backlight control pin
35 TP_CS Capacitor touch screen reset pin (resistance touch screen chip selection pin)
36 TP_MOSI Data pin of IIC bus of capacitance touch screen (write data pin of SPI bus of resistance touch screen)
37 TP_MISO Resistance touch screen SPI bus read data pin (capacitance touch screen not used)
38 TP_CLK IIC bus clock control pin of capacitive touch screen (SPI bus clock control pin of resistance touch screen)
39 TP_PEN Touch screen interrupt control pin (low level when touch is generated)
40 RST LCD reset control pin (effective at low level)
  • P3接口(兼容野火RGB接口)引脚说明
序号 引脚名称 说明
1 TP_SCL 电容触摸屏IIC总线时钟控制引脚
2 TP_SDA 电容触摸屏IIC总线数据引脚
3 TP_PEN 触摸屏中断控制引脚(产生触摸时,为低电平)
4 TP_RST 电容触摸屏复位引脚(低电平有效)
5 GND 电源地
6 BL 液晶屏背光控制引脚
7 DISP 液晶屏显示使能引脚(高电平有效)
8 DE 数据使能信号控制引脚
9 HSYNC 水平同步信号控制引脚
10 VSYNC 垂直同步信号控制引脚
11 PCLK 像素时钟控制引脚
12~19 B7 ~ B0 8位BLUE数据引脚
20~27 G7 ~ G0 8位GREEN数据引脚
28~35 R7 ~ R0 8位RED数据引脚
36 GND 电源地
37 VCC3.3 电源输入引脚(接3.3V)
38 VCC3.3 电源输入引脚(接3.3V)
39 VCC5 电源输入引脚(接5V)
40 VCC5 电源输入引脚(接5V)

How to use on STM32 development board

This module is compatible with the ALIENTEK STM32 development board. The specific usage is as follows:

  • Step 1: Download the test program
  1. Download the STM32 test program from the Program Download column
  2. For a description of the relevant test procedures, please refer to the test program documentation in the package
  • Step 2: Connect the STM32 development board
  1. Find the TFTLCD Slot on the development board, connect the module pins and Slot(For example, the module CS pin corresponds to the slot CS pin),
and then plug them directly into the Slot
  • Step 3: Compile and download the program to the development board
  1. Compile and download the program you need to test to the STM32 development board( Don't know how to compile and download?
  • Step 4: Observe the running of the program
  1. After the program is finished, observe the running status of the program. If it can be displayed normally, the program runs successfully.

Program Download

Product Documentation

Reference Materials

Common Software

BACK TO TOP