View previous topic :: View next topic |
Author |
Message |
edhaslam
Joined: 15 Jul 2005 Posts: 89 Location: UK
|
OT: Anyone used a HQM1286404 graphics LCD? |
Posted: Sat Dec 10, 2005 11:21 am |
|
|
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
|
|
Posted: Sat Dec 10, 2005 11:50 am |
|
|
How many pins?
Does it have a flat-flex cable attached? |
|
|
edhaslam
Joined: 15 Jul 2005 Posts: 89 Location: UK
|
|
Posted: Sat Dec 10, 2005 11:58 am |
|
|
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
|
|
|
Darren Rook
Joined: 06 Sep 2003 Posts: 287 Location: Milwaukee, WI
|
|
Posted: Sat Dec 10, 2005 12:26 pm |
|
|
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
|
|
Posted: Sat Dec 10, 2005 12:30 pm |
|
|
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
|
|
Posted: Sat Dec 10, 2005 1:12 pm |
|
|
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
|
|
Posted: Sat Dec 10, 2005 1:15 pm |
|
|
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
|
|
|
edhaslam
Joined: 15 Jul 2005 Posts: 89 Location: UK
|
|
Posted: Sun Dec 11, 2005 11:32 am |
|
|
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
|
|
Posted: Sun Dec 11, 2005 11:39 am |
|
|
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
|
|
Posted: Sun Dec 11, 2005 11:47 am |
|
|
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
|
|
Posted: Sun Dec 11, 2005 10:35 pm |
|
|
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
|
|
Posted: Mon Dec 12, 2005 6:34 am |
|
|
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!
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 |
|
|
|