RPi3/Raspbian + SIM5320A AT commands working but no GPS data

Moderators: adafruit_support_bill, adafruit

Forum rules
If you're posting code, please make sure your code does not include your Adafruit IO Active Key or WiFi network credentials.
User avatar
tfreid62
 
Posts: 17
Joined: Tue Jul 18, 2017 11:59 am

RPi3/Raspbian + SIM5320A AT commands working but no GPS data

Post by tfreid62 »

Hi,
Now that I have had some time to get the TTY device working properly, I am convinced my setup is working correctly. I have been able to use stty and putty settings to change from the default baud rate of 115200 to 9600 and backd. The putty session works either way with the AT commands. My tty device is /dev/ttyAMA0.

I have been able to successfully:
1) send and receive text messages
2) send and receive voice calls
My issue is I need a simple AT command to work to get my current GPS position: AT+CGPSINFO

All I receive in response is the AmpI/AmpQ numbers. These numbers vary between the 300's to the 500's.
I have taken my GPS antenna up to my roof and still I get no data, and I have waited 30 minutes to allow the positioning negotiation to take place.

If my Verizon cell phone GPS works in my location, shouldn't this work as well?
The only other thing I have read is that the antenna needs an in-line amplifier.

Code: Select all

at

OK
at+cgpsinfo

+CGPSINFO:,,,,,,,,

AmpI/AmpQ: 382/381

OK
Any suggestions would be appreciated.
Thanks, Tim

User avatar
adafruit_support_rick
 
Posts: 35092
Joined: Tue Mar 15, 2011 11:42 am

Re: RPi3/Raspbian + SIM5320A AT commands working but no GPS

Post by adafruit_support_rick »

Have you turned GPS on? Use this command:
AT+CGPS=1

User avatar
tfreid62
 
Posts: 17
Joined: Tue Jul 18, 2017 11:59 am

Re: RPi3/Raspbian + SIM5320A AT commands working but no GPS

Post by tfreid62 »

Hi Rick, yes I should have included that to clarify that it should be responding.

Code: Select all

AT+CGPS?
+CGPS: 0,1

OK

AT+CGPS=1
OK

AT+CGPS?
+CGPS: 1,1

OK
AT+CGPSINFO
+CGPSINFO:,,,,,,,,

AmpI/AmpQ: 552/571

OK

User avatar
adafruit_support_rick
 
Posts: 35092
Joined: Tue Mar 15, 2011 11:42 am

Re: RPi3/Raspbian + SIM5320A AT commands working but no GPS

Post by adafruit_support_rick »

Let's see what the actual NMEA sentences look like. Enter this command. This will enable reporting of the GGA, RMC, GSV, and GSA sentences every 10 seconds. Post the results
AT+CGPSINFOCFG=10,15

User avatar
tfreid62
 
Posts: 17
Joined: Tue Jul 18, 2017 11:59 am

Re: RPi3/Raspbian + SIM5320A AT commands working but no GPS

Post by tfreid62 »

Thanks Rick, here are the results.

Code: Select all

