Buying a KS0108 GLCD - Help Needed

I recently bought a GLCD with an ST7920 Driver, it was a complete pain to use (anyone who has used one would know).

I've decided that a KS0108 would be the best choice for me as I want to develop simple games and program with my Arduino UNO.

I just want to confirm that I buy something that will work correctly as the last LCD I bought didn't.

This is the KS0108 I want to buy: http://www.surplustronics.co.nz/shop/product-LA0335.html

Can anyone please tell me if it's all standard and will work with the KS0108 GLCD Library?

The LCD is made by Agena and it's model number is AG1286401.

It isn't listed on Agena's website though: http://digital-io.com/product/products-grap.htm

Anyone, I'm sure plenty of Arduino users would have bought one of these?

Hi TheFoeHammer,
I'm the co-author of the GLCD (previously ks0108) library on the playground that is currently in beta.
While I can't be sure without seeing the dataseet,
that glcd looks like it should work. All the pins in the pinout match up with the pins in a typical ks0108.
Although the pinout shows the functions
of 18 pins, the module has 20 pins. The other two pins are most likely
the backlight which would be typical for a ks0108 module.

I'm not sure where you are located, but if you want to get some
cheap glcds, you can get a ks0108 module from BGmicro located in Dallas, Tx USA:
http://www.bgmicro.com/LCD1030.aspx.
(they are just a few miles down the road from me)
I have several of these and they were used extensively to bring up
and test the latest glcd library so I know they will work with newest
glcd library currently in beta, which I would recommend using over
the previous version.
The latest library has been tested on many different glcd modules
and Arduinos, and has some new functionality as well as allows any arduino pin to be used for any glcd function.

The BGmicro GLCD has the same pinout (at least it matches on the first 18 pins) as th GLCD in your link.

I can't remember if Micheal (other author) added the BGmicro module to the glcd type table
of GLCDs but it is easy enough to map the wires using the data sheet.
(which is what I always do)
You can download the data sheet from the BGmicro site.
I can attest that the pinout given in the BGmicro glcd data sheet is correct as well.

The one downside to the BGmicro glcd is that the backlight draws
quite a bit of current, a few hundred milliamps (up to 500 if you don't current limit it with around a 4-10 ohm resistor) vs some of the newer
models which can be less than half of that.

--- bill

@Bill,
I did notice the low current limiting resistor but not sure about the actual draw.
It could be that the LED's are simply in series. Oh, got my GLCD from bgmicro
as well. Is it me or are the backlight connections reverse of what the GLCD
documentation claims?

-Rusty-

Oh, got my GLCD from bgmicro
as well. Is it me or are the backlight connections reverse of what the GLCD
documentation claims?

If you are referring to the pinout of the BGmicro GLCD vs "Panel B" in the table, then yes the backlight is reverse.
The BG micro has backlight +v on pin 20 and -v on pin 19
which is backwards from what is shown in "Panel B".
(All other pins are correct for that module)
So there is no panel entry in the table for the BGmicro glcd.

If you look at the file
glcd/config/Modagm1264f_Manual_Config.h
in the library, you will see a manual configuation file.
I included a module pinout drawn in in ascii art to show
all the wiring connections
for a AGM1264F module which is the bgMicro glcd.

I don't care for those glcd panel type pin mapping tables.
Michael (other co-author) did them (they are before my time) and I totally understand that they can be very helpful for novice users and do cover the majority of the glcds that users
will have. The problem is that from what I've seen so far,
there are more than 11 different ks0108 module pinouts.
The table only lists 3 of the more common ones and not
by glcd model number.
So you have to verify which "panel type" you have anyway
by using the glcd datasheet since it doesn't mention specific glcd models.
Pick the incorrect panel from the table and you can blow
up your glcd.

My preference is to use the "GLCD function" column in the table
and then wire up each pin according to each glcd function
as specified the glcd data sheet rather than depend on the Panel types.

--- bill

Thank you for the information, I just bought it now as it's the only store that I could find that supplies KS0108 Driven Displays in New Zealand.

Thanks :smiley: