Home
JAQForum Ver 20.06
Log In or Join  
Active Topics
Local Time 19:37 30 Apr 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 : ILI9481 IPS on PicoMite

     Page 3 of 4    
Author Message
bigmik

Guru

Joined: 20/06/2011
Location: Australia
Posts: 2870
Posted: 09:19am 29 Jun 2022
Copy link to clipboard 
Print this post

G’day Peter, All,

I don’t know if this is helpful at all but this is what I have come up with.

This is the link to the supplier I purchased from

Supplier

On that site there is a mention in a table just under the RED TFT pinout list called ESP32

In that table they list suggested pinouts for the ESP32. And state use the TFT eSPI Library

A Google search for that library brought up what I think might hold the information

eSPI Library

I browsed and found somewhere on that GIT hub library a driver for the ILI9481

ILI9481

If that is no good I will consult the seller to see if he has more information to assist.

Kind Regards,

Mick
Mick's uMite Stuff can be found >>> HERE (Kindly hosted by Dontronics) <<<
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 8588
Posted: 09:24am 29 Jun 2022
Copy link to clipboard 
Print this post

One more try - ILI9481N


PicoMite.zip
 
bigmik

Guru

Joined: 20/06/2011
Location: Australia
Posts: 2870
Posted: 09:46am 29 Jun 2022
Copy link to clipboard 
Print this post

Hi Peter,

You are getting Very close

On power up after a second or so the screen goes white possibly missing every second row then goes through a clearing motion from the bottom and leaves about 1/3 of the screen white (every second row still missing)

I then Issue GUI CALIBRATE and I can see some form of not quite readable text and a part cross hair but no circle.

See attached Picture




That is the first time I have seen ANYTHING on the display.

Regards,

Mick
Mick's uMite Stuff can be found >>> HERE (Kindly hosted by Dontronics) <<<
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 8588
Posted: 09:47am 29 Jun 2022
Copy link to clipboard 
Print this post

Please try in landscape and make sure you are running at 125MHz
Edited 2022-06-29 19:49 by matherp
 
bigmik

Guru

Joined: 20/06/2011
Location: Australia
Posts: 2870
Posted: 10:02am 29 Jun 2022
Copy link to clipboard 
Print this post

Hi Peter,

I have never tried overclocking but I set it for 125000kHz

The results in Landscape are more or less the same as Portrait




Regards,

Mick
Mick's uMite Stuff can be found >>> HERE (Kindly hosted by Dontronics) <<<
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 8588
Posted: 10:04am 29 Jun 2022
Copy link to clipboard 
Print this post

Mick, please also try CLS RGB(RED), blue etc. Looks like it is dropping pixels
 
bigmik

Guru

Joined: 20/06/2011
Location: Australia
Posts: 2870
Posted: 10:20am 29 Jun 2022
Copy link to clipboard 
Print this post

Hi Peter,

Here is the result of the three Tests

Red




Blue




Green





Note that none of the fills seem to be the correct colour,

I also tried Cyan and Pink but similar none were the correct colour and all only 2/3 screen with alternate lines missing

I tried all tests with and without MISO connected and the results are the same

Mick
Edited 2022-06-29 20:21 by bigmik
Mick's uMite Stuff can be found >>> HERE (Kindly hosted by Dontronics) <<<
 
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 5731
Posted: 10:23am 29 Jun 2022
Copy link to clipboard 
Print this post

That scribble is interesting. Inverted and written twice, 1 pixel down and about 3 horizontally. How strange. Is it trying to get neater text but missing?
Mick

Zilog Inside! nascom.info for Nascom & Gemini
Preliminary MMBasic docs & my PCB designs
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 8588
Posted: 10:28am 29 Jun 2022
Copy link to clipboard 
Print this post

Another change - please say if I'm keeping you from bed  


PicoMite.zip
 
bigmik

Guru

Joined: 20/06/2011
Location: Australia
Posts: 2870
Posted: 10:30am 29 Jun 2022
Copy link to clipboard 
Print this post

Hi (other) Mick,

It could be my picture taking but then I have seen the actual display so it is like it’s doubled and out of kilter, the screen also (at least in portrait) appears to be reversed horizontally as I know from working with other screens the cross hair would be at top left in GUI CALIBRATE and it is trying to print TOP Right.

I don’t know off hand if this is the same in Landscape but I suspect it is.

Mick
Mick's uMite Stuff can be found >>> HERE (Kindly hosted by Dontronics) <<<
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 8588
Posted: 10:41am 29 Jun 2022
Copy link to clipboard 
Print this post

One more tweak. At the moment SPI is slowed down but we can tune that if we can get the rest working


PicoMite.zip
 
bigmik

Guru

Joined: 20/06/2011
Location: Australia
Posts: 2870
Posted: 10:45am 29 Jun 2022
Copy link to clipboard 
Print this post

Peter,

Just checked the posts again

Which version do you want me to try (or both)?

