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

From LCD wiki
Jump to: navigation, search
(Product Picture)
(Program Download)
(14 intermediate revisions by the same user not shown)
Line 16: Line 16:
 
==<font color="blue">Product Description</font> ==
 
==<font color="blue">Product Description</font> ==
  
* Supports development boards such as Arduino UNO and Mega2560 for plug-in use without wiring
+
* 3.2-inch color screen, support 65K color display, display rich colors
* 320X240 resolution, clear display, support for touch function
+
* 320x480 HD resolution for clear display
* Support 16-bit RGB 65K color display, display rich colors
+
* Fast transmission with 16-bit parallel bus
* 8-bit parallel bus, faster than serial SPI refresh
 
 
* On-board 5V/3.3V level shifting IC, compatible with 5V/3.3V operating voltage
 
* 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
 
* Easy to expand the experiment with SD card slot
* Provides an Arduino library with a rich sample program
 
 
* Military-grade process standards, long-term stable work
 
* Military-grade process standards, long-term stable work
 
* Provide underlying driver technical support
 
* Provide underlying driver technical support
Line 35: Line 35:
 
|-
 
|-
 
| align="center" |SKU
 
| align="center" |SKU
| align="center" |MAR2406
+
| align="center" |MAR3201
 
|-
 
|-
 
| align="center" |Screen Size 
 
| align="center" |Screen Size 
| align="center" |2.4(inch)
+
| align="center" |3.2(inch)
 
|-
 
|-
 
| align="center" |Type
 
| align="center" |Type
Line 44: Line 44:
 
|-
 
|-
 
| align="center" |Driver IC
 
| align="center" |Driver IC
| align="center" |ILI9341
+
| align="center" |ILI9481
 
|-
 
|-
 
| align="center" |Resolution
 
| align="center" |Resolution
| align="center" |320*240 (Pixel)
+
| align="center" |480*320 (Pixel)
 
|-
 
|-
 
| align="center" |Module Interface
 
| align="center" |Module Interface
| align="center" |8-bit parallel interface
+
| align="center" |16-bit parallel interface
 
|-
 
|-
 
| align="center" |Active Area 
 
| align="center" |Active Area 
| align="center" |48.96*36.72(mm)
+
| align="center" |45.12x67.68 (mm)
 
|-
 
|-
 
| align="center" |Module PCB Size
 
| align="center" |Module PCB Size
| align="center" |72.20*52.7(mm)
+
| align="center" |54.25x89.92 (mm)
 +
|-
 +
| align="center" |back light
 +
| align="center" |6 chip HighLight white LEDs
 
|-
 
|-
 
| align="center" |Operating Temperature  
 
| align="center" |Operating Temperature  
Line 68: Line 71:
 
|-
 
|-
 
| align="center" |Power Consumption
 
| align="center" |Power Consumption
| align="center" |About 90mw
+
| align="center" |TBD
 
|-
 
|-
 
| align="center" |Product Weight
 
| align="center" |Product Weight
| align="center" |About 25(g)
+
| align="center" |About 45(g)
 
|}
 
|}
  
 
==<font color="blue">Interface Definition</font> ==
 
