Need help on Ublox Neo 6M GPS module.

Helloi have the Ublox Neo 6M GPS module and i need some help not sure where to find the library or sketch for it can someone please help me?

A link is far more useful.

this is the one i got. http://www.ebay.com/itm/221387111644?ssPageName=STRK:MEWNX:IT&_trksid=p3984.m1497.l2649

i found arduino forum on it someone trying it out uBlox Neo 6M with Arduino - Networking, Protocols, and Devices - Arduino Forum but i have no luck understanding what is going on.

this is the one i got.

I meant a link to the manufacturer's site. Ebay ads are useless.

but i have no luck understanding what is going on.

Understanding does not involve luck. Try again.

sorry about that i went to there site to search around for this module and all i found is 2 datasheet

http://www.u-blox.com/images/downloads/Product_Docs/NEO-6_ProductSummary_(GPS.G6-HW-09003).pdf

http://www.u-blox.com/images/downloads/Product_Docs/u-blox6_ReceiverDescriptionProtocolSpec_(GPS.G6-SW-10018).pdf

i found one site http://www.u-blox.com/en/gps-modules/pvt-modules/previous-generations/neo-6-family.html

Hello can someone help me with this it's getting late here and i know PaulS is a great guy for help but if anyone else haves this module please let me know please? trying to look for a sketch or library or something.

It's standard NMEA output, and Sirf III chipset, which is widely common.

Find any GPS sketch, it will work!

// Per.

i tried the tinygps sketch and got nothing from it i try a few other sketches and nothing i even switch around the rx and tx pins and got nothing from it.

Try connecting it to the serial terminal on your computer, and see what comes out. If you connect a jumper from RESET to GND, then your Arduino works like a USB to TTL serial adaptor.

You just connect the GPS to GND, TX, RX

// Per.

Hello what do you mean serial terminal on my pc I'm using a uno arduino i understand the reset pin to ground part but i use osb to program it i don't have a ttl serial adapter sorry still little new to the whole gps thing.

Joseph

The Arduino Serial terminal http://a.pragprog.com/magazines/2010-07/images/serial_remote__unerwp__.jpg

There are two chips on the Uno. The processor itself (Atmega328) and the other chip is the USB to TTL chip (it can be either a FTDI or Atmega chip, it doesn't matter)

Just connect things up, like the UNO was a USB to TTL Serial, and it will work. As long as you have a jumper from RESET to GND, the Atmega328 is not running or interfering.

// Per.

the one i have is the r3 one with the ftdi in it 328p chip newer one. ok i will try it with the reset to ground jumper what sketch and library is one i can use?

i uploaded a sketch it says waiting to lock on to gps lock and that's it sits there nothing else.

this is the sketch i used

#include <SoftwareSerial.h>
#include <TinyGPS.h>

// Define which pins you will use on the Arduino to communicate with your 
// GPS. In this case, the GPS module's TX pin will connect to the 
// Arduino's RXPIN which is pin 3.
#define RXPIN 0
#define TXPIN 1
//Set this value equal to the baud rate of your GPS
#define GPSBAUD 4800

// Create an instance of the TinyGPS object
TinyGPS gps;
// Initialize the NewSoftSerial library to the pins you defined above
SoftwareSerial uart_gps(RXPIN, TXPIN);

// This is where you declare prototypes for the functions that will be 
// using the TinyGPS library.
void getgps(TinyGPS &gps);

// In the setup function, you need to initialize two serial ports; the 
// standard hardware serial port (Serial()) to communicate with your 
// terminal program an another serial port (NewSoftSerial()) for your 
// GPS.
void setup()
{
  // This is the serial rate for your terminal program. It must be this 
  // fast because we need to print everything before a new sentence 
  // comes in. If you slow it down, the messages might not be valid and 
  // you will likely get checksum errors.
  Serial.begin(115200);
  //Sets baud rate of your GPS
  uart_gps.begin(GPSBAUD);
  
  Serial.println("");
  Serial.println("GPS Shield QuickStart Example Sketch v12");
  Serial.println("       ...waiting for lock...           ");
  Serial.println("");
}

// This is the main loop of the code. All it does is check for data on 
// the RX pin of the ardiuno, makes sure the data is valid NMEA sentences, 
// then jumps to the getgps() function.
void loop()
{
  while(uart_gps.available())     // While there is data on the RX pin...
  {
      int c = uart_gps.read();    // load the data into a variable...
      if(gps.encode(c))      // if there is a new valid sentence...
      {
        getgps(gps);         // then grab the data.
      }
  }
}

// The getgps function will get and print the values we want.
void getgps(TinyGPS &gps)
{
  // To get all of the data into varialbes that you can use in your code, 
  // all you need to do is define variables and query the object for the 
  // data. To see the complete list of functions see keywords.txt file in 
  // the TinyGPS and NewSoftSerial libs.
  
  // Define the variables that will be used
  float latitude, longitude;
  // Then call this function
  gps.f_get_position(&latitude, &longitude);
  // You can now print variables latitude and longitude
  Serial.print("Lat/Long: "); 
  Serial.print(latitude,5); 
  Serial.print(", "); 
  Serial.println(longitude,5);
  
  // Same goes for date and time
  int year;
  byte month, day, hour, minute, second, hundredths;
  gps.crack_datetime(&year,&month,&day,&hour,&minute,&second,&hundredths);
  // Print data and time
  Serial.print("Date: "); Serial.print(month, DEC); Serial.print("/"); 
  Serial.print(day, DEC); Serial.print("/"); Serial.print(year);
  Serial.print("  Time: "); Serial.print(hour, DEC); Serial.print(":"); 
  Serial.print(minute, DEC); Serial.print(":"); Serial.print(second, DEC); 
  Serial.print("."); Serial.println(hundredths, DEC);
  //Since month, day, hour, minute, second, and hundr
  
  // Here you can print the altitude and course values directly since 
  // there is only one value for the function
  Serial.print("Altitude (meters): "); Serial.println(gps.f_altitude());  
  // Same goes for course
  Serial.print("Course (degrees): "); Serial.println(gps.f_course()); 
  // And same goes for speed
  Serial.print("Speed(kmph): "); Serial.println(gps.f_speed_kmph());
  Serial.println();
  
  // Here you can print statistics on the sentences.
  unsigned long chars;
  unsigned short sentences, failed_checksum;
  gps.stats(&chars, &sentences, &failed_checksum);
  //Serial.print("Failed Checksums: ");Serial.print(failed_checksum);
  //Serial.println(); Serial.println();
}

hello i found a gps sketch looks like it works but its saying I'm 2 almost 3 blocks away. But if i look at the first one it shows im across the street but the last one it shows i'm 2 or 3 blocks away but i ant moving I'm in a apartment. i wonder if that is the case because I'm on the 10 floor?

Joseph

And inside as well bieng 10 stories up only changes your altitude not the position relative to the earth. The erratic position data indicates a set of reflected signals arriving at the right time and interfering with the direct radio signal. I own one of those Neo-6 things as well as a few others and an FTDI converter was connected to a portable via a USB port and using that great free gps tool available from u-blox I have found most of my devices work in a very similar manner, Fairly accurately outside and fairly inaccurate inside using the U-Blox freeware. A good tool to have for starting out with GPS..

Doc

Hello so I'm wondering why it keeps changing when i look it up shows the area I'm in but numbers change doesn't show the same keeps changing little by little. is there a better sketch i can use?

Joseph