Arduino_MKRGPS

Sensors

Allows you to read the location from the GPS on your MKR GPS shield.

Go to repository

Compatibility

This library is compatible with the samd architecture so you should be able to use it on the following Arduino boards:

Releases

To use this library, open the Library Manager in the Arduino IDE and install it from there.

Usage

The Arduino MKR ENV library allows you to read the information acquired through complex calculations by the Global Positioning System (GPS) receiver on the MKR GPS Shield. This library stores and manages the NMEA strings generated by the GPS receiver so that you can get directly the relevant information you need from the GPS.

To use this library:

#include <Arduino_MKRGPS.h>

The GPS on the MKR GPS Shield can be managed using the Serial1 interface at 9600 8n1. On that serial port you receive the raw messages that can be read using the syntax specified by the NMEA standard. You can manage the board with an I2C connection or through the header pins to an underlying MKR board. The library supports transparently each set up and you just need to specify the mode you are using with the proper begin() parameter.

Methods