Difference between revisions of "3.2inch Arduino Display-Mega2560"

From LCD wiki
Jump to: navigation, search
(Interface Definition)
(Program Download)
(9 intermediate revisions by the same user not shown)
Line 78: Line 78:
  
 
==<font color="blue">Interface Definition</font> ==
 
==<font color="blue">Interface Definition</font> ==
[[file:3.2-2560_MAR3201_Module_PinMap.jpg|578x578px|left]]
+
[[file:3.2-2560_MAR3201_Module_PinMap.jpg|500x500px|left]]
  
{| class="wikitable" border="1" style="width: 580px; background-color: white;"
+
{| class="wikitable" border="1" style="width: 650px; background-color: white;"
! align="center" |序号
+
! align="center" |Number
! align="center" |模块引脚
+
! align="center" |Module Pin
! align="center" |引脚说明
+
! align="center" |Pin Description
! align="center" |序号
+
! align="center" |Number
! align="center" |模块引脚
+
! align="center" |Module Pin
! align="center" |引脚说明
+
! align="center" |Pin Description
 
|-
 
|-
 
| align="center" |1
 
| align="center" |1
 
| align="center" |5V
 
| align="center" |5V
|电源正极
+
|Positive power supply
 
| align="center" |2
 
| align="center" |2
 
| align="center" |5V
 
| align="center" |5V
|电源正极
+
|Positive power supply
 
|-
 
|-
 
| align="center" |3
 
| align="center" |3
 
| align="center" |DB8
 
| align="center" |DB8
|数据总线第8位
+
|8th bit of data bus
 
| align="center" |4
 
| align="center" |4
 
| align="center" |DB9
 
| align="center" |DB9
|数据总线第9位
+
|9th bit of data bus
 
|-
 
|-
 
| align="center" |5
 
| align="center" |5
 
| align="center" |DB10
 
| align="center" |DB10
|数据总线第10位
+
|10th bit of data bus
 
| align="center" |6
 
| align="center" |6
 
| align="center" |DB11
 
| align="center" |DB11
|数据总线第11位
+
|11th bit of data bus
 
|-
 
|-
 
| align="center" |7
 
| align="center" |7
 
| align="center" |DB12
 
| align="center" |DB12
|数据总线第12位
+
|12th bit of data bus
 
| align="center" |8
 
| align="center" |8
 
| align="center" |DB13
 
| align="center" |DB13
|数据总线第13位
+
|13th bit of data bus
 
|-
 
|-
 
| align="center" |9
 
| align="center" |9
 
| align="center" |DB14
 
| align="center" |DB14
|数据总线第14位
+
|14th bit of data bus
 
| align="center" |10
 
| align="center" |10
 
| align="center" |DB15
 
| align="center" |DB15
|数据总线第15位
+
|15th bit of data bus
 
|-
 
|-
 
| align="center" |11
 
| align="center" |11
 
| align="center" |DB7
 
| align="center" |DB7
|数据总线第7位
+
|7th bit of data bus
 
| align="center" |12
 
| align="center" |12
 
| align="center" |DB6
 
| align="center" |DB6
|数据总线第6位
+
|6th bit of data bus
 
|-
 
|-
 
| align="center" |13
 
| align="center" |13
 
| align="center" |DB5
 
| align="center" |DB5
|数据总线第5位
+
|5th bit of data bus
 
| align="center" |14
 
| align="center" |14
 
| align="center" |DB4
 
| align="center" |DB4
|数据总线第4位
+
|4th bit of data bus
 
|-
 
|-
 
| align="center" |15
 
| align="center" |15
 
| align="center" |DB3
 
| align="center" |DB3
|数据总线第3位
+
|third bit of data bus
 
| align="center" |16
 
| align="center" |16
 
| align="center" |DB2
 
| align="center" |DB2
|数据总线第2位
+
|2nd bit of data bus
 
|-
 
|-
 
| align="center" |17
 
| align="center" |17
 
| align="center" |DB1
 
| align="center" |DB1
|数据总线第1位
+
|1st bit of data bus
 
| align="center" |18
 
| align="center" |18
 
| align="center" |DB0
 
| align="center" |DB0
|数据总线第0位
+
|0 bit of data bus
 
|-
 
|-
 
| align="center" |19
 
| align="center" |19
 
| align="center" |LCD_RS
 
| align="center" |LCD_RS
|液晶屏寄存器/数据选择信号
+
|LCD register / data selection signal
低电平:寄存器,高电平:命令
+
Low level: register, high level: command
 
| align="center" |20
 
| align="center" |20
 
| align="center" |LCD_WR
 
| align="center" |LCD_WR
|液晶屏写控制信号
+
|LCD write control signal
 
|-
 
|-
 
| align="center" |21
 
| align="center" |21
 
| align="center" |LCD_CS
 
| align="center" |LCD_CS
|液晶屏片选控制信号,低电平使能
+
|LCD screen select control signal, low level enable
 
| align="center" |22
 
| align="center" |22
 
| align="center" |LCD_RST
 
| align="center" |LCD_RST
|液晶屏复位控制信号,低电平复位
+
|LCD reset control signal, low reset
 
|-
 
|-
 
| align="center" |23
 
| align="center" |23
 
| align="center" |NC
 
| align="center" |NC
|无定义,保留
+
|Undefined, reserved
 
| align="center" |24
 
| align="center" |24
 
| align="center" |NC
 
| align="center" |NC
|无定义,保留
+
|Undefined, reserved
 
|-
 
|-
 
| align="center" |25
 
| align="center" |25
 
| align="center" |NC
 
| align="center" |NC
|无定义,保留
+
|Undefined, reserved
 
| align="center" |26
 
| align="center" |26
 
| align="center" |FLASH_CS
 
| align="center" |FLASH_CS
|SPI flash片选控制信号
+
|SPI flash chip select control signal
 
|-
 
|-
 
| align="center" |27
 
| align="center" |27
 
| align="center" |NC
 
| align="center" |NC
|无定义,保留
+
|Undefined, reserved
 
| align="center" |28
 
| align="center" |28
 
| align="center" |NC
 
| align="center" |NC
|无定义,保留
+
|Undefined, reserved
 
|-
 
|-
 
| align="center" |29
 
| align="center" |29
 
| align="center" |NC
 
| align="center" |NC
|无定义,保留
+
|Undefined, reserved
 
| align="center" |30
 
| align="center" |30
 
| align="center" |NC
 
| align="center" |NC
|无定义,保留
+
|Undefined, reserved
 
|-
 
|-
 
| align="center" |31
 
| align="center" |31
 
| align="center" |SPI_MISO
 
| align="center" |SPI_MISO
|SPI总线输入信号
+
|SPI bus input signal
 
| align="center" |32
 
| align="center" |32
 
| align="center" |SPI_MOSI
 
| align="center" |SPI_MOSI
|SPI总线输出信号
+
|SPI bus output signal
 
|-
 
|-
 
| align="center" |33
 
| align="center" |33
 
| align="center" |SPI_CLK
 
| align="center" |SPI_CLK
|SPI总线时钟信号
+
|SPI bus clock signal
 
| align="center" |34
 
| align="center" |34
 
| align="center" |SD_CS
 
| align="center" |SD_CS
|SD卡片选控制信号,低电平使能
+
|SD card select control signal, low level enable
 
|-
 
|-
 
| align="center" |35
 
| align="center" |35
 
| align="center" |GND
 
| align="center" |GND
|电源地
+
|Power ground
 
| align="center" |36
 
| align="center" |36
 
| align="center" |GND
 
| align="center" |GND
|电源地
+
|Power ground
 
|}
 
|}
  
 
==<font color="blue">Product Documentation</font> ==
 
