Wednesday 25 November 2015

Graphical LCD Interface With PIC Microcontroller

Introduction:
the glcd  128x64  contain 128 columns and 64 rows. In total there are (128x64 = 1024) pixels.





For an LCD of 128×64 size,  the array of array would be 1024 bytes (1024×8 = 8192 bits), so total pixel is 128×64 = 8192.
it has two segment .The two halves of the display can be individually accessed through the chip select pins (CS1 and CS2) of the drivers . Each half consists of 8 pages (0-7) which are 8 bits (1 byte) high.

PIN DISCRIPTION:





GLCD Interface With PIC Controller:



 

Software Description: 

 here writing the sample  program in C using hi-tech c for PIC controller.
the important functions are 
 GLCD_Init():     initialise the lcd.
Select_page(unsigned char Page):    select the page to which page you want to display.
GLCD_Comd(unsigned char command):     give command .
GLCD_Data(unsigned char data):     data function
GLCD_PutPicture(const unsigned char *ip):    function for display the picture.
GLCD_ClrScr(void):    Clears the whole screen (all 8 pages).
Delay(unsigned int Ms):    delay the function.

Software Requirements :
MPLAB IDE.
hitech compiler.


For more details visit:click here




No comments:

Post a Comment