GPS U-blox NEO-6M

Introduction

You can found this module on ebay a very low price.


Product Specifications

Board: GY-GPS6MV2
GPS Module: NEO-6M-0-001 (datasheet)
Antenna Socket:IPEX
Output Protocol : NMEA


Pin Description

GPS pinMBED pinBambino 210E pin
VCCVout3.3V
RXP13UART0_TX
TXP14UART0_RX
GNDGNDGND


NMEA Protocol

  • GPGGA (Global positioning system fix data)
FieldNameFormatUnitDescription
0$GPGGAstring-Message ID, GGA protocol header
1hhmmss.sshhmmss.sss-UTC Time
2Latitudeddmm.mmmm-Latitude
3Nchar-N/S Indicator
4Longitudedddmm.mmmm-Longitude
5Echar-E/W indicator
6FSdigit-Position Fix Status Indicator
7NoSVnumeric-Satellites Used
8HDOPnumeric-Horizontal Dilution of Precision
9mslnumericmMSL Altitude
10uMslchar-Units, Meters
11AltrefnumericmGeoid Separation
12uSepchar-Units, Meters
13DiffAgenumericsAge of Differential Corrections
14DiffStationnumeric-Diff. Reference Station ID
15cshexadecimal-Checksum
16<CR><LF>char-Carriage Return and Line Feed


  • GPGSA (GNSS DOP and Active Satellites)
FieldNameFormatUnitDescription
0$GPGSAstring-Message ID, GSA protocol header
1Smodechar-Manual or Automatic (for 2D or 3D mode)
2FSdigit-Fix status
...
18cshexadecimal-Checksum
19<CR><LF>char-Carriage Return and Line Feed


  • GPGLL (Latitude and longitude, with time of position fix and status)
FieldNameFormatUnitDescription
0$GPGLLstring-Message ID, GLL protocol header
1Latitudeddmm.mmmm-Latitude
2Nchar-N/S Indicator
3Longitudedddmm.mmmm-Longitude
4Echar-E/W indicator
5hhmmss.sshhmmss.sss-UTC Time
6Validchar-V = Data invalid, A = Data valid
7cshexadecimal-Checksum
8<CR><LF>char-Carriage Return and Line Feed


  • GPRMC (Recommended Minimum data)
FieldNameFormatUnitDescription
0$GPRMCstring-Message ID, RMC protocol header
1hhmmss.sshhmmss.sss-UTC Time
2Statuschar-V = Navigation receiver warning, A = Data valid
3Latitudeddmm.mmmm-Latitude
4Nchar-N/S Indicator
5Longitudedddmm.mmmm-Longitude
6Echar-E/W indicator
7SpdnumericknotsSpeed over ground
8CognumericdegreesCourse over ground
9dateddmmyy-Date in day, month, year format
10mvnumericdegreesMagnetic variation value
11mvEchar-Magnetic variation E/W indicator
12modechar-Mode Indicator
13cshexadecimal-Checksum
14<CR><LF>char-Carriage Return and Line Feed


Test Code

Import programGPS_U-blox_NEO-6M_Test_Code

Test code for GPS U-blox NEO-6M


Output

You need to wait the GPS fix.

/media/uploads/edodm85/output_gps.bmp


C# Program

You can download the program here: GPS Reader v1.0
Is required Microsoft .NET Framework 4.5 or above.


This program works also without gps device. Simply enter the latitude and longitude and then press "Search".

/media/uploads/edodm85/gps_screen1.jpg


With the gps device you must first press the button "Setup" and set the Port Com and the baud rate.

/media/uploads/edodm85/gps_screen2.jpg


In the end when the gps makes the fix you press "Search" for see the place.

/media/uploads/edodm85/gps_screen3.jpg


Report

1 comment on GPS U-blox NEO-6M:

01 Jun 2015

Hi i'm working in a drone and i want to know, how can i modify your code in order to use this module as the drone gps, and set the home point and if it lost the control signal it'll be able to return

Please log in to post comments.