Never get lost again with the GY-NEO6MV2 GPS module
Placed on GY-NEO6MV2 GPS module
The GY-NEO6MV2 GPS module
The GY-NEO6MV2 module has become the standard solution for hobbyists to add GPS functionality to the project. This receiver can receive, decode and convert signals from 16 satellites simultaneously into GPS coordinates. These are then sent over a serial TX / RX connection in NMEA format.GY-NEO6MV2 GPS moduleThe NEO6MV2 GPS module makes it possible to receive GPS signals. This allows a project to determine exactly where it is on earth, how fast it is moving, in which direction it is moving and how many satellites are visible. Out of stock € 7,95
NMEA data format
NMEA stands for "National Marine Electronics Association" and has been around since before GPS existed. Many different types of data can be sent through this protocol, the type of which is at the beginning of the message.GPS locations are indicated with the type $xxGGA, where $GPGGA stands for GPS and $GLGGA stands for GLONASS. This module uses GPS coordinates to generate the following message:
$GPGGA,181908.00,3404.7041778,N,07044.3966270,W,4,13,
1.00,495.144,M,29.200,M,0.10,0000*40
This message can be broken down into the following data:
Type | Dates | |
---|---|---|
1 | Message type | $GPGGA |
2 | Timestamp (UTC) | 181908.00 |
3 | latitude | 3404.7041778 |
4 | Latitude orientation | N |
5 | longtitude | 07044.3966270 |
6 | Longtitude orientation | W |
7 | Quality | 4 |
8 | Satellites | 13 |
9 | HDOP | 1.0 |
10 | Height of receiver | 495.144 |
11 | Height unit (Feet or Meter) | M |
12 | geoidal separation | 29.200 |
13 | Geoidal separation unit | M |
14 | Correction age | 1.0 |
15 | Correction station ID | 0000 |
16 | Checksum | *40 |
NMEA data types
Latitude and Longtitude
The most important data in this message are latitude, longtitude and orientation.The latitude is 0 degrees at the equator and goes to 90 degrees North and South (the orientation) to determine the horizontal of the location.
The longtitude is 0 degrees at 'greenwich' and moves to 180 degrees West and East (the orientation) to determine the vertical line of the location.
Latitude and Longtitude
Arduino NEO6MV2 GPS Module
Connect to the Arduino
Because the GPS module works on 3.3V it can be harmful to communicate on 5V as this puts too much voltage on the module. For this reason it is important to place a voltage divider, as shown in the adjacent image, between TX and the I/O of the Arduino . This reduces 5V to about 3.3V (5 x 4700 / 10000).After connecting the module, it is immediately possible to read the coordinates. If it is not desirable to filter the data yourself, a library is of course available.
This library contains all example sketches to use this module. When the GPS has determined its location, the LED will flash and the data can be retrieved.
The TinyGPS++ Library is not specifically made for this module, so the baud rate must be set correctly from 4800 to 9600.