More actions
Line 81: | Line 81: | ||
[[File:xxx|650px]] | [[File:xxx|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''' | |||
{| 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 | | align="center" |Pin name | ||
| align="center" |Description | | align="center" |Description | ||
|- | |- | ||
| align="center" |1 | | align="center" |1 | ||
| align="center" | | | align="center" |VCC5 | ||
| | |Power input pin(connect to 5V) | ||
|- | |- | ||
| align="center" |2 | | align="center" |2 | ||
| align="center" | | | align="center" |VCC5 | ||
| | |Power input pin(connect to 5V) | ||
|- | |||
| align="center" |3~10 | |||
| align="center" |R0~R7 | |||
|8-bit RED data pin | |||
|- | |- | ||
| align="center" | | | align="center" |11 | ||
| align="center" | | | align="center" |GND | ||
| | |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" | | | align="center" |29 | ||
| align="center" | | | align="center" |GND | ||
| | |power ground pin | ||
|- | |- | ||
| align="center" | | | align="center" |30 | ||
| align="center" | | | align="center" |PCLK | ||
| | |Pixel clock control pin | ||
|- | |- | ||
| align="center" | | | align="center" |31 | ||
| align="center" | | | align="center" |HSYNC | ||
| | |Horizontal synchronous signal control pin | ||
|- | |- | ||
| align="center" | | | align="center" |32 | ||
| align="center" | | | align="center" |VSYNC | ||
|Vertical synchronous signal control pin | |||
|- | |- | ||
| align="center" | | | align="center" |33 | ||
| align="center" | | | align="center" |DE | ||
|Data enable signal control pin | |||
|- | |- | ||
| align="center" | | | align="center" |34 | ||
| align="center" | | | align="center" |BL | ||
|LCD backlight control pin | |||
|- | |- | ||
| align="center" | | | align="center" |35 | ||
| align="center" | | | align="center" |TP_CS | ||
|Capacitor touch screen reset pin (resistance touch screen chip selection pin) | |||
|- | |- | ||
| align="center" | | | align="center" |36 | ||
| align="center" | | | 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" | | | align="center" |37 | ||
| align="center" | | | align="center" |TP_MISO | ||
|Resistance touch screen SPI bus read data pin (capacitance touch screen not used) | |||
|- | |- | ||
| align="center" | | | align="center" |38 | ||
| align="center" | | | align="center" |TP_CLK | ||
|IIC bus clock control pin of capacitive touch screen (SPI bus clock control pin of resistance touch screen) | |||
|- | |- | ||
| align="center" | | | align="center" |39 | ||
| align="center" | | | align="center" |TP_PEN | ||
| | |Touch screen interrupt control pin (low level when touch is generated) | ||
|- | |- | ||
| align="center" | | | align="center" |40 | ||
| align="center" | | | align="center" |RST | ||
|LCD reset control pin (effective at low level) | |||
|- | |- | ||
| | |} | ||
*'''P3接口(兼容野火RGB接口)引脚说明''' | |||
{| class="wikitable" border="1" style="width: 650px; background-color: white;" | |||
|- | |- | ||
| align="center" | | | align="center" |序号 | ||
| align="center" | | | align="center" |引脚名称 | ||
| align="center" |说明 | |||
|- | |- | ||
| align="center" | | | align="center" |1 | ||
| align="center" | | | align="center" |TP_SCL | ||
|电容触摸屏IIC总线时钟控制引脚 | |||
|- | |- | ||
| align="center" | | | align="center" |2 | ||
| align="center" | | | align="center" |TP_SDA | ||
|电容触摸屏IIC总线数据引脚 | |||
|- | |- | ||
| align="center" | | | align="center" |3 | ||
| align="center" | | | align="center" |TP_PEN | ||
|触摸屏中断控制引脚(产生触摸时,为低电平) | |||
|- | |- | ||
| align="center" | | | align="center" |4 | ||
| align="center" | | | align="center" |TP_RST | ||
|电容触摸屏复位引脚(低电平有效) | |||
|- | |- | ||
| align="center" | | | align="center" |5 | ||
| align="center" | | | align="center" |GND | ||
| | |电源地 | ||
|- | |- | ||
| align="center" | | | align="center" |6 | ||
| align="center" |BL | | align="center" |BL | ||
| | |液晶屏背光控制引脚 | ||
|- | |||
| align="center" |7 | |||
| align="center" |DISP | |||
|液晶屏显示使能引脚(高电平有效) | |||
|- | |||
| align="center" |8 | |||
| align="center" |DE | |||
|数据使能信号控制引脚 | |||
|- | |- | ||
| align="center" | | | align="center" |9 | ||
| align="center" | | | align="center" |HSYNC | ||
| | |水平同步信号控制引脚 | ||
|- | |- | ||
| align="center" | | | align="center" |10 | ||
| align="center" | | | align="center" |VSYNC | ||
|垂直同步信号控制引脚 | |||
|- | |- | ||
| align="center" | | | align="center" |11 | ||
| align="center" | | | align="center" |PCLK | ||
| | |像素时钟控制引脚 | ||
|- | |- | ||
| align="center" | | | align="center" |12~19 | ||
| align="center" | | | align="center" |B7 ~ B0 | ||
|8位BLUE数据引脚 | |||
|- | |- | ||
| align="center" | | | align="center" |20~27 | ||
| align="center" | | | align="center" |G7 ~ G0 | ||
| | |8位GREEN数据引脚 | ||
|- | |- | ||
| align="center" | | | align="center" |28~35 | ||
| align="center" | | | align="center" |R7 ~ R0 | ||
| | |8位RED数据引脚 | ||
|- | |- | ||
| align="center" | | | align="center" |36 | ||
| align="center" | | | align="center" |GND | ||
| | |电源地 | ||
|- | |- | ||
| align="center" | | | align="center" |37 | ||
| align="center" | | | align="center" |VCC3.3 | ||
| | |电源输入引脚(接3.3V) | ||
|- | |- | ||
| align="center" | | | align="center" |38 | ||
| align="center" | | | align="center" |VCC3.3 | ||
| | |电源输入引脚(接3.3V) | ||
|- | |- | ||
| align="center" | | | align="center" |39 | ||
| align="center" | | | align="center" |VCC5 | ||
| | |电源输入引脚(接5V) | ||
|- | |- | ||
| align="center" | | | align="center" |40 | ||
| align="center" | | | align="center" |VCC5 | ||
| | |电源输入引脚(接5V) | ||
|- | |- | ||
|} | |} |
Revision as of 17:29, 3 December 2020
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
- ①--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
- Download the STM32 test program from the Program Download column
- 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
- 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
- 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
- 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
- 4.0inch 16bit Parallel-Port Module User Manual
- 4.0inch TFTLCD Specification
- 4.0inch 16bit Parallel-Port Module Size Picture(pdf Version)
- 4.0inch 16bit Parallel-Port Module Size Picture(jpg Version)
- 4.0inch 16bit Parallel-Port Module Schematic
- 4.0inch 16bit Parallel-Port Module LCD Schematic and PCB Package Library
- Driver IC ST7796S Data sheet
Reference Materials
- C51 Keil and stc-isp software use illustration
- STM32 keil software use illustration
- PCtoLCD2002 software use illustration
- Image2Lcd software use illustration
- Chinese and English display modulo settings