RPi Quadcopter blog

RPi Quadcopter blog
Click to open

May 3, 2014

NEO6MV2 GPS Module with Arduino Uno HOW-TO


Using the NEO6MV2 GPS Module with Arduino is pretty straightforward. This tutorial uses TinyGPS Library by Mikal Hart. The library is only for data manipulation purposes, so it is not actually required to read the data from the module. SoftwareSerial library is used for the communication.

I got the module from DealExtreme: http://www.dx.com/p/gy-neo6mv2-flight-controller-gps-module-blue-232595

This tutorial should work with Ublox-NEO6MV2, GY-NEO6MV2...


NEO6MV2 GPS module uses 3v3 logic compared to 5v which the Arduino uses. To convert the logic, we add two resistors in our wiring.



image developed using Fritzing. For more circuit examples, see the Fritzing project page


Download the TinyGPS library here: https://github.com/mikalhart/TinyGPS/releases/tag/v13.
Open the "test_with_gps_device.ino" from the examples folder.
This module uses baudrate 9600, so in the setup() method find the code "ss.begin(4800);
" and replace it with ss.begin(9600);. Now upload the code and open the serial monitor. If the module fails to get a fix, try to use it near a window or outdoors. The fix could take several minutes.