Professional Documents
Culture Documents
(LCD)
Quarter 3_Week 1
GAME TIME!!!
GESG
SCRAMBBLED EGGS
STAND
________________
I UNDERSTAND
JACK
JACK IN THE BOX
R
O
ROADS
D
S
CROSSROADS
STA4NCE
FOR INSTANCE
LIQUID CRYSTAL DISPLAY
(LCD)
Quarter 1_Week 2
LIQUID CRYSTAL DISPLAY (LCD)
❖ Liquid Crystal Display (LCD)
is a thin , flat panel display
device used for
electronically displaying
information such as text
,images and moving picture.
LIQUID CRYSTAL DISPLAY (LCD)
❖ At the back of the screen, there is a bright light that shines out
towards the viewer. In front of this, there are the millions of
pixels, each one made up of smaller areas called sub-pixels,
that are colored Red, Green, or Blue.
How does it work?
❖ Each pixel has a polarizing glass filter behind it and another in front of
it at 90 degrees. Normally the pixels looks dark. In between the two
polarizing filters there is a tiny twisted, nematic liquid crystal that can
be switched on or off electronically.
❖ When it is switched on, it rotates the light passing through it through
90 degrees, effectively not allowing light to flow through the two
polarizing filters and making the pixel look dark.
LIQUID CRYSTAL DISPLAY (LCD)
LIQUID CRYSTAL DISPLAY (LCD)
CONTROLS
❖ Auto-scroll: Shift text right and left.
- autoscroll(); This will move the text one space to the left
whenever a new character is added.
- noAutoscroll(); Turns off auto scrolling.
❖ Cursor: This allows you to turn off and on the underscore cursor.
- noCursor(); Turns off the underscore cursor.
- Cursor(); Turns on the underscore cursor.
❖ Blink: Turns on and off the blinking of the block cursor.
- noBlink(); Turns off the blinking cursor.
- blink(); Turns on the blinking cursor.
❖ Display: Make the display go blank without losing the current text.
- noDisplay(); Turns off the display.
- display(); Turns on the display.
❖ Scroll: Allows you to scroll the text both left and right.
- scrollDisplayLeft(); Will scroll one position to the left.
- scrollDisplayRight(); Will scroll one position to the right.
The circuit:
* LCD RS pin to digital pin 12
* LCD Enable pin to digital pin 11
* LCD D4 pin to digital pin 5
* LCD D5 pin to digital pin 4
* LCD D6 pin to digital pin 3
* LCD D7 pin to digital pin 2
* LCD R/W pin to ground
* 10K resistor:
* ends to +5V and ground
* wiper to LCD VO pin (pin 3)
Blinking Text in LCD Display
● Connect the "GND" of the arduino uno board to "VSS" , "R_W" and "K"
LCD.
● Connect the "5V" of the arduino uno board to "VDD" ,and "A" LCD.
Pin Connect
● Connect the "pin number 7" of the arduino uno board to "RS" LCD.
● Connect the "pin number 6" of the arduino uno board to "E" LCD.
● Connect the "pin number 5" of the arduino uno board to "DB(4)" LCD.
● Connect the "pin number 4" of the arduino uno board to "DB(5)" LCD.
● Connect the "pin number 3" of the arduino uno board to "DB(6)" LCD.
● Connect the "pin number 2" of the arduino uno board to "DB(7)" LCD.