Hookup Guide: 240x128 Graphic LCD Module Display T6963 ERM240128SYG-2

In this case, it's better that your pictures are big

This diagram/"data"sheet
http://www.hantronix.com/files/data/1278478198128g24yp.pdf
resembles your assembly.

Do you agree?

It says there that Vee, Pin 17, is an - Output.
"# Has built-in inverter for negative power supply"

How about rigging up +5 to Pin 2 and Gnd to Pin 1 and checking for that Vee voltage?
If it's present then continue with the hook-up per the "Power Supply" inset.
Maybe, like the display of mine that I mentioned previously, yours will come up with all pixels dark, too.

It did not work. As soon as I connected the 5v from the LCD to the mega, my mega shut off. So i tried a power supply. I set it for 5V, and as soon as I turn it on, the current jumped to 3.1A and cut off. I don't think it would use more than 3.1A.

I believe I've seen this schematic as well. I can't recall why I dismissed it. I think because it was a 24 and not 24L.

Hopefully it did not burn up my Mega, I am sure it is fine. This LCD is just a mess... I may try to contact Hantronix via. the phone, but they have yet to return my emails. If I hear of anything, I will post for future reference for others.

If you or anyone has an idea, PLEASE let me know! thanks :smiley:

Could this be a fake screen, as in wrong identification on the back for whatever reason? This is all I can figure out haha :blush:I got it off of Marlin P Jones.

The 2nd datasheet states around 20mA max (vs your 2A accident).
I think I would have limited that at first.

"Fake"? It's probably legit, but they may have done a special run for a big customer.

As soon as I hooked it up I knew I should have limited it further.

I agree though that it may have been a push product. Live and learn I suppose!

Thank you for your help and taking time to look around on my behalf.

To whom it may concern or help....

Finally found the datasheet for the HDM128GS24L !!

MPJA finally found/posted the thing. Have yet to try it, but it looks right.

Enjoy!

Thanks, Haydent for the post

And thanks to Olikraus for the u8glib support.

I succesfully connect a MS240128A2 240 x 128 Parallel connection to an arduino UNO. Follow the intructions of the first post.

Everithyng works OK, the screen comes into a Chinese machinery and I need test it.

Best regards and keep going.

Is there any solutions by using which we can interface it with UNO means is its memory and other things are that much capable?

yatin:
Is there any solutions by using which we can interface it with UNO means is its memory and other things are that much capable?

Yes, with u8glib.

Oliver

Here is what I am trying with no success I am only getting back light of lcd but nothing getting printed on it!
My LCD is electrolite 240128d which doent provide any specific datasheet but after testing and debugging I got the one datasheet compatible to this display!
I am attaching the datasheet below!
In this also I Vee is generated internally by using 7660 pair! so it is giving me -15V.
My connections are exactly as I mention in code other than this I only made following connection!

VDD=LED A=5v UNO
FG=GND=FS= GND of UNO
Vo open as I am not understanding where to connect it!

And my code is

#include "U8glib.h"

U8GLIB_T6963_240X128 u8g(2, 3, 4, 5, 6, 7, 8, 9, 10, A5, 12, 11, 13); // 8Bit Com: D0..D7: 2,3,4,5,6,7,8,9, cs=10, C/D=A5, wr=12, rd=11, reset=13

void draw(void) {
  // graphic commands to redraw the complete screen should be placed here  
  u8g.setFont(u8g_font_unifont);
  u8g.setPrintPos(0, 20); 
  // call procedure from base class, http://arduino.cc/en/Serial/Print
  u8g.print("Hello World!");
}

void setup(void) {
  // flip screen, if required
  // u8g.setRot180();
}

void loop(void) {
  // picture loop
  u8g.firstPage();  
  do {
    draw();
  } while( u8g.nextPage() );
  
  // rebuild the picture after some delay
  delay(500);
}

So where am i doing wrong? any suggestions could be a great help!

V0 is required for the contrast adjustment:

(Source: https://www.mikrocontroller.net/attachment/69907/Zwischenablage02.jpg)

Oliver

sorry I forgot to attch the datasheet!
and which is vout here?
At Vo I am getting 5V when I am keeping it open and measure it with ground!

lcd 240128d.pdf (256 KB)

Ok after reading few threads I connected pot of 50K between VCC and VEE(-12V) to VO but now on hello world program I am only getting a black line for 1/2 sec and it gets disappear again same for the rotation example!
I dont understand where I am doing wrong!

What happens, if you move the pot. You should be able to turn on and off all pixels just by moving the wiper.

Oliver

Ok thanks I got it it is just to set pot to proper position thats all!

Hey thanks for the support!
I just want to ask you that I want to print one continuous wave form so can we shift our entire selected pixels towards right or left? or do we have to re print entire data again pixel by pixel

Hi

You have to store the values of the waveform (array). And indeed, you have to redraw the complete waveform.

Oliver

hello I have a problem communicating with the Winstar wg240128a with the parent tb6963 inm U8glib .

I compiled and loaded the program but only lcd appears two random lines if possible to verify what I am doing wrong in the program.

I'm trying to one helloword but so far nothing

#include "U8glib.h"

U8GLIB_T6963_240X128 u8g(49, 48, 47, 46, 45, 44, 43, 42, 37, 36, 35, 34, 33);


void draw(void) {
  // graphic commands to redraw the complete screen should be placed here
  u8g.setFont(u8g_font_unifont);
  //u8g.setFont(u8g_font_osb21);
  u8g.drawStr( 0, 22, "Hello World!");
}

void setup(void) {

  // flip screen, if required
  u8g.setRot180();

  // set SPI backup if required
  //u8g.setHardwareBackup(u8g_backup_avr_spi);

  // assign default color value
  if ( u8g.getMode() == U8G_MODE_R3G3B2 ) {
    u8g.setColorIndex(255);     // white
  }
  else if ( u8g.getMode() == U8G_MODE_GRAY2BIT ) {
    u8g.setColorIndex(3);         // max intensity
  }
  else if ( u8g.getMode() == U8G_MODE_BW ) {
    u8g.setColorIndex(1);         // pixel on
  }
  else if ( u8g.getMode() == U8G_MODE_HICOLOR ) {
    u8g.setHiColorByRGB(255, 255, 255);
  }
}

void loop(void) {
  // picture loop
  u8g.firstPage();
  do {
    draw();
  } while ( u8g.nextPage() );

  // rebuild the picture after some delay
  delay(500);
}

.

Random line? Sounds like the negative LCD voltage is missing.

Oliver

conection arduino mega/winstar wg240128A

1 GND
2 GND
3 5V
4 CONTRAST
5 wr 35
6 rd 34
7 cs 37
8 CD 36
9 VEE No conection
10 resset 33
11 D0 49
12 D1 48
13 D2 47
14 D3 46
15 D4 45
16 D5 44
17 D6 43
18 D7 42
19 FS1 GND
20 gnd signal low