=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2017.07.29 10:55:23 =~=~=~=~=~=~=~=~=~=~=~=
at
OK
at+cgpsinfocfg=10,15
OK
$GPGSV,4,1,16,01,,,,02,32,191,,03,04,052,,05,,,*75
$GPGSV,4,2,16,06,62,132,,07,,,,09,,,,10,,,*45
$GPGSV,4,3,16,11,,,,12,27,305,,13,01,206,,14,,,*7B
$GPGSV,4,4,16,15,03,240,,17,39,046,,18,,,,19,61,029,*4C
$GPGGA,175539.2,,,,,0,,,,,,,,*76
$GPRMC,175539.2,V,,,,,,,290717,,,N*49
$GPGSA,A,1,,,,,,,,,,,,,,,*1E
$GPGSV,4,1,16,01,,,,02,32,191,,03,04,052,,05,,,*75
$GPGSV,4,2,16,06,62,132,,07,,,,09,,,,10,,,*45
$GPGSV,4,3,16,11,,,,12,27,305,,13,01,206,,14,,,*7B
$GPGSV,4,4,16,15,03,240,,17,39,046,,18,,,,19,61,029,*4C
$GPGGA,175549.2,,,,,0,,,,,,,,*71
$GPRMC,175549.2,V,,,,,,,290717,,,N*4E
$GPGSA,A,1,,,,,,,,,,,,,,,*1E
$GPGSV,4,1,16,01,,,,02,32,191,,03,04,052,,05,,,*75
$GPGSV,4,2,16,06,62,132,,07,,,,09,,,,10,,,*45
$GPGSV,4,3,16,11,,,,12,27,305,,13,01,206,,14,,,*7B
$GPGSV,4,4,16,15,03,240,,17,39,046,,18,,,,19,61,029,*4C
$GPGGA,175559.2,,,,,0,,,,,,,,*70
$GPRMC,175559.2,V,,,,,,,290717,,,N*4F
$GPGSA,A,1,,,,,,,,,,,,,,,*1E
$GPGSV,4,1,16,01,,,,02,32,191,,03,04,052,,05,,,*75
$GPGSV,4,2,16,06,62,132,,07,,,,09,,,,10,,,*45
$GPGSV,4,3,16,11,,,,12,27,305,,13,01,206,,14,,,*7B
$GPGSV,4,4,16,15,03,240,,17,39,046,,18,,,,19,61,029,*4C
$GPGGA,175609.2,,,,,0,,,,,,,,*76
$GPRMC,175609.2,V,,,,,,,290717,,,N*49
$GPGSA,A,1,,,,,,,,,,,,,,,*1E
$GPGSV,4,1,16,01,,,,02,32,191,,03,04,052,,05,,,*75
$GPGSV,4,2,16,06,62,132,,07,,,,09,,,,10,,,*45
$GPGSV,4,3,16,11,,,,12,27,305,,13,01,206,,14,,,*7B
$GPGSV,4,4,16,15,03,240,,17,39,046,,18,,,,19,61,029,*4C
$GPGGA,175619.2,,,,,0,,,,,,,,*77
$GPRMC,175619.2,V,,,,,,,290717,,,N*48
$GPGSA,A,1,,,,,,,,,,,,,,,*1E
$GPGSV,4,1,16,01,,,,02,32,191,,03,04,052,,05,,,*75
$GPGSV,4,2,16,06,62,132,,07,,,,09,,,,10,,,*45
$GPGSV,4,3,16,11,,,,12,27,305,,13,01,206,,14,,,*7B
$GPGSV,4,4,16,15,03,240,,17,39,046,,18,,,,19,61,029,*4C
$GPGGA,175629.2,,,,,0,,,,,,,,*74
$GPRMC,175629.2,V,,,,,,,290717,,,N*4B
$GPGSA,A,1,,,,,,,,,,,,,,,*1E
$GPGSV,4,1,16,01,,,,02,32,191,,03,04,052,,05,,,*75
$GPGSV,4,2,16,06,62,132,,07,,,,09,,,,10,,,*45
$GPGSV,4,3,16,11,,,,12,27,305,,13,01,206,,14,,,*7B
$GPGSV,4,4,16,15,03,240,,17,39,046,,18,,,,19,61,029,*4C
$GPGGA,175639.2,,,,,0,,,,,,,,*75
$GPRMC,175639.2,V,,,,,,,290717,,,N*4A
$GPGSA,A,1,,,,,,,,,,,,,,,*1E
$GPGSV,4,1,16,01,,,,02,32,191,,03,04,052,,05,,,*75
$GPGSV,4,2,16,06,62,132,,07,,,,09,,,,10,,,*45
$GPGSV,4,3,16,11,,,,12,27,305,,13,01,206,,14,,,*7B
$GPGSV,4,4,16,15,03,240,,17,39,046,,18,,,,19,61,029,*4C
$GPGGA,175649.2,,,,,0,,,,,,,,*72
$GPRMC,175649.2,V,,,,,,,290717,,,N*4D
$GPGSA,A,1,,,,,,,,,,,,,,,*1E
$GPGSV,4,1,16,01,,,,02,32,191,,03,04,052,,05,,,*75
$GPGSV,4,2,16,06,62,132,,07,,,,09,,,,10,,,*45
$GPGSV,4,3,16,11,,,,12,27,305,,13,01,206,,14,,,*7B
$GPGSV,4,4,16,15,03,240,,17,39,046,,18,,,,19,61,029,*4C
$GPGGA,175659.2,,,,,0,,,,,,,,*73
$GPRMC,175659.2,V,,,,,,,290717,,,N*4C
$GPGSA,A,1,,,,,,,,,,,,,,,*1E
$GPGSV,4,1,16,01,,,,02,33,191,,03,04,052,,05,,,*74
$GPGSV,4,2,16,06,62,130,,07,,,,09,,,,10,,,*47
$GPGSV,4,3,16,11,,,,12,28,306,,13,01,206,,14,,,*77
$GPGSV,4,4,16,15,03,239,,17,39,047,,18,,,,19,60,030,*4A
$GPGGA,175709.2,,,,,0,,,,,,,,*77
$GPRMC,175709.2,V,,,,,,,290717,,,N*48
$GPGSA,A,1,,,,,,,,,,,,,,,*1E
$GPGSV,4,1,16,01,,,,02,33,191,,03,04,052,,05,,,*74
$GPGSV,4,2,16,06,62,130,,07,,,,09,,,,10,,,*47
$GPGSV,4,3,16,11,,,,12,28,306,,13,01,206,,14,,,*77
$GPGSV,4,4,16,15,03,239,,17,39,047,,18,,,,19,60,030,*4A
$GPGGA,175719.2,,,,,0,,,,,,,,*76
$GPRMC,175719.2,V,,,,,,,290717,,,N*49
$GPGSA,A,1,,,,,,,,,,,,,,,*1E
$GPGSV,4,1,16,01,,,,02,33,191,,03,04,052,,05,,,*74
$GPGSV,4,2,16,06,62,130,,07,,,,09,,,,10,,,*47
$GPGSV,4,3,16,11,,,,12,28,306,,13,01,206,,14,,,*77
$GPGSV,4,4,16,15,03,239,,17,39,047,,18,,,,19,60,030,*4A
$GPGGA,175729.2,,,,,0,,,,,,,,*75
$GPRMC,175729.2,V,,,,,,,290717,,,N*4A
$GPGSA,A,1,,,,,,,,,,,,,,,*1E
$GPGSV,4,1,16,01,,,,02,33,191,,03,04,052,,05,,,*74
$GPGSV,4,2,16,06,62,130,,07,,,,09,,,,10,,,*47
$GPGSV,4,3,16,11,,,,12,28,306,,13,01,206,,14,,,*77
$GPGSV,4,4,16,15,03,239,,17,39,047,,18,,,,19,60,030,*4A
$GPGGA,175739.2,,,,,0,,,,,,,,*74
$GPRMC,175739.2,V,,,,,,,290717,,,N*4B
$GPGSA,A,1,,,,,,,,,,,,,,,*1E
$GPGSV,4,1,16,01,,,,02,33,191,,03,04,052,,05,,,*74
$GPGSV,4,2,16,06,62,130,,07,,,,09,,,,10,,,*47
$GPGSV,4,3,16,11,,,,12,28,306,,13,01,206,,14,,,*77
$GPGSV,4,4,16,15,03,239,,17,39,047,,18,,,,19,60,030,*4A
$GPGGA,175749.2,,,,,0,,,,,,,,*73
$GPRMC,175749.2,V,,,,,,,290717,,,N*4C
$GPGSA,A,1,,,,,,,,,,,,,,,*1E
$GPGSV,4,1,16,01,,,,02,33,191,,03,04,052,,05,,,*74
$GPGSV,4,2,16,06,62,130,,07,,,,09,,,,10,,,*47
$GPGSV,4,3,16,11,,,,12,28,306,,13,01,206,,14,,,*77
$GPGSV,4,4,16,15,03,239,,17,39,047,,18,,,,19,60,030,*4A
$GPGGA,175759.2,,,,,0,,,,,,,,*72
$GPRMC,175759.2,V,,,,,,,290717,,,N*4D
$GPGSA,A,1,,,,,,,,,,,,,,,*1E
$GPGSV,4,1,16,01,,,,02,33,191,,03,04,052,,05,,,*74
$GPGSV,4,2,16,06,62,130,,07,,,,09,,,,10,,,*47
$GPGSV,4,3,16,11,,,,12,28,306,,13,01,206,,14,,,*77
$GPGSV,4,4,16,15,03,239,,17,39,047,,18,,,,19,60,030,*4A
$GPGGA,175809.2,,,,,0,,,,,,,,*78
$GPRMC,175809.2,V,,,,,,,290717,,,N*47
$GPGSA,A,1,,,,,,,,,,,,,,,*1E
$GPGSV,4,1,16,01,,,,02,33,191,,03,04,052,,05,,,*74
$GPGSV,4,2,16,06,62,130,,07,,,,09,,,,10,,,*47
$GPGSV,4,3,16,11,,,,12,28,306,,13,01,206,,14,,,*77
$GPGSV,4,4,16,15,03,239,,17,39,047,,18,,,,19,60,030,*4A
$GPGGA,175819.2,,,,,0,,,,,,,,*79
$GPRMC,175819.2,V,,,,,,,290717,,,N*46
$GPGSA,A,1,,,,,,,,,,,,,,,*1E
$GPGSV,4,1,16,01,,,,02,33,191,,03,04,052,,05,,,*74
$GPGSV,4,2,16,06,62,130,,07,,,,09,,,,10,,,*47
$GPGSV,4,3,16,11,,,,12,28,306,,13,01,206,,14,,,*77
$GPGSV,4,4,16,15,03,239,,17,39,047,,18,,,,19,60,030,*4A
$GPGGA,175829.2,,,,,0,,,,,,,,*7A
$GPRMC,175829.2,V,,,,,,,290717,,,N*45
$GPGSA,A,1,,,,,,,,,,,,,,,*1E
$GPGSV,4,1,16,01,,,,02,33,191,,03,04,052,,05,,,*74
$GPGSV,4,2,16,06,62,130,,07,,,,09,,,,10,,,*47
$GPGSV,4,3,16,11,,,,12,28,306,,13,01,206,,14,,,*77
$GPGSV,4,4,16,15,03,239,,17,39,047,,18,,,,19,60,030,*4A
$GPGGA,175839.2,,,,,0,,,,,,,,*7B
$GPRMC,175839.2,V,,,,,,,290717,,,N*44
$GPGSA,A,1,,,,,,,,,,,,,,,*1E
$GPGSV,4,1,16,01,,,,02,33,191,,03,04,052,,05,,,*74
$GPGSV,4,2,16,06,62,130,,07,,,,09,,,,10,,,*47
$GPGSV,4,3,16,11,,,,12,28,306,,13,01,206,,14,,,*77
$GPGSV,4,4,16,15,03,239,,17,39,047,,18,,,,19,60,030,*4A
$GPGGA,175849.2,,,,,0,,,,,,,,*7C
$GPRMC,175849.2,V,,,,,,,290717,,,N*43
$GPGSA,A,1,,,,,,,,,,,,,,,*1E
$GPGSV,4,1,16,01,,,,02,33,191,,03,04,052,,05,,,*74
$GPGSV,4,2,16,06,62,130,,07,,,,09,,,,10,,,*47
$GPGSV,4,3,16,11,,,,12,28,306,,13,01,206,,14,,,*77
$GPGSV,4,4,16,15,03,239,,17,39,047,,18,,,,19,60,030,*4A
$GPGGA,175859.2,,,,,0,,,,,,,,*7D
$GPRMC,175859.2,V,,,,,,,290717,,,N*42
$GPGSA,A,1,,,,,,,,,,,,,,,*1E

