Author Topic: GPS message on request  (Read 2119 times)

0 Members and 1 Guest are viewing this topic.

Offline rakeshm55Topic starter

  • Regular Contributor
  • *
  • Posts: 207
GPS message on request
« on: September 06, 2017, 12:02:13 pm »
Hi,
Currenlty i am working with a GPS module based on MT3339 http://www.alphamicrowireless.com/franchises/globaltop-technology/smart-gnss-evb-patch-modules.aspx ....
On power up the device continuously sends the GPS data as expected....
Is there any means to command the device to send GPS data on request??.... I have tries sleep by sending sleep command and later collect data but does this force the GPS module to reacquire lock information...

How to implement command response for standard GPS modules....
 

Offline Jeroen3

  • Super Contributor
  • ***
  • Posts: 4078
  • Country: nl
  • Embedded Engineer
    • jeroen3.nl
Re: GPS message on request
« Reply #1 on: September 06, 2017, 12:10:11 pm »
GPS needs to be continuously receiving and calculation in order to keep track of the satellites that are expected to move in range.

Phones have assisted GPS, they receive the list of satellites to look for via internet. If they can guess where they are the receiver is adjusted to listen directly for satellites in range.
 

Offline sasa

  • Regular Contributor
  • *
  • !
  • Posts: 168
  • Country: 00
  • Hobbyist in electronic
Re: GPS message on request
« Reply #2 on: September 06, 2017, 01:23:36 pm »
I have different GPS module, but briefly looking in datasheet for your module, it is not quite different...

The most of cheap modules are based on ARM and have quite amount of internal SRAM in order to hold and calculate position based on received data from satellites. It is usually enough to predict  GPS satellites position for a 3 days.

If put in sleep, on hot start/wake-up it only have to read internal RTC date and time, last position before put in sleep and from table get predicted satellites orbit which cross the sky, then listen these satellites in order to calculate new position. All that may last less than 1s, I do not see actual info in the datasheet.

I do not claim that is how is implemented hot start, however that is how it is the fastest to do. Time needed for GPS module I have to return new position from hot start is less than 1s.
« Last Edit: September 06, 2017, 01:31:38 pm by sasa »
The 30+ years professional desktop software designer and software engineer
 
The following users thanked this post: rakeshm55

Offline PA0PBZ

  • Super Contributor
  • ***
  • Posts: 5129
  • Country: nl
Re: GPS message on request
« Reply #3 on: September 06, 2017, 01:35:19 pm »
Keyboard error: Press F1 to continue.
 
The following users thanked this post: rakeshm55

Offline FreddyVictor

  • Regular Contributor
  • *
  • Posts: 164
  • Country: gb
Re: GPS message on request
« Reply #4 on: September 06, 2017, 01:37:01 pm »
Is there any means to command the device to send GPS data on request??....

You can turn all messages off, and then enable a message type when you want to receive it (and then disable it again)
not sure how long you have to wait for the message tho'

have a look at the $PMTK314 command for MTK3339
 
The following users thanked this post: rakeshm55

Offline rakeshm55Topic starter

  • Regular Contributor
  • *
  • Posts: 207
Re: GPS message on request
« Reply #5 on: September 07, 2017, 05:06:08 am »
Thank you :-+ :-+ :-+ :-+ this worked!!!
 

Offline cdev

  • Super Contributor
  • ***
  • !
  • Posts: 7350
  • Country: 00
Re: GPS message on request
« Reply #6 on: September 07, 2017, 05:18:10 am »
Newer GPSs have power saving modes that let them wake from sleep to capture and save their location at regular intervals. This takes almost no power if they already have the ephemeris in memory, or if they download from the network. So no more warm start or anything like that is necessary. Also, soon they will be accurate to just one or two centimeters.

However, all bets are off if they are off AND out of network coverage (for example, in the middle of the ocean or desert) so cant download an ephemeris off the net. Unless somebody turns it on, then they will have the broadcast satellite ephemeris in around 14 minutes.
« Last Edit: September 07, 2017, 05:20:00 am by cdev »
"What the large print giveth, the small print taketh away."
 

Offline rs20

  • Super Contributor
  • ***
  • Posts: 2318
  • Country: au
Re: GPS message on request
« Reply #7 on: September 07, 2017, 05:34:37 am »
Also, soon they will be accurate to just one or two centimeters.

Heh yeah, to the same extent that ADSL2+ runs at 24 Mbps or this transistor can carry 600 Amps  :P
 

Offline sasa

  • Regular Contributor
  • *
  • !
  • Posts: 168
  • Country: 00
  • Hobbyist in electronic
Re: GPS message on request
« Reply #8 on: September 07, 2017, 05:47:19 am »
Also, soon they will be accurate to just one or two centimeters.

Yes, as soon as automotive vehicles is fully tested and certified by law regulative, military GPS band resolution will probably be available for civil usage.
« Last Edit: September 07, 2017, 06:07:25 am by sasa »
The 30+ years professional desktop software designer and software engineer
 

Offline hamster_nz

  • Super Contributor
  • ***
  • Posts: 2803
  • Country: nz
Re: GPS message on request
« Reply #9 on: September 07, 2017, 07:37:31 am »
Also, soon they will be accurate to just one or two centimeters.

Yes, as soon as automotive vehicles is fully tested and certified by law regulative, military GPS band resolution will probably be available for civil usage.
The high accuracy GPS can be obtained from the regular C/A code by following the carrier directly, rather than down converting to an IF. A technique called "Carrier phase recovery".  The GPS signal has a wavelength of around 20 cm, so if you can follow the carrier phase you get get very precise timing (and there for positioning) information.

However, with those levels of accuracy the changes in the Ionosphere (like the current solar storm) can causing positioning errors....

(I am still amazed that you can know where the space vehicles are, in a 20,000+ km orbit, to within a few mm).

Gaze not into the abyss, lest you become recognized as an abyss domain expert, and they expect you keep gazing into the damn thing.
 

Offline cdev

  • Super Contributor
  • ***
  • !
  • Posts: 7350
  • Country: 00
Re: GPS message on request
« Reply #10 on: September 07, 2017, 03:27:20 pm »
GNSS has very rapidly been getting better, and the hardware smaller and cheaper. Even without corrections of any kind being applied besides the broadcast ones, the shift to multi-constellation GNSS (one of my GPS's can do GS+Glonass and another can do GPS+Beidou plus both have SBAS, which has been there for awhile

Adding additional "bird"(s) of another kind - when even just one beidou sat is there, on my cheap Navspark or using GPS+Glonass seems to have made a huge improvement in the quality of the solution.  Without any additional computation going on in my computer.

Its really quite amazing.

When I use Rtklib, even with my cheap antennas, it gets even better, although there still are some bugs I have yet to work out. Performance is still not as good as I was getting way back in 2011, 2012 or so with just GPS and SBAS. But thats my fault because he better corrections you just were describing which I used to apply are missing.

(I stopped using it for a couple of years and during that time correction products in SP3 format which used to live on a NASA web site - which still are free and exist on the network - have moved and I have to re-locate them and enter them in to RTKlib's file grabbing tools and also set up all the paths for everything again in at least a dozen different places.)
"What the large print giveth, the small print taketh away."
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf