Can't get GLCD to work!

theschoolmaster

New member
Hi. I am having great difficulty getting the Graphic LCD GLIC-K1 to work.
I have written some basic test code, and to keep matters simple am using delays instead of using the Status signal.
I have confirmed that the GLICD is connected correctly:
+5v, 0V, SIN to PICAXE output B.7
I have an LED on the PRX signal (B.7) which confirms data is being transmitted. But the LCD refuses to do anything! What am I doing wrong?
All/any help very gratefully appreciated!
CODE:
-----
symbol prx=7
okay:
gosub initLCD
pause 1000
gosub prepLCD
pause 1000
gosub xclearLCD
pause 1000
goto okay
;.............................................................
initLCD:
gosub xclearLCD 'clear the screen
serout prx,T2400,(20,1) 'Switch backlight ON
pause 500
return
prepLCD:
gosub showLYNCH ;Display LYNCH graphic briefly
pause 500
return
showLYNCH:
serout prx,T2400,(100,4,3,0,"LYNCH logo here")
pause 2000
return
xclearLCD:
serout prx,T2400,(10) ; Clear LCD
pause 500
return
 

piclt

Member
Did you try drawing a basic line from example in datasheet...?????
Serout pin , T2400 , (155, 1 , 20 , 25 , 70,25)

you might need
output 7
at top of prog...?
 
Last edited:

Technical

Technical Support
Staff member
If not seeing anything at all make sure you have the negative inverter correctly configured (i.e. jumper is on GLCD side) and have adjusted the blue contrast pot as required.

You also need a delay as very first line in your code (see datasheet)

Code:
2. To make sure GLIC / GLCD initialises properly, always start with a Clear Screen. 

' GLIC Startup pause and clear on PICAXE 18X
Pause 1500 ' Allow GLCD to settle after power-up
Serout 7,T2400, (ClearLCD) :
Pause 200 ‘ Issue Clear Screen and a pause
 

armandoazzola

New member
hello,
i have a similar problem.
Jumper correctly on the GLCD side, 5vcc supply ok. Function pin tied to vcc at start, so i can read the firmware version. No picaxe connected.
And i see the GLCD writing "FGC GLIC-K1 and so on..." only setting the contrast near to maximum, and i see it almost unreadable (like writing in gray 90% on a backgroung gray 89%). Tried on 2 different GLCD, so it cannot be broken.
why?
 

hex

Active member
You need to turn on the GLCD backlight.

You MUST connect either a PICAXE with suitable code, or alternatively a PC (running GLIC software) in order to light the backlight.

The instruction manual explains PICAXE instructions for lighting the GLCD backlight, typically of the form:
Serout <pin>, T2400, (20,1)
 

armandoazzola

New member
You need to turn on the GLCD backlight.

You MUST connect either a PICAXE with suitable code, or alternatively a PC (running GLIC software) in order to light the backlight.

The instruction manual explains PICAXE instructions for lighting the GLCD backlight, typically of the form:
Serout <pin>, T2400, (20,1)
tnk you very much, it worked :)
 
Top