User avatar
tfreid62
 
Posts: 17
Joined: Tue Jul 18, 2017 11:59 am

Re: RPi3/Raspbian + SIM5320A AT commands working but no GPS

Post by tfreid62 »

More diagnostics

Code: Select all

OK
at+cops?
+COPS: 0,0,"Ting",2

OK
at&v
&C: 2; &D: 2; &E: 1; &F: 0; &S: 0; &W: 0; E: 1; L: 0; M: 0; Q: 0; V: 1;
X: 1; Z: 0; \Q: 3; \S: 0; \V: 0; S0: 0; S2: 43; S3: 13; S4: 10; S5: 8;
S6: 2; S7: 50; S8: 2; S9: 6; S10: 14; S11: 95; S30: 0; S103: 1; S104: 1;
+FCLASS: 0; +ICF: 3,3; +IFC: 0,0; +IPR: 115200; +IPREX:  ; +DR: 0;
+DS: 0,0,2048,6; +WS46: 12; +CBST: 0,0,1;
+CRLP: (61,61,48,6,0),(61,61,48,6,1),(240,240,52,6,2);
+CV120: 1,1,1,0,0,0; +CHSN: 0,0,0,0; +CSSN: 0,0; +CREG: 0; +CGREG: 0;
+CFUN:; +CSCS: "IRA"; +CSTA: 129; +CR: 0; +CRC: 0; +CMEE: 2; 
+CGDCONT: (1,"IP","","0.0.0.0",0,0); +CGDSCONT: ; +CGTFT: ; +CGEQREQ: ;
+CGEQMIN: ; +CGQREQ: ; +CGQMIN: ; +CGEREP: 0,0; +CGDATA: "PPP";
+CGCLASS: "A"; +CGAUTO: 0; +CGSMS: 1; +CSMS: 0; +CMGF: 1; +CSALPHA: 1;
+CSAS: 0; +CRES: 0; +CSCA: "+12063130004",145; +CSMP: 17,,0,0; +CSDH: 0;
+CSCB: 0,"",""; +FDD: 0; +FAR: 0; +FCL: 0; +FIT: 0,0; +ES: ,,;
+ESA: 0,,,,0,0,255,; +CGAUTH: 1,0,""; ; +CSOCKAUTH: 1,0,""; ; ; ; ;
+CIPHEAD: 1; +CIPSRIP: 1; +CIPCCFG: 10,0,1,1,0,0,500; +CIPMODE: 0;
+CMOD: 0; +CVHU: 1; +CFGRI: 1,0;  +CSDCCDEBUGM: 0; +CSIMRESTRICTED: 0;
+CPIN: ��������,��������; +CMEC: 0,0,0; +CKPD: 1,1;
+CIND: 0,2,1,0,0,0,1,0; +CMER: 0,0,0,0,0; +CGATT: 1; +CGACT: 0;
+CPBS: "SM"; +CPMS: "ME","ME","ME"; +CNMI: 0,0,0,0,0; +CMMS: 0; +FTS: 0;
+FRS: 0; +FTH: 3; +FRH: 3; +FTM: 96; +FRM: 96; +CCUG: 0,0,0;
+COPS: 0,0,""; +CUSD: 0; +CAOC: 1; +CCWA: 0; +VTS: 0,19712,0; +CCLK: "";
+CLVL: 8; +CMUT: 0; +MORING: 0; +CPOL: 0,2,"",0,0,0; +CPLS: 0; +CTZR: 0;
+CTZU: 0; +CLIP: 0; +COLP: 0; +CDIP: 0; +CLIR: 0; ; +CSPISETCLK: 1,0,1;
+CSPISETCS: 1,0;  +CSPISETF: 960000,10000000,0; +CSPISETPARA: 16,0,1;
+CRSL: 2; +CALM: 0; +VMUTE: 0; +CSDVC: 1,2; +CNAOP: 0; +CNSDP: 2;
+CNSMOD: 0; +AUTOCSQ: 0,0; +CSQDELTA: 5; +CSSRV: 0; +STK: 1; +CPSI: 0;
+MONI: 0; #MONI: 0; +CRUPSI: 0; +CRUSET: 0; +CGPS: 1,1; +CGPSMSB: 1;
+CGPSINFO: 0; +CGPSINFOCFG: 0,0; +CGPSHOR: 50,0; +CGPSPMD: 127;
+CGPSXD: 0; +CVALARM: 0,3400; +FOTAINITIATOR: 0; +FOTAUIMODE: 0;
+FOTAAPN:; *CNTI: 0

