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 gets a fix but function returns 0 #9

Open
eushay opened this issue Oct 25, 2016 · 2 comments
Open

GPS gets a fix but function returns 0 #9

eushay opened this issue Oct 25, 2016 · 2 comments

Comments

@eushay
Copy link

eushay commented Oct 25, 2016

While trying to implement the Asset tracker example (in particle documents), I bumped into the issue that GPS shows that it has gotten a fix on the position (by turning the "GPS FIX" led off) but the function .gpsfix() returns 0, so no data is collected.

My Hardware setup: I had replaced Electron with a Photon (don't think it matters here!). Used USB to power up and also used external Antenna.

After discussing the issue on forum, I worked on https://github.com/rickkas7/AssetTrackerRK by rickkas7. His library is based on TInyGPS++. Now the module is working perfectly. So it seems like the issue was with the Adafruit GPS library.

It would be great if the problem with Adafruit library is resolved!

@eushay eushay changed the title GPS gets fix but function returns 0 GPS gets a fix but function returns 0 Oct 25, 2016
@monkbroc
Copy link
Member

I think it's a good suggestion to replace the current GPS library by the TinyGPS++ library. I've had better luck with that one too.

@marc-gist
Copy link

marc-gist commented Jan 23, 2017

I just ran into this issue as well... was working fine. added external antenna, now I get 0 for .gpsFix() even when LED not flashing!

Removing the external antenna does not fix this issue. I'm going to try the other Library.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants