Introduction: LCD Display With Arduino( How to Use the LCD)

In the following section we are going to see how to use the lcd display with a microcontroller and also see the basic of the lcd over here by making a simple shield for the arduino or by making the simple breakout board for the lcd to the arduino

Step 1: Watch the Video

Step 2: Basics of the LCD

The basic data of the 16x2 lcd are given by

FEATURES
• 5 x 8 dots with cursor

• Built-in controller (KS 0066 or Equivalent)

• + 5V power supply (Also available for + 3V)

• 1/16 duty cycle

• B/L to be driven by pin 1, pin 2 or pin 15, pin 16 or A.K (LED)

• N.V. optional for + 3V power supply

And the pin diagram of the lcd is given in the pitcures above and the functions of the pins are also given above with each pin defination

Step 3: Creating the Basic Shield for the LCD to Work

by using the following circuit diagram of the shield making for LCD and as you have already watched the video you will get some basic idea about the circuit diagram of the lcd and their connections

The pins which we are going to use to connect it to any external microcontroller or microprocessor

RS(PIN=4)

E(PIN=6)

DB4(PIN=11)

DB5(PIN=12)

DB6(PIN=13)

DB7(PIN=14)

Step 4: Connecting to Arduino

To make the LCD to work with there is one missing component that is microcontroller that could be any like the 8086 or pic microcontroller in my case i have used a arduino uno

The pins which are being used in the following session are

Arduino pins LCD pins

12 RS

11 E

5 DB4

4 DB5

3 DB6

2 DB7

connect all the following wires to the arduino and the LCD

Step 5: Uploading the Code to Arduino

To fetch the sketch to the arduino you need to open the arduino ide and then you can follow the example code as

file-example-liquid_crystal-hello world

from the liquid crystal library to test the module the hello world example will be the best one

there are certain commands for the lcd and the arduino which are given in the arduino website

the link to the liquid crystal refrences

https://www.arduino.cc/en/Reference/LiquidCrystal

Step 6: Thanks for Watching

SO THANKS FOR WATCHING THE FOLLOWING INSTRUCTABLES.
FOLLOW ME ON YOUTUBE CHANNEL

https://www.youtube.com/channel/UCZE35bOktFxu8dIad...

thanks for the support

Comments

author
AlanH151 (author)2017-03-24

This looks like what I've done this morning in my Instrumentation laboratory!
Nice

author
KJ ELECTRONICS (author)AlanH1512017-03-25

thanks and yes it was done in the morning only XD

author
AlanH151 (author)KJ ELECTRONICS2017-03-26

I used this code:

#include

LiquidCrystal screen(12,11,5,4,3,2);
byte acento[7] = {B00001, B00010, B00000, B01110, B10001, B10001, B01110};
int x=0, y=-5;

void setup() {
// put your setup code here, to run once:
screen.begin (16,4);
screen.createChar(0,acento);

}

void loop() {
// put your main code here, to run repeatedly:
screen.setCursor(x,0);
screen.print("Universidad Aut");
screen.write(byte(0));
screen.print("noma ");
screen.setCursor(y,1);
screen.print(" de Baja California");

x--;
y++;

if(x==-20){
x=0;
}
if(y==15){
y=-5;
}

delay(500);
screen.clear();

}

author
KJ ELECTRONICS (author)AlanH1512017-03-27

great work and thanks for posting it back as feedback

author
AlexM567 (author)2017-03-26

I don't think you used a single period...

author
KJ ELECTRONICS (author)AlexM5672017-03-27

not really but it took 6-7 hours of work

About This Instructable

3,567views

32favorites

License:

More by KJ ELECTRONICS:Variable Power Supply Controller to Control My MIDI Device(1.8v TO 12v)  SOLDERING FUME !! EXTRACTOR !!DIY!! USB Led Flash Stick
Add instructable to: