Home
JAQForum Ver 20.06
Log In or Join  
Active Topics
Local Time 10:22 25 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 : Waveshare Pico Toys

     Page 2 of 5    
Author Message
cdeagle
Senior Member

Joined: 22/06/2014
Location: United States
Posts: 261
Posted: 04:32pm 16 Oct 2021
Copy link to clipboard 
Print this post

Peter,

The ILI9381 driver works but the screen is dark-to-light from the left. The BACKLIGHT command doesn't seem to do much.

Also, I cannot get the FORMATBOX graphic to work with the 2.8 inch display.

All the other advanced graphics command seem to work.
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 8578
Posted: 06:32pm 16 Oct 2021
Copy link to clipboard 
Print this post

  Quote  The ILI9381 driver works but the screen is dark-to-light from the left. The BACKLIGHT command doesn't seem to do much.


Try ILI9481

  Quote  Also, I cannot get the FORMATBOX graphic to work with the 2.8 inch display.



Works for me:

GUI FORMATBOX #1, DATE1, 50, 150, 150, 40
Do
Loop


There is a bug causing a reset related to format box after leaving the program and editing or re-running but the basic functionality seems to work
Edited 2021-10-17 05:01 by matherp
 
darthvader
Regular Member

Joined: 31/01/2020
Location: France
Posts: 72
Posted: 09:01pm 16 Oct 2021
Copy link to clipboard 
Print this post

I just get an interesting promo from Elektor ....
waveshare evaluation board for raspberry pi pico
The LCD , SD Card , Audio , etc... made it a good starting board.
You just have to add the pico on it ;)
Theory is when we know everything but nothing work ...
Practice is when everything work but no one know why ;)
 
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 5714
Posted: 09:18pm 16 Oct 2021
Copy link to clipboard 
Print this post

The main problem with the Waveshare boards (and some others) is that unless you use stackable female headers on the pico (or use an expansion board of some sort) there's no-where to connect Pico pins to anything else. The picture in that link shows it very well - you can't connect anything to the Pico if you use the normal male pins. This was something I worked hard at when I did my PicoMite Backpack pcb. :)
Edited 2021-10-17 07:20 by Mixtel90
Mick

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

Joined: 30/03/2016
Location: United Kingdom
Posts: 1646
Posted: 10:07pm 16 Oct 2021
Copy link to clipboard 
Print this post

  Mixtel90 said  The main problem with the Waveshare boards (and some others) is that unless you use stackable female headers on the pico (or use an expansion board of some sort) there's no-where to connect Pico pins to anything else. The picture in that link shows it very well - you can't connect anything to the Pico if you use the normal male pins. This was something I worked hard at when I did my PicoMite Backpack pcb. :)


That's weird, I had just found these and then I came here.
 
Poppy

Guru

Joined: 25/07/2019
Location: Germany
Posts: 486
Posted: 03:41am 17 Oct 2021
Copy link to clipboard 
Print this post

  Mixtel90 said  The main problem with the Waveshare boards (and some others) is that unless you use stackable female headers on the pico (or use an expansion board of some sort) there's no-where to connect Pico pins to anything else. The picture in that link shows it very well - you can't connect anything to the Pico if you use the normal male pins. This was something I worked hard at when I did my PicoMite Backpack pcb. :)


What about using these with longer legs?!
Andre ... such a GURU?
 
Poppy

Guru

Joined: 25/07/2019
Location: Germany
Posts: 486
Posted: 03:48am 17 Oct 2021
Copy link to clipboard 
Print this post

  matherp said  
  Quote  The ILI9381 driver works but the screen is dark-to-light from the left. The BACKLIGHT command doesn't seem to do much.


Try ILI9481

...



Is the item you are talking about exactly this one (circuit diagram)?
Andre ... such a GURU?
 
Poppy

Guru

Joined: 25/07/2019
Location: Germany
Posts: 486
Posted: 04:03am 17 Oct 2021
Copy link to clipboard 
Print this post

  Poppy said  
  matherp said  
  Quote  The ILI9381 driver works but the screen is dark-to-light from the left. The BACKLIGHT command doesn't seem to do much.


Try ILI9481

...



Is the item you are talking about exactly this one (circuit diagram)?


Actually now I am a little more confused.

Is there any important difference between these 2 boards concerning compatibility?

Pico_Eval-Board

Pico-Res-Touch

... or will both work without any problems?
Andre ... such a GURU?
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 8578
Posted: 07:16am 17 Oct 2021
Copy link to clipboard 
Print this post

  Quote  Is there any important difference between these 2 boards concerning compatibility?


Both of them wire the display in parallel and then use shift registers to create a SPI I/F (hence all the extra chips). This does not present the same as a normal SPI connected ILI9488 and it appears from cdeagle doesn't work. The only driver I have ever written to use this sort of connection is the ILI9481 driver which may or may not be compatible.

