Discussion in "Embedded GSM Development" started by    mangesh24    Sep 24, 2011.
Sat Sep 24 2011, 06: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, 08:17 AM
#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, 05: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, 05: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, 05: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, 06:44 AM
#6
Wed Sep 28 2011, 05: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, 05: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, 07:48 AM
#9
@ dspicmicro
follow kiran suggestion
also same logic is in controller as well as on hyper terminal
Wed Dec 14 2011, 10:00 PM
#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
Forum Activity
Peter_Parker Avatar
Posted By Peter_Parker
Fri Aug 01 2014, 09:37 AM
I linked the tx and rx pins,opened up the hyperter...
majoka Avatar
Posted By majoka
Fri Aug 01 2014, 07:25 AM
attached is the whole project with Proteus simulat...
pravin_35 Avatar
Posted By pravin_35
Thu Jul 31 2014, 01:49 AM
attach is the code for lcd may be need a little ch...
majoka Avatar
Posted By majoka
Wed Jul 30 2014, 02:45 PM
@ sermeteraythank you for sharing your experience ...
majoka Avatar
Posted By majoka
Wed Jul 30 2014, 02:38 PM
@ Peter_ParkerHC06 by default baud rate is 9600try...
majoka Avatar
Posted By majoka
Wed Jul 30 2014, 02:25 PM
attach is the code for lcd may be need a little ch...
majoka Avatar
Posted By majoka
Wed Jul 30 2014, 02:21 PM
@ pravin_35both compilers are almost sameif you ha...
pravin_35 Avatar
Posted By pravin_35
Wed Jul 30 2014, 07:38 AM
http://extremeelectronics.co.in/pic16f877a-tutoria...
NexusRevZ Avatar
Posted By NexusRevZ
Wed Jul 30 2014, 02:31 AM
Ok, I have edited the code, it's updated above wit...
NexusRevZ Avatar
Posted By NexusRevZ
Wed Jul 30 2014, 02:10 AM
Oh tahnk you so much for the reply. I will do imme...

Conversation

Thu Jul 31 2014, 04:32 PM
1
-1'
Thu Jul 31 2014, 04:32 PM
1
1
NexusRevZ
Tue Jul 29 2014, 09:32 PM
Anyone good in Asm lang?
ajay_bhargav
Mon Jul 28 2014, 12:34 AM
@ Anshu Raj sorry we do not take such requests.
Sun Jul 27 2014, 12:23 AM
Anshu Raj
sir plz send the automatic collage alram bells in 2 hrs bells ring. For microcontroller programme plz sir
ajay_bhargav
Thu Jul 24 2014, 01:06 AM
@R.ABHISHEK where? I dont see it. is it in forum?
Wed Jul 23 2014, 05:49 AM
R.ABHISHEK
sir,pls message on microcontroller 8051 assambly language new program
Wed Jul 23 2014, 05:47 AM
R.ABHISHEK
sir,pls message on 8051 microcontroller assambly language program new quastions
ajay_bhargav
Tue Jul 22 2014, 09:18 AM
@Pragya Android application is taken from google play. Only Author has its source with him. Application is only used in this project.
Tue Jul 22 2014, 04:58 AM
Pragya
plz send me 8051 code and android code for android based device controller via Bluetooth .Here in this project I am using Hc-06 Bluetooth module

Downloads

Comments

jayachandra
Fri Aug 01 2014, 04:47 AM
risko
Thu Jul 31 2014, 03:53 PM
ismaelfogaca
Thu Jul 31 2014, 10:50 AM
NexusRevZ
Tue Jul 29 2014, 09:29 PM
kritz22
Mon Jul 28 2014, 10:33 AM
Abbasans786
Mon Jul 28 2014, 03:15 AM
Imran.pk
Fri Jul 25 2014, 07:50 PM
PavanKh
Fri Jul 25 2014, 12:56 AM

Online

Guests: 45, Members: 0 ...

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

Members: 37487
Newest member: jayachandra