Go Down

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

bperrybap


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

bperrybap


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

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

momtot

Bill

please help me to wire and control my wdg0151 lcd

with arduino mega

and thank you for your care  :*

bperrybap

momtot,
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:
http://www.mikroe.com/downloads/get/1010/glcd_128x64_spec.pdf

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
http://playground.arduino.cc/uploads/Code/GLCD_Documentation.pdf
can anyone help me

bperrybap

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:
https://bitbucket.org/bperrybap/openglcd
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

Go Up