Home
JAQForum Ver 20.06
Log In or Join  
Active Topics
Local Time 20:43 16 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 : yet another Pico + GPS

Author Message
cdeagle
Senior Member

Joined: 22/06/2014
Location: United States
Posts: 261
Posted: 06:30pm 14 Aug 2022
Copy link to clipboard 
Print this post

Picture of a minimalist Pico/GPS project. It uses a Waveshare RP2040-LCD-0.96 and a Waveshare Pico-GPS-L76B. The GPS plugs into the Pico/display board.

Powered by a Voltaic battery via USB. The RP2040 has a MM1.25 connector and charging circuit for a battery.

Thanks to Peter for providing the MMBASIC parameters for the display on the RP2040.

 
zeitfest
Guru

Joined: 31/07/2019
Location: Australia
Posts: 375
Posted: 10:39am 15 Aug 2022
Copy link to clipboard 
Print this post

Neat.
Just wondering about the pi pico "accelerated floating point" math, is it solid ?
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 8563
Posted: 11:14am 15 Aug 2022
Copy link to clipboard 
Print this post

  Quote  Just wondering about the pi pico "accelerated floating point" math, is it solid ?


Exactly matches CMM2/MMB4W on cdeagles' complex solar eclipse calcs

See also

https://forums.raspberrypi.com/viewtopic.php?p=2019820&hilit=floating+point#p2019820
 
cdeagle
Senior Member

Joined: 22/06/2014
Location: United States
Posts: 261
Posted: 12:16pm 15 Aug 2022
Copy link to clipboard 
Print this post

I have several picomites that have been running my double precision sun rise/set MMBASIC code 24 hours a day for more than 6 months without crashing.

Not bad for a $4 micro-controller and an impressive BASIC.
 
zeitfest
Guru

Joined: 31/07/2019
Location: Australia
Posts: 375
Posted: 01:48am 16 Aug 2022
Copy link to clipboard 
Print this post

(edited)
  cdeagle said  I have several picomites that have been running my double precision sun rise/set MMBASIC code 24 hours a day for more than 6 months without crashing.

Not bad for a $4 micro-controller and an impressive BASIC.



  pmather said  Exactly matches CMM2/MMB4W on cdeagles' complex solar eclipse calcs


I think that is a testament to the accuracy of your work !
However the iterative approach used would tend to give the same numerical results in any case I think.

Does the pico MMBasic version use the updated math routine library, which AFAIK superseded the standard MMBasic at the time?
Edited 2022-08-16 11:53 by zeitfest
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 8563
Posted: 06:11am 16 Aug 2022
Copy link to clipboard 
Print this post

  Quote  However the iterative approach used would tend to give the same numerical results in any case I think.


Microchip S/W FP library on MM+ gets it slightly wrong

  Quote  Does the pico MMBasic version use the updated math routine library, which AFAIK superseded the standard MMBasic at the time?


Don't understand. The firmware just calls the relevant system routines all double precision.
 
Print this page


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

© JAQ Software 2024