Mick
Mick's uMite Stuff can be found >>> HERE (Kindly hosted by Dontronics) <<<
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 8588
Posted: 10:47am 29 Jun 2022
Copy link to clipboard 
Print this post

Just the second
 
bigmik

Guru

Joined: 20/06/2011
Location: Australia
Posts: 2870
Posted: 10:56am 29 Jun 2022
Copy link to clipboard 
Print this post

Hi Peter,

I am sorry to say but both versions are a NO GO.

They both start with full white (every 2nd) screens and no display attempt ever in GUI CALIBRATE or CLS RGB(RED) or other colours.

There is also a slight almost imperceptible flicker at the side like there is constant over writing on the same area (for maybe 40 columns)

FYI my current Options are

> option list
OPTION SYSTEM SPI GP18,GP19,GP16
OPTION CPUSPEED (KHz) 125000
OPTION LCDPANEL ILI9481N, LANDSCAPE,GP15,GP14,GP13,GP20
OPTION TOUCH GP12,GP11
GUI CALIBRATE 0, 3597, 3381, -1517, -1006
OPTION SDCARD GP22
>

Mick
Mick's uMite Stuff can be found >>> HERE (Kindly hosted by Dontronics) <<<
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 8588
Posted: 11:03am 29 Jun 2022
Copy link to clipboard 
Print this post

Last try - otherwise it will have to wait for my display to arrive


PicoMite.zip
 
bigmik

Guru

Joined: 20/06/2011
Location: Australia
Posts: 2870
Posted: 11:11am 29 Jun 2022
Copy link to clipboard 
Print this post

Hi Peter All,

My wife is getting a bit cranky, nothing unusual there, but I have to finish watching a show with her before I try again.

It will be about 40minutes time then I will test again.

It must be extremely hard to do these tests from the other side of the world.

I would send you one of my displays if I thought it would get there any quicker than your one but postage times now are horrendous with even an airmail letter taking 3 weeks.

So I would guess it would be at least a month and might get caught up in customs like my last package to the UK with taxes to be paid on top..  just ask Craig

Mick
Mick's uMite Stuff can be found >>> HERE (Kindly hosted by Dontronics) <<<
 
bigmik

Guru

Joined: 20/06/2011
Location: Australia
Posts: 2870
Posted: 12:11pm 29 Jun 2022
Copy link to clipboard 
Print this post

Hi Peter, All,

This will probably have to be the last test (although I might squeeze one in immediately before bed if there is another to try)

You are EXTREMELY Close.

On power Up I can see a change from Black (initial application of power to a full darkish white then a slow (probably takes a second (maybe a bit less) to get to a dark grey background (almost black)

I then typed GUI CALIBRATE and I got this screen




The touches all progress as normal but no circles on the Targets and the text is not legible then it ends in this screen




The text is not legible but I can almost make out the first word is "Warning:" I cant really make out anything else in the text.

Now the time between each target redraw is very VERY slow it is about 1.5s to clear and redraw the next target (not timed accurately)

The good thing is the colours look correct and beautiful.

I did a CLS RGB(Red) , Blue, Green, Yellow, Brown, Pink and everyone was full screen (as far as I can tell) Bright and no missing lines and accurate to their name in colour.

However each CLS took around 1s to complete you could watch it draw across the screen

So you are very Close Peter, this is a mammoth effort when you cant even see or interrogate the screen.

Kind Regards,

Mick
Mick's uMite Stuff can be found >>> HERE (Kindly hosted by Dontronics) <<<
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 8588
Posted: 12:26pm 29 Jun 2022
Copy link to clipboard 
Print this post

One more

PicoMite.zip

We will look at speed later
 
bigmik

Guru

Joined: 20/06/2011
Location: Australia
Posts: 2870
Posted: 01:44pm 29 Jun 2022
Copy link to clipboard 
Print this post

Hi Peter,

You are indeed a Miracle worker

It is `almost' there.

Gui Calibrate does this.
The only problem I can see is the yellow target circle.

Of course as you said everything IS slow.




at the finish we get this.
As far as I can see it is perfect




I tested CLS in red, blue, green, yellow and Cyan and all look great


I then attached the MISO wire again and tried Phil99's test and it seems it may have the same issue as the ILI9488 as I cant read the pixel, however the calibrate works still with MISO connected

> pixel 1,1, rgb(blue) : ? pixel(1,1)
16777215
> pixel 1,1, rgb(red) : ? pixel(1,1)
16777215
>

That is all I can test for now but if you want to post any more to test I am happy to try them tomorrow

Regards,

Mick
Edited 2022-06-29 23:44 by bigmik
Mick's uMite Stuff can be found >>> HERE (Kindly hosted by Dontronics) <<<
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 8588
Posted: 02:19pm 29 Jun 2022
Copy link to clipboard 
Print this post

Mick
Version to test in the morning - yellow circle should now be correct and I've speeded it up a bit.
We can tune the speed when we are both online and see if we can get the pixel reading working


PicoMite.zip
 
     Page 3 of 4    
Print this page
© JAQ Software 2024