0% found this document useful (0 votes)
17 views5 pages

18ECO108J - LAB Exp 12

The document describes interfacing an LCD display to an Arduino board. It provides the components required, including an Arduino Uno, LCD display module, and USB cable. It explains the pins of the LCD module and how to send commands and data to display text. Code is needed to initialize the LCD and send characters to the display on the Arduino.

Uploaded by

Ashish
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
17 views5 pages

18ECO108J - LAB Exp 12

The document describes interfacing an LCD display to an Arduino board. It provides the components required, including an Arduino Uno, LCD display module, and USB cable. It explains the pins of the LCD module and how to send commands and data to display text. Code is needed to initialize the LCD and send characters to the display on the Arduino.

Uploaded by

Ashish
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

Laboratory Report Cover Sheet

SRM Institute of Science and Technology


College of Engineering and Technology
Department of Electronics and Communication Engineering
18ECO108J EMBEDDED SYSTEM DESIGN USING ARDUINO
Fifth Semester, 2023-24 (Odd Semester)

Name : Kollu Venkat Avinash


Register No. : RA2111029010059
Day / Session : Day Order 2 / P19-20
Venue : TP 13th Floor WIN Lab
Title of Experiment : LCD Interfacing
Date of Conduction :
Date of Submission :

Particulars Max. Marks Marks Obtained


Pre-lab questions 10
In-lab experiment 15
Post-lab questions 10
Viva 05
Total 40

REPORT VERIFICATION

Date :

Staff Name :

Signature :

1
Experiment 12: LCD INTERFACING

Aim:

1. To interface LCD to Arduino (Display text and characters on LCD screen using Arduino)

Components Requirement:

Hardware components : i) Desktop/ Laptop (Host)


(ii) Arduino Uno Development Board (Target)
(iii) Type B USB Cable
Software Tools : Arduino IDE,
Tinkercad online Virtual Lab (For simulation)

Theory:

In this experiment, we’re learning how to interface LCD to Arduino and display text characters on LCD
screen. We’re interfacing 16×2 LCD to Arduino as a demonstration with circuit and code.

A Liquid Crystal Display commonly abbreviated as LCD is basically a display unit built using Liquid
Crystal technology. In order to build real life/real world electronics based projects, we need a
medium/device to display output values and messages. The most basic form of electronic display
available is 7 Segment display – which has its own limitations. The next best available option is Liquid
Crystal Displays which comes in different size specifications. Out of all available LCD modules in
market, the most commonly used one is 16×2 LCD Module which can display 32 ASCII characters in 2
lines (16 characters in 1 line).

The name and functions of each pin of the 16×2 LCD module is given below.
Pin1(Vss):Ground pin of the LCD module.
Pin2(Vcc): Power to LCD module (+5V supply is given to this pin)
Pin3(VEE):Contrast adjustment pin. This is done by connecting the ends of a 10K potentiometer to +5V
and ground and then connecting the slider pin to the VEE pin. The voltage at the VEE pin defines the
contrast. The normal setting is between 0.4 and 0.9V.
Pin4(RS):Register select pin.The JHD162A has two registers namely command register and data
register. Logic HIGH at RS pin selects data register and logic LOW at RS pin selects command register.
2
If we make the RS pin HIGH and feed an input to the data lines (DB0 to DB7), this input will be treated
as data to display on LCD screen. If we make the RS pin LOW and feed an input to the data lines, then
this will be treated as a command ( a command to be written to LCD controller – like positioning cursor
or clear screen or scroll).
Pin5(R/W): Read/Write modes. This pin is used for selecting between read and write modes. Logic
HIGH at this pin activates read mode and logic LOW at this pin activates write mode.
Pin6(E): This pin is meant for enabling the LCD module. A HIGH to LOW signal at this pin will enable
the module.
Pin7(DB0) to Pin14(DB7): These are data pins. The commands and data are fed to the LCD module
though these pins.
Pin15(LED+): Anode of the back light LED. When operated on 5V, a 560 ohm resistor should be
connected in series to this pin. In arduino based projects the back light LED can be powered from the
3.3V source on the arduino board.
Pin16(LED-): Cathode of the back light LED.

Circuit diagram – Arduino to 16×2 LCD Module

3
Pre-lab Questions:
1) List and describe the important control signals of LCD?

2) Write the advantages of LCD over the LED display.

Code Structure (Arduino to LCD):

Post-Lab Questions:
1) Write an ATMega328P Arduino C program to send letters “SRMIST” to the LCD display. Test
the output in Tinkercad and paste the output result here.

4
OUTPUT:

RESULT: LCD Interfacing was done successfully to display text using Arduino.

You might also like