user30063: I have an Arduino Leonardo and a GPS module "NEO 6M" 
Pinout:   
PPS->free   
rxd->11   
txd->10  
gnd->gnd   
vcc->5v  

I'm running this code: 
#include "SoftwareSerial.h"
SoftwareSerial gps(10,11);
void setup(){
  Serial.begin(9600);
  gps.begin(9600);
}

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

In serial monitor I'm getting random characters like this     

Where am I going wrong?
I tried the same with an Arduino Mega but have the same result.

user30063: Solved: GPS module was broken. Now I use another GPS module, same model. Sorry for my English.

30063: <p>I have an Arduino Leonardo and a GPS module "NEO 6M" </p>

<p>Pinout:   </p>

<pre><code>PPS-&gt;free   
rxd-&gt;11   
txd-&gt;10  
gnd-&gt;gnd   
vcc-&gt;5v  
</code></pre>

<p>I'm running this code: </p>

<pre><code>#include "SoftwareSerial.h"
SoftwareSerial gps(10,11);
void setup(){
  Serial.begin(9600);
  gps.begin(9600);
}

void loop(){
  while (gps.available())
    Serial.write(gps.read());
}
</code></pre>

<p>In serial monitor I'm getting random characters like this     </p>

<p><a href="https://i.stack.imgur.com/ykoYa.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ykoYa.png" alt="Screenshot of serial monitor"></a></p>

<p>Where am I going wrong?</p>

<p>I tried the same with an Arduino Mega but have the same result.</p>
 30063: <p>Solved: GPS module was broken. Now I use another GPS module, same model. Sorry for my English.</p>
