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 KingdomPosts: 9110 |
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: AustraliaPosts: 1611 |
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 KingdomPosts: 1702 |
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 KingdomPosts: 3800 |
Would it need some soldering, though? John |
||||
Turbo46 Guru Joined: 24/12/2017 Location: AustraliaPosts: 1611 |
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: GreenlandPosts: 18 |
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 KingdomPosts: 6780 |
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 KingdomPosts: 245 |
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 KingdomPosts: 9110 |
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: AustraliaPosts: 1873 |
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 KingdomPosts: 9110 |
Mine did |
||||
circuit Senior Member Joined: 10/01/2016 Location: United KingdomPosts: 245 |
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 KingdomPosts: 245 |
As did mine. |
||||
okwatts Regular Member Joined: 27/09/2022 Location: CanadaPosts: 59 |
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: GermanyPosts: 828 |
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: GermanyPosts: 828 |
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 |