8051 Microcontroller Projects AVR PIC Microcontroller Projects Tutorials Ebooks Libraries, interfacing tutorials, lcd tutorial, stepper motor, dc motor 8051 assembly language programming electronics and communication ECE CSE pdf ebooks library BE final year project ideas Embedded systems

 
8051 microcontroller 8051 microcontroller
Forums

Go to page  1 2 [3] 4 5
Moderators: Ajay, Junied , abbas1707, Arun Kumar V, pdi33, Shailesh NAYAK, ۞ TPS ۞, shyam, sashijoseph
Author Post
Amin Sharif
Thu Mar 20 2008, 07:10AM
 User Offline
Registered Member #6421
Joined: Mon Mar 03 2008, 11:44PM

Posts: 31
Thanked 0 times in 0 posts
What i need is that any new sms comes, microcontroller is indicated about it and then mc receive that unread sms and store it in its ram. Please help me out. thanks.

Back to top


abbas1707
Thu Mar 20 2008, 08:09AM

 User Offline
Registered Member #383
Joined: Thu Jan 25 2007, 08:07AM

Posts: 414
Thanked 65 times in 52 posts
two methods for this
1> by sending AT+CNMI command to mobile phone and set it to indicate when new msg arrives
2> by sending AT+CMGR command through polling or interrupt.
For more info read AT commands manual

A Thousand Miles Journey Starts With a Single Step.
Back to top


jiraju
Thu Mar 20 2008, 08:21AM
 User Offline
Registered Member #6679
Joined: Mon Mar 17 2008, 01:03AM

Posts: 5
Thanked 1 time in 1 posts
well if u r using gsm modules then it is possible. Since in widely available GSM module u can't store the sms in GSM module itself so u have to fetch that to ur MC by continuous polling the GSM Module via specific commands which is supported by module. even u can monitor the signal strength by sending command via hyperterminal...
Back to top


Amin Sharif
Sun Mar 23 2008, 11:12PM
 User Offline
Registered Member #6421
Joined: Mon Mar 03 2008, 11:44PM

Posts: 31
Thanked 0 times in 0 posts
My previous problems are solved except one, new sms indication.
I have send AT+CNMI=? many times, it responds with some setting arrangments but I don't understand. Kindly help me with complete command actually to be sent and what responses may be expected. One new problem is generated that if I disconnect com port cable and then insert it again I lose all previous setting for example.
AT
AT+CMGF=1
AT+CPMS="ME"
AT+CMGL="ALL"
and all. I have to reinitialize all those. Thanks
Back to top


Ajay
Mon Mar 24 2008, 02:04AM
Rickey's World Admin

 User Offline

Registered Member #1
Joined: Fri Feb 24 2006, 04:56AM

Posts: 3529
Thanked 644 times in 609 posts
hmm.. you can do one thing... you are already using polling method.. so..
after 3 retries of polling.. and if you are not getting any reply from phone then one thing is sure that phone is not connected. So you can put a jump to the point where you keep on sending AT and wait for OK phone other end, once you get OK, you initialize the phone in the sequence you mentioned.
AT+CMGF=1
AT+CPMS="ME"
AT+CMGL="ALL"
is it fine?

www.rickeyworld.info
If you feel satisfied with the user's forum reply please click on the thank button.

Obey forum rules!
Respect others!
Back to top


Amin Sharif
Mon Mar 31 2008, 11:30PM
 User Offline
Registered Member #6421
Joined: Mon Mar 03 2008, 11:44PM

Posts: 31
Thanked 0 times in 0 posts
Hi guys.
My problem of sms reading is solved but new sms indication to controller problem is still alive . I have sent {AT+CNMI=0,1,0,0,0 \r } many times but it responds with { +CMS ERROR: 303 }. I think my mobile T 290i doesn't support this command. If it is not possible than is there any method except polling which can give me quick response? Please help me out.

Thanks.
Back to top


Amin Sharif
Mon Mar 31 2008, 11:41PM
 User Offline
Registered Member #6421
Joined: Mon Mar 03 2008, 11:44PM

Posts: 31
Thanked 0 times in 0 posts
It respond with something like this,
AT+CNMI=?
+CNMI: (2),(0,1,3),(0,2),(0),(0)

OK
AT+CNMI=1,1,0,0,0
+CMS ERROR: 303

solve it please.
Back to top


abbas1707
Tue Apr 01 2008, 07:02AM

 User Offline
Registered Member #383
Joined: Thu Jan 25 2007, 08:07AM

Posts: 414
Thanked 65 times in 52 posts
i also tried this.... may be this command not supported

A Thousand Miles Journey Starts With a Single Step.
Back to top


Amin Sharif
Tue Apr 01 2008, 09:00PM
 User Offline
Registered Member #6421
Joined: Mon Mar 03 2008, 11:44PM

Posts: 31
Thanked 0 times in 0 posts
Hello abbas1707.
What I am doing now is taking interrupt from vibrator. It gives me 0 to 2.5v some pulses. Any suggestion for this practice or any better. Thanks
Back to top


abbas1707
Wed Apr 02 2008, 02:37AM

 User Offline
Registered Member #383
Joined: Thu Jan 25 2007, 08:07AM

Posts: 414
Thanked 65 times in 52 posts
never tried this you try and also tell us about the results

A Thousand Miles Journey Starts With a Single Step.
Back to top


Go to page  1 2 [3] 4 5  

Jump:     Back to top

Syndicate this thread: rss 0.92 Syndicate this thread: rss 2.0 Syndicate this thread: RDF
Powered by e107 Forum System

8051 Microcontroller Projects 8051 AVR tutorials PIC microcontroller, 8051 assembly language programming electronics and communication ECE CSE pdf ebooks library BE final year project ideas Embedded systems