https://github.com/ntkot/mtk3339_serial
Library package for serial communication with MTK3339 GPS sensor
https://github.com/ntkot/mtk3339_serial
adafruit-gps adafruit-gps-breakout cpp gps mtk3339 raspberry-pi serial serial-communication serialport yaml
Last synced: about 2 months ago
JSON representation
Library package for serial communication with MTK3339 GPS sensor
- Host: GitHub
- URL: https://github.com/ntkot/mtk3339_serial
- Owner: NTkot
- License: mit
- Created: 2024-08-19T18:28:18.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-08-19T19:29:46.000Z (almost 2 years ago)
- Last Synced: 2025-01-15T01:43:55.754Z (over 1 year ago)
- Topics: adafruit-gps, adafruit-gps-breakout, cpp, gps, mtk3339, raspberry-pi, serial, serial-communication, serialport, yaml
- Language: C++
- Homepage:
- Size: 14.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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](https://www.adafruit.com/product/746). 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](https://docs.novatel.com/OEM7/Content/Logs/GPRMC.htm)) will be generated every period
- SBAS (Satellite-based Augmentation System) options
## Dependencies
- For parsing YAML files package uses [yaml-cpp](https://github.com/jbeder/yaml-cpp). It can be installed either following the steps on the repo link, or by running:
```bash
sudo apt-get install libyaml-cpp-dev
```
- Last dependency is [libnmea](https://github.com/jacketizer/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.