How To Use I2C Serial LCD 20X4 (Yellow Backlight) - Instructables
Maybe your like
Introduction: How to Use I2C Serial LCD 20X4 (Yellow Backlight)
By myboticMyboticFollowMore by the author:


DescriptionNow, with only 3 pins from microcontroller, you can display message on this LCD. Compared to parallel LCD which required at least 6 pins of I/O, this LCD offer more cost effective solution. The LCD display is four lines by 20 characters and provides basic text wrapping so that your text looks right on the display.
Feature:
- 5V powered 4 x 20
- SPI communication
- Minimum 3 Pins interface to microcontroller
- Compatible with all types of microcontrollers
- Suitable for hobbyists and experts
- Back light and contrast control is available
- Size: 99mm x 60mm x 10mm
Step 1: MATERIAL PREPARATION
In this tutorial,the things you needed as below:
1. I2C Serial LCD 20X4 (Yellow Backlight)
2.4 Male-to-Female Jumper Wires
3.Arduino Uno Board and USB
Step 2: PIN DETAIL
You could see the pinout labeled at the back of the module. It has 4 pins that is VCC, GND,SDA and SCL.
Step 3: Pin Connection
Connect I2C Serial LCD Module to Arduino UNO as following :
- VCC to 5V
- GND to GND
- SDA to A4
- SCL to A5
Then, Connect your Arduino UNO Board to your computer via USB Cable.
Step 4: LIBRARY
For this tutorial,it is necessary to download and install the "LiquidCrystal_I2C" library.LiquidCrystal_I2C is a library of Arduino which enables serial LCD 20x4 connect with Arduino.To be able to interface the serial LCD with arduino, you will have to download this library and save it into your Arduino's libraries. Download the LiquidCrystal_I2C file below >Go to document >Save the file into your Arduino Uno Library folder. Refer the image above for your references.
Attachments
LiquidCrystal_I2C.rarDownload
Step 5: SAMPLE SOURCE CODE
To get the result, please download the sample source code which is attached below and upload it into your Arduino. In this tutorial, the Arduino UNO is being used.
Attachments
I2C_Hello_World.inoDownload
Step 6: RESULT
The LCD will display the text.
Tag » Arduino I2c Lcd 2004 Example
-
Character I2C LCD With Arduino Tutorial (8 Examples)
-
Library And Arduino Code For LCD2004 Display With I2C - Robojax
-
Introduction To LCD2004 LCD Display With I2C Module For Arduino
-
Example Of 20x4 LCD With I2C That Works? - Displays - Arduino Forum
-
How To Use A 20x4 I2C Character LCD Display With Arduino
-
LCD 2004 (20x4) I2C Library - Displays - Arduino Forum
-
[SOLVED] I2C MH + LCD 2004A + Arduino Uno Display Issues ...
-
LCD I2C | Arduino Tutorial
-
I2C LCD On Arduino - Stunningly Easily Setup And Control
-
In-Depth: Interfacing An I2C LCD With Arduino
-
I2C LCD With ESP32 On Arduino IDE - ESP8266 Compatible
-
Using A 20x4 I2C Character LCD Display With Arduino Uno
-
Hiển Thị Thời Gian Thực Lên LCD 20x4 I2C Dùng Arduino
