(SOLVED) Neoway M590 ycc-8 GPRS (problem serial)

Hi.

I'm trying to set up the Neoway M590 module with presentation ycc-8 GPRS, but I'm having trouble getting it to work. The tutorials I found do not cover the problem and most are in Russian. Could anyone guide me with this module?

Error: When I send any AT command through the Arduino's IDE serial, the response is made up of strange characters such as squares and parentheses.

  • Powered it with external source 5v connecting the gnd of the external source with the gnd of the arduino.

  • I already tried to send the command through all bauds of the serial and the answer is not readable.

  • M590 pin 14 -> Arduino pin 2

  • M590 pin 16 -> Arduino pin 3

  • M590 pin 2 -> 5v external source

  • M590 pin 4 -> external and Arduino gnd

  • The red led (D1) of the module is blinking.

I got it!
After many attempts, I got a very unusual frequency, different from all the examples I found on the internet. 57600 baud.

The code that resulted for me was:

#include "SoftwareSerial.h"
// Definimos los canales I/O entre el Arduino y el Modem
SoftwareSerial MiSerial(12, 13); //RX, TX

//Arranque del modem mediante patilla 6 del Arduino
//#define pinBOOT 6
void setup() {
Serial.begin(57600);
Serial.println("Test M590 GSP/GPRS by ALRO");
MiSerial.begin(57600);
// pinMode(pinBOOT, OUTPUT);
// digitalWrite(pinBOOT, LOW);
// MiSerial.println(19200);
MiSerial.println("AT");
}
void loop() {
if (MiSerial.available())
Serial.write(MiSerial.read());
if (Serial.available())
MiSerial.write(Serial.read());
}

Tutorial that helped me:

Hope it helps someone else.