Xinyuan-LilyGO / LilyGO-T-SIM7000G

LilyGO T-SIM7000G
https://pt.aliexpress.com/item/4000542688096.html
284 stars 123 forks source link

SIM7070G unable to find a GNSS fix #177

Open sw-dev-code opened 2 years ago

sw-dev-code commented 2 years ago

I have a SIM7070G module with which I’m trying to get a GNSS fix but without success. Below you can see my sequence of AT commands and responses.

AT+CGNSPWR=1
OK

AT+CGNSINF
+CGNSINF: 1,,,44.060004,20.920002,-37.592,,,1,,0.1,0.1,0.1,,,,155976.0,6000.0
OK

AT+CGNSINF
+CGNSINF: 1,,,44.060004,20.920002,-37.592,,,1,,0.1,0.1,0.1,,,,155976.0,6000.0
OK

AT+CGNSINF
+CGNSINF: 1,,,44.060004,20.920002,-37.592,,,1,,0.1,0.1,0.1,,,,155976.0,6000.0
OK

AT+CGNSINF
+CGNSINF: 1,,,44.060004,20.920002,-37.592,,,1,,0.1,0.1,0.1,,,,155976.0,6000.0
OK

…

I keep getting the same response with always the same latitude and longitude which aren’t correct. Can you tell me what can be wrong?

Thank you in advance.

LilyGO commented 2 years ago

Hello,What is your correct latitude and longitude ? Is it very different from the latitude and longitude you ge t?

sw-dev-code commented 2 years ago

It's very different, my real location is about 150 km away from the reported one. And other parameters are also very strange, like timestamp and number of satellites.

LilyGO commented 2 years ago

Judging by the results of your GPS. Time has not been obtained, the information obtained is not complete. You need to keep positioning. Did you get a location outside? Sometimes it's affected by the weather. Slow positioning .

sw-dev-code commented 2 years ago

I'm testing it outside with a clear weather and open sky. Still getting the same results.

Below you can see a picture of my setup.

IMG_20220504_120632.jpg

LilyGO commented 2 years ago

You may have fewer satellites in your area. You need to stay outside and wait a little longer .

AT+CGNSINF +CGNSINF: 1,,,44.060004,20.920002,-37.592,,,1,,0.1,0.1,0.1,,,,155976.0,6000.0 OK

The results show that there is data, but it is not complete.

Mr-HaleYa commented 1 year ago

You need to go outside where there are few trees. A roof works really well, try it there. Also, it can take up to 5 min to get the first location. Do that then report your results.

xyzzy42 commented 1 year ago

It should work inside just fine if near a window. Avoiding trees or being a on a roof is not necessary.

@sw-dev-code, your problem may be that the SIM7070G GPS antenna power is on a different GPIO that the documentation states, as it only covers SIM7000G.

Try this command:

AT+SGPIO=0,5,1,1

Then you should be able measure ~3V on the pad of the GPS connector and top pad of the capacitor directly below it.

OrnellaBenzi commented 1 year ago

i'm having a similar problem, when using AT+CGNSINF i get inaccurate and incomplete data. And when using AT+SGNSCMD I keep getting +SGNSERR: 10 after a minute or two: image