Hi,
First of all I'm beginner on Arduino ![]()
I'm working with a Nano connected to a GPS Ublox Neo 6M, it seems to be used a lot by the community, I read a lot of topics all the day but nothing help me to fix my issue.
Nano to Neo connexion :
Nano VCC -> 5V
Nano GND -> GND
TX -> D6
RX -> D5
My sketch :
#include <SoftwareSerial.h>
static const int RXPin = 6, TXPin = 5;
static const uint32_t GPSBaud = 9600;
// The serial connection to the GPS device
SoftwareSerial ss(RXPin, TXPin);
void setup()
{
Serial.begin(9600);
Serial.print("coucou");
ss.begin(GPSBaud);
}
void loop()
{
while (ss.available() > 0){
Serial.println(ss.read());
}
}
My issue is the following one :
In my Serial Monitor I can well see the "coucou", then only the bad character : 0⸮ in infinite loop.
Even if I disconnect the GPS module, the infinite loop continue... So i'm not sure the ss.availablea() is working. I already tried different baudrate just in case, but same issue (should be 9600).
If you need any information just ask, and thank you in advance for your support