This is my first try with Arduino and generally electronics... I used to love this things when I was a kid, I wish Arduino existed back then.
Anyhow,
I'm trying to hook up lcd screen sg12864j4 to Arduino mega 2560.
Datasheet for sg12864j4 is here:
http://storage.vas3k.ru/file/SG12864J4.pdfAnd GLCD guide for wiring (Panel B):
http://playground.arduino.cc/uploads/Code/GLCD_Documentation.pdfI read datasheet and figured out my LCD was Panel B, not sure if this is correct though.
When I uploade "Hello World" sketch. Screen / backlight and contrast work fine. Potentiometer also correctly controls contrast. But I don't see anything else on the screen, just a solid block of white pixels.
I ran GLCD diagnostic. And in Serial monitor I saw this:
Serng GLCD
GLCD initialization Failed: RESET wait Timeout (status code: 2)
----------------------------
Diag Loop: 2
Initializing GLCD
GLCD initialization Failed: RESET wait Timeout (status code: 2)
Serial initialized
--------------------------------------------------------------------
Reported Arduino Revision: 1.3
--------------------------------------------------------------------
GLCD Lib Configuration: glcd ver: 3 glcd_Device ver: 1 gText ver: 1
GLCD Lib build date: Mon Dec 5 01:50:07 CST 2011
GLCD Lib build number: 442
Panel Configuration:ks0108
Pin Configuration:ks0108-Mega
--------------------------------------------------------------------
GLCD:ks0108 DisplayWidth:128 DisplayHeight:64
Chips:2 ChipWidth:64 ChipHeight:64
CSEL1:33(PIN_C4) CSEL2:34(PIN_C3)
RW:35(PIN_C2) DI:36(PIN_C1) EN:37(PIN_C0)
D0:22(PIN_A0) D1:23(PIN_A1) D2:24(PIN_A2) D3:25(PIN_A3)
D4:26(PIN_A4) D5:27(PIN_A5) D6:28(PIN_A6) D7:29(PIN_A7)
Delays: tDDR:320 tAS:140 tDSW:200 tWH:450 tWL:450
ChipSelects: CHIP0:(33,0x1, 34,0x0) CHIP1:(33,0x0, 34,0x1)
Data mode: byte
--------------------------------------------------------------------
I also tried to take meaningful photos, but it is very hard... I doubt any1 will understand my wiring

First photo shows how contrast changes when I turn the knob.



Maybe I should reshoot these with daylight?