Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

2.4inch 16BIT Module ILI9341 SKU:MRB2408: Difference between revisions

From LCD wiki
Lin (talk | contribs)
Lin (talk | contribs)
 
(29 intermediate revisions by 2 users not shown)
Line 5: Line 5:
en=http://www.lcdwiki.com/2.4inch_16BIT_Module_ILI9341_SKU:MRB2408
en=http://www.lcdwiki.com/2.4inch_16BIT_Module_ILI9341_SKU:MRB2408
}}  
}}  
== <font color="blue">Product Video</font> ==


== <font color="blue">Product Picture</font> ==
== <font color="blue">Product Picture</font> ==
[[File:MRB2408-002.jpg|300px]] [[File:MRB2408-004.jpg|300px]] [[File:MRB2408-003.jpg|300px]]
[[File:MRB2408-002.jpg|300px]] [[File:MRB2408-004.jpg|300px]]


==<font color="blue">Product Description</font> ==
==<font color="blue">Product Description</font> ==
Line 17: Line 13:
* 2.4-inch color screen, support 16BIT RGB 65K color display, display rich colors
* 2.4-inch color screen, support 16BIT RGB 65K color display, display rich colors
* 240x320 resolution for clear display   
* 240x320 resolution for clear display   
* 16-bit parallel bus transmission for fast transfer speed
* Support 8-bit/16-bit parallel bus switching (the default is 16-bit), fast transfer speed
* Supports ALIENTEK STM32 Mini, Elite, WarShip, Explorer, and Apollo development boards for direct plug-in use
* Supports ALIENTEK STM32 Mini, Elite, WarShip, Explorer, and Apollo development boards for direct plug-in use
* Support for touch function
* Support for touch function
Line 39: Line 35:
| align="center" |2.4(inch)
| align="center" |2.4(inch)
|-
|-
| align="center" |Type
| align="center" |Screen Type
| align="center" |TFT
| align="center" |TFT
|-
|-
Line 49: Line 45:
|-
|-
| align="center" |Module Interface
| align="center" |Module Interface
| align="center" |16Bit parallel interface
| align="center" |8Bit or 16Bit parallel interface
|-
|-
| align="center" |Active Area 
| align="center" |Active Area 
| align="center" |48.96*36.72(mm)
| align="center" |48.96*36.72(mm)
|-
| align="center" |Touch Screen Type
| align="center" |resistive touch screen
|-
| align="center" |Touch IC
| align="center" |XPT2046
|-
|-
| align="center" |Module PCB Size
| align="center" |Module PCB Size
Line 58: Line 60:
|-
|-
| align="center" |Operating Temperature  
| align="center" |Operating Temperature  
| align="center" | -20℃~70℃
| align="center" | -20℃~60℃
|-
|-
| align="center" |Storage Temperature
| align="center" |Storage Temperature
| align="center" | -40℃~70℃
| align="center" | -30℃~70℃
|-
|-
| align="center" |Operating Voltage
| align="center" |Operating Voltage
Line 69: Line 71:
| align="center" |TBD
| align="center" |TBD
|-
|-
| align="center" |Product Weight
| align="center" |Rough Weight(Package containing)
| align="center" |TBD
| align="center" |35 (g)
|}
|}


==<font color="blue">Interface Definition</font> ==
==<font color="blue">Interface Definition</font> ==


[[File:MRB2408-005.jpg|550px]]
[[File:MRB2408-006.jpg|550px]]
 
The red box in the above figure is the 8-bit/16-bit data bus mode switch, which is described as follows:
 
:Solder '''R1''' with 0Ω resistor or short circuit directly, and disconnect '''R2''': select '''16'''-bit data bus mode (default), use '''D1~D8''', '''D10~D17''' data pins
:Solder '''R2''' with 0Ω resistor or short circuit directly, and disconnect '''R1''': select '''8'''-bit data bus mode, use '''D10~D17''' data pins
 
