Escolar Documentos
Profissional Documentos
Cultura Documentos
A liquid crystal display consists of an array of tiny segments (called pixels) that
can be manipulated to present an information. Liquid crystals do not emit light
directly instead they use light modulating techniques.
LCDs are preferred to cathode ray tube (CRT) displays in most applications
because
3. Safer disposal
4. Energy Efficient
4. Glass substrate with common electrode film (ITO) with horizontal ridges
to line up with the horizontal filter.
6. Reflective surface to send light back to viewer. (In a backlit LCD, this
layer is replaced with a light source.)
JHD162A is one such LCD which is used here.
It has a Panel with 2 rows and 16 column and with blocks as shown below with
5x7 pixel-selection pattern.
Operating Voltage
Pin Details
Timing Diagram
Write Mode
Read Mode
U 1
2
VSS
VD D
V0
ALC D _R S R S
A L C D _ R /W R /W
ALC D _E E
D B0 D B0
D B1 D B1
D B2 D B2
D B3 D B3
D B4 D B4
D B5 D B5
D B6 D B6
D B7 D B7
LED A
LED K
16x2 ALPH A LC D
Make sure that 5V and GND lines are properly connected otherwise you may
end up in damaging parallel port.
If you want backlight than connect pin 15 of LCD to 5V and pin 16 of LCD
to GND. By adjusting 10k resistor make pin 3 of LCD at 0V. If connections are
proper you will see this after power on.
LCD initialization
void ALCD_Init( void )