Вы находитесь на странице: 1из 16

Introduction to GSM

Contents

About GSM.

About SIM 300 Module.

AT command set.

Programming of GSM.
What is
GSM ?
• Global System for Mobile (GSM) is
a second generation cellular
standard developed to cater voice
services and data delivery using
digital modulation
GSM operating range
In the United States, GSM operates on
frequencies in the range of 1.9 GHz and 850 MHz .

The 850 MHz range is also used in many other


countries, such as Australia and some in South
America.

In Europe, GSM operates in the ranges of 900


MHz and 1.8 GHZ.

The ranges are not that important to consumers,


who are generally more concerned about
transmission speeds and reliability.
Subscriber Identity Module (SIM)
One of the key features of GSM is the
Subscriber Identity Module, commonly known as a
SIM card.

It contains the user's subscription information and


phone book.

This allows the user to retain his or her


information after switching handsets.

Alternatively, the user can also change operators


while retaining the handset simply by changing the
SIM.
GSM in India

Figures: March 2005


Reliance
3%
Spice MTNL Bharti
Aircel
4% 2% BSNL
4% Bharti
27% Hutch
BPL
6% IDEA
BPL
IDEA Aircel
13%
BSNL Spice
Hutch 22% Reliance
19%
MTNL
GSM Architecture
EMBEDDED + WIRELESS GSM
SIM 300 Modem
Features
RS232 interface for direct
communication with computer.

Push type SIM Card holder.

SMA connector for GSM Antenna.

On board power supply regulator for


external Supply voltage range 7V to 32V
AT COMMAND SET

• AT INITIATE THE GSM MODEM

• ATD98XXXXXXX; THIS WILL ESTABLISH


THE CALL TO SPECIFIC USER

• ATATO ANSWER THE CALL

• ATHTO DISCINNECT THE CALL


AT COMMAND SET

• AT+CMGF=1INITITATE THE GSM MODEM


IN TEXT MODE

• AT+CMGS=98XXXXXX;
>TYPE YOUR MESSAGE HERE
CRTL+ZTO SEND MESSAGE

• AT+CMGR=MESSAGE NO. IN YOUR INBOX


MESSAGE WILL BE DISPLAYED
Embedded gsm HARDWARE
Call Control Commands and SMS commands
/* press reset of gsm.
connect jp4-->jp12.
press sw1 to send AT command.
sw2 to send mobile no.(change the moile no. in the
code below).
sw3 to establish call.
sw4 to hang up call. ****/

#include<reg51.h>
#include<stdio.h>
sbit sw1=P1^0;
sbit sw2=P1^1;
sbit sw3=P1^2;
sbit sw4=P1^3;

delay()
{
int i;
for(i=0;i<=30000;i++);
}
void main()
{
TMOD=0X20;
TH1=0XFD; //set baud rate 9600 or FA 4800
SCON=0X50;
TR1=1;
TI=1;
while(1)
{
if(sw1==1)
{
printf("at");
printf("\n "); //press sw1 to send AT command.

printf("\r ");
delay();
}
if(sw2==1)
{
printf("atd9876675062; "); //sw2 to send mobile no.
delay();
}
if(sw3==1)
{
printf("\n "); //sw3 to establish
call.
printf("\r ");
delay();
}

if(sw4==1)
{
printf("ATA"); // sw4 to hang up
call.
delay();
delay();
delay();
printf("\n ");
printf("\r ");
delay();
}
}
}

Вам также может понравиться