Discussion in "Embedded GSM Development" started by    mangesh24    Sep 24, 2011.
Sat Sep 24 2011, 10:19 PM
#1
Hi friends,
I am trying to send SMS using GSM modem, after i send destination mobile number I am receiving "\r\n> " as a response from modem , after i enter text to message, i terminated it with "0x1A" character, further i am getting response as "\r\n" from the modem but not \r\nOK\r\n. Can anyone tell me the possible error?
for what time i should wait for receiving the ok response?
Please help
Sun Sep 25 2011, 12:17 PM
#2
@ mangesh24
ru using sim300dz modem or any other
ru checking it on hyper terminal or doing with controller
if using controller post code
Mon Sep 26 2011, 09:13 PM
#3
@majoka, Thanks for the reply.
While debugging this problem, i found one another problem with getting connected to wireless network,
If i send the AT+CRQ command to ask signal strength, i got the response as "error: operation not allowed", currently i am trying to solve this issue, also i get CREG response as 0,0 so might be i need to do more for establishing the connection with GSM network(The setting is Auto connect by-default).
Please help me more on this.
Thanks for the reply.
Mon Sep 26 2011, 09:16 PM
#4
@majoka,
Sorry,forgot to answer your questions,
I am using Sierra wireless GSM modem SL8082 family with micro-controller.
Tue Sep 27 2011, 09:53 AM
#5


@majoka,
Sorry,forgot to answer your questions,
I am using Sierra wireless GSM modem SL8082 family with micro-controller.

mangesh24



All GSM modems are wireless.
Do you have datasheet/brochure of SL8082. i am not finding it.
Before connecting to controller did you checked response on hyper terminal?
Tue Sep 27 2011, 10:44 AM
#6
Wed Sep 28 2011, 09:10 AM
#7
hello sir;
sir i have completed receiving SMS through GSM module(sim300) .now i want to send SMS to any other mobile from my GSM module .plz help me in the sense at command to send sms (any data) to any other mobile.


Thankyou!
Wed Sep 28 2011, 09:23 AM
#8
Hi,
Which controller are you using?
Test this in your hyper terminal first.
AT+CMGS="9845XXXXX"(ENTER)
>Type your msg here and press ctrl+z to send the msg.

The same thing you implement in your design.
Share your code for more understanding.
Wed Sep 28 2011, 11:48 AM
#9
@ dspicmicro
follow kiran suggestion
also same logic is in controller as well as on hyper terminal
Thu Dec 15 2011, 03:00 AM
#10
try this code,hope it helps
void send_sms(char phonE[15],char *m)
{

fprintf(SIM300,"AT+CMGS=");
putc(34);//char "

fprintf(SIM300,phonE);
putc(34);//char "

putc(13);//enter CR
delay_ms(1000);//waiting for char ">"
fprintf(SIM300,m);
delay_ms(1000);
putc(26);//CTRL+Z => start send message

}

Get Social

Information

Powered by e107 Forum System

Conversation

ExperimenterUK
Mon May 25 2015, 06:21 PM
@Subrat Sahu not a simple answer.Create a thread in "General help Guidance and Discussion" forum
Sun May 24 2015, 06:51 AM
Subrat Sahu
I have a confusion about 10 bit adc formula as describe bellow that resolution = Vref/1023 or Vref / 1024
ExperimenterUK
Sat May 23 2015, 08:54 PM
@utpal.. Create a thread in the Pic forum
Thu May 21 2015, 01:04 AM
utpal
i am a hobbist. i work on 8051. just i have started with pic 16f877. but a bitter experiance is going on. as i am programming any code to my pic877 and putting it in my board and it is working, but the 2nd time it is not taking any program,I have experimented just 7 new one pic mcus. result is the same. please tell me the reason. my programmer is TOP3000(universal programmer).
ajay_bhargav
Wed May 20 2015, 04:48 AM
@lak you can use the same code provided you are not using any s52 specific ports and registers.
Mon May 18 2015, 05:58 AM
lak
i used to develop a code for at89s52 shall i use the same code for at89c4051
Sun May 17 2015, 07:57 AM
Ayoosh
what if i have to rotate motor continuously at a step angle of 1.8 degree
ExperimenterUK
Fri May 15 2015, 06:02 PM
@oracle1946.. Post your question in the PIC forum
Fri May 15 2015, 03:48 AM
nadeem232
if some has solution kindly share solution Principles of Electric Circuits,by Thomas L. Floyd
oracle1946
Thu May 14 2015, 03:39 PM
I want to build a PIC16F684 sun logger using either a solar cell (0.5v solar cell or photoresistor). Any help out there?

Downloads

Comments

vipinpathakg
Wed May 27 2015, 05:57 AM
MuhammadTanvir
Sun May 24 2015, 11:02 AM
as_rog
Sun May 17 2015, 08:00 AM
oracle1946
Thu May 14 2015, 03:34 PM
kakaru32
Tue May 12 2015, 04:29 PM
Yateesh
Sat May 09 2015, 02:46 AM
scmg
Fri May 08 2015, 06:40 PM
OMERO
Fri May 08 2015, 11:53 AM

Online

Guests: 41, Members: 0 ...

most ever online: 182184
(Members: , Guests: 182184) on 06 Aug 2010: 05:37 AM

Members: 37662
Newest member: vipinpathakg
Forum Activity
vipinpathakg Avatar
Posted By vipinpathakg
Wed May 27 2015, 04:25 PM
UDN2981 IC is not available in local market. pleas...
ajay_bhargav Avatar
Posted By ajay_bhargav
Wed May 27 2015, 02:17 PM
UDN2981 is required to drive the LED matrix, are y...
vipinpathakg Avatar
Posted By vipinpathakg
Wed May 27 2015, 06:28 AM
I have created all the hardware of 5x7 LED Dotmatr...
ExperimenterUK Avatar
Posted By ExperimenterUK
Mon May 25 2015, 06:16 PM
We need to do some simple tests.Get the speaker to...
mayank058 Avatar
Posted By mayank058
Mon May 25 2015, 04:57 AM
Dear sir, I am taking output from PI...
MuhammadTanvir Avatar
Posted By MuhammadTanvir
Sun May 24 2015, 11:11 AM
Hey guys !! Can somebody please share the proteus ...
ExperimenterUK Avatar
Posted By ExperimenterUK
Sat May 23 2015, 09:52 PM
Does the speaker work?.'Exactly' where on the boa...
ExperimenterUK Avatar
Posted By ExperimenterUK
Sat May 23 2015, 09:44 PM
For all your questions there is a proper, very tec...
mayank058 Avatar
Posted By mayank058
Thu May 21 2015, 04:46 AM
dear sir there is nothing to zip.I just...
ajay_bhargav Avatar
Posted By ajay_bhargav
Wed May 20 2015, 04:57 AM
can you zip your complete project and attach it he...