Algorithm To Create Multi Line Display From Two Line LCD Display
Algorithm To Create Multi Line Display From Two Line LCD Display
Elins Journal
Elins International Journal of Science Engineering & Management (EIJSEM), Volume-1, Issue-5, Sept 2016
_________________________________________________________________________________________________________________________
Algorithm To Create Multi line Display From Two Line LCD display
Pranav Agarwal
Indian Institute of Information Technology, B.Tech ECE Second Year, Guwahati, Assam, India
[email protected]
Abstract: The proposed algorithm is made to run 16x2 alphanumeric LCD more efficiently. This LCD can display 32 characters at
once; due to this limited size it is quite difficult to use the 16x2 LCD to display text. The proposed system is also aimed to send small
text messages in short distances by using UART communication protocol. The proposed algorithm added scrolling feature in LCD.
This can also be useful in calculators to know the previous results.
KeywordsAtmega8, Bluetooth, hex files, LCD(Liquid Crystal Display), UART(Universal Asynchronous Receiver Transmitter.
I. INTRODUCTION1
Proposed system has great importance in our day to day
projects which make use of LCD for displaying short
messages in multiple lines and to scroll the LCD to see the
previous results on a particular line. The proposed system uses
an AVR Microcontroller, a 16x2 alphanumeric LCD and a
Bluetooth device to receive messages from user. A 16x2
alphanumeric LCD is connected to the microcontroller to
display message send by the user by his Bluetooth device (it
can be any Bluetooth enabled device like mobile phone,
laptops etc.) [4].
The main working of this project revolves around the LCD.
The message send by the user through UART is not limited
just to 16x2 characters but can be extended to as many as we
want according to the size of message just like we get in our
mobiles messaging system.
II. DESCRIPTION OF HARDWARE
LCD (Liquid Crystal Display) screen is an electronic display
module and find a wide range of applications [7]. A 16x2
LCD display is very basic module and is very commonly used
in various devices and circuitries. These modules are preferred
over seven segments and other multi segment LEDs [7]. The
reasons being LCDs are economical; easily programmable;
have no limitation of displaying special & even custom
characters (unlike in seven segments), animations and so on.
A 16x2 LCD means it can display 16 characters per line and
there are 2 such lines therefore total 32 characters can be
displayed at once. In this LCD each character is displayed in
5x7 pixel matrix. This LCD has two registers, namely,
Command and Data. The command register stores the
command instructions given to the LCD. A command is an
instruction given to LCD to do a predefined task like
initializing it, clearing its screen, setting the cursor position,
ISSN: 2456-1657
V. Simulation Result
Figure 1-4 shows the simulation performed on proteus
simulation software. It shows how the scrolling can be
performed through 16x2 LCD with line number printed on
each line.
VI. WORKING
As the user sends data using Bluetooth enabled device by
UART communication protocol, the MCU receives and
displays it on the LCD character by character. Now if the
length of the message exceeds the size of the LCD there is no
problem as the message will continue to be printed on the
screen on the next line. In order to scroll back to the first line
or any other line above, character ( is required to send
which results in scrolling one line up. Similarly by sending
character ), screen will scroll one line down as shown in the
figure 5.
Figure 1-4 clearly explains 16x2 LCD is being used for
multiple lines.
ISSN: 2456-1657
[2] Gowrishankar Kasilingam, Mritha Ramalingam and
Chandra Sekar, A Survey of Light Emitting Diode
(LED) Display Board, Indian Journal of Science and
Technology, Volume-7, Issue-2, Feb- 2014.
[3] Adamu Murtala Zungeru, Gbenga Daniel Obikoya, Ochi
Fortunatus Uche, Taidi Eli, DESIGN AND
IMPLEMENTATION
OF
A
GSM-BASED
SCROLLING
MESSAGE
DISPLAY
BOARD,
International Journal of Computational Science,
Information Technology and Control Engineering Vol1,Issue-3, Oct-2014.
[4] Darshankumar C. Dalwadi, Ninad Trivedi, Amit
Kasundra : WIRELESS NOTICE BOARD, National
Conference on Recent Trends in Engineering &
Technology.
VII. CONCLUSION
The proposed system is used to display large messages on the
16x2 LCD without any difficulty and hence we are not limited
to 16x2=32 characters. Thus this improvement in the working
of LCD will make the working of various projects more
innovative and interesting.
REFERENCES
[1] N. Jagan mohan reddy, G.Venkareeshwarlu, WIRELESS
ELECTRONIC DISPLAY BOARD USING GSM
TECHNOLOGY, International Journal of Electrical,
Electronics and Data Communication, Volume-1, Issue10, Dec-2013.