Dear friends welcome to another Arduino Tutorial! Today we are going to learn how to use this 20×4 character LCD display with Arduino. There is a lot to cover so let’s get started!

Hello guys, I am Nick and welcome to a channel that is all about DIY electronics projects with Arduino, Raspberry Pi, ESP8266 and other popular boards. Subscribe to the channel now if you don’t want to miss any future videos. In this video we are going learn how to use this inexpensive character LCD display with Arduino. After we learn how to use the display we are going to build something useful. A simple real time clock. Let’s start.

I discovered this display some time ago on It drew my attention because it inexpensive, it costs around 7$, it is big, and it uses the I2C interface. Since it uses the I2C interface it is extremely easy to use with Arduino. We only need to connect two wires. I needed a big, easy to connect display for prototyping some projects and the only display that was using the I2C interface was this tiny OLED display. Now we have a big I2C display to use in our projects! Great!


Arduino Uno:

20×4 LCD:

DS3231 RTC:

Small Breadboard:

Jumper Wires:


Power Bank:

Full disclosure: All of the links above are affiliate links. I get a small percentage of each sale they generate. Thank you for your support!

As we said before we only need to connect 4 wires. I connect GND to Arduino GND, Vcc to Arduino 5V, SDA pin to Analog Pin 4 on the Arduino Uno and lastly SCL pin to Analog Pin 5 of the Arduino Uno. That’s it! Our display is ready to use.

We now need to download the library for the display. I am using the NewLiquidCrystal library. You can find a link for the library in the description below. After installing the library we are ready to write our first sketch. We are going to develop a simple sketch that is going to display some text on the display. Let’s see how to achieve that.


New LiquidCrystal:

DS1307 Library:

As you can see the code of this first project is very simple. All we need to do is to include 2 libraries, and set the I2C address of the display here. Now we can initialize the display, we set the cursor to the desired position and print some text. The setCursor command works like this. The first argument is the column and the second one is the row. So, in this line of code we tell the cursor to move to column 3 and row 0 and with the following command we print the text “Hello YouTube”. We do the same for all the other lines of text. As you can see using the display is very easy, so this display is great for quick prototyping and ideal for beginners to Arduino.


Arduino 20×4 Character LCD

Get Rich Quiz Game

You can download my latest Android Game which is called Get Rich here:

Arduino Datalogger:
Arduino Weather Station Project:
Arduino Nokia 5110 LCD Display:
Arduino OLED display tutorial:
DIY Arduino:

——————– is a Youtube channel and website which is dedicated in developing high quality videos about DIY hardware and software projects. In this channel we develop projects with Arduino, Raspberry Pi, we build robots and simple electronic circuits. Check out our website as well for more information:


Never miss a video:


Leave a Reply