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

No GPS data #69

Closed
xe2ad opened this issue Aug 4, 2022 · 4 comments
Closed

No GPS data #69

xe2ad opened this issue Aug 4, 2022 · 4 comments
Assignees
Labels
bug Something isn't working

Comments

@xe2ad
Copy link

xe2ad commented Aug 4, 2022

Hi,
My Tbeam is not getting the position information from GPS, so no position is transmitted. The Tbeam's version is V1.1 with NEO-6M module. I had turned on the tracker all the night expecting to get position info without success.

@xe2ad xe2ad added the bug Something isn't working label Aug 4, 2022
@wolfpcgn
Copy link

wolfpcgn commented Aug 7, 2022

Maybe this can help you: https://github.com/eriktheV-king/TTGO_T-beam_GPS-reset
If the red LED nearby the GPS-module doesn't flash, look at the GPS-antenna its cable or its connector. If you choose the wrong T-BEAM version (0.7 instead of 1.0) there might be no power-supply for the GPS-module.

@xe2ad
Copy link
Author

xe2ad commented Aug 8, 2022

Thanks for your reply, seems that I was able to run the GPS reset properly, watching the monitor... but still can't get any GPS info. I put the tbeam board in my window, all night without any success (yesterday afternoon it got the date but no position info and the GPS led has been turned off).

@ccmolik
Copy link

ccmolik commented Aug 9, 2022

For what it's worth, I saw similar behavior with the V1.1 and was convinced the GPS was faulty. It wasn't.

The antenna does seem to be kind of weak, though, and I often find I need to place the device outside with a view of the sky to have it pick up a signal. Being in a window didn't cut it.

This could be coincidental timing but after I added an 18650 battery, the device seemed to keep track of the GPS signal better in my tests, even in a car (red LED blinking next to the GPS chip, etc).

I ended up making a change to the code to have it print the GPS sentences to the console (via the 'Upload and Monitor' feature in PlatformIO):

@@ -118,13 +120,13 @@ void loop() {
   if (Config.debug) {
     while (Serial.available() > 0) {
       char c = Serial.read();
-      // Serial.print(c);
+      Serial.print(c);
       gps.encode(c);
     }
   } else {
     while (ss.available() > 0) {
       char c = ss.read();
-      // Serial.print(c);
+      Serial.print(c);
       gps.encode(c);
     }
   }

I'd then get the $GPGSV sentences in the console, where I could look at the fourth field to see the number of satellites it saw, even if it's not actually using them until $GPGGA fields get populated. This takes a bit as the GPS chip seems to need time to start accepting the satellites it sees.

@xe2ad
Copy link
Author

xe2ad commented Aug 18, 2022

@wolfpcgn @ccmolik Hi fellows... problem solved. The issue was the GPS antenna. I changed the ceramic antenna and replaced it with an external one and it started to work.
Thanks for your help !
Best regards,
-David, XE2AD.

@xe2ad xe2ad closed this as completed Aug 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants