Loading...

Thursday, March 04, 2021

Interface LCD Display With Arduino Uno

interface lcd display with arduino uno
Hello everyone welcomes back to “diyprojectslab” In this tutorial, I’ll show you “How to Interface LCD With Arduino Uno” To make this project we need Arduino Uno Microcontroller & LCD Display 16 X 2. It’s the basic project to interface lcd display with arduino but in future we need this lcd in our big projects. Basically LCD stands for Liquid Crystal Display based on Liquid crystal technology, so let’s see how to make it without wasting time …..

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

connect lcd display to arduino circuit diagram
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 interface LCD with Arduino
*/

#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("   16 X 2 LCD   ");  // Print a text to the LCD.
}

void loop() {
  
  lcd.setCursor(0, 1);  // set the cursor to column 0, line 1
  lcd.print(" LCD + ARDUINO  ");
}

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 *