I bought a neo 6m GPS module for our project and i want to check if it's working i tried several tutorial about the matter but i still can't get anything. How do i know if my GPS module is working? How do i extract the coordinates from the GPS module?
The Neo6 outputs data in plain text so the simplest way would be to use an instance of SoftwareSerial on, say, pins 2 & 3. Connect Rx / Tx from the Neo6 to these - don't forget to swap, so Rx on the Neo is connected to Tx on the Arduino, & vv.
Upload a simple serial relay sketch to the Arduino which reads the software serial port and relays it to the serial monitor.
This all assumes that your module has level shifters, etc. The Uno (if that's what you have, you omitted that) is 5 volt, the Neo 3 volt.
Once you have that working you can investigate the various libraries and alternative connection options. -dev will probably be along before long to help you down that road.
-dev will probably be along before long to help you down that road.
It's the low road...
Good advice, though. A simple echo sketch will tell you if it's connected correctly:
void setup()
{
Serial.begin( 9600 );
gpsPort.begin( 9600 );
}
void loop()
{
if (gpsPort.available())
Serial.write( gpsPort.read() ); // echo!
}
Of course, choosing a serial port and connecting the GPS device correctly are important. Read more here.
Cheers,
/dev