had no problems with NEO6MV2 module - even inside the house picks up valid NMEA data after a couple of minutes
for example have a look at post geo-gps-6m-v2-issue
Edit: the following works on an ESP32 NodeMCU
// ESP32 Serial1 to GPS_GY-NEO6MV2 NEO-6M module
// GPS VCC to ESP32 3.3V
// GPS GND to ESP32 GND
// GPS RX to ESP32 ESP32 G15
// GPS TX to ESP32 G16
#define RXD1 16
#define TXD1 15
void setup() {
// initialize both serial ports:
Serial.begin(115200);
Serial1.begin(9600, SERIAL_8N1, RXD1, TXD1);
Serial.println();
Serial.println("ESP32 serial1 GPS test Rx pin 16 Tx pin 15");
}
void loop() {
// read from port 1, send to port 0:
if (Serial1.available()) {
int inByte = Serial1.read();
Serial.write(inByte);
}
// read from port 0, send to port 1:
if (Serial.available()) {
int inByte = Serial.read();
//Serial.write(inByte);
Serial1.write(inByte);
}
}
on powerup displays
ESP32 serial1 GPS test Rx pin 16 Tx pin 15
$GPGGA,153740.649,,,,,0,00,25.5,,,,,,*6B
$GPGLL,,,,,153740.649,V,M*76
$GPGSA,A,1,,,,,,,,,,,,,25.5,25.5,25.5*02
$GPGSV,3,1,10,02,20,152,,06,14,030,,11,30,066,,12,41,084,*75
$GPGSV,3,2,10,22,36,269,,25,72,083,,26,08,274,,29,58,192,*79
$GPGSV,3,3,10,31,47,297,,32,25,232,*70
$GPRMC,153740.649,V,,,,,,,150123,,,M*45
$GPVTG,,,,,,,,,M*33
$GPZDA,153740.649,15,01,2023,00,00*5F
$GPTXT,01,01,01,ANTENNA OPEN*25
$GPGGA,153741.649,,,,,0,00,25.5,,,,,,*6A
$GPGLL,,,,,153741.649,V,M*77