==<font color="blue">Interface Definition</font> ==
[[file:MAR2406-007.png|left|500x500px]]
+
[[file:3.2-2560_MAR3201_Module_PinMap.jpg|500x500px|left]]
{| class="wikitable" border="1" style="width: 550px; background-color: white;"
+
 
|-
+
{| class="wikitable" border="1" style="width: 650px; background-color: white;"
| align="center" |Number
+
! align="center" |Number
| align="center" |Pin Label
+
! align="center" |Module Pin
| align="center" |Pin Description
+
! align="center" |Pin Description
 +
! align="center" |Number
 +
! align="center" |Module Pin
 +
! align="center" |Pin Description
 
|-
 
|-
 
| align="center" |1
 
| align="center" |1
| align="center" |LCD_RST
+
| align="center" |5V
|LCD bus reset signal, low level reset
+
|Positive power supply
|-
 
 
| align="center" |2
 
| align="center" |2
| align="center" |LCD_CS
+
| align="center" |5V
|LCD bus chip select signal, low level enable
+
|Positive power supply
|-
 
| align="center" |3
 
| align="center" |LCD_RS
 
|LCD bus command / data selection signal,
 
low level: command, high level: data
 
 
|-
 
|-
 +
| align="center" |3
 +
| align="center" |DB8
 +
|8th bit of data bus
 
| align="center" |4
 
| align="center" |4
| align="center" |LCD_WR
+
| align="center" |DB9
|LCD bus write signal
+
|9th bit of data bus
 
|-
 
|-
 
| align="center" |5
 
| align="center" |5
| align="center" |LCD_RD
+
| align="center" |DB10
|LCD bus read signal
+
|10th bit of data bus
|-
 
 
| align="center" |6
 
| align="center" |6
| align="center" |GND
+
| align="center" |DB11
|Power ground
+
|11th bit of data bus
 
|-
 
|-
 
| align="center" |7
 
| align="center" |7
| align="center" |5V
+
| align="center" |DB12
|5V power input
+
|12th bit of data bus
|-
 
 
| align="center" |8
 
| align="center" |8
| align="center" |3V3
+
| align="center" |DB13
|3.3V power input, this pin can be disconnected
+
|13th bit of data bus
 
|-
 
|-
 
| align="center" |9
 
| align="center" |9
| align="center" |LCD_D0
+
| align="center" |DB14
|LCD 8-bit data Bit0
+
|14th bit of data bus
|-
 
 
| align="center" |10
 
| align="center" |10
| align="center" |LCD_D1
+
| align="center" |DB15
|LCD 8-bit data Bit1
+
|15th bit of data bus
 
|-
 
|-
 
| align="center" |11
 
| align="center" |11
| align="center" |LCD_D2
+
| align="center" |DB7
|LCD 8-bit data Bit2
+
|7th bit of data bus
|-
 
 
| align="center" |12
 
| align="center" |12
| align="center" |LCD_D3
+
| align="center" |DB6
|LCD 8-bit data Bit3
+
|6th bit of data bus
 
|-
 
|-
 
| align="center" |13
 
| align="center" |13
| align="center" |LCD_D4
+
| align="center" |DB5
|LCD 8-bit data Bit4
+
|5th bit of data bus
|-
 
 
| align="center" |14
 
| align="center" |14
| align="center" |LCD_D5
+
| align="center" |DB4
|LCD 8-bit data Bit5
+
|4th bit of data bus
 
|-
 
|-
 
| align="center" |15
 
| align="center" |15
| align="center" |LCD_D6
+
| align="center" |DB3
|LCD 8-bit data Bit6
+
|third bit of data bus
|-
 
 
| align="center" |16
 
| align="center" |16
| align="center" |LCD_D7
+
| align="center" |DB2
|LCD 8-bit data Bit7
+
|2nd bit of data bus
 
|-
 
|-
 
| align="center" |17
 
| align="center" |17
| align="center" |SD_SS
+
| align="center" |DB1
|SD card SPI bus chip select signal, low level enable
+
|1st bit of data bus
|-
 
 
| align="center" |18
 
| align="center" |18
| align="center" |SD_DI
+
| align="center" |DB0
|SD card SPI bus MOSI signal
+
|0 bit of data bus
 
|-
 
|-
 
| align="center" |19
 
| align="center" |19
| align="center" |SD_DO
+
| align="center" |LCD_RS
|SD card SPI bus MISO signal
+
|LCD register / data selection signal
 +
Low level: register, high level: command
 +
| align="center" |20
 +
| align="center" |LCD_WR
 +
|LCD write control signal
 
|-
 
|-
| align="center" |20
+
| align="center" |21
| align="center" |SD_SCK
+
| align="center" |LCD_CS
|SD card SPI bus clock signal
+
|LCD screen select control signal, low level enable
 +
| align="center" |22
 +
| align="center" |LCD_RST
 +
|LCD reset control signal, low reset
 +
|-
 +
| align="center" |23
 +
| align="center" |NC
 +
|Undefined, reserved
 +
| align="center" |24
 +
| align="center" |NC
 +
|Undefined, reserved
 +
|-
 +
| align="center" |25
 +
| align="center" |NC
 +
|Undefined, reserved
 +
| align="center" |26
 +
| align="center" |FLASH_CS
 +
|SPI flash chip select control signal
 +
|-
 +
| align="center" |27
 +
| align="center" |NC
 +
|Undefined, reserved
 +
| align="center" |28
 +
| align="center" |NC
 +
|Undefined, reserved
 +
|-
 +
| align="center" |29
 +
| align="center" |NC
 +
|Undefined, reserved
 +
| align="center" |30
 +
| align="center" |NC
 +
|Undefined, reserved
 +
|-
 +
| align="center" |31
 +
| align="center" |SPI_MISO
 +
|SPI bus input signal
 +
| align="center" |32
 +
| align="center" |SPI_MOSI
 +
|SPI bus output signal
 +
|-
 +
| align="center" |33
 +
| align="center" |SPI_CLK
 +
|SPI bus clock signal
 +
| align="center" |34
 +
| align="center" |SD_CS
 +
|SD card select control signal, low level enable
 +
|-
 +
| align="center" |35
 +
| align="center" |GND
 +
|Power ground
 +
| align="center" |36
 +
| 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 175: 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 184: Line 233:
  
 
==<font color="blue">How to use on Arduino</font> ==
 
==<font color="blue">How to use on Arduino</font> ==
 +
 
*'''Step 1: Download the test program'''
 
*'''Step 1: Download the test program'''
  
Line 202: 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'''
  
 
# After the program is downloaded, run it directly and observe the running status. If it can be displayed normally, the program runs  
 
# 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):
 
::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