| Author |
Message |
krunal_299
Joined: 24 Jan 2008 Posts: 58
|
21 Sep 2009 13:08 sim card reader with 8051 |
|
|
|
|
Hi to All,
I have an idea to interface any GSM SIM card directly to microcontroller but not conceptually clear...
So pls can anyone tell me that it is possible to do that or not....if possible then what kind of microcontroller must be used for that purpose..
is there any mid-interpreting circuitry needed between GSM SIM and microcontroller?
Thanks to All...
|
|
| Back to top |
|
 |
Google AdSense

|
21 Sep 2009 13:08 Ads |
|
|
|
|
|
|
| Back to top |
|
 |
nandhu015
Joined: 11 Feb 2006 Posts: 640 Helped: 46 Location: Tamilnadu, India
|
21 Sep 2009 13:21 interface microcontroller to gsm mobile |
|
|
|
|
Here it is
http://www.8051projects.net/lofiversion/t2046/Mobile-SIM-Card-Reader.html
Nandhu
|
|
| Back to top |
|
 |
krunal_299
Joined: 24 Jan 2008 Posts: 58
|
21 Sep 2009 14:42 GSM SIM card interfacing with microcontroller |
|
|
|
|
| Thanks...Thanks a lot ...Let me go through it...
|
|
| Back to top |
|
 |
codewiz
Joined: 14 Sep 2008 Posts: 75
|
22 Sep 2009 7:01 GSM SIM card interfacing with microcontroller |
|
|
|
|
| what special thing can you achieve with interfacing sim card with microcontroller?
|
|
| Back to top |
|
 |
krunal_299
Joined: 24 Jan 2008 Posts: 58
|
09 Oct 2009 13:02 GSM SIM card interfacing with microcontroller |
|
|
|
|
Special!!!!
I want to read incoming SMS and send SMSes to any cell phone....I think i need some antenna based interfacing circuit to be used with microcontroller
Let me know what are the available options ???
Regards!!!
|
|
| Back to top |
|
 |
nandhu015
Joined: 11 Feb 2006 Posts: 640 Helped: 46 Location: Tamilnadu, India
|
09 Oct 2009 14:12 Re: GSM SIM card interfacing with microcontroller |
|
|
|
|
| krunal_299 wrote: |
Special!!!!
I want to read incoming SMS and send SMSes to any cell phone....I think i need some antenna based interfacing circuit to be used with microcontroller
Let me know what are the available options ???
Regards!!! |
If you want to receive or send sms you need a gsm phone. Not simply card. Try a mobile phone which supports AT commands or a gsm modem
Nandhu
|
|
| Back to top |
|
 |
amila133
Joined: 13 Oct 2009 Posts: 28 Location: Sri Lanka
|
19 Oct 2009 8:00 Re: GSM SIM card interfacing with microcontroller |
|
|
|
|
Hi to All,
I also want send and read SMS using PIC and I want to use AT commands. Although I found lot of details of AT commands I confuse to use them with PIC.
I am going to use MikroC for PIC programming.
By simple code example can any one explain me?
|
|
| Back to top |
|
 |
fiolin
Joined: 22 Jul 2009 Posts: 27 Location: Uruguay
|
19 Oct 2009 15:43 GSM SIM card interfacing with microcontroller |
|
|
|
|
See this part of code to send a sms, I've used CCS compiler.
void sms_send()
{
int i;
char sms[30]="Car alarm is sounding";
printf("AT+CMGS="12345678"\n\r");//12345678 phone number
delay_ms(500);
for(i=0;i<30;i++)
{
if(sms[i]=='\0') break;//ask for null character of sms vector when find it go out of for() loop
putchar(sms[i]);
}
delay_ms(500);
putc(26);// send ctrl + Z
return;
}
Added after 3 minutes:
I forgot select text mode with: printf("AT+CMGF=1\n\r"); //add this part before sending AT+CMGS=....
|
|
| Back to top |
|
 |
amila133
Joined: 13 Oct 2009 Posts: 28 Location: Sri Lanka
|
21 Oct 2009 4:34 Re: GSM SIM card interfacing with microcontroller |
|
|
|
|
Thank You very much fiolin, Now I have idea to do my work.
pls tell me what kind of phone should I select this purpose? Text mode or PDU mode. Iam going to do serial communication.
|
|
| Back to top |
|
 |
PS23
Joined: 09 Oct 2009 Posts: 9
|
21 Oct 2009 6:56 Re: GSM SIM card interfacing with microcontroller |
|
|
|
|
Hey,
You should select a phone which supports AT commands, which almost every phone available do. So, you should not have any problem. As for, the Text and PDU mode, you should send a command AT+CMGF=? to the phone to know whether it supports these modes or not.
If the response is (0,1), Then the phone supports both the SMS modes. If it is 0 then it supports only PDU mode and not the Text mode and henceforth...
I should tell you that programing in PDU mode is a little complicated than sending an SMS in Text mode. For further assistance on sending SMS you may consult the link:
www.dreamfabrics.com/sms
|
|
| Back to top |
|
 |