Can't send SMS with Neoway M590 GSM board

Hi all,

I have a perfectly working board that is using a SIM900 GSM board for years now.
I wanted to build several others and bought a NEOWAY M590 board which is much cheaper...

I had to modify some lines, the AT command set not being the same for both modules.

I can't bring my setup to send SMS.. (will look for the GPRS part later)

  1. the SIM is working
  2. i can send SMS connecting a terminal (PuTTY) and doing it manualy.

Manualy, i do :
AT+CMGF=1
receive : OK

AT+CSCS="SMS"
receive :OK

AT+CMGS="+336xxxxxxx"
receive : >
TEXT to be SENT
CTRL-Z

receive : +CMGS: 92

My script succesfully sends the AT commands with :
GPRS.println(ATcommand);

waits until it receives the > prompt and then sends the text
GPRS.println("text bla bla");

and finally the CTRL-Z
GPRS.write(01xA)

For a reason i can't explain, i never get the confirmation by +CMGS and the script hangs on.
It's like if the GSM never receives the CTRL-Z (0x1A) sequence...

Has anyone succesfully used this M590 board and/or can tell me what the problem is ?

Thanks,
Patrick

No one ? :frowning:

Did you ever figure out a solution to this? I am having the same problem.

Hello guys
to send SMS use this function

void sendSms(String number, String text){
  String adrr("AT+CMGS=\""+number+"\"");
  gsm.print(adrr);
  delay(500);
  gsm.write(0x0d);
  delay(500);
  gsm.println(text);
  delay(500);
  gsm.write(0x1a);
}

sendSms("12334486","text to send"); // call function

NB: 'gsm' is an object of SoftwareSerial

Check out this code at GitHub