GT-U7 GPS problem

I have a problem with the GPS chip (Goouuu Tech GT-U7), it shows zeros when the code is loaded and run on the GPS chip connected to the Arduino Uno?

#include <TinyGPS++.h>
#include <SoftwareSerial.h>
/*
   This sample sketch demonstrates the normal use of a TinyGPS++ (TinyGPSPlus) object.
   It requires the use of SoftwareSerial, and assumes that you have a
   4800-baud serial GPS device hooked up on pins 4(rx) and 3(tx).
*/
static const int TXPin = 11, RXPin = 10;
static const uint32_t GPSBaud = 9600;

// The TinyGPS++ object
TinyGPSPlus gps;

// The serial connection to the GPS device
SoftwareSerial ss(RXPin, TXPin);

void setup()
{
  Serial.begin(115200);
  ss.begin(GPSBaud);

  Serial.println(F("DeviceExample.ino"));
  Serial.println(F("A simple demonstration of TinyGPS++ with an attached GPS module"));
  Serial.print(F("Testing TinyGPS++ library v. ")); Serial.println(TinyGPSPlus::libraryVersion());
  Serial.println(F("by Mikal Hart"));
  Serial.println();
}

void loop()
{
  // This sketch displays information every time a new sentence is correctly encoded.
  while (ss.available() > 0)
    if (gps.encode(ss.read()))
      displayInfo();

  if (millis() > 5000 && gps.charsProcessed() < 10)
  {
    Serial.println(F("No GPS detected: check wiring."));
    while(true);
  }
}

void displayInfo()
{
  Serial.print(F("Location: ")); 
  if (gps.location.isValid())
  {
    Serial.print(gps.location.lat(), 6);
    Serial.print(F(","));
    Serial.print(gps.location.lng(), 6);
  }
  else
  {
    Serial.print(F("INVALID"));
  }

  Serial.print(F("  Date/Time: "));
  if (gps.date.isValid())
  {
    Serial.print(gps.date.month());
    Serial.print(F("/"));
    Serial.print(gps.date.day());
    Serial.print(F("/"));
    Serial.print(gps.date.year());
  }
  else
  {
    Serial.print(F("INVALID"));
  }

  Serial.print(F(" "));
  if (gps.time.isValid())
  {
    if (gps.time.hour() < 10) Serial.print(F("0"));
    Serial.print(gps.time.hour());
    Serial.print(F(":"));
    if (gps.time.minute() < 10) Serial.print(F("0"));
    Serial.print(gps.time.minute());
    Serial.print(F(":"));
    if (gps.time.second() < 10) Serial.print(F("0"));
    Serial.print(gps.time.second());
    Serial.print(F("."));
    if (gps.time.centisecond() < 10) Serial.print(F("0"));
    Serial.print(gps.time.centisecond());
  }
  else
  {
    Serial.print(F("INVALID"));
  }

  Serial.println();
} 

Which?

I use TX=11,RX=10 for gps and wifi 4 &5

Do you ever see that?
Can you share a timestamped screen shot of the serial monitor?

Has your GPS got an antenna with a clear view of the sky?

this what happened !

no, but the result is "no GPS detected "!

Forget TinyGPS for the moment, and just test basic functionality of the GPS module and the serial connections.

Use this code to print the GPS output on the serial monitor, making sure of proper connections and Baud rate settings.

#include <SoftwareSerial.h>

SoftwareSerial mySerial(10, 11); //(GPS RX, TX) check correct pin assignments.

void setup() {
  mySerial.begin(9600);  //check default GPS Baud rate
  Serial.begin(9600);
  Serial.println("GPS start");
}

void loop() {
  while (mySerial.available()) {
    Serial.write(mySerial.read());
  }
}

I try this code, and still..

and I tried the previous code and I check the wiring It's good connected

Did you try swapping RX and TX? Check Baud rate?

Yes ,I tried & the result is same .

Perhaps the GPS module is dead.

Originally, you wrote

Does it no longer do this?

Can you write a simple digitalRead loop that looks for activity on the serial lines?

But Its new & I buy it from amazon,How its die :sweat_smile: !

Yes I tried this simple code .. and the result is zero`s.

#include <SoftwareSerial.h>
#include <TinyGPS.h>
#include <WiFiEspUdp.h>
 #include "WiFiEsp.h"
int state = 0;
float gpslat, gpslon;
WiFiEspUDP Udp;
unsigned int localPort = 8888;  

#define DEBUG true
 

// Emulate Serial1 on pins 9/10 by default
// If you want to use Hard Serial1 in Mega2560 , please remove the wifi shield jumper cap on ESP8266 RX/TX PIN , CONNECT TX->D18 RX->D19
#ifndef HAVE_HWSERIAL1

TinyGPS gps;
SoftwareSerial sgps(10, 11);//rx,tx
#endif



     
void setup()
{
  Serial.begin(9600);
  sgps.begin(9600);
}

void loop()
{
  sgps.listen();

  while (sgps.available())
  {
    if (gps.encode(sgps.read()))
    {
      gps.f_get_position(&gpslat, &gpslon);
    }
  }
  Serial.print("Latitude:");
  Serial.print(gpslat, 6);
  Serial.print(";");
  Serial.print("Longitude:");
  Serial.println(gpslon, 6);
  delay(1000);
}

Amazon allows returns.

No ,I can`t because I buy it befor along time ..
Thank you for helped me :pray:t2:

What happens when you drop the line speed to the suggested 4800 bits per second?

Did you try my suggestion to use digital read to look for serial activity?

Do you have access to a scope?

yah ! I tried it but still had the same result.

that means the GPS is dead,right?

With a Neo GPS mounted on a board that has a USB connector, you can use the USB connector to both power the module and receive the GPS output.

You just connect it to the computer running the IDE (must use a USB data cable, not just a charging cable).

The IDE sees the GPS board and its output can be viewed on the serial monitor. No Arduino board needed.

Maybe this will work on the GT-U7 board too.

BTW, people seem to be ready to condemn the GPS module as a dud when they don't get results, but you have to think of the setup as a GPS/antenna system. I think antennas fail more often than GPS modules.