Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Cannot send sms from M95 Quectel GSM Module-PIC24F

Status
Not open for further replies.

maheshece28

Junior Member level 2
Joined
Jun 13, 2013
Messages
24
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
249
Hi guys,
I'm trying to send a SMS from my Modem(PIC24FJ128GA202 interfaced with M95 Quectel GSM) to my mobile phone. I've successfully read received SMS from my mobile. But cannot send SMS from my modem. I thought that i'm doing something wrong while i give ctrl+z. I've tried appending "\r\n" with "0x1A" i.e. "0x1A\r\n" but its not working. Below is the send SMS code....

Code:
uart3str("AT+CMGF=1\r");
Delayms(300);
uart1str(gprs_buffer);                    //gprs_buffer has response of AT commands (Response: "OK")
clear();                                         //Clear gprs_buffer 
uart3str("AT+CMGS=\"+91900xxxxxxx\"\r\n");     //+91 is the country code
Delayms(300);
uart3str("Hello");                          //Message i'm trying to send
uart3str("0x1A");                          // Ctrl+Z
uart3str("\r\n");
uart1str(gprs_buffer);

Below is the response i'm seeing in hyperterminal
Code:
AT+CMGF=1
OK
AT+CMGS="+91900xxxxxxx"
> Hello0x1A
>
 

M95 Quectel GSM need fast response and higher baudrate for communication so try to your delay between you successive AT commands and after ctl+z (0x1a) wait for a few ms.

and basic thing check your network and sim balance to send a sms properly.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top