Neo 6 m module not communicating

Hello People!
I need some insight regarding, A problem I have been facing in a project. I am trying to interface Neo 6 m Gps Module with Arduino Uno. When, I connect The Rx and Tx pins to pins 0 and 1 on the Arduino and burn a blank window on the Arduino the Gps module works and shows all the NMEA sentences, but When, I try to Interface the Module with any other pins there is no Serial ( the Serial monitor stays blank ) Communication between Arduino and Neo 6 m. I have tried changing the Arduino as well as the module but to no avail.

Welcome to the forum

Your topic was MOVED to its current forum category as it is more suitable than the original

How have you tried to use other pins ?

By the way, using pins 0 and 1 for communication with the GPS is not to be recommended as they are used by the Uno hardware Serial interface

Check whether the GPS module has a 5V to 3.3V logic level converter, which is required to connect a 5V Arduino to the 3.3V GPS module.

If it does, try this code to echo the GPS output to the serial monitor.

#include <SoftwareSerial.h>

SoftwareSerial mySerial(10, 11); //(GPS RX, TX) check correct pin assignments.

void setup() {
  mySerial.begin(9600);
  Serial.begin(9600);
  Serial.println("GPS start");
}

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

Hello UKHeliBob and Thanks a lot!
I used pins 0 and 1 just to check if the module is sending data or not.
and to further test the module I used a bunch of different codes provided on the internet plus the Device Example in the Library TinyGPS plus by Micheal Hart ( sorry if i am wrong can' t remember the full name ).
When I burn any code the SerialMonitor stays blank. As such the condition 'Serial.available() >0' is not true.

Hello Jremington, I think it has a logic level converter because it works and shows NMEA sentences when connected to Rx and Tx pins on the Arduino, but does not work on any other pins.
Update: I have tried running your code but my Serial Monitor only prints GPS Start.

Probably not, but post a link to the web page.

If not, it may work for a while, then either the Arduino or the GPS module, or both will be destroyed.

I have tried running your code but my Serial Monitor only prints GPS Start

You made a wiring error. Try swapping RX and TX. And connect the grounds.

If that doesn't work, perhaps the GPS module is already damaged.

YES !! it has started working. I was connecting the Rx pin of the GPS module to pin 10 and Tx to 11, Now when I swapped these pins, Your program is running flawlessly! Thank you !!

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