Xinyuan-LilyGO / LilyGO-T-A76XX

LilyGo A7670 A7608 SIM7672 series
MIT License
96 stars 42 forks source link

GPS/GNSS does not work #41

Closed steven-redkitedesign closed 11 months ago

steven-redkitedesign commented 1 year ago

Using Lilygo T-A7670E board, GNSS does not work. Tried the test method described here: https://github.com/Xinyuan-LilyGO/T-A7670X/issues/25

Result: 08:42:42.014 -> $GNGGA,064243.00,,,,,0,00,99.99,,,,,,7F 08:42:42.048 -> $GNGSA,A,1,,,,,,,,,,,,,99.99,99.99,99.99,133 08:42:42.117 -> $GNGSA,A,1,,,,,,,,,,,,,99.99,99.99,99.99,331 08:42:42.151 -> $GNGSA,A,1,,,,,,,,,,,,,99.99,99.99,99.99,230 08:42:42.220 -> $GPGSV,1,1,03,19,,,20,24,,,30,17,,,21,06C 08:42:42.253 -> $GAGSV,1,1,00,$GNRMC,064244.00,V,,,,,,,140423,,,N,V19

So the time is correct (but perhaps that is from the GSM side, as 4G is working) but there is no location.

Tried outside, waited for >1hr so it could get almanac, makes no difference.

Anonymouse-X commented 1 year ago

same here this is the result for me

OK AT+CGNSSPWR=1

OK

+CGNSSPWR: READY! AT+CGNSSMODE=3

OK AT+CGNSSNMEA=1,1,1,1,1,1,0,0

OK AT+CGPSNMEARATE=2

OK AT+CGNSSTST=1

OK AT+CGNSSPORTSWITCH=0,1

OK $GNRMC,061609.50,V,,,,,,,260423,,,N,V15 $GNGGA,061609.50,,,,,0,00,99.99,,,,,,75 $GNGLL,,,,,061609.50,V,N59 $GNGSA,A,1,,,,,,,,,,,,,99.99,99.99,99.99,133 $GNGSA,A,1,,,,,,,,,,,,,99.99,99.99,99.99,331 $GNGSA,A,1,,,,,,,,,,,,,99.99,99.99,99.99,230 $GPGSV,2,1,05,06,,,27,14,,,27,19,,,27,194,,,29,05A $GPGSV,2,2,05,195,,,28,057 $GAGSV,1,1,00,074 $GLGSV,1,1,00,079 $GNVTG,,,,,,,,,N2E $GNRMC,061610.00,V,,,,,,,260423,,,N,V18 $GNGGA,061610.00,,,,,0,00,99.99,,,,,,78 $GNGLL,,,,,061610.00,V,N54 $GNGSA,A,1,,,,,,,,,,,,,99.99,99.99,99.99,133 $GNGSA,A,1,,,,,,,,,,,,,99.99,99.99,99.99,331 $GNGSA,A,1,,,,,,,,,,,,,99.99,99.99,99.99,230 $GPGSV,2,1,05,06,,,30,14,,,26,19,,,29,194,,,32,059 $GPGSV,2,2,05,195,,,28,057 $GAGSV,1,1,00,074 $GLGSV,1,1,00,079 $GNVTG,,,,,,,,,N2E

lewisxhe commented 1 year ago
  1. Please confirm that the following two commands have been run before running GPS positioning, it will turn on the power supply of the GPS antenna, otherwise GPS positioning will be invalid
AT+CGDRT=4,1
AT+CGSETV=4,0
  1. After executing the above command, check whether there is 2.5~3V power supply at the antenna end. image
  2. Positioning must be done outdoors, and positioning cannot be performed indoors.
Anonymouse-X commented 1 year ago

Yes! there is indeed voltage. I read about 3.06V but the output in the serial monitor is the same as before.

lewisxhe commented 1 year ago

If all the conditions are met and it is still impossible to locate, you can consider whether there is an antenna issue. Do you have any other antennas to try? Being able to output valid NMEA sentences indicates that GNSS is working normally

lewisxhe commented 11 months ago

If you still have problems, please reopen the issue