Difference between revisions of "Template:LCD1602 RGB Module Guides for Arduino"

From Waveshare Wiki
Jump to: navigation, search
Line 1: Line 1:
==Hardware connection==
+
===Hardware connection===
 
{|border=1; style="width:700px;text-align:center" align="center"
 
{|border=1; style="width:700px;text-align:center" align="center"
 
|-style="background:green; color:white;" align="center"
 
|-style="background:green; color:white;" align="center"
Line 17: Line 17:
 
</div>
 
</div>
  
==Library file loading for Arduino==
+
===Library file loading for Arduino===
 
*Download the demo from the Resources, there is a Waveshare-LCD1602-RGB-master.zip library file in the Arduino folder.<br/>
 
*Download the demo from the Resources, there is a Waveshare-LCD1602-RGB-master.zip library file in the Arduino folder.<br/>
 
[[File:LCD1602_RGB_Module008.png|500px]]
 
[[File:LCD1602_RGB_Module008.png|500px]]

Revision as of 03:24, 8 May 2023

Hardware connection

LCD PIN Arduino
VCC 3.3V
GND GND
SDA SDA
SCL SCL

The hardware connection as below:

LCD1602 RGB Module003.jpg

Library file loading for Arduino

  • Download the demo from the Resources, there is a Waveshare-LCD1602-RGB-master.zip library file in the Arduino folder.

LCD1602 RGB Module008.png

  • There are two methods to load the library:

Method 1: Unzip the entire .zip package to the libraries folder of the Arduino IDE.

LCD1602 RGB Module009.png

Method 2: Add this .zip package directly to the Arduino IDE.
Open the Arduino IDE->Choose 'Sketch' in the taskbar->Choose 'Include Library'->Add .ZIP library.
Find Waveshare-LCD1602-RGB-mater.zip on demo folder and click to open it.