Unable to get correct NMEA sentences with gps module NEO6MV2

Hello everybody,

first of all forgive my very approximative and poor english : I tried to found help on the french version of the forum but it was not clearly a sucess.

I am working on a project of geolocalisation with an Arduino UNO R3 (actually I have a Elegoo Uno R3) card : I would like to be able to display latitude and longitude in the monitor. To do so I first bought the gps grove v1.2 gps module and used it with the TinyGPS library. Here some information about this gps module :

With the example given by the library I never succeeded to have gps coordinates because the function encode() of TinyGPS was always returning false. Then I tried to display in the monitor the NMEA sentences coming from the module and I noticed there were all wrong (I knew it because of the 'V' in the $GPRMC one). I searched how to fix this problem but the main solution I found was to go outside. I wait almost 30 minutes but the sentences were still wrong so I started thinking that the gps module was broken.

Then I bought the gps module NEO6MV2 and I have the same problem... So my problem isn't the code I think. Why my gps module don't return correct NMEA sentences ? In fact why they can't connect to a satellite ? Here my latest gps module :

https://letmeknow.fr/shop/capteurs/1247-module-gps-3007591023705.htmlsearch_query=gps&results=10

You need to be outside, with a clear view of the sky for most GPS modules to function. And brand new modules can require as much as 45 minutes to obtain a "factory reset, cold start fix" under some circumstances. I once had to wait over one hour, but after that the "hot start" fix was obtained quickly.

Run a simple program on your Arduino that just echoes the GPS output to a laptop, either running the Arduino serial monitor or a terminal program like Putty, and observe the progress. The $GPGSV NMEA sentence will tell you how many satellites are visible, even if there is no fix. Be patient.

Thank you for your answer : it worked for the first time in only 20 minutes. But I wonder if the gps module can work when the weather is quite bad : this time they were no clouds in the sky and it was very sunny whereas past time when I tried the weather was not so great...

So I don't if the problem is fixed forever or whether it can always work but it seems that somehow my problem is solved. Thanks.

GPS modules have different receiver sensitivities -- yours may not be of top quality, or the antenna does not work well.

Clouds certainly do absorb radio waves.