i will change my laptop, and i will be back here with an answer. And i have a weired question, all the time the gps module should be in a wide open space area?
I am not at home for a while so can't take a look at my setup which updates my clock. Again I can't remember but I think when you apply power the led should be on permanently until gps lock when it starts to flash. If your led is off I think something is wrong. I will double check this when I get home
See post #14 !
On some of those GPS boards (including mine), the LED is off and does not blink until the GPS gets a fix.
You could try to set the GPS baud rate to the various options avialable in the serial monitor, its possible the GPS baud rate is not set to 9600 baud. Remember the GPS will put out test regardless of whether it has a fix or not.
Or reverse TX and RX.
If I was having this trouble I would be checking the GPS TX and RX pins with a scope.
do you have any ideea what those ??? means?
Something received thats not recognised as a character.
I tried every baud, nothing works...![]()
I had exactly the same problem: bought one of these units, didn't work, bought another one, also didn't work. So I decided that the chances of me doing something wrong are probably greater than the chances of having two faulty units.
So I started from basics:
- Power the unit from a separate 5V supply
- Run the NEO-6M_GPS_Basic.ino script
- don't worry about attaching the aerial, leave it off for now
- don't worry about being outside for now
This should result in you getting data from the unit, and if so, you can change things one-at-a-time until you get to achieving your target.
Things to note:
- try using pins 2 and 3 as per the suggested script (TX to RX and RX to TX)
- make sure your serial monitor is set to the same baud rate as the script (9600)
- I found this until to be extra sensitive to "loose" connections, so ensure they are all secure
- when using an external 5V supply, make sure the negative is connected to both the unit and the Arduino GND
If things go well, you should see something like this in your serial monitor:
gpsSerial.available - 0
gpsSerial.read - 72
gpsSerial.available - 0
gpsSerial.read - -1
$GNGGA,,,,,,0,00,,,M,,M,,78
$GPGSA,A,1,,,,,,,,,,,,,,,,103
Good luck!
No idea, as I said check the TX,RX lines with a scope.
False.
If your copying data from the GPS at one baud rate, typically 9600 baud, the baud rate of the serial monitor is not that relavent, just leave it at 115,200.
The program quoted in post #15 really, really does work, of the Arduino and GPS are connected correctly and working.
Not false: I was referring to the baud rate in the suggested script, which is 9600. (NEO-6M_GPS_Basic.ino)
The program at post #1 has the reverse order of the TX and RX to the one at post #15. Perhaps the problem lies here? Post #1 script is back-to-front, as the first entry in the SoftwareSerial gps(); declation is the one that need to be connected to the TX pin of the GPS unit. Post #15 fixes this, but it does not appear to make this clear.
Where is that sketch ?
It is entirely correct to copy serial data from a GPS at one baud rate and print it to the Arduino serial port (and monitor) at a higher baud rate.
i can t find the script you mentioned it. Can you provide a source please?
Have you an USB to TTL converter?
Connect the Neo to the notebook with de converter and download, install and run U-center from U-blox page.
This is how you can diagnose the module correctly
Regards
There is the caveat that U-Center does nothing special or magic with the GPS, it just receives the characters, displays them in one of the Windows and allows configurartion commands to be sent.
A GPS out of the box, will when powered, send out NMEA messages and these can be read with an Arduino and suitable program or with a serial\USB adapter and U-center or indeed a serial teminal program such as Teraterm.
Sorry I didn't get back to you earlier.
Don't worry about the script I mentioned - I've tested the one you're using and it works fine.
I have a little difficulty following the connections on your picture. Can you please tell me about these:
the wires from the GPS unit are cut off, I assume the red wire goes to the breadboard's positive and I see that connected to your power supply.
On the Nano, is the blue wire on pin RX0?, the second pin from the end? And where does it go on the other end?
What are the brown and white wires doing, they appear to be connected to a buck converter?
What is the buck converter for?
Sorry about all the questions, just trying to figure out what could be the cause of your problems.
If your external power supply is 5VDC, you should need only five wires in total:
Nano GND to GND rail on your breadboard
GPS GND to GND rail of your breadboard
Power supply -ve to the GND rail of your breadboard
Nano D2 (5th pin from end) to GPS TX
GPS VCC to Power supply 5VDC +ve
As it appears that you may have mixed up the connections (from the photo), you might like to try the original installation, without the external power supply. Only three wires:
Nano GND to GPS GND
Nano D2 to GPS TX
Nano 5V to GPS VCC
I completely agree but if the GPS doesn't do it, does he throw it in the trash?
I know how to handle it but the PO doesn't seem to know it well and U-center makes things easier for him.
He's supposed to need help, not for us to show off how much we know, right?
Regards
If its not working, then complain to whoever it was bought from, or throw it in the trash.
For sure, but then it does not help when someone is told one particular testing method is the 'correct' one, when the others are also perfectly valid.



