128*64 LCD using uart, i2c or spi, how to get one?

Hello,

I want to improve my display from lcd1602 to the 128*64, as I worked with my LCD1602 using i2c

so I'm planning to also use serial communication to the lcd128*64

but I'm not sure how to get one?
also which one attached to which serial communication?
which is better uart, i2c or spi?

this seller provides different versions that run on different communication protocols:

[https://www.aliexpress.com/item/93X70MM-Graphic-Matrix-I2C-IIC-12864-128-64-LCD-Module-Display-Screen-for-Arduino-White-on/32917897602.html?spm=2114.search0104.3.32.282d5534Mto90r&ws_ab_test=searchweb0_0,searchweb201602_8_10065_10870_10068_319_10867_10059_10884_317_10887_10696_321_322_10084_453_10083_454_10103_10618_10307_537_536_10902,searchweb201603_58,ppcSwitch_0&algo_expid=ac41846c-6975-424a-b9bd-0ee3999c40ba-4&algo_pvid=ac41846c-6975-424a-b9bd-0ee3999c40ba&transAbTest=ae803_3]93X70MM Graphic Matrix I2C IIC 12864 128*64 LCD Module Display Screen for Arduino White on Blue Build-in GB2312 ASCII Fon](https://www.aliexpress.com/item/93X70MM-Graphic-Matrix-I2C-IIC-12864-128-64-LCD-Module-Display-Screen-for-Arduino-White-on/32917897602.html?spm=2114.search0104.3.32.282d5534Mto90r&ws_ab_test=searchweb0_0,searchweb201602_8_10065_10870_10068_319_10867_10059_10884_317_10887_10696_321_322_10084_453_10083_454_10103_10618_10307_537_536_10902,searchweb201603_58,ppcSwitch_0&algo_expid=ac41846c-6975-424a-b9bd-0ee3999c40ba-4&algo_pvid=ac41846c-6975-424a-b9bd-0ee3999c40ba&transAbTest=ae803_3)

thanks,

KS0108: uses up most of your GPIO pins. Libraries are available e.g. U8g2

ST7920: SPI uses few pins. ST7920 misbehaves on SPI bus. Libraries are available e.g. U8g2

I2C: uses few pins. I2C is slow but practical for 128x64. They do not say what controller. We do not know commands. We do not know if it misbehaves on I2C bus. I do not know any library.

UART: uses few pins. Would be convenient for Mega2560 with spare hardware Serial pins. We do not know commands. I do not know any library.

It would be relatively easy to guess the I2C and UART commands if I had one on my desk. I have too many displays. I don't want to buy another one (or two)

Perhaps Olikraus has seen the I2C or UART displays.

If not, my advice is to buy a ST7920. Use software SPI if you have other SPI devices on the hardware bus.

I do not like Blue displays. The Yellow ones work in daylight. The Gray I2C one looks nice but not much good without a library.

Have you looked at OLED or TFT displays?

David.

Hello david :slight_smile:

OK, I understand that there are different drivers for different displays.

Well, I ordered this one:

With this i2c adapter:

Hope they would work together nicely.

I just want this LCD 12864 for my to step up from the 1602 and also introduce the 12864 for the college projects.

But for me personal I would love to buy some nice TFT displays.

I have 2.8" which work with spi, I tried to run it but it didn't work ! I don't know if the display is broken.

I doubt if your TFT display is broken. It should work if you follow the advice that you were given.

It looks like you have chosen a ST7920 display.
And an unknown backpack. Which will be slow.

The ST7920 will work fine in SPI mode.
The ST7920 will work fine in 8-bit parallel mode.
The ST7920 will work fine in 4-bit parallel mode.

There are libraries for SPI and 8-bit parallel.
I doubt if there is a library for your unknown backpack. It will be SLOW.

It will work with a regular PCF8574 backpack but I don't think anyone has published a library for this. It will be SLOW.

David.

OK, I would try to work with the 2.8" TFT again. and should post a thread about it soon just need to finish some of the college's small projects right now.

according to the ST7920, I'm not interested in the 8 and 4 bits mode but would be happy to work with the spi mode because it's super fast protocol.

the backpack is new i guess but i don't know what chip on that board but waiting for it to arrive and then would post it here if anyone is interested in writing a library for it

can i post about the 2.8" tft here or open a new thread?

thanks,