Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 23:29 24 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 : Geoff's boat computer for the PicoMite - NO SOLDERING

Author Message
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 9110
Posted: 11:45am 03 Dec 2022
Copy link to clipboard 
Print this post

Using the Pico board with the Waveshare 2.8" display  and the Waveshare Pico GPS  it is possible to make Geoff's boat computer plug and play.

Pico compatible code
BoatComputerV6.zip
Changes to Geoff's code are minimal to match the Pico with one small but important functional change which is to accept GNRMC as well as GPRMC

OPTION SYSTEM SPI GP10,GP11,GP12
OPTION AUTORUN ON
OPTION LCDPANEL ST7789_320, RLANDSCAPE,GP8,GP15,GP9,GP13
OPTION TOUCH GP16,GP17
GUI CALIBRATE 0, 3927, 195, -895, 650
OPTION SDCARD GP22



Edited 2022-12-03 22:50 by matherp
 
Turbo46

Guru

Joined: 24/12/2017
Location: Australia
Posts: 1611
Posted: 11:40pm 08 Dec 2022
Copy link to clipboard 
Print this post

Probably the same setup would run Geoff's Super Clock as well?

Bill
Keep safe. Live long and prosper.
 
lew247

Guru

Joined: 23/12/2015
Location: United Kingdom
Posts: 1702
Posted: 10:07am 10 Dec 2022
Copy link to clipboard 
Print this post

Peter am I right in thinking that this 3.5" would work the same as this one with picomite?
it says the driver is ILI9488
 
JohnS
Guru

Joined: 18/11/2011
Location: United Kingdom
Posts: 3800
Posted: 10:38am 10 Dec 2022
Copy link to clipboard 
Print this post

  Turbo46 said  Probably the same setup would run Geoff's Super Clock as well?

Bill

Would it need some soldering, though?

John
 
Turbo46

Guru

Joined: 24/12/2017
Location: Australia
Posts: 1611
Posted: 11:47am 10 Dec 2022
Copy link to clipboard 
Print this post

No soldering if the GPS is the time source. As far as I can see.

Bill
Keep safe. Live long and prosper.
 
jaybek
Newbie

Joined: 25/05/2020
Location: Greenland
Posts: 18
Posted: 06:43am 13 Dec 2022
Copy link to clipboard 
Print this post

Then maybe run it on a RP2040-Plus  with a 105080 lipo 5000 mA battery and make it all portable?
#MeTo ZX81
 
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 6780
Posted: 10:53am 13 Dec 2022
Copy link to clipboard 
Print this post

That might work - but just remember that the RP2040 Plus isn't a supported platform for MMBasic. There could just possibly be trip-ups.
Mick

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

Joined: 10/01/2016
Location: United Kingdom
Posts: 245
Posted: 09:50am 19 May 2024
Copy link to clipboard 
Print this post

  matherp said  Using the Pico board with the Waveshare 2.8" display �and the Waveshare Pico GPS �it is possible to make Geoff's boat computer plug and play.

Pico compatible code
BoatComputerV6.zip
Changes to Geoff's code are minimal to match the Pico with one small but important functional change which is to accept GNRMC as well as GPRMC

OPTION SYSTEM SPI GP10,GP11,GP12
OPTION AUTORUN ON
OPTION LCDPANEL ST7789_320, RLANDSCAPE,GP8,GP15,GP9,GP13
OPTION TOUCH GP16,GP17
GUI CALIBRATE 0, 3927, 195, -895, 650
OPTION SDCARD GP22



Such a tempting combination, I couldn't resist!  All assembled and programmed as instructed, but... as soon as the lower part of the screen is touched the program collapses with an error declaring that at line 151; pin GP17 was reserved at start up, which it was when TOUCH was set up.  

Line 151:       SetPin gp17, OFF   ' no interrupts in the menus

This interrupt is reset in line 154 after the SetDetailMode subroutine is done.  

Help?
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 9110
Posted: 10:15am 19 May 2024
Copy link to clipboard 
Print this post

Try replacing the line with a setpin to an empty interrupt

SetPin gp17, INTL, NoOp
sub NoOp
end sub  
 
palcal

Guru

Joined: 12/10/2011
Location: Australia
Posts: 1873
Posted: 08:51pm 19 May 2024
Copy link to clipboard 
Print this post

Does the waveshare GPS come with antenna, it does not mention it on their web site.
"It is better to be ignorant and ask a stupid question than to be plain Stupid and not ask at all"
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 9110
Posted: 08:58pm 19 May 2024
Copy link to clipboard 
Print this post

  Quote  Does the waveshare GPS come with antenna, it does not mention it on their web site.


Mine did
 
circuit
Senior Member

Joined: 10/01/2016
Location: United Kingdom
Posts: 245
Posted: 09:59pm 19 May 2024
Copy link to clipboard 
Print this post

Peter, thank you, that seems to work; program no longer crashes.
This makes me think, am I the only one who has built this configuration?  Otherwise why am I the only one flagging up that the program, as provided, crashes?
 
circuit
Senior Member

Joined: 10/01/2016
Location: United Kingdom
Posts: 245
Posted: 10:01pm 19 May 2024
Copy link to clipboard 
Print this post

  matherp said  
  Quote  Does the waveshare GPS come with antenna, it does not mention it on their web site.


Mine did


As did mine.
 
okwatts
Regular Member

Joined: 27/09/2022
Location: Canada
Posts: 59
Posted: 11:41pm 19 May 2024
Copy link to clipboard 
Print this post

I did build this up some time shortly after Peter posted this. Mine seems to work as it should but I installed MMBasic version 5.07.04 at the time. I don't recall having any difficulty with it and I just dug it out and fired it up and it runs no problem. Also mine came with the antenna. Edit: Ordered directly from Waveshare.
Edited 2024-05-20 09:43 by okwatts
 
Frank N. Furter
Guru

Joined: 28/05/2012
Location: Germany
Posts: 828
Posted: 08:48am 16 Aug 2024
Copy link to clipboard 
Print this post

Hello everyone,

I am trying to get the project to work on a Waveshare 3.5" display display. This display has an ILI9488W chipset.

If I only plug in the PicoMite, the display works perfectly, if I plug in the GPS, the display remains black and GUI TEST LCDPANEL does not show anything.

WHY???

I have tried the last official firmware V5.08.00 and the current beta firmware V5.09.00RC5.

Here are my options:
PicoMite MMBasic Version 5.08.00
OPTION SYSTEM SPI GP10,GP11,GP12
OPTION COLOURCODE ON
OPTION LCDPANEL ILI9488W, RLANDSCAPE,GP8,GP15,GP9,GP13
OPTION TOUCH GP16,GP17
OPTION SDCARD GP22


Can anybody help me???

Frank
 
Frank N. Furter
Guru

Joined: 28/05/2012
Location: Germany
Posts: 828
Posted: 09:43am 16 Aug 2024
Copy link to clipboard 
Print this post

Ok, I have found the error!
The contacts that Waveshare used on the GPS are obviously too short!!!
In addition, too much solder was used, which led to the contacts making even worse contact.  

An additional wire to VSYS solved the problem:



I also had to make the change in line 151 so that the program runs without errors...

Frank
 
Print this page


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

© JAQ Software 2024