Serial0

Home Forums Forums General discussion Serial0

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #9401
    charles_linquist
    Participant

    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?

     

    #9402
    Mark Williams
    Keymaster

    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.
    AT+UGIND=1
    Set NMEA data to to stream through USB interface /dev/ttyACM3
    AT+UGPRF=1
    Turn on GPS,  (Start GNSS with GPS+SBAS+GLONASS systems and local aiding.);
    AT+UGPS=1,2,67

    To view the stream
    minicom -b 115200 -o -D /dev/ttyACM3

    To stop GPS, use
    AT+UGPS=0

    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 --

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.

Blip, blop, bloop…