Project showcase
20 x 4 Using the LCD #Extra

20 x 4 Using the LCD #Extra © MPL-2.0

This time we will look at how to use a 20x4 LCD as an extra part of the Air Meter Making project.

  • 797 views
  • 0 comments
  • 3 respects

Components and supplies

Apps and online services

About this project

Introduction

Our project of making our air meter is already over. But I have not been able to tell you how to make an air meter. By the end of the project there was no time. So I will tell you the rest of this opportunity.

Once you have a 20x4 LCD, you need a dedicated library. Download and apply the library from the link below.

File 01 https://github.com/marcoschwartz/LiquidCrystal_I2C/archive/master.zip

Connections

Then, connect the LCD to the Arduino by referring to the circuit diagram attached below.

Messages

Once the connection is complete, run the Arduino IDE and copy the code below. Note that if you change the text in the red square box, you can display other messages on the LCD.

Now check the LCD to see that the message is being printed!

Now that you know how to use the LCD. Next time, I'll tell you more fun!

Until then, this is ParkMoonsu! See you next time!

Note: sites and source of the file: http://blog.naver.com/PostThumbnailList.nhn?blogId=eduino&categoryNo=39&skinType=&skinId=&from=menu&userSelectMenu=true

Code

LCD CODEArduino
Display your own message!
#include <Wire.h>                      
#include <LiquidCrystal_I2C.h>       

LiquidCrystal_I2C lcd(0x3F,20,4);     

void setup()

{

  lcd.init();                    

  // Print a message to the LCD.

  lcd.backlight();                

  lcd.setCursor(0,0);           

  lcd.print("Hello!");

  lcd.setCursor(0,1);             

  lcd.print("Funny!");

  lcd.setCursor(3,2);            

  lcd.print("Enjoy!");

  lcd.setCursor(8,3);             

  lcd.print("Arduino!");



}

void loop()
{

}

Schematics

LCD SCHEMATICS
Please connect correctly!
Lcd 16x2 4(i2c)  q9lrexchhq

Comments

Similar projects you might like

Displaying Sensor Values on LCD

by Wimpie van den Berg

  • 42,775 views
  • 4 comments
  • 36 respects

LCD (Liquid Crystal Display)

by MicroBob

  • 30,818 views
  • 41 comments
  • 101 respects

Simple LCD Timer With Arduino UNO

Project showcase by Hugo Blanc

  • 7,687 views
  • 7 comments
  • 24 respects

Displaying An Image On A LCD TFT Screen With Arduino UNO!

Project tutorial by CreaTechWeb

  • 3,520 views
  • 3 comments
  • 7 respects

LCD Backlight and Contrast Control

Project showcase by zurrealStudios

  • 3,496 views
  • 2 comments
  • 6 respects
Add projectSign up / Login