andrew700andrew
Posts: 62
Joined: Thu Dec 19, 2013 10:26 pm

GPS flight mode?

Thu Apr 17, 2014 10:26 am

Hello, A while ago I got help from your forum so that I could use this:

https://onedrive.live.com/redir?resid=E ... oto%2c.jpg

GPS which I will use on a weather balloon to record location. Since then I have bought it and it works on my raspberry pi (and the rest of the experiment is going nicely too). However I was reading another post in this forum:

http://www.raspberrypi.org/forums/viewt ... 71#p431971

And it says I should put the GPS in flight mode so that I can read high altitudes. I'm not sure how I will do this on my gps or even if I need to do this for my GPS / raspberry pi configuration. Please could you help me?

Thanks!

User avatar
daveake
Posts: 184
Joined: Thu Jul 12, 2012 12:07 am

Re: GPS flight mode?

Tue Apr 29, 2014 3:43 pm

You need to send a binary command in UBX format. You can get the exact command from the UBlox manual, or by using U-Center and inspecting the commands, or more simply by having a look at the source code here:

http://ukhas.org.uk/guides:ublox6

That's for an Arduino, in C, but all you need is to grab the command bytes from the source and add them to yours, sending them to the UBlox.

Dave

andrew700andrew
Posts: 62
Joined: Thu Dec 19, 2013 10:26 pm

Re: GPS flight mode?

Sun May 25, 2014 10:23 am

daveake wrote:You need to send a binary command in UBX format. You can get the exact command from the UBlox manual, or by using U-Center and inspecting the commands, or more simply by having a look at the source code here:

http://ukhas.org.uk/guides:ublox6

That's for an Arduino, in C, but all you need is to grab the command bytes from the source and add them to yours, sending them to the UBlox.

Dave
Thanks Dave! I'm trying to send the command bytes at the moment but as I'm not really certain that what I'm doing is correct, it's a bit trial and error so how will I find out if the GPS module has successfully switched to flight mode? Also, I'm assuming that flight mode is this (on ublox website):
Airborne <1g - Used for applications with a higher dynamic range and vertical acceleration than a passenger car. No 2D position fixes supported. MAX Altitude [m]: 50000, MAX Velocity [m/s]: 100, MAX Vertical Velocity [m/s]: 100, Sanity check type: Altitude, Max Position Deviation: Large
So it will still track vertical height as well as latitude/longitude?

Thank you!

Return to “HATs and other add-ons”