Está en la página 1de 7

REV1.

GRAPHICAL LCD

GRAPHICAL LCD

www.researchdesignlab.com

Page 1

REV1.0

GRAPHICAL LCD

Contents
OVERVIEW ................................................................................................................................... 3
GRAPHICAL LCD ..................................................................................................................... 3
FEATURES ................................................................................................................................ 3
BLOCK DIAGRAM .................................................................................................................. 4
PIC CODE .................................................................................................................................. 5
RELATED PRODUCTS ............................................................................................................ 7

www.researchdesignlab.com

Page 2

REV1.0

GRAPHICAL LCD

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 3

REV1.0

GRAPHICAL LCD

BLOCK DIAGRAM

www.researchdesignlab.com

Page 4

REV1.0

GRAPHICAL LCD

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 5

REV1.0

GRAPHICAL LCD

void main() {
Glcd_Init();
Glcd_Fill(0x00);

// Initialize GLCD
// 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 6

REV1.0

GRAPHICAL LCD

RELATED PRODUCTS
RDL- UNO ATMEGA328

ATMEL Project Board

Development Board

PIC PROJECT BOARD

www.researchdesignlab.com

Page 7

También podría gustarte