- August 14, 2019 at 12:06 pm #9401charles_linquistParticipant
I am using the GPS + GSM module and I'm posting here because all the other forum responses are weeks old.
I'm using a Raspberry pi Zero and I need to use Serial0 for another application.
How do I handle this?August 14, 2019 at 12:40 pm #9402Mark WilliamsKeymaster
you can stream the gps NMEA sentences through one of USB serial interfaces .We have a guide in draft.. ill get it published in the next few days.
In summary, this is what you need to do.
Connect to the second interfaces on the GSM module;
minicom -b 115200 -o -D /dev/ttyACM1
Activate storing of last values of NMEA, from the GPS to the GSM module;
AT+UGRMC=1 AT+UGGLL=1 AT+UGGSV=1 AT+UGGGA=1
Activate the unsolicited aiding result.
Set NMEA data to to stream through USB interface /dev/ttyACM3
Turn on GPS, (Start GNSS with GPS+SBAS+GLONASS systems and local aiding.);
To view the stream
minicom -b 115200 -o -D /dev/ttyACM3
To stop GPS, use
We have some info here about the UGPS command which is used to turn on GPS.
This document describes these all these commands in detail.
I hope this is what you are after
Mark --OzzMaker.com --
- You must be logged in to reply to this topic.