ElectronAssetTracker
ElectronAssetTracker copied to clipboard
GPS gets a fix but function returns 0
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!
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.
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.