CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

OT: Anyone used a HQM1286404 graphics LCD?

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
edhaslam



Joined: 15 Jul 2005
Posts: 89
Location: UK

View user's profile Send private message

OT: Anyone used a HQM1286404 graphics LCD?
PostPosted: Sat Dec 10, 2005 11:21 am     Reply with quote

Hi All,

I've bought a couple of 128x64 graphics LCDs for next-to-nothing. The only problem is that there's no datasheet with them (hence the price). I figured they were worth buying as there may be a chance of getting them working.

Has anyone ever come across this type of LCD? On the back is printed HQM1286404 and also JE-AN 1286404 (Korea 2003.08). All I need is the pinout and the controller type and I should be able to do something with it.

Any info/data would be very useful!!

Ed
newguy



Joined: 24 Jun 2004
Posts: 1909

View user's profile Send private message

PostPosted: Sat Dec 10, 2005 11:50 am     Reply with quote

How many pins?

Does it have a flat-flex cable attached?
edhaslam



Joined: 15 Jul 2005
Posts: 89
Location: UK

View user's profile Send private message

PostPosted: Sat Dec 10, 2005 11:58 am     Reply with quote

newguy wrote:
How many pins?

Does it have a flat-flex cable attached?


Hi newguy,

It has a 20 pin SIL connector and looks as though it's had a custom 'loom' fitted to it, i.e. no flat connector. Dims are approx. 78x52x9mm. I'll post some pictures shortly...

ed
edhaslam



Joined: 15 Jul 2005
Posts: 89
Location: UK

View user's profile Send private message

PostPosted: Sat Dec 10, 2005 12:20 pm     Reply with quote

edhaslam wrote:


I'll post some pictures shortly...

ed


Here they are>

Front:
http://img.photobucket.com/albums/v470/edhaslam/Misc/Misc/PICT2464.jpg

Back:
http://img.photobucket.com/albums/v470/edhaslam/Misc/Misc/PICT2468.jpg

Back, Close-Up:
http://img.photobucket.com/albums/v470/edhaslam/Misc/Misc/PICT2470.jpg

Ed
Darren Rook



Joined: 06 Sep 2003
Posts: 287
Location: Milwaukee, WI

View user's profile Send private message Send e-mail

PostPosted: Sat Dec 10, 2005 12:26 pm     Reply with quote

Someone at CCS wrote the GLCD.C, which you can find in the drivers directory. The reason I bring it up is because the LCD you posted pictures for looks a lot like the LCD that the person at CCS was working on. I say 'someone at CCS' because it wasn't me.
edhaslam



Joined: 15 Jul 2005
Posts: 89
Location: UK

View user's profile Send private message

PostPosted: Sat Dec 10, 2005 12:30 pm     Reply with quote

Darren Rook wrote:
Someone at CCS wrote the GLCD.C, which you can find in the drivers directory. The reason I bring it up is because the LCD you posted pictures for looks a lot like the LCD that the person at CCS was working on. I say 'someone at CCS' because it wasn't me.


Ok, great news. We're getting somewhere... If any of the CCS guys recognise the display, can you confirm what type it is and what driver I should use?

Many thanks in advance,
Ed
Darren Rook



Joined: 06 Sep 2003
Posts: 287
Location: Milwaukee, WI

View user's profile Send private message Send e-mail

PostPosted: Sat Dec 10, 2005 1:12 pm     Reply with quote

edhaslam wrote:
Ok, great news. We're getting somewhere... If any of the CCS guys recognise the display, can you confirm what type it is and what driver I should use?


Unfortunately he doesn't work at CCS anymore. I can look and see if the datasheet is at CCS somewhere.

For the time being, I would try the code that CCS has provided. It's for a 20pin LCD that looks almost exactly like your 20pin LCD. There's even a pinout description in GLCD.C

As I said, your LCD looks exactly like the one that we have - especially the bottom. Ours has the same IC configuration with the same epoxy over some of the ICs.
edhaslam



Joined: 15 Jul 2005
Posts: 89
Location: UK

View user's profile Send private message

PostPosted: Sat Dec 10, 2005 1:15 pm     Reply with quote

Darren Rook wrote:


