More actions
Line 90: | Line 90: | ||
:If you choose to connect the capacitive touch screen, please weld the capacitor touch screen circuit; | :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; | :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; | :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''' | '''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 the wildfire development board for use, the disp resistance must be removed, otherwise | ||
: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. | :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:''' | '''3. P2 and P3 interface pins are described as follows:''' | ||
*'''P2 interface (compatible with atomic RGB interface) pin description''' | *'''P2 interface (compatible with atomic RGB interface) pin description''' | ||
{| class="wikitable" border="1" style="width: | {| class="wikitable" border="1" style="width: 7000px; background-color: white;" | ||
|- | |- | ||
| align="center" |Number | | align="center" |Number | ||
Line 182: | Line 185: | ||
|} | |} | ||
*''' | *'''P3 interface (compatible with wildfire 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" | | | align="center" |Number | ||
| align="center" | | | align="center" |Pin name | ||
| align="center" | | | align="center" |Description | ||
|- | |- | ||
| align="center" |1 | | align="center" |1 | ||
| align="center" |TP_SCL | | align="center" |TP_SCL | ||
| | |IIC bus clock control pin of capacitive touch screen | ||
|- | |- | ||
| align="center" |2 | | align="center" |2 | ||
| align="center" |TP_SDA | | align="center" |TP_SDA | ||
| | |Data pin of IIC bus of capacitance touch screen | ||
|- | |- | ||
| align="center" |3 | | align="center" |3 | ||
| align="center" |TP_PEN | | align="center" |TP_PEN | ||
| | |Touch screen interrupt control pin (low level when touch is generated) | ||
|- | |- | ||
| align="center" |4 | | align="center" |4 | ||
| align="center" |TP_RST | | align="center" |TP_RST | ||
| | |Capacitor touch screen reset pin(enable at low level) | ||
|- | |- | ||
| align="center" |5 | | align="center" |5 | ||
| align="center" |GND | | align="center" |GND | ||
| | |power ground pin | ||
|- | |- | ||
| align="center" |6 | | align="center" |6 | ||
| align="center" |BL | | align="center" |BL | ||
| | |LCD backlight control pin | ||
|- | |- | ||
| align="center" |7 | | align="center" |7 | ||
| align="center" |DISP | | align="center" |DISP | ||
| | |LCD display enable pin (enable at high level) | ||
|- | |- | ||
| align="center" |8 | | align="center" |8 | ||
| align="center" |DE | | align="center" |DE | ||
| | |Data enable signal control pin | ||
|- | |- | ||
| align="center" |9 | | align="center" |9 | ||
| align="center" |HSYNC | | align="center" |HSYNC | ||
| | |Horizontal synchronous signal control pin | ||
|- | |- | ||
| align="center" |10 | | align="center" |10 | ||
| align="center" |VSYNC | | align="center" |VSYNC | ||
| | |Vertical synchronous signal control pin | ||
|- | |- | ||
| align="center" |11 | | align="center" |11 | ||
| align="center" |PCLK | | align="center" |PCLK | ||
| | |Pixel clock control pin | ||
|- | |- | ||
| align="center" |12~19 | | align="center" |12~19 | ||
| align="center" |B7 ~ B0 | | align="center" |B7 ~ B0 | ||
| | |8-bit BLUE data pin | ||
|- | |- | ||
| align="center" |20~27 | | align="center" |20~27 | ||
| align="center" |G7 ~ G0 | | align="center" |G7 ~ G0 | ||
| | |8-bit GREEN data pin | ||
|- | |- | ||
| align="center" |28~35 | | align="center" |28~35 | ||
| align="center" |R7 ~ R0 | | align="center" |R7 ~ R0 | ||
| | |8-bit RED data pin | ||
|- | |- | ||
| align="center" |36 | | align="center" |36 | ||
| align="center" |GND | | align="center" |GND | ||
| | |power ground pin | ||
|- | |- | ||
| align="center" |37 | | align="center" |37 | ||
| align="center" |VCC3.3 | | align="center" |VCC3.3 | ||
| | |Power input pin(connect to 3.3V) | ||
|- | |- | ||
| align="center" |38 | | align="center" |38 | ||
| align="center" |VCC3.3 | | align="center" |VCC3.3 | ||
| | |Power input pin(connect to 3.3V) | ||
|- | |- | ||
| align="center" |39 | | align="center" |39 | ||
| align="center" |VCC5 | | align="center" |VCC5 | ||
| | |Power input pin(connect to 5V) | ||
|- | |- | ||
| align="center" |40 | | align="center" |40 | ||
| align="center" |VCC5 | | align="center" |VCC5 | ||
| | |Power input pin(connect to 5V) | ||
|- | |- | ||
|} | |} |
Revision as of 17:38, 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 interface (compatible with wildfire RGB interface) pin description
Number | Pin name | Description |
1 | TP_SCL | IIC bus clock control pin of capacitive touch screen |
2 | TP_SDA | Data pin of IIC bus of capacitance touch screen |
3 | TP_PEN | Touch screen interrupt control pin (low level when touch is generated) |
4 | TP_RST | Capacitor touch screen reset pin(enable at low level) |
5 | GND | power ground pin |
6 | BL | LCD backlight control pin |
7 | DISP | LCD display enable pin (enable at high level) |
8 | DE | Data enable signal control pin |
9 | HSYNC | Horizontal synchronous signal control pin |
10 | VSYNC | Vertical synchronous signal control pin |
11 | PCLK | Pixel clock control pin |
12~19 | B7 ~ B0 | 8-bit BLUE data pin |
20~27 | G7 ~ G0 | 8-bit GREEN data pin |
28~35 | R7 ~ R0 | 8-bit RED data pin |
36 | GND | power ground pin |
37 | VCC3.3 | Power input pin(connect to 3.3V) |
38 | VCC3.3 | Power input pin(connect to 3.3V) |
39 | VCC5 | Power input pin(connect to 5V) |
40 | VCC5 | Power input pin(connect to 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