Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 19:57 28 Nov 2024 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : LCD testing

Author Message
IanRogers

Senior Member

Joined: 09/12/2022
Location: United Kingdom
Posts: 151
Posted: 07:27am 17 May 2023
Copy link to clipboard 
Print this post

Hi All

I recently received an LCD screen from a friend.. Chinesium in nature with the words 2.4" 240x320  BUT!! scribbled on was ST7735.

I have never seen an ST7735 at that resolution but my friend said it just doesn't work, just coloured lines.

I placed it on a working MicroMite that had a ILI9341 driver selected. it now "kinda" works but portait instead of landscape, even though have it on landscape, so only two thirds of the screen are "normal" the colours are completely wrong, so I assume it is most definitely not an ILI9341.  RED appears BLUE

Any ideas?
Edited 2023-05-17 17:37 by IanRogers
I'd give my left arm to be ambidextrous
 
phil99

Guru

Joined: 11/02/2018
Location: Australia
Posts: 2140
Posted: 08:09am 17 May 2023
Copy link to clipboard 
Print this post

Manual p47 indicates none of the ST7735 driver versions support 320 x 240 so you may need to experiment with some others. ST7789 or ST7789_320 may be a place to start. If you can't get the colours right it may be possible to define your own set as constants. Start with:-

CLS RGB(0,0,255)
PRINT RGB(0,0,255)
CONST BLUE = RGB(0,0,255)

Replace BLUE with whatever colour you see.
Edited 2023-05-17 18:10 by phil99
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 9129
Posted: 08:20am 17 May 2023
Copy link to clipboard 
Print this post

The ST7735 cannot be used for a 320x240 display - the chip supports a maximum of 132x162
 
IanRogers

Senior Member

Joined: 09/12/2022
Location: United Kingdom
Posts: 151
Posted: 09:21am 17 May 2023
Copy link to clipboard 
Print this post

I have quite a few ILI03541's both 2.4" and 2.8" and this is identical to my 2.4" screens and I mean identical..  The only ST7735 in these colours and format are 1.8" and are indeed 162 x 132.

BUT! Clearly these do not contain an ILI9341 OR!! they are damaged. I should imagine the SPI connection and the "loosely" similar commands, I can see why functionality is down if it is indeed an ST7789.

I'll get out my Ardiuno nano and start messing. If anyone else knows what GPU these contain please let me know.. I do remember another ILI chip that is no longer used I think it was ILI9340 and that was incompatible with the newer ILI9341..

We'll see.
I'd give my left arm to be ambidextrous
 
Print this page


To reply to this topic, you need to log in.

© JAQ Software 2024