First time setting up a display, and I can't seem to get anything to come up on the screen.
I'm using a Mega 2560 and the screen is a Digitron SG12864J4
According to Arduino Playground - GLCDks0108 .. uses the "B" pinout, which is how I have it wired.
This is the datasheet for the screen: http://www.digitron.com.hk/sg12864j.htm
I'm using a 10K pot, and a 220 ohm resistor.
The screen lights up, and I can control the contrast with the pot.
I can get the example code from the above link to compile and upload using Arduino 0023.
I can get GLCDv3 code to compile using the latest IDE.
Even though I don't get any errors, nothing comes up on the screen.
Here is the output from GLCDdiags
Reported Arduino Revision: 1.0
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
Diag Loop: 3
Initializing GLCD
GLCD initialization Failed: RESET wait Timeout (status code: 2)
A couple of photos:
In these photos I don't have the reset pin wired.
I've tried wiring the reset port on the board to Pin17 and leaving it there. I've tried keeping the reset disconnected during upload, and then trying to connect it after, and also tried just not connecting the reset at all.
Any idea what my problem might be?
Here are a couple of people that have my same kit, but unfortunately my problem is not theirs:
Any help would be greatly appreciated!!