I don't have one of these displays so am unable to test and/or get it working.
 
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 5714
Posted: 07:45am 17 Oct 2021
Copy link to clipboard 
Print this post

  Poppy said  
  Mixtel90 said  The main problem with the Waveshare boards (and some others) is that unless you use stackable female headers on the pico (or use an expansion board of some sort) there's no-where to connect Pico pins to anything else. The picture in that link shows it very well - you can't connect anything to the Pico if you use the normal male pins. This was something I worked hard at when I did my PicoMite Backpack pcb. :)


What about using these with longer legs?!
Those are the stackable female headers I was on about. If you fit them to a Pico you can plug it into anything and still be able to connect to it - you just have to be careful about which pins are already used. I did my first one like that - it gives you a row of holes back on your breadboard and allows you to make "hats" for it. A bit more expensive than the ordinary pins though.

------------

I'm not sure I like that idea of synthesized SPI on those displays. It's rather like creating a new serial interface that's neither I2C nor true SPI. Just checking ebay for a 10ft barge pole to keep them away.
Mick

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

Joined: 11/12/2012
Location: United Kingdom
Posts: 8578
Posted: 07:54am 17 Oct 2021
Copy link to clipboard 
Print this post

cdeagle

Please try the attached



PicoMiteV5.07.00b29.zip



Use the option

OPTION LCDPANEL ILI9488W,GP8,GP15,GP9,GP13
Edited 2021-10-17 18:29 by matherp
 
cdeagle
Senior Member

Joined: 22/06/2014
Location: United States
Posts: 261
Posted: 09:07am 17 Oct 2021
Copy link to clipboard 
Print this post

Peter,

Results from b29. Asterisk is text that TBS doesn't like.

> option system spi gp10,gp11,gp12
> option lcdpanel ILI9488W,gp8,gp15,gp9,gp13
Error : Orientation
> option list
OPTION SYSTEM SPI GP10,GP11,GP12
OPTION LCDPANEL ST7789Read,  *,NULL,NULL,NULL
> text 10,10, "testing"
Error : Display not configured
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 8578
Posted: 09:28am 17 Oct 2021
Copy link to clipboard 
Print this post

Sorry missed the orientation in the command

option lcdpanel ILI9488W,L,gp8,gp15,gp9,gp13

and found something else as well - new version in a minute
Edited 2021-10-17 19:31 by matherp
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 8578
Posted: 09:44am 17 Oct 2021
Copy link to clipboard 
Print this post

Please do OPTION RESET before loading this

PicoMiteV5.07.00b29.zip


OPTION SYSTEM SPI GP10,GP11,GP12
OPTION LCDPANEL ILI9488W, LANDSCAPE,GP8,GP15,GP9,GP13
 
cdeagle
Senior Member

Joined: 22/06/2014
Location: United States
Posts: 261
Posted: 10:05am 17 Oct 2021
Copy link to clipboard 
Print this post

Peter,

In order to turn off the grey-to-white display of the 9488, I have to set BACKLIGHT 5.

Then I cannot see any graphics on the display. If I leave BACKLIGHT 100, the display seems to work, at least simple text and GUI TEST LCDPANEL. Of course it's hard to read.

Here's a photo of the display with BACKLIGHT 10 and GUI TEST LCDPANEL running.



David
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 8578
Posted: 10:17am 17 Oct 2021
Copy link to clipboard 
Print this post

Just to confirm, the new ILI9488W driver is working but the backlight is overpowering?

Try this version (last try possible without a display)


PicoMite.zip
Edited 2021-10-17 20:20 by matherp
 
cdeagle
Senior Member

Joined: 22/06/2014
Location: United States
Posts: 261
Posted: 12:58pm 17 Oct 2021
Copy link to clipboard 
Print this post

Peter,

ILI9488W driver is working. Latest uf2 has reduced the display backlight almost completely. Still some on the right side of the display. Photo attached.



David
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 8578
Posted: 01:02pm 17 Oct 2021
Copy link to clipboard 
Print this post

This is now using the initialisation specified by Waveshare in their demo code so nothing more I can do. The rest of the light bleed is presumably just down to the way the display is made. I'll post this version as a new beta.
 
cdeagle
Senior Member

Joined: 22/06/2014
Location: United States
Posts: 261
Posted: 01:14pm 17 Oct 2021
Copy link to clipboard 
Print this post

Thanks for your help Peter.
 
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 5714
Posted: 08:26pm 17 Oct 2021
Copy link to clipboard 
Print this post

It doesn't appear to be a very even backlight at all. Changing the brightness will be a compromise at best - it's the way the display is assembled. Either that or there's a bank of LEDs down the dark side that isn't working.
Mick

Zilog Inside! nascom.info for Nascom & Gemini
Preliminary MMBasic docs & my PCB designs
 
     Page 2 of 5    
Print this page
© JAQ Software 2024