Home
JAQForum Ver 20.06
Log In or Join  
Active Topics
Local Time 05:07 29 Mar 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 1 of 5    
Author Message
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 8516
Posted: 11:30am 29 Sep 2021
Copy link to clipboard 
Print this post












Waveshare do some really nice Pico compatible modules. I've just bought a selection. Total cost to me including shipping GBP60.60, time to arrive from order just 8 days.
The quality of Waveshare stuff seems very good.

Included are a quad motherboard that allows multiple modules to link to the Pico. Without this many of them can also be stacked. Waveshare also do a couple of 2 way expanders.

Also included are a Pico compatible mounted ESP8266, a Pico compatible mounted GPS, a 240x135 display with two buttons and a joystick, a 240x240 display with 4 buttons and a joystick and a 320x240 touch display with SDcard slot.

All the displays use the ST7789 driver so I'll modify the firmware to support all three variants and post both the firmware and configuration details when available.

By default the GPS and ESP8266 communicate on COM1 (GP0, GP1) but both can be modified to support COM2 (GP4, GP5).

These sorts of modules together with MMBasic make it very easy to build embedded devices with graphics, I/O, SDcard etc. with no soldering or H/W design needed
 
scruss
Regular Member

Joined: 20/09/2021
Location: Canada
Posts: 79
Posted: 12:30pm 29 Sep 2021
Copy link to clipboard 
Print this post

The GPS board is quite clever. I have some other Waveshare kit and it's quite well done.

Pimoroni (UK) and Cytron (Malaysia) make lovely add-ons too. But I'm a dealer for both of them, so I'll shut up now.
 
lew247

Guru

Joined: 23/12/2015
Location: United Kingdom
Posts: 1676
Posted: 01:53pm 29 Sep 2021
Copy link to clipboard 
Print this post

Every time I see a post about the Pico I smile, remembering Peters first thoughts on it when I made the post saying aboout it's release "it's a dog"  
I'm testing a gps module with it as soon as the boards arrive from JLPCB in a couple of days
 
thwill

Guru

Joined: 16/09/2019
Location: United Kingdom
Posts: 3807
Posted: 02:58pm 29 Sep 2021
Copy link to clipboard 
Print this post

  matherp said  These sorts of modules together with MMBasic make it very easy to build embedded devices with graphics, I/O, SDcard etc. with no soldering or H/W design needed


Where is the fun in that? It would be like taking up electronics as a hobby and then spending all your time programming .

Tom
Game*Mite, CMM2 Welcome Tape, Creaky old text adventures
 
Poppy

Guru

Joined: 25/07/2019
Location: Germany
Posts: 486
Posted: 04:39pm 29 Sep 2021
Copy link to clipboard 
Print this post

  scruss said  The GPS board is quite clever. I have some other Waveshare kit and it's quite well done.

Pimoroni (UK) and Cytron (Malaysia) make lovely add-ons too. But I'm a dealer for both of them, so I'll shut up now.


I have the RTC-Module by Waveshare and the MAKER PI PICO by Cytron, both are very useful as well.

https://www.waveshare.com/pico-rtc-ds3231.htm
https://www.cytron.io/p-maker-pi-pico
Andre ... such a GURU?
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 8516
Posted: 05:06pm 29 Sep 2021
Copy link to clipboard 
Print this post



Here is the first display working. This is the 240x240 ST7789 which is already fully supported by the firmware. The display is small but very colourful and bright

OPTION SYSTEM SPI GP10,GP11,GP28
OPTION LCDPANEL ST7789, LANDSCAPE,GP8,GP12,GP9


The display doesn't use SPI2 MISO but we need to allocate it so I've used GP28 which isn't used by anything else on the board

Other pins are:




Note: firmware versions below b22 will show landscape and reverse landscape reversed when using option list. Setting landscape matches the text on the buttons.

If you want to control the brightness of the display use

setpin gp13,pwm6b
pwm 6,1000,,requiredbrightness
 
matherp
Guru

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

The 2.8" ST7789 display from Waveshare is my new favourite display. The image is very clear and bright with a very wide viewing angle (IPS).
BLIT and transparent text work perfectly (b23 onwards) and the way the Pico mounts to the back makes it very easy to use. Additional Pico boards can also be stacked. In the picture the Pico is mounted to a GPS and then the display, everything that is needed for a Geoff Graham SuperClock.




Configuration for the display is as follows:

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, 408, 3901, 900, -646


and the SDcard and touch also work perfectly


 
cdeagle
Senior Member

Joined: 22/06/2014
Location: United States
Posts: 261
Posted: 08:11pm 15 Oct 2021
Copy link to clipboard 
Print this post

Is there an ST7789_480 configuration for the 3.5" version?

Thanks
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 8516
Posted: 09:39pm 15 Oct 2021
Copy link to clipboard 
Print this post

The 3.5" display is ILI9488 which is already supported
 