OK
ati
Manufacturer: SIMCOM INCORPORATED
Model: SIMCOM_SIM5320A
Revision: SIM5320A_V1.5
I.M.E.I.  : REMOVED
+GCAP: +CGSM,+DS,+ES

OK

User avatar
adafruit_support_rick
 
Posts: 35092
Joined: Tue Mar 15, 2011 11:42 am

Re: RPi3/Raspbian + SIM5320A AT commands working but no GPS

Post by adafruit_support_rick »

Well, according to GPGSV, you've got 16 satellites in view:

Code: Select all

$GPGSV,4,1,16,01,,,,02,32,191,,03,04,052,,05,,,*75
$GPGSV,4,2,16,06,62,132,,07,,,,09,,,,10,,,*45
$GPGSV,4,3,16,11,,,,12,27,305,,13,01,206,,14,,,*7B
$GPGSV,4,4,16,15,03,240,,17,39,046,,18,,,,19,61,029,*4C
But according to GPGGA, you're not using any of them for a fix

Code: Select all

$GPGGA,175539.2,,,,,0,,,,,,,,*76
GPRMC says that you haven't got a fix (the 'V' means invalid fix):

Code: Select all

$GPRMC,175539.2,V,,,,,,,290717,,,N*49
(incidentally, here's a good rundown of the contents of all the sentences: http://aprs.gids.nl/nmea/ )

So, this is mysterious. We can try replacing the Fona - that's about all I can think of doing
Please email [email protected] with a link to this post for a replacement

User avatar
tfreid62
 
Posts: 17
Joined: Tue Jul 18, 2017 11:59 am

Re: RPi3/Raspbian + SIM5320A AT commands working but no GPS

Post by tfreid62 »

Thanks Rick for your help and insight. I will review the references you sent and also reach out to support for a hardware swap.

Regards,
Tim

User avatar
tfreid62
 
Posts: 17
Joined: Tue Jul 18, 2017 11:59 am

Re: RPi3/Raspbian + SIM5320A AT commands working but no GPS

Post by tfreid62 »

Update to this post, I have the replacement SIM5320A soldered in and running. Observed that there is a yellow LED next to the battery attachment port that was not on in the old board, that is on in the replacement board. Green and red lights are behaving normally.

I let it run for an hour and a half with the antenna outside on my deck. I will again try another location to see what it looks like. AT+CGPSINFOCFG did start showing changing satellite IDs (4th word on $GPGSV "SV PRN Number"), but $GPGGA (0 in 6th word "validity") and $GPRMC (V in 2nd word "fix quality") never get a lock.

Code: Select all

$GPGSV,4,1,16,08,31,277,23,18,,,22,02,,,22,29,,,22*42
$GPGSV,4,2,16,12,,,22,24,,,21,10,62,032,,11,13,314,*7E
$GPGSV,4,3,16,32,,,,31,,,,30,,,,28,,,*73
$GPGSV,4,4,16,27,,,,26,,,,25,,,,23,,,*79
$GPGGA,030610.4,,,,,0,,,,,,,,*78
$GPRMC,030610.4,V,,,,,,,110817,,,N*43
$GPGSA,A,1,,,,,,,,,,,,,,,*1E
$GPGSV,4,1,16,29,,,24,18,,,23,12,,,22,08,31,277,21*46
$GPGSV,4,2,16,24,,,21,10,62,032,,11,13,314,,32,,,*7C
$GPGSV,4,3,16,31,,,,30,,,,28,,,,27,,,*77
$GPGSV,4,4,16,26,,,,25,,,,23,,,,22,,,*7C
$GPGGA,030615.4,,,,,0,,,,,,,,*7D
$GPRMC,030615.4,V,,,,,,,110817,,,N*46
$GPGSA,A,1,,,,,,,,,,,,,,,*1E
$GPGSV,4,1,16,18,,,23,29,,,22,24,,,22,12,,,22*7D
$GPGSV,4,2,16,08,31,277,21,10,62,032,,11,13,314,,32,,,*42
$GPGSV,4,3,16,31,,,,30,,,,28,,,,27,,,*77
$GPGSV,4,4,16,26,,,,25,,,,23,,,,22,,,*7C
$GPGGA,030620.4,,,,,0,,,,,,,,*7B
$GPRMC,030620.4,V,,,,,,,110817,,,N*40
$GPGSA,A,1,,,,,,,,,,,,,,,*1E
$GPGSV,4,1,16,18,,,23,29,,,23,24,,,22,12,,,22*7C
$GPGSV,4,2,16,08,31,277,21,10,62,032,,11,13,314,,32,,,*42
$GPGSV,4,3,16,31,,,,30,,,,28,,,,27,,,*77
$GPGSV,4,4,16,26,,,,25,,,,23,,,,22,,,*7C
$GPGGA,030625.4,,,,,0,,,,,,,,*7E
$GPRMC,030625.4,V,,,,,,,110817,,,N*45
$GPGSA,A,1,,,,,,,,,,,,,,,*1E
$GPGSV,4,1,16,18,,,23,29,,,22,24,,,22,12,,,22*7D
$GPGSV,4,2,16,08,31,277,21,10,62,032,,11,13,314,,32,,,*42
$GPGSV,4,3,16,31,,,,30,,,,28,,,,27,,,*77
$GPGSV,4,4,16,26,,,,25,,,,23,,,,22,,,*7C
$GPGGA,030630.4,,,,,0,,,,,,,,*7A
$GPRMC,030630.4,V,,,,,,,110817,,,N*41
$GPGSA,A,1,,,,,,,,,,,,,,,*1E

User avatar
adafruit_support_rick
 
Posts: 35092
Joined: Tue Mar 15, 2011 11:42 am

Re: RPi3/Raspbian + SIM5320A AT commands working but no GPS

Post by adafruit_support_rick »

I really don't understand this. I'll see if anybody else has a clue...

User avatar
adafruit2
 
Posts: 22145
Joined: Fri Mar 11, 2005 7:36 pm

Re: RPi3/Raspbian + SIM5320A AT commands working but no GPS

Post by adafruit2 »

well - i dont have any insight into the GPS in the cell module but i will say that wghen we tested the GPS in the SIM5320 we found it took *a lot longer* than we expected. do you use an active antenna ?

User avatar
tfreid62
 
Posts: 17
Joined: Tue Jul 18, 2017 11:59 am

Re: RPi3/Raspbian + SIM5320A AT commands working but no GPS

Post by tfreid62 »

Hi and thanks for your post. I am using the antenna that came with the RPi3 kit that I bought.

1 x Adafruit FONA 3G Cellular Breakout - American version (FREE Ting Sim Card w/ Purchase!) [ID:3147] = $79.95

The kit did not come with the antenna cable to fit it to the antenna port on the SIM5320A so the mini-coax conversion cable was ordered afterwards.
If you notice in the history of the thread, I ordered a replacement SIM5320A and both boards have displayed similar behavior.

Would I have better results with a 3G SIM card?
Would I have better results with SIM908 or other board?

I noticed that there are some of these boards that have the coax port on them, eliminating the mini-coax connection cable.
That cable is problematic anyways as positionally it's not very stable.
The threaded on-board coax connector would be much more desirable now that I see how the coax conversion cable works.
As with most startup projects, I just need something that works.

Thanks much.
Tim Reid
Attachments
SIM5320A-new.png
SIM5320A-new.png (959.58 KiB) Viewed 331 times

User avatar
adafruit2
 
Posts: 22145
Joined: Fri Mar 11, 2005 7:36 pm

Re: RPi3/Raspbian + SIM5320A AT commands working but no GPS

Post by adafruit2 »

hiya we need to know exactly what gps antenna you are using!

a SIM808 has way better GPS quality - not sure about the 908, we haven't used it

User avatar
tfreid62
 
Posts: 17
Joined: Tue Jul 18, 2017 11:59 am

Re: RPi3/Raspbian + SIM5320A AT commands working but no GPS

Post by tfreid62 »

My order information line contains "3147", which equates to Adafruit product URL:
https://www.adafruit.com/product/3147

The bottom right pic shows all the components, including the antenna.
Mine looks only slightly different. There is no model number indication on the unit itself.
See attached.
Attachments
sim5320-gps-antenna.png
sim5320-gps-antenna.png (953.98 KiB) Viewed 325 times

User avatar
adafruit2
 
Posts: 22145
Joined: Fri Mar 11, 2005 7:36 pm

Re: RPi3/Raspbian + SIM5320A AT commands working but no GPS

Post by adafruit2 »

that antenna isn't included in https://www.adafruit.com/product/3147
you must have gotten it elsewhere, do you know where?

Locked
Forum rules
If you're posting code, please make sure your code does not include your Adafruit IO Active Key or WiFi network credentials.

Return to “Internet of Things: Adafruit IO and Wippersnapper”