==<font color="blue">Product Documentation</font> ==
  
* [http://www.lcdwiki.com/res/MAR2406/2.4inch_Arduino_8BIT_Module_MAR2406_User_Manual_EN.pdf '''2.4 inch Arduino UNO Module User Manual''']
+
* [http://www.lcdwiki.com/res/MAR3201/3.2inch_Arduino_16BIT_Module_MAR3201_User_Manual_EN.pdf '''3.2 inch Arduino Mega2560 Module User Manual''']
* [http://www.lcdwiki.com/images/6/6f/2.4-UNO-size.jpg '''2.4 inch Arduino UNO Module Size Picture''']
+
* [http://www.lcdwiki.com/images/2/28/3.2-2560_MAR3201_Module_Size.jpg '''3.2 inch Arduino Mega2560 Module Size Picture''']
* [http://www.lcdwiki.com/res/MAR2406/QD243701%20specification_v1.1.pdf '''2.4 inch TFT Specifications''']
+
* [http://www.lcdwiki.com/res/MAR3201/ILI9481_Datasheet.pdf '''Driver IC ILI9481 Data sheet''']
* [http://www.lcdwiki.com/res/MAR2406/ILI9341_Datasheet.pdf '''Driver IC ILI9341 Data sheet''']
 
  
 
==<font color="blue">Connect to Arduino</font> ==
 
==<font color="blue">Connect to Arduino</font> ==
Line 227: Line 226:
 
{| class="FCK__ShowTableBorders" align="left"
 
{| class="FCK__ShowTableBorders" align="left"
 
|-
 
|-
![[file:MAR2406-004.jpg|无框|400x400px]]
+
![[file:MAR3201-010.jpg|无框|400x400px]]
![[file:MAR2406-003.jpg|无框|400x400px]]
 
 
|-
 
|-
| align="center" | '''Arduino UNO direct insertion picture'''
 
 
| align="center" | '''Arduino Mega2560 direct insertion picture'''
 
| align="center" | '''Arduino Mega2560 direct insertion picture'''
 
|}
 
|}
Line 255: Line 252:
 
::(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  
 
::(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>])
 
:::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:MAR2406-005.jpg|500px]]
+
::[[File:MAR3201-011.jpg|500px]]
  
 
*'''Step 4: Compile and download the program to the development board'''
 
*'''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"> '''Will not compile and download?'''</font>])
+
# 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'''
 
*'''Step 5: Observe the running of the program'''
Line 267: Line 264:
 
::successfully, as shown in the following figure (take the colligate_test test program as an example):
 
::successfully, as shown in the following figure (take the colligate_test test program as an example):
  
::[[File:MAR2406-001.jpg|150px]] [[File:MAR2406-002.jpg|150px]]
+
::[[File:MAR3201-002.jpg|150px]] [[File:MAR3201-007.jpg|150px]]
  
 
==<font color="blue">Program Download</font> ==
 
==<font color="blue">Program Download</font> ==
  
# [https://yunpan.360.cn/surl_ymIbLShdqu7 '''Demo_Arduino_8BIT''']
+
# [https://yunpan.360.cn/surl_ymbNFn88Bxr '''Demo_Arduino_Mega2560_16BIT''']
# [https://yunpan.360.cn/surl_ymIC9zbMDD2 '''Demo_STC12C5A60S2_8BIT''']
+
# [https://yunpan.360.cn/surl_ymbNxWRPaLf '''Demo_C51_STC12C5A60S2_16BIT''']
# [https://yunpan.360.cn/surl_ymICzKxnsnQ '''Demo_STM32F103RCT6_8BIT''']
+
# [https://yunpan.360.cn/surl_ymbNY55y7nU '''Demo_C51_STC89C52RC_16BIT''']
# [https://yunpan.360.cn/surl_ymICpjIDEJc '''Demo_STM32F103ZET6_8BIT''']
+
# [https://yunpan.360.cn/surl_ymbNPmAYR3B '''Demo_STM32F103RCT6_16BIT''']
# [https://yunpan.360.cn/surl_ymIC4JfmLR7 '''Demo_STM32F407ZGT6_8BIT''']
+
# [https://yunpan.360.cn/surl_ymbNS79rDgP '''Demo_STM32F103ZET6_16BIT''']
# [https://yunpan.360.cn/surl_ymIC4T89TDj '''Demo_STM32F429IGT6_8BIT''']
+
# [https://yunpan.360.cn/surl_ymbNBPQHW2d '''Demo_STM32F407ZGT6_16BIT''']
 +
# [https://yunpan.360.cn/surl_ymbN63X7vTr '''Demo_STM32F429IGT6_16BIT''']
  
* [https://yunpan.360.cn/surl_ymICNUCtuMX '''2.4 inch Arduino UNO module package(The above program is packaged with one click download)''']
+
* [https://yunpan.360.cn/surl_ymbNM3cizLP '''3.2 inch Arduino Mega2560 module package(The above program is packaged with one click download)''']
  
 
==<font color="blue">Reference Materials</font> ==
 
==<font color="blue">Reference Materials</font> ==

Revision as of 17:28, 27 November 2018


语言选择

Languages

➤中文
➤EN



Product Video

Product Picture

3.2-2560-03-2.jpg 3.2-2560-02.jpg

Product Description

  • 3.2-inch color screen, support 65K color display, display rich colors
  • 320x480 HD resolution for clear display
  • Fast transmission with 16-bit parallel bus
  • On-board 5V/3.3V level shifting IC, compatible with 5V/3.3V operating voltage
  • Support Arduino Mage2560 direct plug-in use
  • Provides an Arduino library with a rich sample program
  • Easy to expand the experiment with SD card slot
  • Military-grade process standards, long-term stable work
  • Provide underlying driver technical support

Product Parameters

Name Parameter
Display Color RGB 65K color
SKU MAR3201
Screen Size  3.2(inch)
Type TFT
Driver IC ILI9481
Resolution 480*320 (Pixel)
Module Interface 16-bit parallel interface
Active Area  45.12x67.68 (mm)
Module PCB Size 54.25x89.92 (mm)
back light 6 chip HighLight white LEDs
Operating Temperature -20℃~70℃
Storage Temperature -40℃~70℃
Operating Voltage 5V/3.3V
Power Consumption TBD
Product Weight About 45(g)

Interface Definition

3.2-2560 MAR3201 Module PinMap.jpg
Number Module Pin Pin Description Number Module Pin Pin Description
1 5V Positive power supply 2 5V Positive power supply
3 DB8 8th bit of data bus 4 DB9 9th bit of data bus
5 DB10 10th bit of data bus 6 DB11 11th bit of data bus
7 DB12 12th bit of data bus 8 DB13 13th bit of data bus
9 DB14 14th bit of data bus 10 DB15 15th bit of data bus
11 DB7 7th bit of data bus 12 DB6 6th bit of data bus
13 DB5 5th bit of data bus 14 DB4 4th bit of data bus
15 DB3 third bit of data bus 16 DB2 2nd bit of data bus
17 DB1 1st bit of data bus 18 DB0 0 bit of data bus
19 LCD_RS LCD register / data selection signal

Low level: register, high level: command

20 LCD_WR LCD write control signal
21 LCD_CS LCD screen select control signal, low level enable 22 LCD_RST LCD reset control signal, low reset
23 NC Undefined, reserved 24 NC Undefined, reserved
25 NC Undefined, reserved 26 FLASH_CS SPI flash chip select control signal
27 NC Undefined, reserved 28 NC Undefined, reserved
29 NC Undefined, reserved 30 NC Undefined, reserved
31 SPI_MISO SPI bus input signal 32 SPI_MOSI SPI bus output signal
33 SPI_CLK SPI bus clock signal 34 SD_CS SD card select control signal, low level enable
35 GND Power ground 36 GND Power ground

Product Documentation

Connect to Arduino

无框
Arduino Mega2560 direct insertion picture


How to use on Arduino

  • Step 1: Download the test program
  1. Download the Arduino 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 Arduino development board
  1. Plug the module directly into the Arduino development board ( Do not plug in?)
  2. After the module is plugged in, power on the Arduino board
  • Step 3: Copy the dependent library
  1. Make sure the Arduino IDE is installed on your computer (if it is not installed: Arduino IDE download URL)
  2. 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 Install libraries directory in the package (shown below) to the libraries folder
of the Arduino project directory ( Don't know the Arduino project directory?
MAR3201-011.jpg
  • Step 4: Compile and download the program to the development board
  1. Open the sample in the Example directory of the package to test, compile and download( Don't know how to compile and download?
  • Step 5: Observe the running of the program
  1. 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):
MAR3201-002.jpg MAR3201-007.jpg

Program Download

  1. Demo_Arduino_Mega2560_16BIT
  2. Demo_C51_STC12C5A60S2_16BIT
  3. Demo_C51_STC89C52RC_16BIT
  4. Demo_STM32F103RCT6_16BIT
  5. Demo_STM32F103ZET6_16BIT
  6. Demo_STM32F407ZGT6_16BIT
  7. Demo_STM32F429IGT6_16BIT

Reference Materials

Common Software

BACK TO TOP