Xinyuan-LilyGO / LilyGO-T-A76XX

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

Strange value from the GPS #29

Closed peder2key closed 6 months ago

peder2key commented 1 year ago

Hello

I am testing the gps and getting back strange Lat and Lot values:

at:-0.133333 lon:-0.000000 lat:-0.133333 lon:-0.000000 lat:-0.133333 lon:-0.000000 lat:-0.133333 lon:-0.000000 lat:-0.133333 lon:-0.000000 lat:-0.133333 lon:-0.000000 lat:-0.133333 lon:-0.000000 lat:-0.133333 lon:-0.000000 lat:-0.133333 lon:-0.000000 lat:-0.133333 lon:-0.000000 lat:-0.133333 lon:-0.000000 lat:-0.133333 lon:-0.000000 lat:-0.133333 lon:-0.000000 lat:-0.133333 lon:-0.000000 lat:-0.133333 lon:-0.000000 lat:-0.150000 lon:-0.000000 lat:-0.150000 lon:-0.000000 lat:-0.150000 lon:-0.000000 lat:-0.150000 lon:-0.000000 lat:-0.150000 lon:-0.000000 lat:-0.150000 lon:-0.000000 lat:-0.150000 lon:-0.000000 lat:-0.150000 lon:-0.000000 lat:-0.150000 lon:-0.000000 lat:-0.150000 lon:-0.000000 lat:-0.150000 lon:-0.000000 lat:-0.150000 lon:-0.000000

what is the unit?

Best Regards

LilyGO commented 1 year ago

Hello. Did you buy the one with GPS? Which example did you use?

peder2key commented 1 year ago

Hello,

I bought this unit: https://www.aliexpress.com/item/1005003036514769.html?spm=a2g0o.order_list.order_list_main.156.1ca01802oLv0sw

I have tested this example: https://github.com/Xinyuan-LilyGO/T-A7670X/blob/main/examples/new_version/Arduino/TinyGSM_Net_GNSS/TinyGSM_Net_GNSS.ino

I have also tried to get the modem.getGPSraw() string also which gave me this result:

3,10,,00,00,5923.88109,N,01027.87128,E,091222,133005.00,67.9,2.319,,3.8,2.5,2.9

but the modem.getGPS(&lat, &lon) gives me: lat:-0.000000 lon:-0.000000

LilyGO commented 1 year ago

It is caused by different parameter positions

peder2key commented 1 year ago

hmm what does that mean?

miscawelo commented 1 year ago

I bought the non GPS version and later connected an antenna I had laying around, but I can't power up the GPS, it erros out. Is there any difference between the two versions? Besides the included antenna

LilyGO commented 1 year ago

hmm what does that mean?

reference

LilyGO commented 1 year ago

I bought the non GPS version and later connected an antenna I had laying around, but I can't power up the GPS, it erros out. Is there any difference between the two versions? Besides the included antenna

It's the difference without GPS. All other things

mikandrzej commented 7 months ago

I also have issue with position of parameters. It seems that library has a bug - or maybe there should be command before using getGPS to change position of parameters...

lewisxhe commented 7 months ago

Are you running the previous sketch or the latest clone?

github-actions[bot] commented 6 months ago

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] commented 6 months ago

This issue was closed because it has been inactive for 14 days since being marked as stale.