graphical lcd module
DESCRIPTION
LCD stands for Liquid Crystal Display. It can be used to display anything. They are of manytypes. The ones we commonly use for embedded systems, robotics, etc are of two types –character LCD and graphical LCD. The 16x2 LCD Characters have their own limitations; theycan only display characters of certain dimensions. The Graphical LCD are thus used to displaycustomized characters and images. The Graphical LCD find use in many applications; they areused in video games, mobile phones, lifts etc. as display units.TRANSCRIPT
www.researchdesignlab.com Page 1
GRAPHICAL LCD
REV1.0
GRAPHICAL LCD
www.researchdesignlab.com Page 2
GRAPHICAL LCD
REV1.0
Contents OVERVIEW ................................................................................................................................... 3
GRAPHICAL LCD ..................................................................................................................... 3
FEATURES ................................................................................................................................ 3
BLOCK DIAGRAM .................................................................................................................. 4
PIC CODE .................................................................................................................................. 5
RELATED PRODUCTS ............................................................................................................ 7
www.researchdesignlab.com Page 3
GRAPHICAL LCD
REV1.0
OVERVIEW
GRAPHICAL LCD
LCD stands for Liquid Crystal Display. It can be used to display anything. They are of many
types. The ones we commonly use for embedded systems, robotics, etc are of two types –
character LCD and graphical LCD. The 16x2 LCD Characters have their own limitations; they
can only display characters of certain dimensions. The Graphical LCD are thus used to display
customized characters and images. The Graphical LCD find use in many applications; they are
used in video games, mobile phones, lifts etc. as display units.
FEATURES
Display construction:128*64 DOTS.
Display mode: STN / Yellow Green.
Display type: Positive Transflective.
Operating temperature: Indoor.
Number of data line: 8-bit parallel.
Voltage: 5V.
Easy to use code library
Many fonts available .
www.researchdesignlab.com Page 4
GRAPHICAL LCD
REV1.0
BLOCK DIAGRAM
www.researchdesignlab.com Page 5
GRAPHICAL LCD
REV1.0
PIC CODE /*IDE:MicroCPRO
IC:PIC18F452*/
char GLCD_DataPort at PORTD;
sbit GLCD_CS1 at RB0_bit;
sbit GLCD_CS2 at RB1_bit;
sbit GLCD_RS at RB2_bit;
sbit GLCD_RW at RB3_bit;
sbit GLCD_EN at RB4_bit;
sbit GLCD_RST at RB5_bit;
sbit GLCD_CS1_Direction at TRISB0_bit;
sbit GLCD_CS2_Direction at TRISB1_bit;
sbit GLCD_RS_Direction at TRISB2_bit;
sbit GLCD_RW_Direction at TRISB3_bit;
sbit GLCD_EN_Direction at TRISB4_bit;
sbit GLCD_RST_Direction at TRISB5_bit;
// End Glcd module connections
void delay2S(){ // 2 seconds delay function
Delay_ms(2000);
}
www.researchdesignlab.com Page 6
GRAPHICAL LCD
REV1.0
void main() {
Glcd_Init(); // Initialize GLCD
Glcd_Fill(0x00); // Clear GLCD
while(1) {
Glcd_Fill(0x00); // Clear GLCD
Glcd_Rectangle(5,5,84,35,1); // Write string
Delay_ms(2000);
}
}
www.researchdesignlab.com Page 7
GRAPHICAL LCD
REV1.0
RELATED PRODUCTS
RDL- UNO ATMEGA328 ATMEL Project Board
Development Board
PIC PROJECT BOARD