More actions
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
4. | {{lan | ||
| | |||
cn=http://www.lcdwiki.com/zh/4.0inch_8&16BIT_Module_ST7796S_SKU:MRB3951 | |||
| | |||
en=http://www.lcdwiki.com/4.0inch_8&16BIT_Module_ST7796S_SKU:MRB3951 | |||
}} | |||
== <font color="blue">Product Picture</font> == | |||
[[File:MRB3951-001.jpg|300px]] | |||
==<font color="blue">Product Description</font> == | |||
* 4.0-inch color screen, support 16BIT RGB 65K color display, display rich colors | |||
* 320x480 resolution for clear display | |||
* Supports 8-bit and 16-bit parallel bus transmission with fast transfer speed | |||
* Supports ALIENTEK STM32 Mini, Elite, WarShip, Explorer, and Apollo development boards TFTLCD for direct plug-in use | |||
* Support for touch function | |||
* Support SD card function expansion | |||
* Provides a rich sample program for STM32 and C51 platforms | |||
* Military-grade process standards, long-term stable work | |||
* Provide underlying driver technical support | |||
==<font color="blue">Product Parameters</font> == | |||
{| class="wikitable" border="1" style="width: 500px; background-color: white;" | |||
| align="center" |Name | |||
| align="center" |Parameter | |||
|- | |||
| align="center" |Display Color | |||
| align="center" |16BIT RGB 65K color | |||
|- | |||
| align="center" |SKU | |||
| align="center" |MRB3951 | |||
|- | |||
| align="center" |Screen Size | |||
| align="center" |4.0(inch) | |||
|- | |||
| align="center" |Type | |||
| align="center" |TFT | |||
|- | |||
| align="center" |Driver IC | |||
| align="center" |ST7796S | |||
|- | |||
| align="center" |Resolution | |||
| align="center" |480*320 (Pixel) | |||
|- | |||
| align="center" |Module Interface | |||
| align="center" |8bit or 16Bit parallel interface | |||
|- | |||
| align="center" |Active Area | |||
| align="center" |83.52x55.68(mm) | |||
|- | |||
| align="center" |Module PCB Size | |||
| align="center" |61.98x108.80 (mm) | |||
|- | |||
| align="center" |Operating Temperature | |||
| align="center" | -20℃~60℃ | |||
|- | |||
| align="center" |Storage Temperature | |||
| align="center" | -30℃~70℃ | |||
|- | |||
| align="center" |Operating Voltage | |||
| align="center" |3.3V~5V | |||
|- | |||
| align="center" |Power Consumption | |||
| align="center" |TBD | |||
|- | |||
| align="center" |Rough Weight(Package containing) | |||
| align="center" |68 (g) | |||
|} | |||
==<font color="blue">Interface Definition</font> == | |||
[[File:MRB3951-005.jpg|650px]] | |||
The red box in the above figure is the 8-bit/16-bit data bus mode switch, which is described as follows: | |||
:Solder '''R2''' with 0Ω resistor or short circuit directly, and disconnect '''R1''': Select '''16'''-bit data bus mode (default),use '''DB0~DB15''' data pin | |||
:Solder '''R1''' with 0Ω resistor or short circuit directly, and disconnect '''R2''': Select '''8'''-bit data bus mode use '''DB0~DB7''' data pin | |||
{| class="wikitable" border="1" style="width: 650px; background-color: white;" | |||
| align="center" |Number | |||
| align="center" |Pin Label | |||
| align="center" |Description | |||
|- | |||
| align="center" |1 | |||
| align="center" |CS | |||
|LCD reset control pin( low level enable) | |||
|- | |||
| align="center" |2 | |||
| align="center" |RS | |||
|LCD register / data selection control pin(high level: register, low level: data) | |||
|- | |||
| align="center" |3 | |||
| align="center" |WR | |||
|LCD write control pin | |||
|- | |||
| align="center" |4 | |||
| align="center" |RD | |||
|LCD read control pin | |||
|- | |||
| align="center" |5 | |||
| align="center" |RST | |||
|LCD reset control pin( low level reset) | |||
|- | |||
| align="center" |6 | |||
| align="center" |DB0 | |||
| rowspan="8" |LCD data bus low 8-bit pin | |||
|- | |||
| align="center" |7 | |||
| align="center" |DB1 | |||
|- | |||
| align="center" |8 | |||
| align="center" |DB2 | |||
|- | |||
| align="center" |9 | |||
| align="center" |DB3 | |||
|- | |||
| align="center" |10 | |||
| align="center" |DB4 | |||
|- | |||
| align="center" |11 | |||
| align="center" |DB5 | |||
|- | |||
| align="center" |12 | |||
| align="center" |DB6 | |||
|- | |||
| align="center" |13 | |||
| align="center" |DB7 | |||
|- | |||
| align="center" |14 | |||
| align="center" |DB8 | |||
| rowspan="8" |LCD data bus high 8-bit pin (not used in 8-bit data bus mode) | |||
|- | |||
| align="center" |15 | |||
| align="center" |DB9 | |||
|- | |||
| align="center" |16 | |||
| align="center" |DB10 | |||
|- | |||
| align="center" |17 | |||
| align="center" |DB11 | |||
|- | |||
| align="center" |18 | |||
| align="center" |DB12 | |||
|- | |||
| align="center" |19 | |||
| align="center" |DB13 | |||
|- | |||
| align="center" |20 | |||
| align="center" |DB14 | |||
|- | |||
| align="center" |21 | |||
| align="center" |DB15 | |||
|- | |||
| align="center" |22 | |||
| align="center" |SDCS | |||
|SD card selection control pin (used when using the SD card expansion function, this test program is not used) | |||
|- | |||
| align="center" |23 | |||
| align="center" |BL | |||
|LCD backlight control pin(High level light) | |||
|- | |||
| align="center" |24 | |||
| align="center" |VDD | |||
| 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" |VDD | |||
|- | |||
| align="center" |26 | |||
| align="center" |GND | |||
| rowspan="2" |Module power ground pin | |||
|- | |||
| align="center" |27 | |||
| align="center" |GND | |||
|- | |||
| align="center" |28 | |||
| align="center" |NC | |||
|LCD backlight power positive pin (default shared onboard backlight power supply, this pin can not be connected) | |||
|- | |||
| align="center" |29 | |||
| align="center" |MISO | |||
|Touch screen SPI bus data input pin | |||
|- | |||
| align="center" |30 | |||
| align="center" |MOSI | |||
|Touch screen SPI bus data output pin | |||
|- | |||
| align="center" |31 | |||
| align="center" |PEN | |||
|Touch screen interrupt detection pin(Low level when a touch occurs) | |||
|- | |||
| align="center" |32 | |||
| align="center" |FCS | |||
|Flash chip select control pin (used when using the Flash extension function, this test program is not used) | |||
|- | |||
| align="center" |33 | |||
| align="center" |T_CS | |||
|Touch screen IC chip select control pin(Low level enable) | |||
|- | |||
| align="center" |34 | |||
| align="center" |CLK | |||
|Touch screen SPI bus clock control pin | |||
|- | |||
|} | |||
==<font color="blue">How to use on STM32 development board</font> == | |||
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|'''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([http://www.lcdwiki.com/res/PublicFile/STM32_Keil_Use_Illustration_CN.pdf <font color="red"> '''Don't know how to compile and download?'''</font>]) | |||
*'''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. | |||
==<font color="blue">Program Download</font> == | |||
* [http://www.lcdwiki.com/res/Program/Parallel_Port/4.0inch/8_16BIT_ST7796S_MRB3951_V1.0/4.0inch_8&16BIT_Module_ST7796S_MRB3951_V1.0.zip '''4.0inch 16bit Parallel-Port Module package'''] | |||
==<font color="blue">Product Documentation</font> == | |||
* [http://www.lcdwiki.com/res/MRB3951/4.0inch_8&16BIT_Module_MRB3951_User_Manual_EN.pdf '''4.0inch 16bit Parallel-Port Module User Manual'''] | |||
* [http://www.lcdwiki.com/res/MRB3951/QD-40037C1-00_specification_V1.0.pdf '''4.0inch TFTLCD Specification'''] | |||
* [http://www.lcdwiki.com/res/MRB3951/4.0inch_MRB3951_Size.pdf '''4.0inch 16bit Parallel-Port Module Size Picture(pdf Version)'''] | |||
* [http://www.lcdwiki.com/images/7/7f/MRB3951-006.jpg '''4.0inch 16bit Parallel-Port Module Size Picture(jpg Version)'''] | |||
* [http://www.lcdwiki.com/res/MRB3951/4.0inch_MRB3951_Schematic_V1.0.pdf '''4.0inch 16bit Parallel-Port Module Schematic'''] | |||
* [http://www.lcdwiki.com/res/MRB3951/Altium_Package_library.zip '''4.0inch 16bit Parallel-Port Module LCD Schematic and PCB Package Library'''] | |||
* [http://www.lcdwiki.com/res/MRB3951/ST7796S-Sitronix.pdf '''Driver IC ST7796S Data sheet'''] | |||
==<font color="blue">Reference Materials</font> == | |||
* [http://www.lcdwiki.com/res/PublicFile/C51_Keil%26stc-isp_Use_Illustration_EN.pdf '''C51 Keil and stc-isp software use illustration'''] | |||
* [http://www.lcdwiki.com/res/PublicFile/STM32_Keil_Use_Illustration_EN.pdf '''STM32 keil software use illustration'''] | |||
* [http://www.lcdwiki.com/res/PublicFile/PCtoLCD2002_Use_Illustration_EN.pdf '''PCtoLCD2002 software use illustration'''] | |||
* [http://www.lcdwiki.com/res/PublicFile/Image2Lcd_Use_Illustration_EN.pdf '''Image2Lcd software use illustration'''] | |||
* [http://www.lcdwiki.com/Chinese_and_English_display_modulo_settings '''Chinese and English display modulo settings'''] | |||
==<font color="blue">Common Software</font> == | |||
* [http://www.lcdwiki.com/res/software/PCtoLCD2002.zip '''PCtoLCD2002'''] | |||
* [http://www.lcdwiki.com/res/software/Image2Lcd.zip '''Image2Lcd'''] | |||
[[#top|BACK TO TOP]] |
Revision as of 17:01, 3 December 2020
Product Picture
Product Description
- 4.0-inch color screen, support 16BIT RGB 65K color display, display rich colors
- 320x480 resolution for clear display
- Supports 8-bit and 16-bit parallel bus transmission with fast transfer speed
- Supports ALIENTEK STM32 Mini, Elite, WarShip, Explorer, and Apollo development boards TFTLCD for direct plug-in use
- Support for touch function
- Support SD card function expansion
- 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 | 16BIT RGB 65K color |
SKU | MRB3951 |
Screen Size | 4.0(inch) |
Type | TFT |
Driver IC | ST7796S |
Resolution | 480*320 (Pixel) |
Module Interface | 8bit or 16Bit parallel interface |
Active Area | 83.52x55.68(mm) |
Module PCB Size | 61.98x108.80 (mm) |
Operating Temperature | -20℃~60℃ |
Storage Temperature | -30℃~70℃ |
Operating Voltage | 3.3V~5V |
Power Consumption | TBD |
Rough Weight(Package containing) | 68 (g) |
Interface Definition
The red box in the above figure is the 8-bit/16-bit data bus mode switch, which is described as follows:
- Solder R2 with 0Ω resistor or short circuit directly, and disconnect R1: Select 16-bit data bus mode (default),use DB0~DB15 data pin
- Solder R1 with 0Ω resistor or short circuit directly, and disconnect R2: Select 8-bit data bus mode use DB0~DB7 data pin
Number | Pin Label | Description |
1 | CS | LCD reset control pin( low level enable) |
2 | RS | LCD register / data selection control pin(high level: register, low level: data) |
3 | WR | LCD write control pin |
4 | RD | LCD read control pin |
5 | RST | LCD reset control pin( low level reset) |
6 | DB0 | LCD data bus low 8-bit pin |
7 | DB1 | |
8 | DB2 | |
9 | DB3 | |
10 | DB4 | |
11 | DB5 | |
12 | DB6 | |
13 | DB7 | |
14 | DB8 | LCD data bus high 8-bit pin (not used in 8-bit data bus mode) |
15 | DB9 | |
16 | DB10 | |
17 | DB11 | |
18 | DB12 | |
19 | DB13 | |
20 | DB14 | |
21 | DB15 | |
22 | SDCS | SD card selection control pin (used when using the SD card expansion function, this test program is not used) |
23 | BL | LCD backlight control pin(High level light) |
24 | VDD | Module power positive pin (module has integrated voltage regulator IC, so the power supply can be connected to 5V or 3.3V) |
25 | VDD | |
26 | GND | Module power ground pin |
27 | GND | |
28 | NC | LCD backlight power positive pin (default shared onboard backlight power supply, this pin can not be connected) |
29 | MISO | Touch screen SPI bus data input pin |
30 | MOSI | Touch screen SPI bus data output pin |
31 | PEN | Touch screen interrupt detection pin(Low level when a touch occurs) |
32 | FCS | Flash chip select control pin (used when using the Flash extension function, this test program is not used) |
33 | T_CS | Touch screen IC chip select control pin(Low level enable) |
34 | CLK | Touch screen SPI bus clock control pin |
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