I also tried many codes and tried printing gps.avaliable(). I got false and i read in forums that to wait for some time. so I waited patiently for around 30mins but still i get gps.avaliable() as false and still got no data in my serialmonitor.
PS : Initially i connected the vcc of the gps to 5v output from the esp32 and i have a confusion in this also
It is hard for us to provide any definitive answers without knowing the exact module you have (there are likely many different variants of the modules from the various Chinese manufacturers of such things, all advertised and marked under similar names), but the one I found after a quick Google search said:
Input Supply Voltage Range: 3.3V-6V, on board voltage regulator maintains 3.3V
Unfortunately that seller doesn't provide much technical information.
From this statement:
Supply voltage: 3.3 V
We might infer that VCC must be 3.3 V. However, I do see what appears to be a voltage regulator on the board in the product picture, just the same as on the module I found that specifies 3.3 -6 V:
Thanks a lot.. This means that I didn't fry up my Gps module. Then what could be the problem why I am not getting Serial data from the GPS module. Any solutions ?
My GPS module has Configurable Baud from 4800 Baud to 115200 Baud rates and 9600 being the default. I tried all the Baud rate combinations but nothing works
As far as I know, you can't reconfigure it unless you can communicate with it at it's current baud rate. That is why I suggested it is still at the default value.
The fact that you are asking how to reconfigure it reinforces my supposition that it is still at the default setting.
Install u-center (not u-center2) from ublox site.
Select "auto baudrate" (or something like that) in the menu.
You need a usb-ttl module to connect the gps with your pc.
Perhaps it's a fault in the bread board. I know I damaged one of my bread boards by pushing the header pins of an ESP32 into it. I've also helped with remote fault finding which turned out to be a dupont jumper cable being open circuit.
If you have a continuity tester, or a multimeter with resistance range, then with no power applied, check for ~0 Ohms between each of the pairs A1-A2, B1-B2, C1-C2, D1-D2. If you have a multimeter put in on the volts range and check you have 3.3V between D2 and A2 when power is applied.