Nano and 128x64 KS0108 display and GLCD Problem

Hi,

I have a 328 Nano V3 and a 128x64 KS0108 display and when I use the glcd library I get garbage on the screen.

Do I have to modify one of the library files to indicate my Nano board and different pin-outs to the normal Arduino? I changed the ks0108_Manual_Config.h file but that hasn't helped.

Regards,

Nick

No, no changes. The "Nano" pins are labelled just as they are on a Duemil./Uno, all of that works the same.

OK, thanks. I may have a problem with my display module then, I just get garbage displayed.

Cheers,

Nick

Any board that uses the Atmega328/168 will use the ks0108_Arduino.h file by default. Uno, nano, mini, Lilypad, Duemilanove

Unless you modified the config file glcd_Config.h to use the manual config file, the default pin configuration file when using a nano board should be ks0108_Arduino.h

There is a wealth of documentation included with the library (The included HTML documentation is the most complete and thorough)

There is also lots of information on the ks0108 playground page: http://playground.arduino.cc/Code/GLCDks0108

99.9% of the time, issues with the display not working are related to incorrect wiring.

Are you sure that the datasheet you used to identify your glcd module pin locations matches the glcd module you have?

--- bill

Yes, according to the supplier of the LCD.

I can vary the contrast, activate the backlight and see something resembling some writing when I run some of the debug/test code such as "Hello World!" but it's mostly concealed beneath all the garbage on the screen. I AVO'd all the connections, thoroughly! (I am an ex-electronics engineer.)

I did read all the documentation and to me it seems confusing and patchy, leading me to doubts, hence the question.

I will contact the supplier and arrange for a replacement LCD.

Cheers!

Nick

pettefar: I did read all the documentation and to me it seems confusing and patchy, leading me to doubts, hence the question.

Including the included HTML documentation?

So you have run the diagnostic sketch, compared your outputs on the display and serial port to that in the photos and descriptions in documentation and achieved passing results?

--- bill