Programming a GLCD

Dear All,

For the past few days I have been trying to find all the information regarding two Graphic LCD one being PG-192128LRF and the other one being JHD12864E.

Initially it was very difficult to get libraries but I found them on the Arduino website. when I downloaded them they did not work even the Examples won't compile.

The libraries that I tried were

  1. glcd
  2. openGLCD(v0.9.1a and 1.0rc2)
  3. GLCD_V3_beta
  4. ks0108

The Error that occured maximum number of times was 'GLCD was not declared in this scope' followed by 'SelectFont was not declared in this scope'

It would be great if anyone could help me out with this

Hi,

Can you please post a copy of your circuit, in CAD or a picture of a hand drawn circuit in jpg, png or pdf?

Can you please post a copy of your sketch, using code tags?
Please use code tags.. See section 7 http://forum.arduino.cc/index.php/topic,148850.0.html

And a copy of the errors thanks.

Also what arduino are you using?
What version IDE?

Tom...... :slight_smile:
Can't do much without seeing your code and project.

Thanks for your quick reply. I am using Arduino UNO R3 with Arduino IDE 1.0.6.

Sorry I am unable to provide a picture of my circuit as I have used female-male connectors which are directly connected to the arduino making it almost impossible to understand.

I connected the GLCD to the arduino as mentioned in the libraries i.e.

Pin8=D0, Pin9=D1, Pin10=D2, Pin11=D3, Pin4=D4, Pin5=D5, Pin6=D6, Pin7=D7, Pin14=CS1, Pin15=CS2, Pin16=R/W, Pin17=RS, Pin18=EN.

And as for the sketch I haven't written any as yet because I could not get the libraries to work. Still i have attached a simple code which I could not execute.

HelloWorld.pde (1.08 KB)

Hi,
You might be better to update your IDE to say 1.5.5 which will probably work better with the library.
Post the sketch that gave you the errors you are talking about, but update your IDE first.

Tom..... :slight_smile:

Hi,

As mentioned in your previous post I have updated my IDE to Arduino 1.5.5 and tried to program the GLCD but this time only two out of the six libraries are working and even with those two libraries the LCD is not displaying the basic examples given in the libraries.

Although I have attached the sketch to the my previous post, I am attaching the sketch again please help me out.

HelloWorld.pde (1.08 KB)

arjunwarty:
Hi,

As mentioned in your previous post I have updated my IDE to Arduino 1.5.5

This is not the latest version...
http://www.arduino.cc/en/main/software

Hi,
Have you place the libraries in the library directory of 1.5.5 or are they in the library directory in your documents\arduino\library directory?

Tom.... :slight_smile:
Please do a copy and paste of the errors and post them please.

Hi, have you googled arduino JHD12864E

Tom.... :slight_smile: