Menu
JAQForum Ver 19.10.27

Forum Index : Microcontroller and PC projects : Waveshare Pico Toys

   Page 4 of 5    
Posted: 07:53am
08 Nov 2021
Copy link to clipboard
matherp
Guru

The backlight command works perfectly on this display, just set up GP13

OPTION SDCARD GP22
OPTION SYSTEM SPI GP10,GP11,GP12
OPTION LCDPANEL ILI9488W, LANDSCAPE,GP8,GP15,GP9,GP13
OPTION TOUCH GP16,GP17
GUI CALIBRATE 0, 3946, 211, -1287, 853

Edited 2021-11-08 17:55 by matherp
 
Posted: 08:01am
08 Nov 2021
Copy link to clipboard
Mixtel90
Guru


Thanks, Peter, my suspicions confirmed. :)
 
Posted: 10:10am
08 Nov 2021
Copy link to clipboard
Poppy
Guru


  Mixtel90 said  https://www.waveshare.com/w/upload/8/85/Pico-ResTouch-LCD-3.5_Sch.pdf
It should work. LED_BL goes to the EN pin of CAT1, which seems to be a controllable voltage regulator feeding the backlight LEDs. Their cathodes are then groundedd by R17, R18 & R19.

It's a weird display, using a parallel LCD panel and a pseudo SPI system using shift registers to turn it into a serial one. There's also a SRAM on board with a SRAM_CS signal on GP2 but why?

MISO doesn't read anything back from the display (it has no read signal) so no transparent text or blit on this display.


Thanks for explaining again.


I ordered it for being quite cheap, just to try out .... so I will find out, I guess for not playing games it could be enough.
 
Posted: 02:17pm
08 Nov 2021
Copy link to clipboard
Tinine
Guru

Many thanks, guys. I was side-tracked and only got back to this today.
Now the display, touch and SD card are all working  

Isn't this fun?  

Once again, Geoff and Pete....many, many thanks for such awesome products  

One thing that threw me was with TS calibration. I calibrated right after setting the config option and it was a mile off. Only after I cycled the power (or possibly hit the RESET button at the top of the display), did the TS calibrate properly.
 
Posted: 02:39pm
08 Nov 2021
Copy link to clipboard
Tinine
Guru

A quick test:


 
Posted: 04:03pm
08 Nov 2021
Copy link to clipboard
matherp
Guru

  Quote    A quick test:


     
 
Posted: 07:33pm
09 Nov 2021
Copy link to clipboard
darthvader
Regular Member

Hi ,
I get the waveshare pico dev board with the 3.5" screen  

Screen and touch is working fine but it don't detect the sdcard , is it something special to do for this ?
I actually used the Matherp option from a previous post.


OPTION SDCARD GP22
OPTION SYSTEM SPI GP10,GP11,GP12
OPTION LCDPANEL ILI9488W, LANDSCAPE,GP8,GP15,GP9,GP13
OPTION TOUCH GP16,GP17
GUI CALIBRATE 0, 3946, 211, -1287, 853







Cheers
 
Posted: 07:49pm
09 Nov 2021
Copy link to clipboard
Mixtel90
Guru


You have to use the GP pins for that model of display, I'm not sure which post you are referring to.
 
Posted: 01:17pm
10 Nov 2021
Copy link to clipboard
darthvader
Regular Member

Hi  

My board is this one : Pico eval board

As i see in the user guide ,the hardware connection to the sdcard is not SPI but 4 bit SDIO , the GP22 is the CS like it have to be but if the firmware use SPI instead , it's probably what cause my trouble  

Cheers.
 
Posted: 06:55am
14 Nov 2021
Copy link to clipboard
Kabron
Regular Member


Hi there
There is a position for PSRAM chip on the Waveshare Pico-ResTouch-LCD-3.5 board.
Is any support in plans?
Edited 2021-11-14 16:56 by Kabron
 
Posted: 07:38am
14 Nov 2021
Copy link to clipboard
Mixtel90
Guru


  Quote  There is a position for PSRAM chip on the Waveshare Pico-ResTouch-LCD-3.5 board.
Is any support in plans?

I personally doubt it, not from MMBasic as that's the only display that has it. However, there's no reason why you couldn't access it using your own routines. It's on the same SPI as the display but uses a different SRAM CS pin that you'll need to bring low during access. It's organized as 8M x 8bits.

I bet someone has written some SPI memory routines somewhere on here in the past...
 
Posted: 08:52am
14 Nov 2021
Copy link to clipboard
matherp
Guru

  Quote  Screen and touch is working fine but it don't detect the sdcard , is it something special to do for this ?


Check the manual. You need to use the version of OPTION SDCARD where you specify all 4 pins to match this display

Probably something like

OPTION SDCARD GP22, GP5, GP18, GP19
 
Posted: 06:21pm
15 Nov 2021
Copy link to clipboard
darthvader
Regular Member

Thank you matherp  

It's working now  

So the full config is :


OPTION SDCARD GP22, GP5, GP18, GP19
OPTION SYSTEM SPI GP10,GP11,GP12
OPTION LCDPANEL ILI9488W, LANDSCAPE,GP8,GP15,GP9,GP13
OPTION TOUCH GP16,GP17
GUI CALIBRATE 0, 3946, 211, -1287, 853

Edited 2021-11-16 04:21 by darthvader
 
Posted: 07:54pm
30 Nov 2021
Copy link to clipboard
Lou
Senior Member


Thanks to matherp, Goeff, and all who worked on this, I'm getting into the PicoMite project a little late.

I got two Pi Pico boards loaded with MMBasic V5.07.00 up and running in about 15 minutes with Geoff's great manual.

I have a couple Waveshare 2.8" ST7789 touch displays coming in next week, is V5.07.00 the version I need for that display, is there any other threads I should concentrate on to get it all running ?  Looking forward to a great new toy.

Thanks,

Lou
 
Posted: 01:56pm
03 Dec 2021
Copy link to clipboard
Calli
Regular Member

I bought just this Waveshare:

https://eckstein-shop.de/WaveShare28inchTouchDisplayModuleforRaspberryPiPico2C262KColors2C320C3972402CSPI

These are the Options:

OPTION COLOURCODE ON
OPTION DISPLAY 40, 80
OPTION CPUSPEED (KHz) 250000
OPTION SDCARD GP22
OPTION SYSTEM SPI GP10,GP11,GP12
OPTION LCDPANEL ST7789_320, LANDSCAPE,GP8,GP15,GP9,GP13
OPTION TOUCH GP16,GP17
GUI CALIBRATE 0, 360, 3820, 887, -654

I could NOT get the SDCard working and did try an hour. Then I skipped and configured the touch and suddenly SDcard also worked. Not sure if this was just random or an error I made.

Quite happy with that pack.

Carsten
 
Posted: 02:27pm
03 Dec 2021
Copy link to clipboard
Mixtel90
Guru


I *think* that's because the touch interrupt pin is connected. If touch hasn't been configured then the interrupt can trigger at random, messing up anything connected to the SPI bus. Once it's enable pin is configured it plays nicely with other devices on the bus.
 
Posted: 02:50pm
03 Dec 2021
Copy link to clipboard
Volhout
Guru

SD and touch share SPI. When touch is not configured the touch controller may be constantly enabled, loading the SPI MISO, and blocking SD card read.
 
Posted: 06:52pm
03 Dec 2021
Copy link to clipboard
cdeagle
Senior Member

I like that explanation. Thanks
 
Posted: 02:55am
07 Dec 2021
Copy link to clipboard
Lou
Senior Member


Thanks Calli, Mixtel90, Volhout, my Waveshare displays should come in tomorrow and your info will be a big help getting them running as soon as I get some playtime.  I ordered the same display that Calli has so I'll use your options list.  I see there is a new version 5.07.01, thanks matherp.

Lou
 
Posted: 07:18am
07 Dec 2021
Copy link to clipboard
electricat
Regular Member


I bought this one LCD from waweshare (320x480, ILI9488)
https://www.waveshare.com/wiki/Pico-ResTouch-LCD-3.5

I was not able to get anything except of white/black screen on PicoMite MMBasic V5.07.00  

But I had success with PicoMiteV5.07.00b29

Initialized it

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

Did not tested much (SD card, touch) , but GUI TEST LCDPANEL showed me nice circles.... like it would be small CMM2 :D (mmm... that feeling.... :) )

So, resuming... I have such display if any test would be needed for you, friends.

And... is this change included into PicoMite MMBasic V5.07.01 ??
 
   Page 4 of 5    
© JAQ Software 2024