mytutorialcafe.com Forum Index mytutorialcafe.com
Discussion All About Microcontroller and Computer Interfacing
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

User Microcontroller to Control Mobile phone

 
Post new topic   Reply to topic    mytutorialcafe.com Forum Index -> Microcontroller Projects
View previous topic :: View next topic  
Author Message
tomy



Joined: 09 May 2006
Posts: 3

PostPosted: Tue May 09, 2006 6:35 am    Post subject: User Microcontroller to Control Mobile phone Reply with quote

Dear All,

I am developing a Checking system device. When the system goes wrong, then
the system will make a phone call to the Control center.
I want to ask that how can i use the Microcontroller(8051) to control the
mobile to make a call.
How can i getting start?


Tomy
Back to top
View user's profile Send private message
myturf
Site Admin


Joined: 01 Jan 1970
Posts: 10

PostPosted: Tue May 09, 2006 7:01 am    Post subject: User Microcontroller to Control Mobile phone Reply with quote

You will use serial port, configured to match parameters with mobile phone.
Usually, it will be setup for MODE-1, 9600bps.
In example, given code will setup serial interface to use Timer1 for
generating baud rate of 9600bps with 11.0952MHz XTAL:

PCON&=0x7f; // clearing SMOD=0
TH1=243; //0xFD;
SCON=0x50; //01010000B // SCON: mode 1, 8-bit UART,
enable rcvr //
TMOD &= 0X0F; // clear Timer 1 //
TMOD|=0x20; // TMOD: timer 1, mode 2, 8-bit reload //


TR1=1; // TR1: timer 1 run //
TI=1;
RI=0;


after that, you could send AT commands to your mobile phone. Example, for
making calls:


printf("ATD_number-to-call_;%c%c",13,10);
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    mytutorialcafe.com Forum Index -> Microcontroller Projects All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group