U-Blox NEO-7N GPS with Arduino Uno Not Acquiring Satellites (Serial Output Included)

Problem:
The GPS module consistently returns 0 satellites , invalid coordinates (Lat/Lon: 0.000000 ), and NMEA logs show $GPRMC,,V,... (V = Void).

here is the code

#include <SoftwareSerial.h>  
#include <TinyGPSPlus.h>  

SoftwareSerial gpsSerial(4, 3); // RX=4, TX=3  
TinyGPSPlus gps;  

void setup() {  
  Serial.begin(9600);  
  gpsSerial.begin(9600);  
  Serial.println("GPS Test...");  
}  

void loop() {  
  while (gpsSerial.available()) {  
    char c = gpsSerial.read();  
    Serial.write(c);  
    if (gps.encode(c)) {  
      Serial.print("SAT: "); Serial.println(gps.satellites.value());  
      Serial.print("LAT: "); Serial.println(gps.location.lat(), 6);  
      Serial.print("LNG: "); Serial.println(gps.location.lng(), 6);  
    }  
  }  
}  

What would be interesting to see are the proprietary sentences the uBlox sends out right after power up regarding the health of the antenna.

And the missing part of the output which shows the output of the $GPGSV sentences.

Show us the output of the GPS over a few seconds when its been left outdoors with a good view of the sky for a couple of minutes.

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