Loading...

Thursday, March 04, 2021

Hello World on LCD Display Using Arduino

Print hello world on LCD display using arduino uno
Hello friend welcome back to “Diyprojectslab” in this article, we are going to learn how to connect LCD with Arduino Uno and print, “Hello World!” on LCD using Arduino Uno. The 16×2 LCD is the most popular LCD in electronics projects. In upcoming project we need this display in our project so, it’s the beginners level tutorial learn this tutorial with fun. So friends let’s get started……….

MATERIAL REQUIRED

To Make this project we need some components :-
  1. Arduino Uno X 1
  2. LCD (16×2) X 1
  3. Jumper wires X 1nos
  4. 10k/5k Pot X 1

CIRCUIT DIAGRAM

hello world on lcd display using arduino
Follow the Circuit Connection :-
 LCD To Arduino :- 
  • LCD RS pin to digital pin 12
  • LCD Enable pin to digital pin 11
  • LCD D4 pin to digital pin 6
  • LCD D5 pin to digital pin 5
  • LCD D6 pin to digital pin 4
  • LCD D7 pin to digital pin 3
  • LCD R/W pin to ground
  • LCD VSS pin to ground
  • LCD VCC pin to 5V Connect
 
10K variable resistor (POT) :-
 
  • First to +5V and ground
  • Second to LCD VO pin (pin 3)
  • Last to GND

ARDUINO CODE

/*
  Hello friends welcome to "TECHNO-E-SOLUTION"
  Here, is a code to print "Hello World" on LCD using Arduino
  This code helps you to print "YOUR TEXT" on LCD display
*/

#include <LiquidCrystal.h>

const int rs = 12, en = 11, d4 = 6, d5 = 5, d6 = 4, d7 = 3;
LiquidCrystal lcd(rs, en, d4, d5, d6, d7);

void setup() {
  
  lcd.begin(16, 2);  // set up the LCD's number of columns and rows:
  
  lcd.print("Hello World!");  // Print a text to the LCD.
}

void loop() {
  
  // set the cursor to column 0, line 1
  // (note: line 1 is the second row, since counting begins with 0):
  lcd.setCursor(0, 1);
  // print the number of seconds since reset:
  lcd.print(millis() / 1000);
}

DEMONSTRATION

If you Like This project Follow Us On :- 
YOUTUBE | INSTAGRAM | FACEBOOK | INSTRUCTABLES | DAILYMOTION | HACKSTER

Leave a Reply

Your email address will not be published. Required fields are marked *