Skip to content

Library package for serial communication with MTK3339 GPS sensor

License

Notifications You must be signed in to change notification settings

NTkot/mtk3339_serial

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MTK3339 - Serial

This is a C++ library meant for serial communication with the GPS sensor MTK3339, like the one found in the popular Adafruit Ultimate GPS v3 module. Suitable for use with Raspberry Pi and similar projects.

Config

The library contains YAML parsing functionality to configure the sensor. Options include:

  • Serial port device file (e.g. "/dev/ttyS0")
  • Serial port baud rate (e.g. 57600)
  • Sensor update period (e.g. 200ms)
  • Which GPS messages (e.g. GPRMC) will be generated every period
  • SBAS (Satellite-based Augmentation System) options

Dependencies

  • For parsing YAML files package uses yaml-cpp. It can be installed either following the steps on the repo link, or by running:
sudo apt-get install libyaml-cpp-dev
  • Last dependency is libnmea. Installation instruction can be found on the repo link.

Examples

Example files and usage can be found under examples folder. Just run make command inside it and executables will be generated.