GSM2 Click + Arduino - strange letters response

Hi,

I need your help :smiley:

I have a little problem with gsm2 click board and Arduino.

When I power up the board and when the Arduino send the AT+CPIN=xxxx, the board respond me strange char ! (it's the same if I send the command manually via Arduino's serial console)

AT+CPIN=xxxx

+CPIN: READY

OK

Call Ready
每镁每每每每每每每煤没没每每眉镁眉每没每每没没没每镁每每每每镁每每镁每每

------ TRY 2 ------
AT+CPIN=xxxx

+CPIN: READY

OK

Call Ready
每每每每媒没每每眉每每每每每每镁镁每每每媒没没媒镁每没镁媒每每眉媒每每媒镁媒每没每媒每每镁镁每每霉每每每媒每每

------ TRY 3 ------
AT+CPIN=xxxx

+CPIN: READY

OK

Call Ready
每每每每每每镁

------ TRY 4 ------
AT+CPIN=xxxx

+CPIN: READY

OK

Call Ready
媒镁没每每每霉每每媒每每每每每媒没镁镁每镁每每每每每媒每没镁每每每每每媒

The speed is 9600 baud between the Arduino and GSM and between Arduino and my computer.

The board work, because sometime I can send data to a remote server with HTTP GET.
I have also link directly the GSM2 Board to my USB Serial converter and with the few test that I have do, I don't have this strange letters.

I use software serial on Arduino.

Have you got an idea ?
Thanks

Have you got an idea ?

I'm nearly certain that it is your code. Since you didn't post any, good luck.

It's possible that it could be your hardware. Since you didn't post a link to that, either, well, good luck.

The speed is 9600 baud between the Arduino and GSM and between Arduino and my computer.

I suspect you are mistaken.

Hi,

Sorry for the lack of precision..

This is the module that I use: GSM2 Click Board - MikroElektronika
The chip is a Quectel M95.

I use Arduino 3.3V.
I have fixed the baud rate on the Quectel to 9600 baud, arduino use 9600 both for GSM and for the computer.

This is the code that I using for send manually the commande to the M95:

#include <SoftwareSerial.h>

//GSM
SoftwareSerial serial_gsm(11, 10);
const int gsm_pwk = A0;

void setup()
{
聽 Serial.begin(9600);

聽 //GSM
聽 pinMode(gsm_pwk, OUTPUT);

聽 serial_gsm.begin(9600);
聽 //Allumage du module GSM
聽 digitalWrite(gsm_pwk, HIGH);
聽 delay(1100);
聽 digitalWrite(gsm_pwk, LOW);
}

void loop()
{
聽 debug_serial_gsm();
}



void debug_serial_gsm() {

聽 boolean boucle = true;
聽 while (boucle)
聽 {
聽 聽 while (serial_gsm.available() > 0)
聽 聽 {
聽 聽 聽 Serial.write(serial_gsm.read());
聽 聽 }

聽 聽 while (Serial.available() > 0)
聽 聽 {
聽 聽 聽 serial_gsm.write(Serial.read());
聽 聽 }
聽 }
}

And you can see the result in my previous post (I only enter "AT+PIN=xxxx", other lines are M95's response)

Thanks for your help ! :wink: