Go Down

Topic: GLCD library version 3 (Read 89875 times) previous topic - next topic


Hi everyone !

I am new to the arduino.   

and i have an GLCD  type of wdg0151-tmi  and i dont know to wire it and also how to program it with arduino mega .

please please help and thank you and sorry for my bad language 

start here: http://playground.arduino.cc/Code/GLCDks0108


Thanks Bill, I'll do that. In this part of the forum?

Sure, put it in "Displays". I'll see it.
--- bill



please help me to wire and control my wdg0151 lcd

with arduino mega

and thank you for your care  :*


First thing you need be able to identify all the pins on the GLCD module.
This is critical since if things are mis-wired the glcd or the arduino could be damaged.
If your display does not have the pins labeled, Google around for a datasheet.
Again, it is critical that you have the correct information for the glcd pins.

While I can't be sure, this datasheet sounds like it is for the
display you have described:

You can then use the data sheet, or pin labels if your glcd has them , to identify
the glcd pins and match them up to the Arduino pins for your Arduino board.
Use the "GLCD Panel Pinouts" table on the glcd playground page (I provided the link earlier).

Then simply look at the pin function on the glcd and wire that function to the
Arduino pin indicated in the table.
For example if the glcd module uses pin 9 for data bit 0 (DB0 or D0) and you are using a
arduino mega, you scan down the "Function" column in the table until you see "D0"
Once you locate "D0" look to the left in the "Mega" column and you will see a 22
So that means that you hook the GLCD pin for D0 to the Arduino Mega pin 22.

You will do this for all the pins on your glcd.
You must also hook up the GLCD reset pin, contrast pot, the backlight and the power connections for
the glcd. The playground page has quite a bit of information for how to do these things.

Read through the playground page and come back with any additional questions.

--- bill

I am not getting any display on my glcd jhd12864e when my connections are according to
can anyone help me


For everyone following this thread and using the GLCDv3 library,
I will no longer be supporting this library.
I have instead decided to create a new glcd library and will be offering support for that.
The new library, called openGLCD, is a fork of the GLCDv3 library code.
The openGLCD library has many bug fixes, updates, and new features over GLCDv3.
While it is not 100% backward compatible with GLCDv3 it currently does offer
a GLCDv3 compatibilty mode which should allow most sketches to work with
only changing the header includes.
The biggest change from GLCDv3 is that openGLCD is released under GPL v3 instead
of the LGPL 2.1+ license that GLCDv3 used.
NOTE: This means that openGLCD can not be used on closed source projects.
openGLCD has not yet been officially released.
To read more about or even try the openGLCD library, it can be found on bitbucket:
Please post any questions or support issues for this library in new threads.

For anyone still using or needing support for GLCDv3 I will leave this thread open
for anyone that would like to continue to support it.

--- bill


I have this display:


it is based on the ST7920 chip and can be used in serial SPI mode.

Is it possibile to use this library or not? I have searched all over the web but I can't have an answer and i did several experiments but no success. Thank you.


Unfortunately, the ST7920 display is not supported by the GLCD or openGLCD libraries.
u8glib does support that chip.
--- bill

Go Up

Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

via Egeo 16
Torino, 10131