Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GPS support #15

Open
3 tasks
Finchiedev opened this issue Mar 13, 2022 · 6 comments
Open
3 tasks

GPS support #15

Finchiedev opened this issue Mar 13, 2022 · 6 comments
Assignees
Labels
hardware Code for microcontroller / RPi on groundstation hardware

Comments

@Finchiedev
Copy link

We have at least 2 of Adafruit's Ultimate GPS Module, and with that the following functionality needs to be implemented:

  • Parse NMEA sentences
  • Enable on-board data logging
  • Detect when PPS output shows fix

I'm not sure yet that we actually have a use for all of these features, but building them is fairly trivial and should give some valuable experience, plus it would be nice to have these to come back to later.

@Finchiedev Finchiedev added the hardware Code for microcontroller / RPi on groundstation hardware label Mar 13, 2022
@Finchiedev Finchiedev self-assigned this Mar 13, 2022
@Finchiedev
Copy link
Author

Currently I am having trouble getting the GPS to lock to satellites. This is reproducible on 2 separate chips, so most likely there is an issue with signal acquisition (maybe not giving enough time in good range?)

@LukePrior
Copy link
Contributor

The Adafruit guide recommends a 3V active GPS antenna so it may be a good idea to acquire such an antenna.

Core Electronics are local and sell the Adafruit branded ones:

@LukePrior
Copy link
Contributor

LukePrior commented Mar 13, 2022

I've also noticed that the Adafruit module we have only supports the US GPS network and not GLONASS, BDS, GALILEO, QZSS, etc.

We ideally need a device which supports all of these networks along with dual band support to get optimal location accuracy.

I just checked on my phone and it is can see 44 satellites from 5 networks.

@LukePrior
Copy link
Contributor

LukePrior commented Mar 13, 2022

@Finchiedev
Copy link
Author

Thanks for your input, @LukePrior. Some updates:

  • I have managed to get the GPS module consistently acquiring signal after about ~1min in an open area with sky access
  • It would certainly be nice to have an active antenna, but it may be worth considering the power/cost factors. Theoretically it would be fairly simple to set up an additional Arduino (or maybe even use the same one) to emulate the GPS device in the meantime for situations where we are either rapidly prototyping, without sky access or both
  • You are definitely right about multi-network support, and as the video mentions BeiDou would probably would be the best for Australia at least

I think the best plan of action for now is to add support for this GPS board in a modular way so that it could theoretically be swapped out in the future. The software should be able to support multiple different boards & positioning systems at once, and provide some way to emulate via software as a more cost-effective option until we have actually acquired the parts.

@Finchiedev
Copy link
Author

A good reference for building first-class support for the MTK3339 is https://cdn-shop.adafruit.com/datasheets/PMTK_A11.pdf

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hardware Code for microcontroller / RPi on groundstation hardware
Projects
None yet
Development

No branches or pull requests

2 participants