LCDWIKI 1.
8inch SPI Module Arduino Demo Instructions CR2018-MI2753
Test platform introduction:
Development board: Arduino UNO/MEGA2560
MCU:AVR_ATmega328P/AVR_ATmega2560(corresponding to the development
board in order)
Wiring instructions:
Pin silkscreen picture
Arduino UNO microcontroller test program wiring instructions
Corresponding to
Number Module Pin UNO development Remarks
board wiring pins
Backlight control pin (if no control is
1 LED A0
required, connect directly to 3.3V)
2 SCK 13 SPI bus clock pin
3 SDA 11 SPI bus data pin
4 A0 A3 LCD data / command selection control pin
5 RESET A4 LCD reset control pin
www.lcdwiki.com 1/3 Rev1.0
LCDWIKI 1.8inch SPI Module Arduino Demo Instructions CR2018-MI2753
6 CS A5 LCD chip select control pin
7 GND GND Power ground pin
8 VCC 5V/3.3V Power positive
Arduino MEGA2560 microcontroller test program wiring instructions
Corresponding to
MEGA2560
Number Module Pin Remarks
development board
wiring pins
Backlight control pin (if no control is
1 LED A0
required, connect directly to 3.3V)
2 SCK 52 SPI bus clock pin
3 SDA 51 SPI bus data pin
4 A0 A3 LCD data / command selection control pin
5 RESET A4 LCD reset control pin
6 CS A5 LCD chip select control pin
7 GND GND Power ground pin
8 VCC 5V/3.3V Power positive
Demo function description:
1. This set of test program procedures is applicable to UNO and Mega2560 platforms;
2. This set of test programs uses the SPI bus to transfer data, including software spi
and hardware spi functions;
3. Please select the corresponding test program and development board to follow the
above wiring instructions for wiring;
4. The version of the Arduino IDE used in this test program is 1.8.5. Please use the
same or higher version for testing.
5. This set of test programs depends on the LCDWIKI library. Before compiling, you
need to copy the LCDWIKI library in the Install libraries directory of the test package
to the libraries folder of the Arduino project directory (the default Arduino project
www.lcdwiki.com 2/3 Rev1.0
LCDWIKI 1.8inch SPI Module Arduino Demo Instructions CR2018-MI2753
directory is C:\Users\Administrator\ Documents\Arduino\libraries);
6. This set of test procedures contains the following test items:
A. Example_01_clear_screen is a simple brush screen test, the screen is cycled in
black, white, red, green and blue colors;
B. Example_02_colligate_test is a comprehensive test, showing graphics, lines and
statistics program running time;
C. Example_03_display_string is a text display test, showing Chinese and English in
different sizes;
D. Example_04_display_graph is a graphical display test, showing various graphics;
E. Example_05_display_scroll is a scroll test, showing text scrolling;
www.lcdwiki.com 3/3 Rev1.0