Arduino Tutorial: 20x4 I2C Character LCD display with Arduino Uno from Banggood.com
Dear friends welcome to another Arduino Tutorial! Today we are going to learn how to use this 20x4 character LCD display with Arduino. There is a lot to cover so let's get started!
Subscribe for weekly videos ▶ https://bit.ly/33KIQ09
Hello guys, I am Nick and welcome to educ8s.tv 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 Banggood.com. 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!
--------------------
WHERE TO BUY
--------------------
Arduino Uno: http://educ8s.tv/part/ArduinoUno
20x4 LCD: http://educ8s.tv/part/20x4LCD
DS3231 RTC: http://educ8s.tv/part/DS3231
Small Breadboard: http://educ8s.tv/part/SmallBreadboard
Jumper Wires: http://educ8s.tv/part/JumperWires
Wires: http://educ8s.tv/part/Wires
Power Bank: http://educ8s.tv/part/Powerbank
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.
--------------------
LIBRARIES
--------------------
📥 New LiquidCrystal: https://bitbucket.org/fmalpartida/new-liquidcrystal/downloads/
📥 DS1307 Library: https://github.com/PaulStoffregen/DS1307RTC
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.
--------------------
CODE OF THE PROJECT & SCHEMATIC
--------------------
📥 http://educ8s.tv/arduino-20x4-character-lcd
--------------------
Quiz of Knowledge Android Game
--------------------
You can download my latest Android Game which is called Quiz of Knowledge here:
📥 http://bit.ly/QuizOfKnowledge
--------------------
MORE PROJECTS
--------------------
Arduino Datalogger: https://www.youtube.com/watch?v=oei3Y6tOhVI
Arduino Weather Station Project: https://www.youtube.com/watch?v=9jN-3DtS1RI
Arduino Nokia 5110 LCD Display: https://www.youtube.com/watch?v=aDwrMeu4k9Y
Arduino OLED display tutorial: https://www.youtube.com/watch?v=A9EwJ7M7OsI
DIY Arduino: https://www.youtube.com/watch?v=npc3uzEVvc0
--------------------
ABOUT EDUC8S.TV
--------------------
Educ8s.tv 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: http://www.educ8s.tv
--------------------
SUBSCRIBE ON YOUTUBE
--------------------
Never miss a video: https://www.youtube.com/subscription_center?add_user=educ8s
Видео Arduino Tutorial: 20x4 I2C Character LCD display with Arduino Uno from Banggood.com канала educ8s.tv
Subscribe for weekly videos ▶ https://bit.ly/33KIQ09
Hello guys, I am Nick and welcome to educ8s.tv 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 Banggood.com. 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!
--------------------
WHERE TO BUY
--------------------
Arduino Uno: http://educ8s.tv/part/ArduinoUno
20x4 LCD: http://educ8s.tv/part/20x4LCD
DS3231 RTC: http://educ8s.tv/part/DS3231
Small Breadboard: http://educ8s.tv/part/SmallBreadboard
Jumper Wires: http://educ8s.tv/part/JumperWires
Wires: http://educ8s.tv/part/Wires
Power Bank: http://educ8s.tv/part/Powerbank
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.
--------------------
LIBRARIES
--------------------
📥 New LiquidCrystal: https://bitbucket.org/fmalpartida/new-liquidcrystal/downloads/
📥 DS1307 Library: https://github.com/PaulStoffregen/DS1307RTC
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.
--------------------
CODE OF THE PROJECT & SCHEMATIC
--------------------
📥 http://educ8s.tv/arduino-20x4-character-lcd
--------------------
Quiz of Knowledge Android Game
--------------------
You can download my latest Android Game which is called Quiz of Knowledge here:
📥 http://bit.ly/QuizOfKnowledge
--------------------
MORE PROJECTS
--------------------
Arduino Datalogger: https://www.youtube.com/watch?v=oei3Y6tOhVI
Arduino Weather Station Project: https://www.youtube.com/watch?v=9jN-3DtS1RI
Arduino Nokia 5110 LCD Display: https://www.youtube.com/watch?v=aDwrMeu4k9Y
Arduino OLED display tutorial: https://www.youtube.com/watch?v=A9EwJ7M7OsI
DIY Arduino: https://www.youtube.com/watch?v=npc3uzEVvc0
--------------------
ABOUT EDUC8S.TV
--------------------
Educ8s.tv 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: http://www.educ8s.tv
--------------------
SUBSCRIBE ON YOUTUBE
--------------------
Never miss a video: https://www.youtube.com/subscription_center?add_user=educ8s
Видео Arduino Tutorial: 20x4 I2C Character LCD display with Arduino Uno from Banggood.com канала educ8s.tv
Показать
Комментарии отсутствуют
Информация о видео
Другие видео канала
Introduction to LCD2004 LCD display with I2C module for ArduinoUsing LCD Displays with ArduinoDer einfache Einstieg in Arduino & Co. 15: Ab jetzt mit DisplayHow I2C Communication Works and How To Use It with ArduinoArduino ST7789 Display TutorialArduino Tutorial - 14. DisplaymenüArduino and DS3231 Real Time Clock TutorialArduino TFT LCD Touch Screen TutorialArduino lcd 16x2. Turn Single Screen Into Multiple ScreensArduino LCD Tutorial ST7920#23 LCD BIG DIGITS for your Arduino using I2C - Easy!Connect 20X4 Display To ArduinoUtilizar una pantalla LCD mediante interfaz I2C | Curso de programación con Arduino Ep Nº 9How a Character LCD works Part 1How to Connect an I2C Lcd Display to an Arduino Uno TutorialYou can learn Arduino in 15 minutes.Using IR Remote Controls with the ArduinoHow to use LCD LCD1602 with I2C module for Arduino - RobojaxEp. 59 - Arduino LCD Display Menu System Tutorial, Scrolling Menu, Changeable Variables for ProjectsSerial LCD - I2C Backpack