Interface LCD Display With Arduino Uno

by Technoesolution2020 in Circuits > Arduino

1843 Views, 3 Favorites, 0 Comments

Interface LCD Display With Arduino Uno

Thubnail Maker.png

Hello friend welcome to “Techno-E-Solution” Today, we are going to interface 16×2 LCD with Arduino UNO.

To interface LCD to the Arduino we need Liquid crystal library. The LCD module is use liquid crystal to print visible text on display, Mainly this display are used for DIY project. Friends as you know 16×2 LCD comes with 16 columns and 2 rows hence it's called as 16×2 LCD Module, In this display you can print maximum 32 characters. This LCD module is very general purpose LCD, we can use this LCD in our project very easily. This LCD comes with 16 Pins to connection I provide the pinouts of the LCD See below. The LCD has many types like 8×1, 8×2, 10×2, 16×1,20x4 etc. This display comes with blue or green backlight, with white or black text. This display has 16 pins, The first six pins are used to control contrast of the display and 7 to 14 means 8 pins are Data pins and last to pins are used to control backlight. If you want to make this project on PCB I will provide PCB layout of this project just Comment to provide PCB layout. So friend now I'm going to interface LCD with Arduino. Let's get started..........

Follow Me On :-

YOUTUBE | INSTAGRAM | FACEBOOK | INSTRUCTABLES | DAILYMOTION | HACKSTER

If you like this project subscribe us on Youtube, So without wasting time Let's get started..............

MATERIAL REQUIRED

To Make this project we need some components, I provide Best Buy Link of products :-
  1. Arduino Uno X 1
  2. LCD (16x2) X 1
  3. Jumper wires X 1nos
  4. 10k/5k Pot X 1

CIRCUIT DIAGRAM

LCD-Arduino.PNG

Follow the circuit diagram for making connection. I make this circuit in Easy EDA software.

Follow the Circuit Connection :-

  • 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

Next PCB

NextPCB is a high-quality PCB Manufacturer. With professional PCB manufacturing capabilities, our PCB engineers with more than 10 years of experience will double-check your engineering files.

NextPCB is certified by IATF16949, ISO9001, ISO14001, UL, CQC, RoHS and REACH; more importantly, we handle the whole process including the PCB prototype, PCB manufacturing, PCB assembly, testing, and final shipment. We are capable of assembling BGA, Micro-BGA, QFN, and other leadless package parts. We also have an online parts shop, you can choose any parts you need.

If you want a Printed circuit board go through the NEXT PCB

ARDUINO CODE

Arduino Code.JPG

Simply Copy the following code & upload in your Arduino IDE software.

/*
  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  ");
}

Downloads

DEMONSTRATION

If you Like this project do subscribe for latest projects :-

NextDFM Software From NextPCB

1 image.jpg
2 Image.png
3 Image.png
4 Image.jpg
5 Image.jpg

2 / 4

A PCB Design Problems Detector, An Engineering Solution Provider Import the Gerber file with one click. No need for complicated file reading steps to review easily and improve efficiency.

Download Software Help you quickly familiarize DFM design specifications and production needs to determine whether there are any manufacturing constraints

Features
Make PCB design more standard Prevent the quality flaw Impedance calculation function and lamination automation Automatically generate the best puzzle CAM350 free alternative version Check Gerber files anytime, anywhere and parse it with one click Instate Quote and evaluate delivery time Reduce cost and improve benefit these are advantage comparing to Eagle and Altium