AVR Development Board – AVR-DK20A User Manual
29
6.5 Experiment 5 – LCD Display
Jumper Setting:
LK2-LK8 (A1-
EN
, A2-
RS
, A3-
RW
, A4-
LD4
, A5-
LD5
, A6-
LD6
, A7-
LD7
)
Port Setting:
Set Port A as output
Objective:
Create a project, output a text “Hello World!” on LCD Display.
Flow Chart :
Expected Result
You will see “Hello World!” displayed on the LCD Screen.
Tutorial 4:
(a) Create a project, display “4-Bit LCD EXP” on 1
st
row of the LCD and “Hello World!” on 2
nd
row of the LCD display.
(b)
Create a project ,
display “4Bit LCD Display” on 1
st
row and “Example” in 2
nd
row then,
“Ablelogic AVRKit” row and “AVR-DK20A” 2
nd
row and scroll these two line continuously.
Start
Initialize I/O
Infinity Loop
LCD Initialization
Clear LCD Screen
and Set LCD Cursor
OFF
Displayed “Hello
World!” on LCD