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 6 7
Moderators: Ajay, Junied , abbas1707, Arun Kumar V, pdi33, Shailesh NAYAK, ۞ TPS ۞, shyam, sashijoseph
Author Post
Jenius
Tue Feb 05 2008, 05:39AM
 User Offline
Registered Member #5677
Joined: Fri Jan 25 2008, 03:12AM

Posts: 11
Thanked 0 times in 0 posts
Nothing is working............
The mobile is not sending the sms..........

I have attached my code....Can anyone please check it

Back to top


Jenius
Tue Feb 05 2008, 05:47AM
 User Offline
Registered Member #5677
Joined: Fri Jan 25 2008, 03:12AM

Posts: 11
Thanked 0 times in 0 posts
Nothing is working.The mobile is not sending the message to the phone.I have attached the code.Can anyone check it?
Back to top


Jenius
Tue Feb 05 2008, 05:56AM
 User Offline
Registered Member #5677
Joined: Fri Jan 25 2008, 03:12AM

Posts: 11
Thanked 0 times in 0 posts
Its not working.The mobile is not sending message........Whats wrong now......
I have attached my C code .can anyone check it & tell the problem ...
Back to top


Jenius
Tue Feb 05 2008, 05:57AM
 User Offline
Registered Member #5677
Joined: Fri Jan 25 2008, 03:12AM

Posts: 11
Thanked 0 times in 0 posts
Its not working.The mobile is not sending message........Whats wrong now......
I have attached my C code .can anyone check it & tell the problem ...
uart00.rar
Back to top


abbas1707
Tue Feb 05 2008, 05:58AM

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

Posts: 413
Thanked 63 times in 51 posts
jenius
connect your circuit with pc(i.e pc will take place of mobile phone).and check on hyper terminal what you are receiving ....it will confirm also that serial communication working properly.

and you also not selecting text mode in your code!!!!
try to follow this procedure
CODE:

void main()
{
        initUART();
        delay();
        sendString("AT+CMGF=1");  // command to select text mode
        sendChar(13);
        delay();
        sendString("AT+CMGS=\"0999999999\"");// here 09999999999 is recepient's number
        sendChar(13);
        delay();
        sendString("Hello!");  // Hello! will be sent
        sendChar(26);
        sendChar(13);          
}
 


[ Edited Tue Feb 05 2008, 06:14AM ]

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


Ajay
Tue Feb 05 2008, 09:12AM
Rickey's World Admin

 User Offline

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

Posts: 3303
Thanked 611 times in 578 posts
@Jenius
abbas is helping you.. so please do not make multiple posts ok!
he has replied already so better read it carefully.

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


Jenius
Thu Feb 07 2008, 07:42AM
 User Offline
Registered Member #5677
Joined: Fri Jan 25 2008, 03:12AM

Posts: 11
Thanked 0 times in 0 posts
Any body has checked my code ????????????????

Also in the above given code by abbas is there no need of SMS message sender no before giving the receipients no
???
Back to top


Jenius
Thu Feb 07 2008, 08:05AM
 User Offline
Registered Member #5677
Joined: Fri Jan 25 2008, 03:12AM

Posts: 11
Thanked 0 times in 0 posts
Sorry for the multiple posts.......This was because my connection was slow so the page does not load .so I press reload again.....

Can i delete those posts...
Back to top


abbas1707
Thu Feb 07 2008, 09:47AM

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

Posts: 413
Thanked 63 times in 51 posts
Jenius wrote ...

Any body has checked my code ????????????????

Also in the above given code by abbas is there no need of SMS message sender no before giving the receipients no
???

you tried what i said???
and there is no need of sms sender no.

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


xtracool_protik
Wed Feb 13 2008, 02:56AM
 User Offline
Registered Member #6027
Joined: Wed Feb 13 2008, 02:47AM

Posts: 1
Thanked 0 times in 0 post
Hey check whether u have correctly formed null modem db9 at microcontroller side
further u can send 1a (HEX) instead of cntrlZ or 26
and ENTER is not compulsory after CNTRLZ
Even you can implement enter by sending CR(carriage return) - 0D hex and LF(line feed) - 0A hex in succession
No need to have msg center no
However when I implemented it the msg sent used to miss 1st 8 characters of string
I'm working on it

LOL
Back to top


Go to page  1 [2] 3 4 5 6 7  

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