Difference between revisions of "Template:2.4inch LCD for arduino use"

From Waveshare Wiki
Jump to: navigation, search
(Created page with "The examples are all tested with Arduino UNO and the instruction are based on Arduino, if you use other types, please change the connection according to the actual boards.<br...")
 
Line 6: Line 6:
 
|LCD||UNO  
 
|LCD||UNO  
 
|-
 
|-
|VCC||3.3V
+
|VCC||5V
 
|-
 
|-
 
|GND||GND
 
|GND||GND

Revision as of 02:34, 8 January 2022

The examples are all tested with Arduino UNO and the instruction are based on Arduino, if you use other types, please change the connection according to the actual boards.

Hardware Connection

Connecte to Arduino UNO
LCD UNO
VCC 5V
GND GND
DIN D11
CLK D13
CS D10
DC D7
RST D8
BL D9

2.4inch LCD Module 003.jpg

Run the dem ocodes

Download the demo codes and unzip it. The Arduino project is located in ~/Arduino/…
LCD arduino cede1.png

Run the project according to the actual display type
LCD arduino cede2.png
For examples: 1.54inch LCD Module. Enter the LCD_1inch54 directory and run the LCD_1inch54.ino file
Run the project and choose Arduino UNO as Board
LCD arduino cede3.png
Select the COM Port according to your Device Manager
LCD arduino cede4.png
Compile and download it to your board
LCD arduino cede5.png