49586128 moving message display on lcd

Upload: shivani-paliwal

Post on 08-Aug-2018

212 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/22/2019 49586128 Moving Message Display on Lcd

    1/7

    Mini Project 2010 Moving Message Display on LCD

    Central India Institute of Technology Dept. of Electronics & communication Engineering

    CENTRAL INDIA INSTITUTE OF

    ENGINEERING

    INDORE

    MINOR PROJECT REPORT

    ON

    MOVING MESSAGE DISPLAY ON LCD

    Submitted in accordance with the curriculum requirements for

    Sixth semester of the degree course in

    BACHELOR OF ENGINEERING

    In the branch of

    ELECTRONICS AND COMMUNICATION ENGINEERING

    of

    RAJIV GANDHI TECHNICAL UNIVERSITY

    YEAR 2010

    Under the guidance of :- Submitted by

    MR. Gurvinder Singh (H.O.D) SANDIP SHAW

    MR. Dilip Mujalte AKHILESH TIWARY

    MANPREET SINGH KHANUJA

  • 8/22/2019 49586128 Moving Message Display on Lcd

    2/7

    Mi i

    j

    t

    M i M

    i

    l

    C

    C

    tl

    i

    tit t

    !

    "

    l

    t#

    $

    l

    t i %

    & &

    i

    ti $

    i

    i

    CONTENT

    1.AIM2.ABSTRACT...3.COM ON NT LIST..4.CIRCUIT DIAGRAM5.WORKING

  • 8/22/2019 49586128 Moving Message Display on Lcd

    3/7

    Mi' i Proj( )

    t 2010 Movi' 0 M( 1 1 2

    0

    (Di

    1

    3 l2

    4 on LCD

    C(ntral India Instit5 t

    (of Technology Dept. of Electronics & communication Engineering

    Ai :-

    T desi movi message display usi g LCD.

    Abstract:-

    Amovi g message display usi g LCDis a modernelectronic notice board in which messages to displayed are

    rotate continuously i.e. one message follows the next and after

    the last message the first willbe displayed again. It is very

    useful these days as it is used in public place generally to

    display important information for example on railway station,

    train running information or ticket availability status are

    displayed on these board.

    Component list:-

    y AT89C51 - ICROCONTROLLERy JHD162A-LCDDISPLAYy 10K-RESISTORARRAYy 3.579-CRYSTALOSCILLATORy 22pf-CAPACITOR(2-PIECES)y 5V-POWERSUPPLY

  • 8/22/2019 49586128 Moving Message Display on Lcd

    4/7

    Mini Project 2010 Moving Message Display on LCD

    Central India Institute of Technology Dept. of Electronics & communication Engineering

    CIRCUIT DIAGRAM:-

  • 8/22/2019 49586128 Moving Message Display on Lcd

    5/7

    Mini Project 2010 Moving Message Display on LCD

    Central India Institute of Technology Dept. of Electronics & communication Engineering

    WORKING:-

    One can send data as 8-bit orin pair oftwo 4-bit

    nibbles.To display any character on LCD micro controller has to

    send its ASCII value to the data bus of LCD.For e.g. to display

    'AB' microcontroller has to send two hex bytes 41h and 42h

    respectively.LCD display used here is having 16x2 size. It means 2

    lines each with 16 character.

    To display moving message we will have to

    program the Microcontrollerin this way.

    Algorithm to send data to LCD:

    1.Make R/Wlow

    2.Make RS=0 ;if data byte is command

    RS=1 ;if data byte is data (ASCII value)

    3.Place data byte on data register

    4.Pulse E (HIGH to LOW)

    5.Repeatthe steps to send another data byte

    LCD Initialization:

    This is the pit fall for beginners.Properworking of LCD depend on

    the how the LCD is initialized. We have to send few command

    bytes to initialize the lcd. Simple steps to initialize the LCD

    1.Specify function set:

    Send 38H for 8-bit,double line and 5x7 dot character format.

  • 8/22/2019 49586128 Moving Message Display on Lcd

    6/7

    Mini Project 2010 Moving Message Display on LCD

    Central India Institute of Technology Dept. of Electronics & communication Engineering

    2.Display On-Off control:

    Send 0FH for display and blink cursor on.

    3.Entry mode set:

    Send 06H

    for cursorin increment position and shiftis invisible.4.Clear display:

    Send 01Hto clear display and return cursorto home position.

  • 8/22/2019 49586128 Moving Message Display on Lcd

    7/7

    Mini Project 2010 Moving Message Display on LCD

    Central India Institute of Technology Dept. of Electronics & communication Engineering