{| class="wikitable" border="1" style="width: 550px; background-color: white;"
{| class="wikitable" border="1" style="width: 550px; background-color: white;"
| align="center" |Number
| align="center" |Number
Line 83: Line 91:
| align="center" |1
| align="center" |1
| align="center" |CS
| align="center" |CS
|液晶屏片选控制引脚(低电平使能)
|LCD reset control pin( low level enable)
|-
|-
| align="center" |2
| align="center" |2
| align="center" |RS
| align="center" |RS
|液晶屏寄存器/数据选择控制引脚(低电平:寄存器,高电平:数据)
|LCD register / data selection control pin(high level: register, low level: data)
|-
|-
| align="center" |3
| align="center" |3
| align="center" |WR
| align="center" |WR
|液晶屏写控制引脚
|LCD write control pin
|-
|-
| align="center" |4
| align="center" |4
| align="center" |RD
| align="center" |RD
|液晶屏读控制引脚
|LCD read control pin 
|-
|-
| align="center" |5
| align="center" |5
| align="center" |RST  
| align="center" |RST  
|液晶屏复位控制引脚(低电平复位)
|LCD reset control pin( low level reset)
|-
|-
| align="center" |6
| align="center" |6
| align="center" |D1
| align="center" |D1
| rowspan="8" |液晶屏数据总线低8位引脚
| rowspan="8" |LCD data bus low 8-bit pin(When 8-bit parallel data bus mode is selected, the lower 8-bit data pins are not used)
|-
|-
| align="center" |7
| align="center" |7
Line 128: Line 136:
| align="center" |14
| align="center" |14
| align="center" |D10
| align="center" |D10
| rowspan="8" |液晶屏数据总线高8位引脚
| rowspan="8" |LCD data bus high 8-bit pin
|-
|-
| align="center" |15
| align="center" |15
Line 153: Line 161:
| align="center" |22
| align="center" |22
| align="center" |SCS
| align="center" |SCS
|SD卡片选控制引脚(使用SD卡扩展功能时用到,本测试程序未用到)
|SD card selection control pin (used when using the SD card expansion function, this test program is not used)
|-
|-
| align="center" |23
| align="center" |23
| align="center" |BL
| align="center" |BL
|液晶屏背光控制引脚(高电平点亮)
|LCD backlight control pin(High level light)
|-
|-
| align="center" |24
| align="center" |24
| align="center" |VDD
| align="center" |VDD
| rowspan="2" |模块电源正极引脚(模块已集成稳压IC,所以电源可接5V也可以接3.3V)
| 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" |25
Line 168: Line 176:
| align="center" |26
| align="center" |26
| align="center" |GND
| align="center" |GND
| rowspan="2" |模块电源地引脚
| rowspan="2" |Module power ground pin
|-
|-
| align="center" |27
| align="center" |27
Line 175: Line 183:
| align="center" |28
| align="center" |28
| align="center" |V5
| align="center" |V5
|液晶屏背光电源正极引脚(默认共用板载背光电源,此引脚可不接)
|LCD backlight power positive pin (default shared onboard backlight power supply, this pin can not be connected)
|-
|-
| align="center" |29
| align="center" |29
| align="center" |MO
| align="center" |MO
|触摸屏SPI总线数据输入引脚
|Touch screen SPI bus data input pin
|-
|-
| align="center" |30
| align="center" |30
| align="center" |MI
| align="center" |MI
|触摸屏SPI总线数据输出引脚
|Touch screen SPI bus data output pin
|-
|-
| align="center" |31
| align="center" |31
| align="center" |PEN
| align="center" |PEN
|触摸屏中断检测引脚(发生触摸时为低电平)
|Touch screen interrupt detection pin(Low level when a touch occurs)
|-
|-
| align="center" |32
| align="center" |32
| align="center" |FCS
| align="center" |FCS
|Flash片选控制引脚(使用Flash扩展功能时用到,本测试程序未用到)
|Flash chip select control pin (used when using the Flash extension function, this test program is not used)
|-
|-
| align="center" |33
| align="center" |33
| align="center" |TCS
| align="center" |TCS
|触摸屏IC片选控制引脚(低电平使能)
|Touch screen IC chip select control pin(Low level enable)
|-
|-
| align="center" |34
| align="center" |34
| align="center" |CLK
| align="center" |CLK
|触摸屏SPI总线时钟控制引脚
|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:


[[file:MAR1801-004.png|550x550px]]
*'''Step 1: Download the test program'''


{| class="wikitable" border="1" style="width: 550px; background-color: white;"
# Download the STM32 test program from the [[#Program Download|'''Program Download''']] column
| align="center" |Number
# For a description of the relevant test procedures, please refer to the test program documentation in the package
| align="center" |Pin Label
 
| align="center" |Description
*'''Step 2: Connect the STM32 development board'''
|-
 
| align="center" |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),  
| align="center" |VCC
 
|LCD Power positive (3.3V~5V)
::and then plug them directly into the Slot
|-
 
| align="center" |2
*'''Step 3: Compile and download the program to the development board'''
| align="center" |GND
 
|LCD Power ground
# 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>])
|-
| align="center" |3
| align="center" |GND
|LCD Power ground
|-
| align="center" |4
| align="center" |NC
|Not defined, reserved
|-
| align="center" |5
| align="center" |NC
|Not defined, reserved
|-
| align="center" |6
| align="center" |NC
|Not defined, reserved
|-
| align="center" |7
| align="center" |CLK
|LCD SPI bus clock signal
|-
| align="center" |8
| align="center" |SDA
|LCD SPI bus write data signal
|-
| align="center" |9
| align="center" |RS
|LCD register / data selection signal,
high level: register, low level: data
|-
| align="center" |10
| align="center" |RST
|LCD reset signal, low level reset
|-
| align="center" |11
| align="center" |CS
|LCD chip select signal, low level enable
|-
|}


==<font color="blue">Product Documentation</font> ==
*'''Step 4: Observe the running of the program'''


* [http://www.lcdwiki.com/res/MAR1801/1.8inch_Arduino_SPI_Module_MAR1801_User_Manual_EN.pdf '''1.8 inch Arduino SPI Module User Manual''']
# After the program is finished, observe the running status of the program. If it can be displayed normally, the program runs successfully.
* [http://www.lcdwiki.com/images/d/dc/1.8_SPI_MAR1801_Size.PNG '''1.8 inch Arduino SPI Module Size Picture''']
* [http://www.lcdwiki.com/res/MAR1801/QDTFT1801_specification_v1.1.pdf '''1.8 inch TFT Specifications''']
* [http://www.lcdwiki.com/res/MAR1801/1.8inch_SPI_MAR1801_Schematic.pdf '''1.8 inch Arduino SPI Module Schematic''']
* [http://www.lcdwiki.com/res/MAR1801/ST7735S_V1.1_20111121.pdf '''Driver IC ST7735S Data sheet''']


==<font color="blue">Program Download</font> ==
==<font color="blue">Program Download</font> ==


# [https://yunpan.360.cn/surl_yHcxAQdsFmJ '''Demo_Arduino_Mega2560&UNO_Hardware_SPI''']
* [http://www.lcdwiki.com/res/Program/Parallel_Port/2.4inch/16BIT_ILI9341_MRB2408_V1.0/2.4inch_16BIT_Module_ILI9341_MRB2408_V1.0.zip '''2.4inch 16bit Parallel-Port Module package''']
# [https://yunpan.360.cn/surl_yHcxAGVcwSD '''Demo_Arduino_Mega2560&UNO_Software_SPI''']
 
# [https://yunpan.360.cn/surl_yHcxfLxIWtU '''Demo_C51_STC12C5A60S2_Hardware_SPI''']
==<font color="blue">Product Documentation</font> ==
# [https://yunpan.360.cn/surl_yHcxfNWkfi9 '''Demo_C51_STC12C5A60S2_Software_SPI''']
# [https://yunpan.360.cn/surl_yHcxy8MJEwu '''Demo_C51_STC89C52RC_Software_SPI''']
# [https://yunpan.360.cn/surl_yHcxKjbUAq3 '''Demo_STM32F103RCT6_Hardware_SPI''']
# [https://yunpan.360.cn/surl_yHcxKEt9W8f '''Demo_STM32F103RCT6_Software_SPI''']
# [https://yunpan.360.cn/surl_yHcxJyHBa9S '''Demo_STM32F103ZET6_Hardware_SPI''']
# [https://yunpan.360.cn/surl_yHcxJBkbUTk '''Demo_STM32F103ZET6_Software_SPI''']
# [https://yunpan.360.cn/surl_yHcxJNzgEyW '''Demo_STM32F407ZGT6_Hardware_SPI''']
# [https://yunpan.360.cn/surl_yHcxZSxhHFC '''Demo_STM32F407ZGT6_Software_SPI''']
# [https://yunpan.360.cn/surl_yHcxZNLT4Rn '''Demo_STM32F429IGT6_Hardware_SPI''']
# [https://yunpan.360.cn/surl_yHcxVMNApXa '''Demo_STM32F429IGT6_Software_SPI''']


* [https://yunpan.360.cn/surl_yHcxV7RUwir '''1.8 inch Arduino SPI Module Package(The above program is packaged with one click download)''']
* [http://www.lcdwiki.com/res/MRB2408/2.4inch_16BIT_Module_MRB2408_User_Manual_EN.pdf '''2.4inch 16bit Parallel-Port Module User Manual''']
* [http://www.lcdwiki.com/res/MRB2408/QD243701_specification_v1.1.pdf '''2.4inch TFTLCD Specification''']
* [http://www.lcdwiki.com/res/MRB2408/QDtech_2.4inch_MRB2408_Size.pdf '''2.4inch 16bit Parallel-Port Module Size Picture''']
* [http://www.lcdwiki.com/res/MRB2408/QDtech_2.4inch_MRB2408_Schematic_37Pin.pdf '''2.4inch 16bit Parallel-Port Module Schematic''']
* [http://www.lcdwiki.com/res/MRB2408/Package_library_AD6.9.zip '''2.4inch 16bit Parallel-Port Module LCD Schematic and PCB Package Library''']
* [http://www.lcdwiki.com/res/MRB2408/ME6206.pdf '''Voltage Regulator IC ME6206 Data sheet''']
* [http://www.lcdwiki.com/res/MRB2408/tsc2046.pdf '''touch screen control IC TSC2406 Data sheet''']
* [http://www.lcdwiki.com/res/MRB2408/ILI9341_Datasheet.pdf '''Driver IC ILI9341 Data sheet''']


==<font color="blue">Reference Materials</font> ==
==<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/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/STM32_Keil_Use_Illustration_EN.pdf '''STM32 keil software use illustration''']
Line 293: Line 256:
* [http://www.lcdwiki.com/res/PublicFile/Image2Lcd_Use_Illustration_EN.pdf '''Image2Lcd 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''']
* [http://www.lcdwiki.com/Chinese_and_English_display_modulo_settings '''Chinese and English display modulo settings''']
==<font color="blue">How to use on STM32 development board</font> ==
*'''Step 1: Download the test program'''
# Download the Arduino 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 Arduino development board'''
# Plug the module directly into the Arduino development board ([[#Connect to Arduino| <font color="red"> '''Do not plug in?'''</font>]])
# After the module is plugged in, power on the Arduino board
*'''Step 3: Copy the dependent library'''
# Make sure the Arduino IDE is installed on your computer (if it is not installed: [https://www.arduino.cc/en/Main/Software '''Arduino IDE download URL'''])
# After installing the Arduino IDE, you need to copy the dependent library to the Arduino project directory as follows:
::(1) Decompress the downloaded test package
::(2) Copy the dependent libraries in the <font color="red"> '''Install libraries'''</font> directory in the package (shown below) to the <font color="red">'''libraries'''</font> folder
:::of the Arduino project directory ([http://www.lcdwiki.com/res/PublicFile/Arduino_IDE_Use_Illustration_EN.pdf <font color="red"> '''Don't know the Arduino project directory?'''</font>])
::[[File:MAR1441-020.png|550px]]
*'''Step 4: Compile and download the program to the development board'''
# Open the sample in the Example directory of the package to test, compile and download([http://www.lcdwiki.com/res/PublicFile/Arduino_IDE_Use_Illustration_EN.pdf <font color="red"> '''Don't know how to compile and download?'''</font>])
*'''Step 5: Observe the running of the program'''
# After the program is downloaded, run it directly and observe the running status. If it can be displayed normally, the program runs
::successfully, as shown in the following figure (take the colligate_test test program as an example):
::[[File:MAR1801-009.jpg|150px]] [[File:MAR1801-010.jpg|150px]]


==<font color="blue">Common Software</font> ==
==<font color="blue">Common Software</font> ==

Latest revision as of 09:35, 15 September 2019

语言选择

Languages

➤中文
➤EN


Product Picture

Product Description

  • 2.4-inch color screen, support 16BIT RGB 65K color display, display rich colors
  • 240x320 resolution for clear display
  • Support 8-bit/16-bit parallel bus switching (the default is 16-bit), fast transfer speed
  • Supports ALIENTEK STM32 Mini, Elite, WarShip, Explorer, and Apollo development boards 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 MRB2408
Screen Size  2.4(inch)
Screen Type TFT
Driver IC ILI9341
Resolution 320*240 (Pixel)
Module Interface 8Bit or 16Bit parallel interface
Active Area  48.96*36.72(mm)
Touch Screen Type resistive touch screen
Touch IC XPT2046
Module PCB Size 44.25x76.00 (mm)
Operating Temperature -20℃~60℃
Storage Temperature -30℃~70℃
Operating Voltage 3.3V/5V
Power Consumption TBD
Rough Weight(Package containing) 35 (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 R1 with 0Ω resistor or short circuit directly, and disconnect R2: select 16-bit data bus mode (default), use D1~D8, D10~D17 data pins
Solder R2 with 0Ω resistor or short circuit directly, and disconnect R1: select 8-bit data bus mode, use D10~D17 data pins
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 D1 LCD data bus low 8-bit pin(When 8-bit parallel data bus mode is selected, the lower 8-bit data pins are not used)
7 D2
8 D3
9 D4
10 D5
11 D6
12 D7
13 D8
14 D10 LCD data bus high 8-bit pin
15 D11
16 D12
17 D13
18 D14
19 D15
20 D16
21 D17
22 SCS 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 V5 LCD backlight power positive pin (default shared onboard backlight power supply, this pin can not be connected)
29 MO Touch screen SPI bus data input pin
30 MI 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 TCS 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
  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