Getting incomplete data from NEO-6M GPS Module

I'm trying to use the ublox NEO-6M GPS Module with TinyGPS library. When using one of the examples of the library, I couldn't have it working. Printing the data directly received from the module, I realized that the messages come incomplete. Before one message finish, the new one starts and interrumpts the first. Something like this:

$GPTXT,01,01,02,�$GPTXT,01,01,02,�$GPTXT,01,01,02,�$GPTXT,01,01,02,�$GPTXT,01,01,02,�$GPTXT,01,01,02,�$GPTXT,01,01,02,... and on and on.

The baud rate is configured as 9600. Any clue of why is this happening? Is my module damaged?

Welcome to the forum

Has the GPS actually got a satellite lock ?

No, it hasn't.

Then no wonder that you don't see sensible data

You need to be outside, with a clear view of the sky, in order for GPS to work.

Printing the data directly received from the module, I realized that the messages come incomplete.

Post the code (using code tags) that prints the NMEA sentences. You are doing something wrong, like using a slow serial baud rate for printing.

Looks like it may be constantly reseting.

Make sure its got an adequate power supply.

Schematics and diagrams of how you have stuff connected are often helpful in identifying problems.

1 Like

It was the power supply. I was supplying it with 5 volts, but when I changed the supply to the 3.3 volts pin, the problem was solved. Thank you!

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.