Unfortunately he doesn't work at CCS anymore. I can look and see if the datasheet is at CCS somewhere.



If you could have a look and maybe even check the LCD you have there, that would be great. In the meantime i'll try the CCS code and see if it does anything.

Many thanks Darren,
Ed
Mark



Joined: 07 Sep 2003
Posts: 2838
Location: Atlanta, GA

View user's profile Send private message Send e-mail

PostPosted: Sat Dec 10, 2005 5:54 pm     Reply with quote

http://yoohanlv.co.kr//spec/LCD/JA-SGB12864-YW6T-S.pdf
edhaslam



Joined: 15 Jul 2005
Posts: 89
Location: UK

View user's profile Send private message

PostPosted: Sun Dec 11, 2005 11:32 am     Reply with quote

Mark wrote:
http://yoohanlv.co.kr//spec/LCD/JA-SGB12864-YW6T-S.pdf


Mark,

This datasheet seems to be the next revision (HQM12864 05) and has a different pinout to the CCS driver. Do you know whether the revision I have has the CCS pinout or the one given in this datasheet?

Cheers,
Ed
newguy



Joined: 24 Jun 2004
Posts: 1909

View user's profile Send private message

PostPosted: Sun Dec 11, 2005 11:39 am     Reply with quote

edhaslam wrote:

Mark

This datasheet seems to be the next revision (HQM12864 05) and has a different pinout to the CCS driver. Do you know whether the revision I have has the CCS pinout or the one given in this datasheet?

Cheers,
Ed


Ed,

I'm willing to bet it is the same pinout, and that the CCS driver will work. They don't usually change pinouts between revisions so that the new versions remain backward compatible with the old ones. Give it a try.
edhaslam



Joined: 15 Jul 2005
Posts: 89
Location: UK

View user's profile Send private message

PostPosted: Sun Dec 11, 2005 11:47 am     Reply with quote

newguy wrote:
edhaslam wrote:

Mark

This datasheet seems to be the next revision (HQM12864 05) and has a different pinout to the CCS driver. Do you know whether the revision I have has the CCS pinout or the one given in this datasheet?

Cheers,
Ed


Ed,

I'm willing to bet it is the same pinout, and that the CCS driver will work. They don't usually change pinouts between revisions so that the new versions remain backward compatible with the old ones. Give it a try.


Ok, I'll give it a go - many thanks guys.

Ed
Mark



Joined: 07 Sep 2003
Posts: 2838
Location: Atlanta, GA

View user's profile Send private message Send e-mail

PostPosted: Sun Dec 11, 2005 10:35 pm     Reply with quote

By looking closely at the board, you might be able to determine if the pinout looks correct before you go and connect it up.
edhaslam



Joined: 15 Jul 2005
Posts: 89
Location: UK

View user's profile Send private message

PostPosted: Mon Dec 12, 2005 6:34 am     Reply with quote

Mark wrote:
By looking closely at the board, you might be able to determine if the pinout looks correct before you go and connect it up.


With the information you've given me and a little playing around with pinouts, i've managed to get it working! Very Happy

I wired it up using the datasheet that Mark posted but I got nothing out of it (it also pulled the power supply down!). I buzzed a few of the pins through and worked out where Vdd and GND were. It was just a matter of swapping the two around. When the display fired up the two halves of the screen were the wrong way around so I swapped the two chip select pins around and everything is working!

Here's the final pinout:

HQM1286404 LCD Pin connections:

1: VDD is connected to +5V
2: VSS is connected to GND
3: V0 - LCD operating voltage is connected from a 20k Ohm POT
4: D/I - Data or Instruction is connected to B2
5: R/W - Read or Write is connected to B4
6: Enable is connected to B5
7-14: Data Bus 0 to 7 is connected to port d
15: Chip Select 2 is connected to B1
16: Chip Select 1 is connected to B0
17: Reset is connected to C0
18: Negative voltage is also connected to the 20k Ohm POT
19: Positive voltage for LED backlight is connected to +5V
20: Negavtive voltage for LED backlight is connected to GND


Many thanks guys! I really thought I'd waisted my money not long after buying it as I thought it would be a nightmare to get working.

Ed
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group