NEO 6M GPS Arduino

Hello

I have connected the Neo 6M GPS module with arduino usiing software serail pins
The pin connection is
Pin 3 (TX Arduino ) - RX GPS
Piin 4 ( RX arduino) - TX GPS

The Power supplyy is given through arduino 5V

 
#include <SoftwareSerial.h>

// The serial connection to the GPS module
SoftwareSerial ss(4, 3); RX TX

void setup(){
  Serial.begin(9600);
  ss.begin(9600);
}

void loop(){
  while (ss.available() > 0){
    // get the byte data from the GPS
    byte gpsData = ss.read();
    Serial.write(gpsData);
  }
}


But I am getting the result as shown in the image. Can anyone pls guide me where I am doing it wrong. Thank you

Output look correct.

Does the output look the same after say 45 seconds when the GPS is outdoors where it has a good view of the sky ?

1 Like

Which Arduino? For example the UNO is a 5 volt logic device and You need to drop the UNO Tx, or use a level shifter. Tha GPS is a 3.3 volt logic device even if it has a 5 volt Vcc.

Thank you so much its working srnet.

I think no needed logic level shifter in 5v its working but thank you

That violates the maximum ratings for the 3.3 volt. Let's see for how long time it works. Good luck.

1 Like

Are you actually transmitting anything to the GPS module, or are you just reading the sentences? If only reading, you might just disconnect the transmit line, which would eliminate the 5V problem.

1 Like

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