Go Down

Topic: graphics LCD (Read 639 times) previous topic - next topic

aradarbel10

Hello,
I have an Hyundai LCD 256x128 from allelectronics.
I found lots of other people that bought this display and cant make it work.
I connected the GND to GND and 5v to 5v and the display is working.
now, I want to control it with my Arduino Uno...
 in the full datasheet (https://people.ece.cornell.edu/land/courses/ece4760/FinalProjects/s2002/emh23/lcd-58.pdf)
I found lots of the codes to set cursor position, on / off and stuff like that, but I don't realy know
what to do with that information... if someone knows how to read datasheets or whatever, please help me!!! it took me more that a month of searching all over the internet just to find that commands list.
also, if someone have a code or a library for that display, please sent a link.

THANK SO MUCH FOR HELP!!

Arad.

olikraus

Looks like a classic T6963 display module.
U8g2 library supports this controller, but this specific dimension is not yet supported. Still you should be able to see "something" with the existing u8g2 drivers. My suggestion is this:

1. Setup your hardware
1.1 Remember to connect pin FG the display to ground
1.2 Get a suitable -20V to -25V source for your V0 input (according to your datasheet chapter 7). DC-DC converter like the AM1P-0524DZ might be required here.
1.3 Connect your display to your Arduino, best is to make connection table (Arduino Pin number vs. display pin name)
2. Install U8g2 library in the Arduino
3. Use this constructor for your display https://github.com/olikraus/u8g2/wiki/u8g2setupcpp#t6963-256x64
4. Update the constructor arguments according to your connection table
5. Execute examples, make some pictures
6. Create an issue on the u8g2 github page and we will work together to implement the 256x128 display variant

Other option might be to search for a different T6963 Arduino lib which supports your resolution...

Oliver

aradarbel10

thank you so much, I will try it!

sure its working only with u8g2?
I already have u8g, I'm using it with my OLED displays and its working good...
Ill download u8g2 just to be sure.


aradarbel10

just one thing, I'm not sure about the constructor...
what is rotation, enable, dc, cs?
I know enable from the standard 16x2 LCD, but there is no enable pin in the Hyundai display...
am I right?

aradarbel10

not going so good... anyone knows about other libraries for this LCD?

olikraus

#5
Sep 30, 2017, 05:56 pm Last Edit: Sep 30, 2017, 06:03 pm by olikraus
not going so good... anyone knows about other libraries for this LCD?
Well, at least u8g2 is the only library for the T6963 which is mentoned in http://www.arduinolibraries.info//libraries.

The problem is, that another a lib will not really help you with the hardware and the wiring problems. You definitly need to solve some hardware problems before using any lib or writing your own code.


Quote from: aradarbel10
rotation, enable, dc, cs?
Rotation argument is described her:
https://github.com/olikraus/u8g2/wiki/u8g2setupcpp#rotation
But just have a look at the examples and takeover the default value.

enable, dc, cs: These are the signal names as they are called in u8g2. I have choosen generic signal names for u8g2 and of course each datasheet has different names. Thats also why I suggested to make a mapping table.

I tried do document this here:
https://github.com/olikraus/u8g2/wiki/u8g2setupcpp#wiring

Maybe you have a better idea how to make such things more easier to read. But connecting such a GLCD (especially a T6963) is not that easy and requires some reading. I am always happy if you name a different lib which does this job better.

Anyhow, let me start the mapping table for you:


U8g2 Name | GLCD Pin Name | Connected to Arduino Pin
enable/WRtbd
dcA0tbd
cs/CStbd
reset/REStbd


Table is not complete, you need the data lines also (D0..D7), but I hope that this is obvious.
Of course I do not know to which GPIO pins your display will be connected, so the next step will be, that you connect your display to some GPIO pins. Write down the pin number in the correct row (replacing "tbd") and use these pin numbers in the constructor arguments (just like for the LiquidCrystal lib).

But I think the more complicated part will be the power supply as specified on page 7 / section 7 of your refered datasheet: You need to get a -25V power source.


Oliver





aradarbel10

Hi Oliver,
Thank you so much for helping me, you're very kind :)

I saw you comment about my issue on github, and Ill be happy to support you with whatever you need to! I know about lots of other people all over the internet with the same problem and I think your hard work could be realy helpful! And I do appreciate your time! Unfortunately I cant try your tips right now, only on tuesday... feel free to email me so we can talk about the library, you said you need my help with the screen ;D

Arad.

olikraus

Yes, but first you need a working hardware.

Oliver

Go Up