I need help with my NEO-6M GPS Shield

hello everyone i bought the NEO-6M GPS Shield and i want to use it for simple project to get my current location in the serial monitor
so i dont know what pins i should use
i'm kind of new to the arduino world


thats my NEO-6M GPS Shield
thanks in advance

Check the seller's website for a getting started guide, or use the web search phrase "Arduino NEO-6M GPS shield" to find them.

Keep in mind that there are many reports of counterfeit NEO-6M GPS units, which may be only partially functional.

Yep, check the sellers\manufacturers details, you need to know which pin numbers the GPSs TX and RX pins are on.

Looking at a PCB layout that I found at www.usinainfo.com.br/gps-arduino/gps-shield-neo-6m-para-arduino-com-slot-micro-sd-antena-8439.html, we can see:


The shield uses shorting links to select which pins that TX and RX are connected to.

You can select any pin between D0 and D7.

I would avoid using pins D0 and D1 as they are used by the Serial Monitor and to upload sketches.

The examples in the TinyGPS and Tiny GPSplus libraries seem to use pin 3 for TX and pin 3 for RX. If you use other pins then you need to change the pins used by the sketch.

Edit,
The paragraph above should have read:

The examples in the TinyGPS and Tiny GPSplus libraries seem to use pin 3 for TX and pin 4 for RX.

Thank you to srnet (post #9) for pointing out my error.

thanks for the info but could you elaborate more and make it more simple please
i couldn't fully understand what explained here

The on line getting started guides do that. It is well worth your time to study a couple of them.

If you have trouble following one, post the code and error messages (following the forum rules) and members will be happy to help.

Which controller are You using? It looks like the board will fit UNO and MEGA, maybe some more controller.

Close up documentation would be good to use. Datasheet link please.

From the example... TinyGPS/examples/simple_test/simple_test.ino at master · mikalhart/TinyGPS · GitHub

TinyGPS gps;
SoftwareSerial ss(4, 3);

Normal definition is;

static const int RXPin = 4, TXPin = 3;

srnet,
Thank you for pointing out my error.

I have added a correction to my post.

1 Like