Difference between revisions of "4.0inch SPI Module ST7796"

From LCD wiki
Jump to: navigation, search
(Created page with "321")
 
(Program Download)
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
321
+
{{lan
 +
    |
 +
cn=http://www.lcdwiki.com/zh/4.0inch_SPI_Module_ST7796   
 +
    |
 +
en=http://www.lcdwiki.com/4.0inch_SPI_Module_ST7796
 +
}}
 +
 
 +
==<font color="blue">Product Picture</font> ==
 +
[[File:MSP4021-005.jpg|300px]][[File:MSP4021-004.jpg|300px]][[File:MSP4021-002.jpg|300px]][[File:MSP4021-003.jpg|300px]]
 +
 
 +
==<font color="blue">Product Description</font> ==
 +
 
 +
* 4.0-inch color screen,support 65K color display,display rich colors
 +
* 480X320 resolution, optional touch function
 +
* Using the SPI serial bus, it only takes a few IOs to illuminate the display
 +
* Easy to expand the experiment with SD card slot
 +
* Provide a rich sample program
 +
* 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: 550px; background-color: white;"
 +
| align="center" |Name
 +
| align="center" |Parameter
 +
|-
 +
| align="center" |Display Color
 +
| align="center" |RGB 65K color
 +
|-
 +
| rowspan="2" align="center" |SKU
 +
| align="center" |have touch screen: MSP4021
 +
|-
 +
| align="center" |have no touch screen: MSP4020
 +
|-
 +
| align="center" |Screen Size 
 +
| align="center" |4.0(inch)
 +
|-
 +
| align="center" |Screen 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" |4-wire SPI interface
 +
|-
 +
| align="center" |Active Area (AA area)
 +
| align="center" |55.68x83.52 (mm)
 +
|-
 +
| align="center" |Module PCB Size
 +
| align="center" |61.74x108.04(mm)
 +
|-
 +
| align="center" |Touch Screen Type
 +
| align="center" | resistive touch screen
 +
|-
 +
| align="center" |Touch IC
 +
| align="center" | XPT2046
 +
|-
 +
| align="center" |VCC power voltage
 +
| align="center" |3.3V~5V
 +
|-
 +
| align="center" |Power Consumption
 +
| align="center" |TBD
 +
|-
 +
| rowspan="2" align="center" |Rough Weight(Package containing)
 +
| align="center" |have touch screen: 71g
 +
|-
 +
| align="center" |have no touch screen: 58g
 +
|}
 +
 
 +
==<font color="blue">Interface Definition</font> ==
 +
[[File:MSP4021-006.png|550px]]
 +
{| class="wikitable" border="1" style="width: 600px; background-color: white;"
 +
| align="center" |Number
 +
| align="center" |Pin Label
 +
| align="center" |Description
 +
|-
 +
| align="center" |1
 +
| align="center" |VCC
 +
|5V/3.3V power input
 +
|-
 +
| align="center" |2
 +
| align="center" |GND
 +
|Ground
 +
|-
 +
| align="center" |3
 +
| align="center" |CS
 +
|LCD chip select signal, low level enable
 +
|-
 +
| align="center" |4
 +
| align="center" |RESET
 +
|LCD reset signal, low level reset
 +
|-
 +
| align="center" |5
 +
| align="center" |DC/RS
 +
|LCD command / data selection signal,
 +
high level: command, low level: data
 +
|-
 +
| align="center" |6
 +
| align="center" |SDI(MOSI)
 +
|LCD SPI bus write data signal
 +
|-
 +
| align="center" |7
 +
| align="center" |SCK
 +
|LCD SPI bus clock signal
 +
|-
 +
| align="center" |8
 +
| align="center" |LED
 +
|Backlight control, high level lighting,
 +
if not controlled, connect 3.3V always bright
 +
|-
 +
| align="center" |9
 +
| align="center" |SDO(MISO)
 +
|SPI bus read data signal, if you do not need to the read function, you can not connect it
 +
|-
 +
| colspan="3" |(The following is the touch screen signal line wiring, if you do not need to touch function or the module itself does not have touch function, you can not connect them)
 +
|-
 +
| align="center" |10
 +
| align="center" |T_CLK
 +
|Touch SPI bus clock signal
 +
|-
 +
| align="center" |11
 +
| align="center" |T_CS
 +
|Touch screen chip select signal, low level enable
 +
|-
 +
| align="center" |12
 +
| align="center" |T_DIN
 +
|Touch SPI bus input
 +
|-
 +
| align="center" |13
 +
| align="center" |T_DO
 +
|Touch SPI bus output
 +
|-
 +
| align="center" |14
 +
| align="center" |T_IRQ
 +
|Touch screen interrupt signal, low level when touch is detected
 +
|-
 +
|}
 +
 
 +
