fbpx

Interface Glcd With Arduino Uno

  • The graphical LCD is made up of a grid of pixels.
  • The 16×2 Character LCDs have their own limitations.
  • The Graphical LCDs are thus used to display customized images and characters.
  • GLCD used in many application such as video games, mobile phones.
  • LCD has a display format of 128×64 (resolution) dots.
  • There are 64 horizontal lines and each line has 128 pixels.
  • The glcd has a graphic RAM where each bit in ram corresponds to one pixel on screen.Glcd screen will change when we modifiy the content of graphic ram.
  • The 128×64 LCD is divided into two equal halves.
  • Whole LCD is divided equally into pages.
  • Each half being controlled by a separate KS0108 controller.
  • 128×64 LCD it have 128 columns and 64 rows. In total there are (128×64 = 1024) pixels.
  • 128×64 LCD is divided equally into two halves. Each half is controlled by a separate controller and consists of 8 pages.
  • Controller can select by CS (chip select).
  • Each page consists of 8 rows and 64 columns.
  • Two horizontal pages make 128 (64×2) columns and 8 vertical pages make 64 rows (8×8).

Glcd Pin Configuration

Hardware Required

  • Glcd.
  • PotentioMeter.
  • 8051 MicroController.

Circuit

Code

 #include <glcd.h>
 // include the fonts
#include <fonts/allfonts.h>
 void setup()
 {
//initilize GLCD:
GLCD.Init(); 
// Select the font for the defapt text .
GLCD.SelectFont(System5x7);
GLCD.print("hello World");
 }
 void loop()
 {
// set the cursor to column 0, line 1
 GLCD.CursorTo(0, 1);
// print the number of seconds since reset:
 GLCD.print(millis()/1000);
 } 

1 comment on “Interface Glcd With Arduino Uno

Leave a Reply

Your email address will not be published. Required fields are marked *