Problem with GLCD

Hey guys!

I have a problem. I have connected my glcd (Graphic LCD 128x64 STN LED Backlight - LCD-00710 - SparkFun Electronics) to my Arduino Mega 2560 according to Panel A (Arduino Playground - HomePage) , this is my datasheet (http://www.sparkfun.com/datasheets/LCD/ks0108b.pdf). Basically my problem is that when I twist the potswitch the contrast changes but all the pixels stay black. I’m using the glcd v3 and have uploaded ”HelloWorld” from the examples that came along the library. Here’s my video on my problem: Problem with GLCD connection - YouTube

Thanks guys!

The pixels working and the backlight working is a good sign.
It means the backlight is hooked up correctly and the contrast pot is wired in correctly.

More than likely a wiring error or wires not making proper connection is causing the issue.
What is connected to the GLCD reset pin (glcd module pin 14) ?
It should be connected either to the Arduino reset pin or to +5v.

Run the diag sketch down in the glcd examples and post the output from the serial port here.
Also, if you can take some clear close up photos so I can see where all the wires go
and be a second set of eyes to verify wiring.

Those two will be a big help in figuring out what the issue is.

--- bill

Thank you so much, I did not now that reset had to be hooked up to 5v because I read through the arduino cookbook and its left blank at the one where it says reset and to arduino mega. Thanks man!

The ks0108 reset line is an active low line. (when low, the ks0108 module is held in reset)
It needs to be high for normal operation.
However, while connecting it directly to 5v works for most glcds, it doesn't work for some as
some ks0108 glcds do not self reset on power up and and need a H->L->H pulse on their reset line
to properly reset.

Read the notes about the glcd reset pin on the ks0108 playground page
http://playground.arduino.cc/Code/GLCDks0108
The tables and text show how to wire up the glcd reset line.
Don't miss the special note I wrote about it in the section: GLCD reset pin NOTE

-- bill

Thanks for the advice!