GPS via USB?

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
  • #9434

    Hi OzzMaker,

    Nice module. I’ve been able to get a ppp connection working with the BerryGPS-GSM via USB on RPi 3b+. However I can’t see the GPS forwarding via /dev/ttyACM3 (using cat or screen). The green GPS LED is flashing, so it should have a fix.

    By preference I haven’t added the female header to connect the module to the GPIO.

    Are there any extra steps I need to do for the GPS data to be forwarded on ttyACM3? Should I expect GPS NMEA to be streaming on that device?




    Hi Greg

    By default, the NMEA sentences are streamed as usual from the GPS module to the Pi TX/RX pins.

    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;


    Activate the unsolicited aiding result.
    Set NMEA data 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.

    If you need to free up the RX/TX pins on the Pi (because the GPS will still be using them)
    We did include a serial switch to get over this issue. On the back, there are two jumpers to control this switch.
    Soldering the jumper JP1 closed (just place a solder blob on top) will connect to GSM module to the Pi serial interface.
    Soldering a the jumpers JP1 and JP3 closed, will free up the Pi Serial port to be used by another device . Then then can use the four pins near the uFL connector for the GSM to access the pi TX/RX pins.

    I hope this helps


    Peter --


    Thanks for the quick reply Peter! I’ll give your instructions a go, and look forward to seeing the guide when it’s ready.

    Regarding your explanation for RX/TX pins, I’m guessing that this only applies when the module is connected to the Pi GPIO pins? Ideally I’d like to leave the GPIO pins free for other modules.





    yes.. you are right.  if connected via USB only, you don’t need to worry about the TX/RX pins on the Pi

    Peter --


    Thanks Peter, those commands did the trick nicely.

    Referring to the Assisted GPS fix page also helps, so thanks for that as well.


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

Blip, blop, bloop…