Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 14:32 29 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 : GPS

Author Message
mibinho

Newbie

Joined: 06/03/2023
Location: Germany
Posts: 7
Posted: 04:56pm 09 Mar 2023
Copy link to clipboard 
Print this post

Hello, my name is Mirco. I am new to shed and have a question.
I used the search function without any results - maybe I'm too stupid  

I need for my small pico-Basic-project the correct time. As I don't want an rtc-module (eg.DS1307), i thought about a GPS-receiver.

Which GPS-Module should I buy? small size and affordable...


thanks
Mirco
--
the vermin have inherited the earth.
 
CaptainBoing

Guru

Joined: 07/09/2016
Location: United Kingdom
Posts: 2080
Posted: 05:02pm 09 Mar 2023
Copy link to clipboard 
Print this post

welcome to the forum.

you don't say which 'mite you intend to use - this is important as some have GPS comms built in. with others (micromite) you'll have to hand-crank the GPS from the comms port (not hard)

Geoff has a "superclock" on his webpages here https://geoffg.net/SuperClock.html

I used a similar approach for my workshop clock with scrolly dot matrix display because I needed it to be spot-on (not just keep time)

do a bit of research on what you want, then take your pick from these sort of things

https://www.ebay.co.uk/sch/i.html?_from=R40&_trksid=p2334524.m570.l1313&_nkw=gps+module+arduino&_sacat=0&LH_TitleDesc=0&_odkw=gps+module+arduino&_osacat=0&_sop=15&LH_PrefLoc=2
Edited 2023-03-10 03:08 by CaptainBoing
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 9139
Posted: 05:07pm 09 Mar 2023
Copy link to clipboard 
Print this post

What are you using as the processor. These work great if using a Pico
 
mibinho

Newbie

Joined: 06/03/2023
Location: Germany
Posts: 7
Posted: 06:20pm 09 Mar 2023
Copy link to clipboard 
Print this post

I am using a Raspberry Pi Pico with Picomite 5.07.06.

THESE cheap modules work with picomite and I can use the gps(time) command to get the gps-time and later set the pico-clock?
Sorry for the stupid questions
--
the vermin have inherited the earth.
 
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 6814
Posted: 06:37pm 09 Mar 2023
Copy link to clipboard 
Print this post

It might work with the GPS functions of the PicoMite. See the manual on how to set it up for 9600 baud.
Mick

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

Guru

Joined: 07/09/2016
Location: United Kingdom
Posts: 2080
Posted: 08:33pm 09 Mar 2023
Copy link to clipboard 
Print this post

  mibinho said  I am using a Raspberry Pi Pico with Picomite 5.07.06.

THESEcheap modules work with picomite and I can use the gps(time) command to get the gps-time and later set the pico-clock?


I reckon it will be ideal, it outputs NMEA strings to its serial port - if you connect its Tx pin to your COMx Rx pin then have

Open "COM1:9600" as GPS  

(or similar - I may not have the precise syntax here but you can look it up in the manual)

you should be good to go (yes it really can be that simple)
Edited 2023-03-10 06:45 by CaptainBoing
 
VK2CBH
Newbie

Joined: 18/08/2014
Location: Australia
Posts: 11
Posted: 02:33am 10 Mar 2023
Copy link to clipboard 
Print this post

I have been working with a Raspberry Pi Pico and a GPS receiver.
I cannot remember what software version that I am using. The GPS module I have been using is a V.KEL VK2828U7G5LF.  I purchased this from Silicon Chip in Australia, but I assume that you could find these on E-Bay.

I was able to decode NMEA strings and display time, date, latitude, longitude and the number of satellites.

Using the GPS() function makes it very easy too.

I tried to upload a pic of my display but the file was too large.

Cheers Brett
 
CaptainBoing

Guru

Joined: 07/09/2016
Location: United Kingdom
Posts: 2080
Posted: 08:15am 10 Mar 2023
Copy link to clipboard 
Print this post

