Can't get GPS fix outdoors #2859
Replies: 24 comments
-
Posted at 2020-04-22 by @gfwilliams Hi - and you definitely were outside for that time with the GPS app running? If the app isn't running then the GPS won't be on, so none of that time would help with getting a fix. edit: also just noticed |
Beta Was this translation helpful? Give feedback.
-
Posted at 2020-04-22 by Robin Wed 2020.04.22 While taking a break from evaporating memory discovery ;-) this post caught my eye as I hadn't played with GPS in over a year, and hadn't attempted on a Bangle, yet. Now mine is a Beta KickStarter,
After reviewing my post from a year ago, contains links and images: > [Programming the Ublox NEO-6M GPS](http://forum.espruino.com/conversations/332295/) plucked out the spec on data packets: Here is what I did while sitting at my kitchen table fifteen feet from my sliding patio door/window: Used verbatim the second code block provided by @martin
As the GPS has never been activated before, the return data is null as expected:
After two to five minutes, the first satellite was detected and packet GNRMC starts to render the first [ 161332.70 ] detected:
And after five minutes the date [ 220420 ] 22nd of April, 2020 popped up:
After a good ten minutes I started to notice data populate GPGSV and slot three (option base 1) of that data packet now shows three sattelites detected, and five seconds after that, ten:
Would it make sense to attempt to flash the older firmware, just to allow @martin a sanity test, as that version will not load current widgets or apps? *(still waiting my device to flash my Bangle)* |
Beta Was this translation helpful? Give feedback.
-
Posted at 2020-04-22 by Martin Yes, @gfwilliams, the app was running. Just to be sure I went outside again for half an hour with the app running. Still the "0 satellites" message. Great idea, @robin, do You know where I can find an older version short of checking it out and building myself? |
Beta Was this translation helpful? Give feedback.
-
Posted at 2020-04-22 by Robin @martin, I am not recommending reflashing just yet. I've not been immersed in Bangle ongoings for over a month, and it is apparent that many changes with the bootloader and apps have been underway. Has removing all the apps, and just booting been tried yet? For future reference, older firmware may be found by:
The web page orders by a build reference value rather than by date. |
Beta Was this translation helpful? Give feedback.
-
Posted at 2020-04-23 by Martin I removed all apps and did a reset without loading any code. |
Beta Was this translation helpful? Give feedback.
-
Posted at 2020-04-23 by AkosLukacs I have the 2v05.1, and GPS still works. One thing to note: The bangle has to download GPS data (almanac, all kinds of info) before it can determine your position via GPS itself. That does take some time. In comparison, your phone can download GPS info via internet, and has all kinds of helping info like mobile cell towers, wifi hotspots, and of course your last known location. So usually it can get a pretty good location guess in seconds. So just leaving the Bangle with GPS app running outside with a good view of sky should get the required GPS data. |
Beta Was this translation helpful? Give feedback.
-
Posted at 2020-04-23 by Purple-Tentacle
Is that data stored for the next GPS fix? If yes, when will it get deleted? |
Beta Was this translation helpful? Give feedback.
-
Posted at 2020-04-23 by AkosLukacs
AFAIK (an I'm not even close to an expert, and didn't read uBlox's datasheet) the data is stored by the GPS module until it's expired. |
Beta Was this translation helpful? Give feedback.
-
Posted at 2020-04-23 by @gfwilliams
No - this'll be squarely related to the GPS itself. At this level you're talking right to the hardware. Please could you try just leaving the Bangle on its own, with the GPS app on, ideally with the 'N' symbol facing towards the sky? It's possible that if you're moving it around and there are buildings to the side of you it's having a lot of trouble. Otherwise it may be there's an issue with the GPS radio but it's worth trying some other stuff first
Yes - I could be wrong but I believe it may be until power is lost. At least getting a GPS fix after losing power takes far, far longer. |
Beta Was this translation helpful? Give feedback.
-
Posted at 2020-04-23 by Purple-Tentacle
Ah okay, so this is handled by the GPS firmware then and not by Espruino? |
Beta Was this translation helpful? Give feedback.
-
Posted at 2020-04-23 by @gfwilliams Yes, absolutely - the GPS only sends data to Espruino. While it could configure the GPS, right now Espruino doesn't. |
Beta Was this translation helpful? Give feedback.
-
Posted at 2020-04-23 by Martin @gfwilliams I did what You asked. Line of sight is good, watch with the 'N' symbol facing towards the sky. No change. Even after 50 minutes the output is still as follows:
Anything else I can try?Attachments: |
Beta Was this translation helpful? Give feedback.
-
Posted at 2020-04-23 by @gfwilliams Wow, thanks. Yes, I think that settles it - definitely should have got a fix! Do you think you could send it back to me and I'll get another one posted out to you? |
Beta Was this translation helpful? Give feedback.
-
Posted at 2020-04-23 by Martin Sure, no problem. Can we continue this discussion privately? |
Beta Was this translation helpful? Give feedback.
-
Posted at 2020-04-23 by Robin Thr 2020.04.23
re: 'At this level you're talking right to the hardware' The point of reflashing was to prove that maybe the antenna (is there anyway to see if the factory botched connecting that?) wasn't connected, as the UBlox is talking to Espruino as we see the formatted data packets. They just don't conatin data. My assumption was the antenna, or the GPS itself. As I have a crippled (can't load apps as I am unable to flash yet) Beta version, that was working without any installs. With all the recent firmware version changes, reflashing to that three month old version would be the final say as to whether a return was necessary, without having to take the watch apart. |
Beta Was this translation helpful? Give feedback.
-
Posted at 2020-04-23 by @gfwilliams
That's a good point. If you're willing to look inside it'd be great if you could follow this video: https://www.espruino.com/Bangle.js+Disassembly When you take the inner 'puck' out from the watch casing, it should be pretty easy to pull the brown GPS antenna away and see if the little connector is actually pushed in to the PCB. I guess it's possible it just isn't connected. |
Beta Was this translation helpful? Give feedback.
-
Posted at 2020-04-23 by Martin I did both today, in one occasion used an app and in other used the code above. Just to be sure. Both testing cycles lasted 30 minutes or more. Neither produced results. |
Beta Was this translation helpful? Give feedback.
-
Posted at 2020-04-23 by Martin @gfwilliams By that little connector You mean this area? I'm guessing that white residue should not be there?Attachments: |
Beta Was this translation helpful? Give feedback.
-
Posted at 2020-04-23 by @gfwilliams Wow, thanks for looking. That's really odd. Never seen anything like that (corrosion?), but that sure looks like it's your problem. I'll make sure I get a new one out to you early next week |
Beta Was this translation helpful? Give feedback.
-
Posted at 2021-09-29 by nicoboss hello, sorry to take this topic out again. |
Beta Was this translation helpful? Give feedback.
-
Posted at 2021-09-29 by nicoboss Nevermind, my last attempt seems to have fixed the GPS. Sometimes asking for help solves the problem on its own ^^ |
Beta Was this translation helpful? Give feedback.
-
Posted at 2021-09-29 by @gfwilliams And you waited for an hour with GPS Info running? Did it show any satellites at all, or even a time? You'd need to install AGPS within ~24 hours (depending what option you choose) for it to help with a fix. In Martin's case (you can see from the pictures) something had leaked in his watch (either battery or water ingress) and it was completely shot, but that's pretty rare. |
Beta Was this translation helpful? Give feedback.
-
Posted at 2021-09-29 by nicoboss Actually, right after posting my question here, I tried again, but this time with Speedo, and after a few minutes, after the message that it is trying to find the satellites, it displayed speed. yes, indeed, I admit I was a little worried when I saw the photo Martin posted, as well as the lack of results patience is always worth |
Beta Was this translation helpful? Give feedback.
-
Posted at 2021-09-30 by @gfwilliams Great! Glad you got it sorted! |
Beta Was this translation helpful? Give feedback.
-
Posted at 2020-04-22 by Martin
What I have done so far:
Despite all that GPS Info app still states "0 satelites". Even after an hour long walk away from tall buildings.
To debug I used following code:
Output is:
Afterwards I updated the code to print GPS data every 5 seconds:
And noticed a repeating block of values:
I have attached a screenshot from a phone showing satellite coverage if it's of any help.
Attachments:
Beta Was this translation helpful? Give feedback.
All reactions