==<font color="blue">Product Documentation</font> ==
 +
 
 +
* [http://www.lcdwiki.com/res/MSP4021/4.0inch_SPI_Module_MSP4020&MSP4021_User_Manual_EN.pdf '''4.0 inch SPI Module User Manual''']
 +
* [http://www.lcdwiki.com/res/MSP4021/QD-40037C1-00_specification_V1.0.pdf '''4.0 inch TFT Specifications''']
 +
* [http://www.lcdwiki.com/zh/images/b/b4/4.0inch_SPI_size.png '''4.0 inch SPI Module Size Picture''']
 +
* [http://www.lcdwiki.com/res/MSP4021/4.0inch_SPI_Schematic.pdf '''4.0 inch SPI Module Schematic''']
 +
* [http://www.lcdwiki.com/res/MSP4021/4.0inch_SPI_Altium_Package_Library.zip '''4.0inch SPI Module screen Schematic and PCB package library''']
 +
* [http://www.lcdwiki.com/res/MSP4021/ST7796S-Sitronix.pdf '''Driver IC ST7796S Data sheet''']
 +
 
 +
==<font color="blue">Program Download</font> ==
 +
 
 +
* [http://www.lcdwiki.com/res/Program/Common_SPI/4.0inch/SPI_ST7796S_MSP4020_4021_V1.0/4.0inch_SPI_Module_ST7796S_MSP4020%26MSP4021_V1.0.zip '''4.0 inch SPI Module Package''']
 +
 
 +
==<font color="blue">Reference Materials</font> ==
 +
 
 +
* [http://www.lcdwiki.com/res/PublicFile/Arduino_IDE_Use_Illustration_EN.pdf '''Arduino IDE software use illustration''']
 +
* [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]]

Latest revision as of 14:33, 27 September 2019


语言选择

Languages

➤中文
➤EN


Product Picture

MSP4021-005.jpgMSP4021-004.jpgMSP4021-002.jpgMSP4021-003.jpg

Product Description

  • 4.0-inch color screen,support 65K color display,display rich colors
  • 480X320 resolution, optional touch function
  • Using the SPI serial bus, it only takes a few IOs to illuminate the display
  • Easy to expand the experiment with SD card slot
  • Provide a rich sample program
  • Military-grade process standards, long-term stable work
  • Provide underlying driver technical support

Product Parameters

Name Parameter
Display Color RGB 65K color
SKU have touch screen: MSP4021
have no touch screen: MSP4020
Screen Size  4.0(inch)
Screen Type TFT
Driver IC ST7796S
Resolution 480*320 (Pixel)
Module Interface 4-wire SPI interface
Active Area (AA area) 55.68x83.52 (mm)
Module PCB Size 61.74x108.04(mm)
Touch Screen Type resistive touch screen
Touch IC XPT2046
VCC power voltage 3.3V~5V
Power Consumption TBD
Rough Weight(Package containing) have touch screen: 71g
have no touch screen: 58g

Interface Definition

MSP4021-006.png

Number Pin Label Description
1 VCC 5V/3.3V power input
2 GND Ground
3 CS LCD chip select signal, low level enable
4 RESET LCD reset signal, low level reset
5 DC/RS LCD command / data selection signal,

high level: command, low level: data

6 SDI(MOSI) LCD SPI bus write data signal
7 SCK LCD SPI bus clock signal
8 LED Backlight control, high level lighting,

if not controlled, connect 3.3V always bright

9 SDO(MISO) SPI bus read data signal, if you do not need to the read function, you can not connect it
(The following is the touch screen signal line wiring, if you do not need to touch function or the module itself does not have touch function, you can not connect them)
10 T_CLK Touch SPI bus clock signal
11 T_CS Touch screen chip select signal, low level enable
12 T_DIN Touch SPI bus input
13 T_DO Touch SPI bus output
14 T_IRQ Touch screen interrupt signal, low level when touch is detected

Product Documentation

Program Download

Reference Materials

Common Software

BACK TO TOP