"be a man" real men decode the strings

I did on my workshop clock ('170 powered) but I would have used GPS(TIME) if I could  
 
Chopperp

Guru

Joined: 03/01/2018
Location: Australia
Posts: 1058
Posted: 11:22am 10 Mar 2023
Copy link to clipboard 
Print this post

Hi
I've using these from Core Electronics with a Pico using the GPS functions. Works well at 3V3 volts with the Pico driving a 40 x 2 LCD for testing & playing.

Brian
ChopperP
 
JohnS
Guru

Joined: 18/11/2011
Location: United Kingdom
Posts: 3816
Posted: 12:07pm 10 Mar 2023
Copy link to clipboard 
Print this post

  matherp said  What are you using as the processor. These work great if using a Pico

They do!

No soldering needed :)

John
 
PilotPirx

Regular Member

Joined: 03/11/2020
Location: Germany
Posts: 69
Posted: 01:00pm 10 Mar 2023
Copy link to clipboard 
Print this post

Why don't use a DCF77 receiver?
It is cheap (5€) , need only 1 pin and i wrote a decoder for this.
But you need time, 1minute minimum.

Here is the thread:
DCF77 Decoder
 
JohnS
Guru

Joined: 18/11/2011
Location: United Kingdom
Posts: 3816
Posted: 02:49pm 10 Mar 2023
Copy link to clipboard 
Print this post

  PilotPirx said  Why don't use a DCF77 receiver?
It is cheap (5€)

Where is it so cheap?

John
 
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 6814
Posted: 03:32pm 10 Mar 2023
Copy link to clipboard 
Print this post

https://www.ebay.co.uk/itm/165916797689
Mick

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

Regular Member

Joined: 03/11/2020
Location: Germany
Posts: 69
Posted: 03:35pm 10 Mar 2023
Copy link to clipboard 
Print this post

  Quote  Where is it so cheap?

I bought it at Amazon for 5.19€.Just search for Milageto DCF77.
But three weeks delivery time.
 
mibinho

Newbie

Joined: 06/03/2023
Location: Germany
Posts: 7
Posted: 11:00am 12 Mar 2023
Copy link to clipboard 
Print this post

Thanks for all your help. Just ordered one of these cheap modules.
I can't find the

Open com1 as GPS

in the manual. I'll have to figure it out or can you tell the correct syntax?
--
the vermin have inherited the earth.
 
phil99

Guru

Joined: 11/02/2018
Location: Australia
Posts: 2141
Posted: 11:14am 12 Mar 2023
Copy link to clipboard 
Print this post

It needs to be like this:-

Open "COM1:9600" as GPS

Manual p107. Search for GPS, there are lots of related things.
Edited 2023-03-12 21:20 by phil99
 
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 6814
Posted: 11:21am 12 Mar 2023
Copy link to clipboard 
Print this post

Probably about page 73 of the manual.

OPEN comspec$ AS GPS [,timezone_offset] [,monitor]

Will open a serial communications port for reading from a GPS receiver. See
the GPS function for details. The sentences interpreted are GPRMC,
GNRMC, GPCGA and GNCGA.
The timezone_offset parameter is used to convert UTC as received from the
GPS to the local timezone. If omitted the timezone will default to UTC. The
timezone_offset can be a any number between -12 and 14 allowing the time
to be set correctly even for the Chatham Islands in New Zealand (UTC
+12:45).
If the monitor parameter is set to 1 then all GPS input is directed to the
console. This can be stopped by closing the GPS channel.
Mick

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

Newbie

Joined: 06/03/2023
Location: Germany
Posts: 7
Posted: 12:56pm 12 Mar 2023
Copy link to clipboard 
Print this post

Found it on page 110 in the actual manual 5.07.06.

But the exact syntax must be something like this:

SetPin GP1,GP0,COM1
Open "com1:9600" As GPS, -1

--
the vermin have inherited the earth.
 
Print this page


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

© JAQ Software 2024