t6963c GLCD module
Moderators: David Barker, Jerry Messina
-
- Posts: 14
- Joined: Fri Feb 06, 2009 2:26 pm
- Location: Spokane, WA
t6963c GLCD module
Hello Everyone,
I am having problems displaying on a 128x64 glcd screen that utilizes the t6963c controller. I'm using the module that octal posted on the wiki and test code as well. My connection is as follows:
RW(WR) - PortC.0
CE - PortC.1
RD - PortC.2
CD - PortC.4
RST - PortC.5
Data - PortD
I'm using an 18f45550 running at 48MHz
For some reason the display does not show anything.
I'm able to adjust the contrast but no text is displayed.
Here is the display http://www.crystalfontz.com/product/CFAG12864D-STI-TZ
Thanks in advance for any help given.
Drew
I am having problems displaying on a 128x64 glcd screen that utilizes the t6963c controller. I'm using the module that octal posted on the wiki and test code as well. My connection is as follows:
RW(WR) - PortC.0
CE - PortC.1
RD - PortC.2
CD - PortC.4
RST - PortC.5
Data - PortD
I'm using an 18f45550 running at 48MHz
For some reason the display does not show anything.
I'm able to adjust the contrast but no text is displayed.
Here is the display http://www.crystalfontz.com/product/CFAG12864D-STI-TZ
Thanks in advance for any help given.
Drew
-
- Posts: 14
- Joined: Fri Feb 06, 2009 2:26 pm
- Location: Spokane, WA
-
- Posts: 14
- Joined: Fri Feb 06, 2009 2:26 pm
- Location: Spokane, WA
Just a little question:
In the module T6963C source codes, did you changed the constants:
to the real width/height of your display? since you are using a 128x64 disp, these constants should become:
if you dont do it correctly data will be overwritten in memory !
Let me know the result
Regards
octal
In the module T6963C source codes, did you changed the constants:
Code: Select all
Public Const
GLCDWidth = 240,
GLCDHeight = 128
to the real width/height of your display? since you are using a 128x64 disp, these constants should become:
Code: Select all
Public Const
GLCDWidth = 128,
GLCDHeight = 64
Let me know the result
Regards
octal
-
- Posts: 14
- Joined: Fri Feb 06, 2009 2:26 pm
- Location: Spokane, WA
Do you have a non-USB device such as a PIC18F4620? If yes, try one - the USB devices are quite different (especially the oscillator module) and can be tricky to use. I have used octal's driver (and his excellent font converter) with 240x128 and 240x64 T6963C GLCD's and they work fine. Here is an example of the 240x64:
-
- Posts: 14
- Joined: Fri Feb 06, 2009 2:26 pm
- Location: Spokane, WA
Also, if you are going to get another display, I would highly recommend getting one that uses KS0108 controller. They are available in 128x64 and 192x64 and the SF driver for it is excellent and works really well. This is a project I did with a 128x64 using SF. It also has 24 touch buttons and a bunch of other stuff. BTW, say hi to Tim and Brent at Crystalfontz for me.
-
- Posts: 14
- Joined: Fri Feb 06, 2009 2:26 pm
- Location: Spokane, WA
-
- Posts: 14
- Joined: Fri Feb 06, 2009 2:26 pm
- Location: Spokane, WA
-
- Posts: 14
- Joined: Fri Feb 06, 2009 2:26 pm
- Location: Spokane, WA
-
- Posts: 14
- Joined: Fri Feb 06, 2009 2:26 pm
- Location: Spokane, WA
Taking octals advice I switched from PortC to PortB, there seems to be some improvement as I am seeing actual characters along with random lines on the screen.
One idea that I had this morning is that I should try using the internal oscillator but after reading more into the PIC18F4550 Datasheet I found that PLL is only available for an external clock source.... Alas, I decided to take rmteo's advice and order a few PIC18F4620s from Microchip, I should be seeing them early next week.
The main reason for a T6963C display is for the larger displays, I'm attempting to prototype with the 128x64 display but am going to use a 160x128 5"x4" display for the end product http://www.crystalfontz.com/product/CFAG160128E-STI-TZ
I'll keep troubleshooting with the PIC18F4550 until the new ones arrive.
Thanks for all of the help Octal and rmteo, I may be posting with more questions soon.
Drew
One idea that I had this morning is that I should try using the internal oscillator but after reading more into the PIC18F4550 Datasheet I found that PLL is only available for an external clock source.... Alas, I decided to take rmteo's advice and order a few PIC18F4620s from Microchip, I should be seeing them early next week.
The main reason for a T6963C display is for the larger displays, I'm attempting to prototype with the 128x64 display but am going to use a 160x128 5"x4" display for the end product http://www.crystalfontz.com/product/CFAG160128E-STI-TZ
I'll keep troubleshooting with the PIC18F4550 until the new ones arrive.
Thanks for all of the help Octal and rmteo, I may be posting with more questions soon.
Drew