Ultimate GPS Breakout - minor issue at high altitudes

For other supported Arduino products from Adafruit: Shields, accessories, etc.

Moderators: adafruit_support_bill, adafruit

Ultimate GPS Breakout - minor issue at high altitudes

Postby rbergerpa » Sun Nov 18, 2012 1:35 pm

Hack Pittsburgh did it's "C1" balloon launch on 11/11/12. The balloon carried an Adafruit Ultimate GPS Breakout Board using it's on-module logging feature.

It mostly worked well, but we discovered a minor glitch: at altitudes above 32,767 meters the recorded altitudes wrap around to negative numbers. By comparing the altitudes with the trend before and after the negative numbers, it appears the GPS calculated the altitude correctly, but the wraparound occurred when storing the value in the flash as a 16 bit signed number.

If we correct the negative numbers by adding 65536 we get values that make sense relative to the surrounding numbers.

Using this technique, we logged a max altitude of 34046 meters ( 111,757 feet )

Other Adafruit products were used on the launch and worked well:

Weatherproof 18B20 temperature sensor

Two Adafruit Data Logging Shields

Serail JPEG Camera (watch the Hack Pittsburgh site; we will add the pictures soon)

Robert Berger
Hack Pittsburgh member
rbergerpa
 
Posts: 2
Joined: Sun Nov 18, 2012 1:14 pm

Re: Ultimate GPS Breakout - minor issue at high altitudes

Postby adafruit » Sun Nov 25, 2012 10:25 pm

is the bug in our parser or the NMEA output?
User avatar
adafruit
 
Posts: 10483
Joined: Thu Apr 06, 2006 3:21 pm
Location: nyc

Re: Ultimate GPS Breakout - minor issue at high altitudes

Postby WethaGuy » Tue Nov 27, 2012 7:19 pm

32,767...65,536. This has to be a valued stored as int when it should be unsigned int. It would more correct to make it a long, since it's technically possible to have a negative altitude (below sea level).
WethaGuy
 
Posts: 20
Joined: Sun May 06, 2012 8:00 pm

Re: Ultimate GPS Breakout - minor issue at high altitudes

Postby buprafisc » Sun Dec 02, 2012 5:34 pm

Hello,
Sorry for my bad english but I'm French.
Could you tell me if Ultimate Gps Breakout is comptatible with Arduino Due ?

Thanks.

Thierry
buprafisc
 
Posts: 11
Joined: Sun Dec 02, 2012 5:29 pm


Re: Ultimate GPS Breakout - minor issue at high altitudes

Postby buprafisc » Mon Dec 03, 2012 2:39 pm

Thanks

Thierry
buprafisc
 
Posts: 11
Joined: Sun Dec 02, 2012 5:29 pm

Re: Ultimate GPS Breakout - minor issue at high altitudes

Postby rbergerpa » Wed Dec 05, 2012 8:58 pm

adafruit wrote:is the bug in our parser or the NMEA output?


I wasn't using the NMEA/serial output; the bug occurred when using the "log to internal flash" feature of the module, and then extracting the data with the MT3339 GPS PC Tool
rbergerpa
 
Posts: 2
Joined: Sun Nov 18, 2012 1:14 pm

Re: Ultimate GPS Breakout - minor issue at high altitudes

Postby adafruit » Tue Dec 11, 2012 10:23 pm

oh, yeah the internal logging stuff is hardcoded - it was not designed for use at high altitudes!
User avatar
adafruit
 
Posts: 10483
Joined: Thu Apr 06, 2006 3:21 pm
Location: nyc


Return to Other Arduino products from Adafruit

Who is online

Users browsing this forum: No registered users and 3 guests

Stuff to buy from the Adafruit store and links to product documentation!


New Products [105]

Raspberry Pi[80]
 
FLORA[23]
 
Bunnie Studios[9]
 
FPGA[1]
 
mbed[11]
Arduino[60]
 
NETduino[14]
 
BeagleBone[24]
 
Android[6]
 
XBee[10]
More Dev Boards[30]


 
BoArduino[8]
 
SpokePOV[4]
 
TV-B-Gone[4]
 
MiniPOV[3]
 
SIM reader[3]
 
Microtouch[5]
 
Clocks & Watches[18]
 
Drawdio[4]
 
Brain Machine[1]
 
Game of Life[2]
 
MintyBoost[2]
More DIY Kits[16]


 
MaKey MaKey[3]
 
Tweet-a-Watt[5]
 
Young Engineers[33]
 
Discover Electronics[2]
 
Snap Circuits[4]
 
littleBits[3]
 
Project packs[8]


 
Breakout Boards[33]
LCDs & Displays[48]
Components & Parts[69]
Batteries & Power[49]
EL Wire/Tape/Panel[52]
LEDs[108]
 
Wireless[14]
Cables[60]
 
Lasers[6]
Sensors/Parts[145]
 
Enclosures/Cases[11]
 
Solar[11]
 
RFID / NFC[13]
Prototyping[69]
 
iDevices[13]
Tools[71]
 
Wearables[39]
 
CNC[37]
 
Robotics[29]
 
3D printing[1]
 
Materials[24]


 
Stickers[41]
 
Skill badges[55]
 
Books[25]
 
Circuit Playground[7]
 
Gift Certificates[4]