cdeagle
Senior Member

Joined: 22/06/2014
Location: United States
Posts: 261
Posted: 10:07pm 15 Oct 2021
Copy link to clipboard 
Print this post

Thanks Peter
 
Poppy

Guru

Joined: 25/07/2019
Location: Germany
Posts: 486
Posted: 05:59am 16 Oct 2021
Copy link to clipboard 
Print this post

  cdeagle said  Thanks Peter


Yes, thanks Peter.

I think I am going to get one of these, too.

Andre ... such a GURU?
 
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 5645
Posted: 07:08am 16 Oct 2021
Copy link to clipboard 
Print this post

What we could do with is a source of bezels for mounting the various displays. Then I could cover up the crappy filing of my rectangular holes. :)
Mick

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

Guru

Joined: 25/07/2019
Location: Germany
Posts: 486
Posted: 09:54am 16 Oct 2021
Copy link to clipboard 
Print this post

  Mixtel90 said  What we could do with is a source of bezels for mounting the various displays. Then I could cover up the crappy filing of my rectangular holes. :)


That is what I am thinking about , too.

How to built it into something, it needs some kind of nice frame, as the panel itself needs to be still touchable.

A touchy issue.

Andre ... such a GURU?
 
thwill

Guru

Joined: 16/09/2019
Location: United Kingdom
Posts: 3807
Posted: 10:04am 16 Oct 2021
Copy link to clipboard 
Print this post

A radical thought from an ignoramus but PCBs can be manufactured with cut outs, could one be created that is basically just a frame with some bolt holes?

Best wishes,

Tom
Game*Mite, CMM2 Welcome Tape, Creaky old text adventures
 
Poppy

Guru

Joined: 25/07/2019
Location: Germany
Posts: 486
Posted: 12:01pm 16 Oct 2021
Copy link to clipboard 
Print this post

  thwill said  A radical thought from an ignoramus but PCBs can be manufactured with cut outs, could one be created that is basically just a frame with some bolt holes?

Best wishes,

Tom


Hi Tom,

actually you are right, I always forget this possibility.

But I think in this case it would be easy done custom made.

Just some blank pcb, a fine jigsaw and a drill.

Probably some varnish for finishing

Andre ... such a GURU?
 
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 5645
Posted: 12:26pm 16 Oct 2021
Copy link to clipboard 
Print this post

erm... it's my cutting and filing that makes a bezel desirable. In my case cutting & filing a lump of PCB won't necessarily look any better than me doing the same to a front panel. lol

That's not a bad idea, Tom. A PCB shop will probably be more accurate and neater than I am. You get a choice of colours too! :)
Mick

Zilog Inside! nascom.info for Nascom & Gemini
Preliminary MMBasic docs & my PCB designs
 
cdeagle
Senior Member

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

It appears the only difference between the 2.8 and 3.5 inch modules is the type of display. I've tried the following options with b28. However, the display does not respond.

OPTION SDCARD GP22
OPTION SYSTEM SPI GP10,GP11,GP12
OPTION LCDPANEL ILI9488, LANDSCAPE,GP8,GP15,GP9,GP13
OPTION TOUCH GP16,GP17
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 8516
Posted: 03:29pm 16 Oct 2021
Copy link to clipboard 
Print this post

Try just

OPTION LCDPANEL ILI9488, LANDSCAPE,GP8,GP15,GP9

Then CLS RGB(RED)

Then setpin gp13,dout

Finally try pin(GP13)=1 and pin(gp13)=0 to see which lights the backlight

ILI9488 displays are strange. The chip is a parallel input device but Waveshare use extra logic chips to convert SPI to parallel.

I don't have this display but I'll wire up another ILI9488 just to make sure the driver is working and report back
 
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 5645
Posted: 03:31pm 16 Oct 2021
Copy link to clipboard 
Print this post

TBH I wouldn't have expected a ILI9488 to respond to the same codes as a ST7789.
However, a different resolution of ST7789 might respond to the wrong size driver and give some sort of a display. Have you got a ST7789_480? It might be worth trying the ST7789_320 driver to see if you get a part display.
Mick

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

Joined: 11/12/2012
Location: United Kingdom
Posts: 8516
Posted: 03:39pm 16 Oct 2021
Copy link to clipboard 
Print this post

Please also try the ILI9481 driver

UPDATE

Looking at the Waveshare schematic for the display they have done something very strange. It is not standard ILI9488 wiring but is the same as ILI9481 PI HATs.

Given this the only driver that might work is the ILI9481.

The way they have wired it 8-bit commands need 16 bits of data sending which the ILI9488 driver doesn't do but the ILI9481 driver does.

If the ILI9481 driver doesn't work this isn't something I can fix without a display to work with
Edited 2021-10-17 02:03 by matherp
 
     Page 1 of 5    
Print this page
© JAQ Software 2024