Professional Documents
Culture Documents
Department of Electronics Engineering: Experiment No
Department of Electronics Engineering: Experiment No
Department of Electronics Engineering: Experiment No
DEPARTMENT OF
Experiment No.
3
FACIN
Semester
Subject
ELECTRONICS ENGINEERING
T.E. Semester V – Electronics Engineering
Microcontrollers & Applications (MCA)
Subject Professor In-charge Prof. Manoj Suryawanshi, Prof. Savio Moraes
G OF
Assisting Teachers
Laboratory
Prof. Manoj Suryawanshi, Prof. Savio Moraes
M-516 – Microprocessors and Microcontrollers Laboratory
16 x2
ALPHA
NUME
RIC
LIQUI
D
CRYST
AL
Student Name PRATIK SHANKAR TELANG
DISPL
Roll Number 18103B0002
[LCD]
TO 3.1
DEPARTMENT OF
ELECTRONICS ENGINEERING
Experiment No.
3
Write an 8051 Assembly Language Program to display your Name and Roll
Number on the interfaced 16 x 2 LCD Module.
3.2
DEPARTMENT OF
ELECTRONICS ENGINEERING
Experiment No.
3
3.3
DEPARTMENT OF
ELECTRONICS ENGINEERING
Experiment No.
3
To adjust the contrast of the LCD module, a potentiometer (10k ohms) is used. The potentiometer is
connected across the Vcc and ground and the variable terminal is connected to pin no 3 (contrast pin) of the
LCD display.
2. Why is delay subroutine called after every command write subroutine and data write subroutine?
The LCD displays the characters for a split second before refreshing and going back to default. The delay
Is used to flash the characters for some time
Function of R/W: The value of input on this pin determines if we want to read the data or write it.
If R/W = 0, The LCD is in write mode,
If R/W = 1, The LCD is in read mode.
Function of EN: The enable pin is used to execute any specific instruction using a negative edge
trigger. The input to enable is made high and then made low to execute any instruction.
4. Why is delay subroutine called in Command Write and Data Write subroutines?
It is used to give the LCD display some time before it refreshes and executes other instructions.
5. Modify the program to display special characters like #, $ % ^ & *@!()_+ on the LCD screen.
This modification can be done by moving the ASCII value of the concerned character in the accumulator
and executing the display instructions.
3.4
DEPARTMENT OF
ELECTRONICS ENGINEERING
Experiment No.
3
1. Repeat the above program making use of Read/Write pin to read LCD Module status.
2. Display “Vidyalankar” using 16 X 2 Alphanumeric LCD Display and roll it from left to right and right to left
3.5
DEPARTMENT OF
ELECTRONICS ENGINEERING
Experiment No.
3
3.6
DEPARTMENT OF
ELECTRONICS ENGINEERING
Experiment No.
3
3.7