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
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.
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.