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

Lilygo 7000g gps not working #212

Closed
git-tiger opened this issue Feb 2, 2023 · 3 comments
Closed

Lilygo 7000g gps not working #212

git-tiger opened this issue Feb 2, 2023 · 3 comments

Comments

@git-tiger
Copy link

I have the 7000g version, and tested the gpstest. Power to the antenna is working via the AT command.
Just that no lat/long data is shown.
Could it be the antenna is broken?

@DevinCarpenter
Copy link

Possible but unlikely. I have quite a few of these units and every single one has worked great. What is the output you are getting?

Just so you know - This thing can take a while to connect. Being on the ground floor in a big building could prevent you from getting signal from the satellites....That caused problems for me. But being indoors in most places hasn't been an issue.

'+CGNSINF: 1,0,,,,,,,0,,,,,,4,,,,46,,' This is an example output of trying to get signal. I believe '46' is the number of GNSS satellites in range for location triangulation - though don't quote me.

This is along the lines of what you will get from the CGNSINF command when it connects.
'+CGNSINF: 1,1,20230126203118.000,38.897629,-77.036780,17.600,0.00,0.0,1,,1.0,1.3,0.9,,24,5,3,,43,,'

Please be aware that the GPS actually has a cold start and a hot start as well. Cold start could take a while. For me it's about 20 seconds to 10 minutes - at which point I just reset the modem. Hot start could take less than 5 seconds. So connecting after you've already connected shortly before will always yield the fastest results.

@git-tiger
Copy link
Author

I got this to work now. Thanks to @DevinCarpenter
Used AT command: AT+CGNSHOR=10 and now it is able to get the location.

@DevinCarpenter
Copy link

Glad to hear it. For future reference the comment detailing the commands I use is here

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

2 participants