Arduino UNO/ ESP32 - GPS NEO 6m - No gps connection check wiring

Dear All,

I know this is very commonly discussed issue, yet i am not able to find right solution to this issue.

What I have ? 1) Arduino Uno 2) ESP32 3) 2 NEO 6m GPS modules

What I want ? Get GPS Neo 6m working with Arduino UNO or ESP32

What I tried ? TinyGPS and TinyGPS++ example code, used many codes available on forum. I tried different combination of pins.

What is issue ?

When I try to use Example of FullExample in TinyGPSplus library

with Arduino Uno
Pin 4, 3 as suggested in code.
Baud rate - tried 9600 ( all other combinations)
when outdoor - LED on module starts blinking
Serial monitor - No GPS detected - check wiring

Can someone explain me ? why this is happening ? What is the issue ? What is working solution ? Thank you.

Start simple. Using the Uno, connect GPS Rx pin to Uno pin 3 and GPS Tx pin to Uno pin 4 and GND and 5V between the two devices

Upload this code

#include <SoftwareSerial.h>
SoftwareSerial gps(4, 3);  //pin 4 to GPS Tx pin, pin 3 to GPS Rx pin

void setup()
{
    Serial.begin(115200);  //set the Serial monitor baud rate to 115200
    gps.begin(9600);
}

void loop()
{
    if (gps.available())
    {
        Serial.write(gps.read());
    }
}

Set the Serial monitor baud rate to 115200. When the GPS LED start blinking what di you see on the Serial monitor ?

2 Likes

Thank you for your reply. I tried this code. LED starts blinking but not receiving anything on Serial monitor

Try using the Ublox u-center program on the PC

Sure you have TX and RX the right way round, some GPSs I have seen label these pins incorrectly.

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