Raspberry Pi 4 + SIM7600e (GPS/GNSS)

LED Blinking, Walking with Cytron Servo, Displaying RFID, Multi-function Mobile Robot......

Raspberry Pi 4 + SIM7600e (GPS/GNSS)

Postby teohhc » Tue Jun 30, 2020 10:22 am

Hi,

I've managed to get Raspberry Pi 4 working with Sim7600e similar to https://tutorial.cytron.io/2019/09/04/a ... 0e-module/.

However, the GPS coordinates received seems to be 30km off.

There are 3 mode for the GPS session:
  1. standalone
  2. UE-Based
  3. UE-Assisted
However, managed to only get mode 1 & 2 working and still yielding the same result of 30km off.

For the 3rd mode, I did the following:
  1. AT+CGDCONT= 1,"IP","diginet","0.0.0.0",0,0
  2. AT+CGPSURL="supl.google.com:7276" # set agps url
  3. AT+CGPSSSL=0 # set security mode
  4. AT+CGPS=1,3 # start gps in assisted mode
But it will fail.

I am trying to improve the accuracy of the GPS. Anyway that I can achieve this?
teohhc
Greenhorn
 
Posts: 3
Joined: Tue Jun 30, 2020 10:09 am

Re: Raspberry Pi 4 + SIM7600e (GPS/GNSS)

Postby teohhc » Thu Jul 02, 2020 11:29 am

Did further testing and collected more information. Switched the SIM7600e and GPS antennas to another spare set but getting same result. Hence, faulty device is ruled out.
Attachments
GPS-AdjustedGPS.jpeg
Raw GPS from Device vs Adjusted to Actual Start Location
GPSvsActual.jpeg
Adjusted GPS vs Actual route highlighted in green
SampleDataAndDeltas.jpeg
Sample Data and Deltas
teohhc
Greenhorn
 
Posts: 3
Joined: Tue Jun 30, 2020 10:09 am

Re: Raspberry Pi 4 + SIM7600e (GPS/GNSS)

Postby teohhc » Thu Jul 02, 2020 3:14 pm

Thank you. Solved.

The device is not the problem. Problem is knowing which part of the number needs decimal point shifting and the remainder needing to be in minutes. Lat and Long using similar formula but Lat needs 100 more.
Attachments
testDrive2.PNG
Solved. No offset need. Just parse the numbers and translate.
teohhc
Greenhorn
 
Posts: 3
Joined: Tue Jun 30, 2020 10:09 am

Re: Raspberry Pi 4 + SIM7600e (GPS/GNSS)

Postby ober » Sun Jul 05, 2020 6:17 am

Good to know that.
Ober Choo
Cytron Technologies Sdn Bhd
www.cytron.com.my
User avatar
ober
Moderator
 
Posts: 1486
Joined: Wed Apr 15, 2009 1:03 pm


Return to DIY Project Set

Who is online

Users browsing this forum: No registered users and 16 guests