Page 1 of 1

Cytron GLCD with Arduino UNO

PostPosted: Tue Jan 29, 2013 5:37 pm
by pradeep20
I recently purchased a GLCD from cytron ( http://www.cytron.com.my/viewProduct.ph ... %20(128x64) ) and am trying to interface it with my arduino UNO. I downloaded the LCD12864R and tried to run the LCD_char code and everytime it returns nothing if not having trouble with the code, as in the screen remains blank.

I interfaced them together using the following pin out:
RS = Analog Pin3
RW = Analog Pin2
E = Analog Pin4
D0 = 8;
D1 = 9;
D2 = 10;
D3 = 11;
D4 = 4;
D5 = 5;
D6 = 6;
D7 = 7;
PSB = 5V;

and this is a sample code;
#include "LCD12864R.h"
#define AR_SIZE( a ) sizeof( a ) / sizeof( a[0] )

unsigned char show0[]={0xBB,0xFA,0xC6,0xF7,0xC8,0xCB,0xC3,0xCE,0xB9,0xA4,0xB3,0xA7};
unsigned char show1[]="www.dfrobot.com";//

void setup()
{
LCDA.Initialise(); // INIT SCREEN
delay(100);
}

void loop()
{
LCDA.CLEAR();//ÇåÆÁ
delay(100);
LCDA.DisplaySig(0,0,0x20);//ÏÔʾһ¸ö¿Õ¸ñ
delay(100);
LCDA.DisplayString(0,1,show0,AR_SIZE(show0));//LOGO
delay(100);
LCDA.DisplayString(2,0,show1,AR_SIZE(show1));;//LOGO
while(1);
}

***** i cant seem to see what the problem is and really hope someone can help me rectify this.. Thank you.

Re: Cytron GLCD with Arduino UNO

PostPosted: Thu Jan 31, 2013 10:06 am
by gadgetng
I tried that GLCD before with DFrobot sample code. It is working fine. Oh ya.. i was using Arduino MEGA. So you may check that code out.

Re: Cytron GLCD with Arduino UNO

PostPosted: Thu Apr 11, 2013 5:48 am
by pradeep20
Thank you so much for you reply :D :D

I know its a little late but i found out that the arduino Uno requires a shield for the GLCD as it cannot be connected directly to the GLCD.

Any idea what a shield is and how i may obtain it or prolly make it?

thank you again :)