Professional Documents
Culture Documents
Description
Liquid crystal display is very important device in embedded system. It offers high flexibility to
user as he can display the required data on it. A liquid crystal display (LCD) is a thin,
flat electronic visual display that uses the light modulating properties of liquid crystals (LCs).
LCs do not emit light directly. LCDs therefore need a light source and are classified as "passive"
displays. Here the lcd has different memories to display data, those are discussed below.
Block Diagram
Now you might be thinking that when you send an ascii value to DDRAM, how the character is
displayed on LCD? so the answer is CGROM. The character generator ROM generates 5 x 8 dot
or 5 x 10 dot character patterns from 8-bit character codes. It can generate 208 5 x 8 dot
character patterns and 32 5 x 10 dot character patterns. Userdefined character patterns are also
available by mask-programmed ROM.
Busy Flag
Busy Flag is an status indicator flag for LCD. When we send a command or data to the LCD for
processing, this flag is set (i.e BF =1) and as soon as the instruction is executed successfully this
flag is cleared (BF = 0). This is helpful in producing and exact ammount of delay for the LCD
processing.
To read Busy Flag, the condition RS = 0 and R/W = 1 must be met and The MSB of the LCD
data bus (D7) act as busy flag. When BF = 1 means LCD is busy and will not accept next
command or data and BF = 0 means LCD is ready for the next command or data to process.
Intelligent, with built-in Hitachi HD44780 compatible LCD controller and RAM
providing simple interfacing
61 x 15.8 mm viewing area
5 x 7 dot matrix format for 2.96 x 5.56 mm characters, plus cursor line
Can display 224 different symbols
Low power consumption (1 mA typical)
Powerful command set and user-produced characters
TTL and CMOS compatible
Connector for standard 0.1-pitch pin headers
Schematic
Specifications
Circuit Description
We make no effort to place the Data bus into reverse direction. Therefore we hard wire
the R/W line of the LCD panel, into write mode. This will cause no bus conflicts on the
data lines. As a result we cannot read back the LCD's internal Busy Flag which tells us if
the LCD has accepted and finished processing the last instruction. This problem is
overcome by inserting known delays into our program.
The 10k Potentiometer controls the contrast of the LCD panel. You can use a bench
power supply set to 5v or use a onboard +5 regulator. Remember a few de-coupling
capacitors, especially if you have trouble with the circuit working properly.The 2 line x 16
character LCD modules are available from a wide range of manufacturers and should all
be compatible with the HD44780.