Go Down

Topic: Where can I buy 128x32+ Graphic LCD (Read 632 times) previous topic - next topic

Croutonix

May 22, 2016, 04:05 am Last Edit: May 22, 2016, 04:15 am by Croutonix
I already have a 16x2 LCD display but it's hard to make good graphics on it. So I want to buy a graphic LCD with a display bigger or equal to 128x32 px but I can't find one a reasonable price and preferably on ebay or amazon not some random chinese website. Which one would you recommend? Also I see this uses many pins, is there something like I2C for graphic LCD or a way to multiplex inputs?

MAS3

Hi, and welcome.

Consider an OLED display.
They may be a lot more expensive, and they may also be much smaller than you expect.
But they typically are connected through I2C or SPI, and can be better read in daylight conditions.

Perhaps Adafruit has something ? (click !)
Have a look at "blink without delay".
Did you connect the grounds ?
Je kunt hier ook in het Nederlands terecht: http://arduino.cc/forum/index.php/board,77.0.html

Croutonix

#2
May 22, 2016, 05:12 pm Last Edit: May 22, 2016, 05:18 pm by Croutonix
I'm not really looking for small...
Here's what I found so far on ebay

This one has 20 pins just like a 16x2 LCD, I guess wiring is almost the same.
http://www.ebay.com/itm/5V-12864-LCD-Display-Module-128x64-Dots-Graphic-Matrix-LCD-Blue-Backlight-/201546165293?hash=item2eed166c2d:g:l9gAAOSwsB9V~8LO


On this other lcd there's a module that looks like I2C which allows it to be controlled with 5 pins only.
Except I can't find this module individually and the LCD costs $30 which is more than my budget.


And this one is really cheap ($4) but no documentation? Also connector is weird.
In the description it says it can be used with 4-wire SPI serial interface? (is this I2C?)
http://www.ebay.com/itm/12864-Character-LCD-Display-Module-128x64-Dots-Graphic-Matrix-Green-Backlight-/171630124202?hash=item27f5f3dcaa:g:JG4AAOSwMpZUqh1C


I plan to use it to make basic games with arduino like tetris, pong, etc.

ieee488

If you want big, look for a 192 x 64.  I bought one last year.

something like http://www.ebay.com/itm/19264-192x64-Dots-Graphic-LCD-Display-Module-LCM-w-KS0107-KS0108-White-on-Blue-/290978936259


But now  I see that there are 192 x 64 LCD displays that are controlled by I2C. Don't have experience with that.

Grumpy_Mike

#4
May 23, 2016, 06:28 pm Last Edit: May 23, 2016, 06:29 pm by Grumpy_Mike
Quote
In the description it says it can be used with 4-wire SPI serial interface? (is this I2C?)
No it is not I2C.

There are two types of display, those that are just the raw display and require another processor chip, and often a driver, with memory to refresh them, and those with that processor, driver and memory built in. The former are cheaper but useless with the Arduino.

Croutonix

Could any of these one work with arduino? They say they do, but just to be sure.
1. http://www.buydisplay.com/default/4-3-inch-cog-192x64-display-graphic-lcds-module-ist3020-black-on-white
2. http://www.buydisplay.com/default/3-4-inch-240x160-dot-matrix-lcd-display-serial-interface-black-on-white


Also how would I connect this to my arduino? (36 pins for the first one and 24 pins for the second one)

P.S: I didn't really like the one you suggested, because it's blue and a bit expensive.


Grumpy_Mike

Yes these look like they could work.

Quote
Also how would I connect this to my arduino?
If you are having to ask that then there is a much bigger problem you will face, that of the software.

Both those displays say they have an SPI interface, so that is how you connect them to the Arduino. But that is only the start, you then need to drive them with software. The thing to look at here is the IC that they mention. In the case of the 240 by 160 this is the ST7586. If you are lucky then someone might have written a libiary to drive them. Otherwise you will have to go through the data sheet and see if you can figure out how to do it.

Note that the way this is normally done is to write routines that modify a block of memory in the Arduino and then dump that block of memory to the display. In the case of 240 by 160 this will require at least 4800 bytes:- ( 240 * 160 ) / 8, for one bit per pixel, which is more than the 2K of a Uno and half of the available memory in a Mega.

If you get a display from an Arduino savvy vendor, there is likely to be a libiary to drive it because it is in their interest to supply one. Of course you pay for this in a higher price for the display but it will work. However these libraries will still be heavy on the memory, as yours will have to be if you write your own.

bodmer

As Mike say's the quesions being asked indicates you need to follow a tutorial with a proven solution from both the hardware and software viewpoints. You can search for "Arduino graphics lcd game" on Google and finds some good links.  The typical graphics LCD has a slow pixel response time (see this video) so any fast movements lose contrast and leave a fading trail behind.  TFT displays are better for rendering faster moving graphics (example here) but use more power and are less readable in bright light.

Here is an example tutorial using a $20 LCD display from SparkFun that looks like it would suit your needs.

There are cheaper equivalent displays from China but it is a bit of a lottery whether you get exactly what is advertised.
Formerly Rowboteer (now a broken user profile!)

Go Up