Skip to content
This repository has been archived by the owner on Nov 22, 2021. It is now read-only.
/ nmeautils Public archive

Python-based NMEA (ascii) reader, and a SCPI reader for Jackson Labs GPS

License

Notifications You must be signed in to change notification settings

geospace-code/nmeautils

Repository files navigation

NMEA utilities

ci

Python-based NMEA (ascii) reader, and a SCPI reader for Jackson Labs GPS

  • nmealog.py: multithreaded NMEA serial port reader with selectable polling cadence.
  • SCPIlogger.py: for Jackson Labs GPS receivers that use SCPI. It's not a raw NMEA output, but query based. |

Installation

pip install -e .

Examples

For a Garmin GPS or other GPS with NMEA output:

python nmealog.py -l out.txt -p /dev/ttyUSB0 -T 1

For a Jackson Labs SCPI-based GPS:

python SCPIlogger.py -l out.txt -p /dev/ttyUSB0 -T 1

Jackson Labs GPS SCPI commands

Here are but a few of the powerful SCPI commands you can send to a Jackson Labs GPS receiver. Note the default baudrate is 115200, NO hardware / software flow control, 8-N-1.

SCPI result
\*IDN? identify receiver (model #, firmware revision
GPS:SAT:VIS:COUN? How many GPS satellites are visible per the almanac, above the 0 degree horizon
GPS:SAT:TRA:COUN? How many GPS satellites are actually being received
SYNC:HOLD:DUR? Holdover duration
GPS:JAM? Estimated jamming level
PTIME:TINT? Time offset

Reference

Another project to consider: pynmea2

About

Python-based NMEA (ascii) reader, and a SCPI reader for Jackson Labs GPS

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Languages