Blasting Off With GPS

Launching model rockets is a good time, but more often than not, it’s hard to tell how high the rocket went or how fast it moved – both essential facts when bragging about your latest flight. [Chris] recently built a GPS-based altimeter for the USC Rocket Propulsion Lab, so that they could track the performance of their latest project. The circuit is based off a Picaxe 18x and uses a GPS module to obtain NMEA altitude data. Once the data is obtained, it is stored on an external EEPROM to be read back after the rocket has been recovered.

[Chris] unfortunately does not have any pictures of the board he built, but he has made his circuit diagram and source code available. He reports that the logger worked perfectly aside from a small bit of time where the GPS module temporarily lost its satellite lock.

If you are interested in reading more about flight data recording and telemetry, be sure to check this out.

23 thoughts on “Blasting Off With GPS

  1. That’s interesting. At first glance I thought the sattelite lock would have been lost due to the speed reached, as some modules are programmed to stop providing accurate data past certain altitudes/speeds so that commercial gps unit’s can’t be used for guided missile platforms.
    Looks like it was just a glitch on the way down though.

  2. This is amateur compared to this:
    http://www.srcf.ucam.org/cuspaceflight/wiki/doku.php?id=badger2

    Badger2 is a hobby project of some students at Cambridge University – a rocket control board that includes a software defined GPS receiver, to overcome the ITAR limitations (can’t go faster than 1000 knots or 60,000 feet, as well as some acceleration and jerk limits) of commercial GPS receivers. They basically sample the raw GPS signal (after amplification and downconversion) and run all the signal processing on a Gumstix module.

    Super hard core project!

  3. What is the point of using GPS if all you wanted was altitude? In my experience, the altitude returned via GPS is not terribly accurate, and surely the added complexity of establishing and maintaining a satellite lock is less than ideal (indeed, it gave them a little hiccup here).

    Unless it is that difficult to source small, high altitude, altimeter modules?

  4. If you rest your GPS mouse on your windowsill here in Europe your altitude data will be jumping +/- 20 m about every 5 sec. IMHO commercial GPS modules are useless for altitude tracking and even for positioning it’s not really useful if you need an accuracy better than 10 m. The public signal isn’t called coarse acquisition without a reason. If you need better accuracy you’ve got to build your own differential GPS, since in Europe you’ve got to pay extra for DGPS via geostationary satellites if things haven’t changed lately. Stupid EU should get going on funding Galileo. The costs sound immense but compared to 100 km highway it’s cheap as sh*t.

  5. Take a look at Altus Metrum project by Bdale Garbee. The project produces a control module that deploys a parachute for high power rockets. Chute deployment is timed by integrating acceleration and backed up by a barometric sensor and GPS. Its a tested and proven controller. It logs acceleration and air pressure at a high sample rate. It is designed as open hardware and uses open source software. The code is available under GPL v2 using a GPL toolchain. The code was written by Keith Packard of the X11 project.

  6. I’ve done a pretty good amount of reading on the altitude/speed issues being faced by amateur rocket and weather balloon enthusiasts. The way I understand it, the FAA regs state that a commercial GPS unit isn’t allowed to operate if it is both over the altitude limit and traveling over the maximum allowed speed AT THE SAME TIME. Unfortunately, the lower cost GPS units (ex. sirf-II and surf-III chipset based units) have their firmware written to stop working if EITHER situation occurs. No one seems to know if this was just in inaccurate implementation of the FAA regs by the manufacturers or an intentional handicapping of the lower cost GPS units but it doesn’t change from generation to generation so it doesn’t seem to be a programming bug.

    In the case of this particular project, none of this really matters. If you check out the telemetry graph on the project web page, you’ll see that the test rocket never even broke 20,000 feet much less 60,000. Also, a rough calculation of the speed based on the same graph values seems to suggest that it was only ever traveling at well under the 1000 knots (1687.8 feet per second) mentioned above.

  7. If you’re curious about the commercially available alternatives, yes they exist.

    Barometric altimeter units can be had for $75ish

    http://stores.whatsuphobby.com/-strse-43/HiAlt45K-dual-event-altimeter/Detail.bok

    The MAWD actually records altitude readings several times per second the whole way up/down and runs around $100. I own one and I’ve got flight data for a few flights as well.

    http://www.perfectflite.com/cgi/PF_Store/perlshop.cgi?ACTION=enter&thispage=MAWD.html&ORDER_ID=!ORDERID!

    The Raven is highly thought of among amateur rocketry folk — it has a barometric sensor and accelerometers
    http://www.featherweightaltimeters.com/The_Raven.php

    For tracking/GPS stuff with rockets, I think BigRedBee is the best known.

    http://www.bigredbee.com/

  8. @Hugo, since it still has a blackbox GPS chip on board, there is no way to know if that GPS chip contains any restrictions.

    What I want to see is a GPS receiver built using NO GPS-specific chips at all.

  9. makes no sense to use gps for height data. its inaccurate as hell. barometric pressure is perfect for this. especially since you can easily find out the starting height and the flight is of short durateion (so weather changes dont affect it).

Leave a Reply

Please be kind and respectful to help make the comments section excellent. (Comment Policy)

This site uses Akismet to reduce spam. Learn how your comment data is processed.