I have bought a neo-6m GPS module and connected it to my Arduino UNO. The GPS module comes with a patch antenna, using which I was rarely getting a GPS fix, so I also bought one external magnetic GPS antenna so as to get the GPS fix sitting indoors, but it still I am not getting the fix.
My code: #include <SoftwareSerial.h>
int GPSBaud = 9600;
SoftwareSerial gpsSerial(2,3);
Hey! I too got the same GPS module yesterday, initially, the battery on it charges for nearly one hour. The battery is for the RTC in the Module, and the GPS works only when the RTC works. So let it charge for one hour or a bit more and then wait for 20mins when starting for the first time. After it gets connected once, it will take only 7-15 seconds to get fixed.
sai_srikar:
I have bought a neo-6m GPS module and connected it to my Arduino UNO. The GPS module comes with a patch antenna, using which I was rarely getting a GPS fix,
So when you take the GPS outside, how long does it take to get a fix ?
Shishimaru:
Hey! I too got the same GPS module yesterday, initially, the battery on it charges for nearly one hour. The battery is for the RTC in the Module, and the GPS works only when the RTC works. So let it charge for one hour or a bit more and then wait for 20mins when starting for the first time. After it gets connected once, it will take only 7-15 seconds to get fixed.
The battery is not for an RTC as such, but to provide a power source to backup the satellite data the GPS downloads. This data allows the GPS to get a new fix fairly quickly if the GPS is powered off for a short period.
The state of charge of the battery should not affect the normal powered operation of the GPS.
Check if any component on the board is getting hot. I have a neo-6m board that has never achieved a fix, but it still emits the NMEA sentences. One component gets too hot to touch so it'll never work.
You are getting the UTC and date in the sentences (in the RMC sentence) so it is connecting with at least one satellite because that's where those two data come from, not from an on-board RTC.
Does the antenna connect via a tiny coaxial plug and socket? I found it is is easy to deform the centre pin and not make a connection.
The u-centre program from u-blox is a great tool. This will show you what satellites are been received and their strength. Free from u-blox.com .
Is there a better GPS module when compared to neo6m or may be the external antenna that I bought may not be working accordingly. Does an external antenna really help for getting a GPS fix?
My project is to send my GPS coordinates in the form of an SMS to someone and I am using a6 gsm module and this neo 6m.