Arduino nano and neo 6m gps module

Hello guys. I am using an arduino nano, and a gps module neo 6m 0 001, and i can't get the led of neo 6m start blinking. From where i read, they say it cannot connet to sattelites. I am in a clear area outside. It s the second neo 6m gps that i am trying to start. I was waiting for more than 2 hours. Maybe is a software problem?

Connections:
Neo GPS VCC -> 5V arduino Nano
Neo GND -> Arduino GND
NEO RX -> Arduino TX1
NEO TX ->Arduino RX0

I measured with a multimeter the pin of VCC and GND and i have like 4.7 Volts.

The code i am using:

#include <SoftwareSerial.h>
SoftwareSerial gps(1, 2); // 2 to Tx, 3 unconnected

void setup() {
  Serial.begin(115200);
  gps.begin(9600);
}

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

Please if you could help me? I am new to arduino. Just wanted to make a gps tracker for my electric bike.

I moved your topic to an appropriate forum category @sergiubrk.

In the future, please take some time to pick the forum category that best suits the subject of your topic. There is an "About the _____ category" topic at the top of each category that explains its purpose.

This is an important part of responsible forum usage, as explained in the "How to get the best out of this forum" guide. The guide contains a lot of other useful information. Please read it.

Thanks in advance for your cooperation.

Pin 1 is the hardware serial TX. Use a different pin for Nano SoftwareSerial RX.

Only need to connect Nano RX to GPS TX.

No need for GPS RX to be connected at all.

SoftwareSerial gps(2, -1);


That s my setup.

#include <SoftwareSerial.h>
SoftwareSerial gps(2, -1); // 2 to Tx, 3 unconnected

void setup() {
  Serial.begin(115200);
  gps.begin(9600);
}

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

I want to mention that my gps module led not blinking at all.

If the GPS is powered correctly and placed outdoors with a good view of the sky, it should get a fix, and the LED will blink, in around 45 seconds.

No connection to an Arduino or other software is needed. The GPS should get a fix all on its own, if its working that is.

my neo gps is powered from arduino nano 5V. And if i measure the VCC and GND of NEO GPS i got ~4.8 V. It is corectly powered?

That should be OK, that board feeds the VCC pin to a regulator which supplies the 3.3V needed for the GPS, so if it get a fix the light should flash.

Do note that the GPS module itself is a 3.3V logic device and as such is intended for connection to a 3.3V logic Arduino but the the Nano is a 5V logic level device.


Nothing work... It s like this for an hour. Just VCC and GND o neo 6m connected to 5V and GND to Arduino Nano

I would not describe that as a 'clear area outside'

Judging from the shade, the view vertically up is blocked and the view to the horizon in front, and maybe behind, is also blocked by buildings.

2 Likes

i went in the middle of nowhere.


Nothing appear on the gps module connected just to VCC-5V , GND-GND;

But i observed, if i deatached the antenna, a red light shows up for 3 second and shut down

I am starting to think that is a problem with this device. It s the second device from the same seller.

Do you think the i made something wrong?

The "Red Led" should be glowing constantly (if the module is powered correctly) until it achieves satellite lock ,when it does so it will "be blinking" :face_with_open_eyes_and_hand_over_mouth: .
check the wires and the breadboard for continuity :no_mouth:

I dont see any ground berween the Arduino and GPS.

It can be that way, but also the other way, i.e. off until a fix is obtained and blinks when it does get a fix.

Maybe.

Run this program with the GPS in a good outdoor position, clear view of the sky and horizon etc, the output on the Serial monitor will indicate how good the satellite signals are;

#define RXpin 2              //this is the pin that the Arduino will use to receive data from the GPS
#define TXpin -1              //this is the pin that the Arduino can use to send data (commands) to the GPS - not used

#include <SoftwareSerial.h>
SoftwareSerial GPS(RXpin, TXpin);

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

void setup()
{
  GPS.begin(9600);
  Serial.begin(115200);
  Serial.println("GPS_Echo Starting");
}

FYI I have one of these and it's sits on the window ledge and gets a signal quite easily. When I was testing it, I took it outside and it would get a signal without the antenna. You don't need any arduino to test it works. Just power it and if the led starts to flash you have gps lock and it works. Attaching an Arduino just allows you to see the data

1 Like


Here;s the connection. Like this if i measure with a multimeeter , the pins VCC and GND of NEO GPS i got ~4.7V

The red light, just appear for 3 second and goes off when antenna is not attached. And i was in the middle of nowhere, for more than 1 hour, nothing happend. I am preaty sure the module is powered correctly, because i coonected the arduino nano and gps module without breadboard(directly) and it s the same problem.

i see nothing on serial monitor... :cold_face:

Something wrong there, you should see the 'GPS_Echo Starting' message even with no GPS connected.