Graphical LCDs are cool display devices that gives a nice look to your project. If you are thinking about having one in your next project, this new tutorial from Embedded Lab might be helpful for you to get started.

Tutorial on interfacing a Graphical LCD with a PIC microcontroller
 

Author used UNI-DS6 development board with mikroBoard for PIC 40-pin with PIC16F887

The tutorial is divided into two parts. In the first part, the author briefly describes the internal hardware of a KS0108 based 128×64 pixel monochromatic LCD, its display structure, and communication protocol. He also shows how to write a driver routine in mikroC PRO for PIC to activate selected display pixels on the GLCD screen. KS0108 controller does not have a built-in character generator and therefore fonts for displaying texts must be implemented in the firmware of the microcontroller, which requires a lot of time and effort. So in the second part of the tutorial author demonstrates how the use of the built-in GLCD library in mikroC PRO for PIC compiler makes this a piece of cake. He explores various GLCD routines to display geometrical figures, texts and a monochromatic bitmap image on the GLCD screen.

Part1: http://embedded-lab.com/blog/?p=2398

Part2: http://embedded-lab.com/blog/?p=4256

Share on FacebookShare on Google+Tweet about this on TwitterShare on LinkedIn