Arduino Projects    |   Raspberry Pi  |     Electronic Circuits   |   Electronics Reference Design Library  |   AVR    |    PIC    |    8051    |    Electronic Projects

GSM SIM 300 interfacing

26 posts / 0 new
Last post
Nachiket
nachiketsd's picture
Offline
Joined: 28/01/2012
Posts: 1
Points: 225
GSM SIM 300 interfacing

I want to interface SIM300 gsm module with 89C51.I can send the AT commands to gsm module using hyperterminal.
I am also able to send the commands to hyperterminal using 89C51.But I am not able to send the AT commands to gsm module using 89C51.
Do I have to take care of handshaking signals?Plese tell me about the hardware connections.

Dexter
dexter8051's picture
Offline
Joined: 06/09/2011
Posts: 56
Points: 10590

DO THE CONFIGRATION AS BELOW

SELECT 9600

PARITY NONE

BIT RATE 8

 

TYPE AT AND SEND

IF REPLY IS OK THEN MODEM IS CONNECTED

 

Syed Aameer
aameer's picture
Offline
Joined: 05/01/2011
Posts: 39
Points: 4140

PRODUCT NAME     : GSM MODEM
HARDWARE      :  SIM 300 MODULE
COMMUNICATION     : RS232
COMMANDS    : AT
INPUT VOLTAGE    : 12VDC / 1AMP   
*************************************************************************************************************************
ANTENNA  -  PULL THE ANTENNA OUT IF THE SIGNAL IS WEAK

HOW TO TEST!!!!

1. INSERT THE SIMCARD INTO SIM TRAY BACKSIDE
2. CONNECT THE RS232 CABLE TO THE PC SERIAL PORT -  SERIAL PORT PROPERTIES ( RESTORE DEFAULTS - 9600 BAUD RATE)
3. OPEN HYPERTERMINAL FROM WINDOWS START>PROGRAMS>ACCESARIES>COMMUNICATIONS>HYPERTERMINAL
4. SELECT THE COMPORT WITH BAUD RATE 9600
5. TYPE "AT " ECHO "OK" IF ECHO IS OK COMMUNICATION IS OK !!!!!!!!!+


6. CHECK THE LED STATUS ( NETWORK SERCHING , NETWORK CONNECTED, IS SHOWN IN LED STATUS GIVEN BELOW)
****************************************************************************************************************************
 Working state of network status indication LED OUTPUT

State SIM300 function

Off SIM300 is not running
64ms On/ 0.8SEC Off SIM300 does not find the network
64ms On/ 3 SEC Off SIM300 find the network
64ms On/ 300ms Off GPRS communication
*****************************************************************************************************************************

TO CHQ GAIN - AT+CSQ=?
TO CHK NETWORK - AT+COPS=?


Examples for send and receive SMS

For sending SMS in text Mode:

AT+CMGF=1 press enter
AT+CMGS=”mobile number” press enter
Once The AT commands is given’ >’ prompt will be displayed on the screen.
Type the message to sent via SMS. After this, press ctrl+Z to send the SMS.
If the SMS sending is successful, “ok” will be displayed along with the message number.


For reading SMS in the text mode:
AT+CMGF=1 Press enter
AT+CMGR= no.
Number (no.) is the message index number stored in the sim card. For new SMS, URC will be received
on the screen as +CMTI: SM ‘no’. Use this number in the AT+CMGR number to read the message.
Voice call
Initiating outgoing call:
ATD+ mobile number; press enter
For disconnecting the active call:
ATH press enter
For receiving incoming call:
ATA press enter



**************************************************USEFUL AT COMMANDS FOR SETTINGS *****************************************************************

TO CHANGE BAUDRATE  - AT+IPR=BAUDRATE(Ex 9600) 0-115200 For maore details refer AT commands Document page 33

TO SAVE THE SETTINGS AT&W

TO RESTORE FACTORY DEFAULTS TYPE AT&F THEN SAVE IT AT&W

Dexter
dexter8051's picture
Offline
Joined: 06/09/2011
Posts: 56
Points: 10590

do the configration as below

Apache79
yahyazakir's picture
Offline
Joined: 02/12/2011
Posts: 5
Points: 470

Hi, 

 

We are also facing the same problems, We also have the SIMCOM 300. It is not able to generate the call through the Microcontroller.

 

Did you find the solution to it? Please help us with the issue, if you have got the solution.

 

Thank You for your Help.

MUTHU KUMAR GANESAN
GMKUMAR's picture
Offline
Joined: 08/04/2011
Posts: 2
Points: 125

I have faced same issue recently and fixed it by applying small work around in it. See...the module I purchased (plz check your module) is (ONLY) "RS232" interface with modem,  NO TTL compatibility.

 

The problem I faced was, the module supported to communicate via HyperTerminal, but no response when I tried with TTL logic (ie. via 89c51). Then I bye-passed the wires runing out from MAX232 (Note: to communiate in TTL logic, we do NOT require the help of MAX232, if you don't want you may remove from the board), to the pin 11 and 12 of MAX232 and connect with RX & TX of MC respectively. Now it is working....!

 

 

Thank you.

Muthu Kumar G.

srikanth
shubham436's picture
Offline
Joined: 03/05/2012
Posts: 11
Points: 55

Hi,

 

     Is it possible to send SMS to multiple numbers at a time through SIM 300?? I can able to send SMS to a single number.

Amrith
amrith's picture
Offline
Joined: 23/04/2012
Posts: 224
Points: 1000

 

Hi Srikanth,

 

It is not possible to send SMS to multiple numbers at a time. The only way to send SMS to multiple numbers is to provide some time delay in your code after each SMS is sent successfully.

AJISH ALFRED
ajishalfred's picture
Offline
Joined: 10/01/2012
Posts: 1440
Points: 6835

You can't sent the messages to multiple numbers simultaneously, but ofcourse you can send messages to multiple numbers in a quick succession. Just add a delay between each message sent.

And you know, it dosen't matter since the delivery of the message depends on the network, and there will be surely a significant delay no matter how quick you send to multiple numbers.

srikanth
shubham436's picture
Offline
Joined: 03/05/2012
Posts: 11
Points: 55

 

Amrith 

 

            thanx for your replies..  If the network unable to delivery the message  in time , then no use of my project. it can b happend due to jamming in network.  So is it possible for my microcontroller to see the delivary report and send again??

AJISH ALFRED
ajishalfred's picture
Offline
Joined: 10/01/2012
Posts: 1440
Points: 6835

 

Yes, it is possible. Once you've send a message, you should wait for the required delivery report string from the module. If it is a successful delivery, then send the next message

Amrith
amrith's picture
Offline
Joined: 23/04/2012
Posts: 224
Points: 1000

 

Hi Srikanth,
 
Use the following below commands for delivery status. It is not sure that you get delivery report every time, it depends much on network service provider, some times the SMS may be delivered to the destination but you may not get delivery status. 
 
AT+CSMP=49,167,0,0 
OK
AT+CNMI=2,2,0,1,0 
OK
AT+CMGS="Mobile Number" 
> Message content (Ctrl+Z)
+CMGS: 72
OK
+CDS: 6,228,"Mobile Number",129,"08/10/22,10:08:35+32","09/10/22,10:08:38+32",0
+CMT: "Mobile Number",,"08/10/22,10:09:17+32"
 
All the best...
srikanth
shubham436's picture
Offline
Joined: 03/05/2012
Posts: 11
Points: 55

 

 

 Thanx Amrith for the reply and i will try it tomorrow.

     

              Can you pls tell me how the crystal frequency like 4Mhz or 20 Mhz  influences my delay which i gave in the program.

Because when iam executing ATDXXXXXX;  command, its nt getting successful sometimes but is working fine with Hyperterminal all the time and also iam started working on gprs for data transfer from remote to home pc, pls give me some guidance. thanx  ...

srikanth
shubham436's picture
Offline
Joined: 03/05/2012
Posts: 11
Points: 55

Hi Amrit,

 

     Can I have your mail Id ?

Amrith
amrith's picture
Offline
Joined: 23/04/2012
Posts: 224
Points: 1000

Hi  Srikanth,

 

my mail id is amrith.tins@gmail.com

Amrith
amrith's picture
Offline
Joined: 23/04/2012
Posts: 224
Points: 1000

Hi srikanth,

 

Crystal oscillator frequency & delay routine are much related to each other. If you are using 20Mhz you need less delay compared to 4Mhz crystal. Generally most of the compilers has in build delay functions, which calculate the delay timings as you give the crystal oscillator value you are using. Refer your controller data sheet & timing diagrams for detailed description.

vijay
vijay0608's picture
Offline
Joined: 17/07/2012
Posts: 1
Points: 5

hi guys in some areas cell network is not available but while by going 5kms from there.there will be again full signal so based on this i want to do a small antenna which recieves the frequency for having atleast one strip of network so first of all is it possible to do and cany any one guide me in this plzz..

jatin patil
jatin patil's picture
Offline
Joined: 15/10/2011
Posts: 2
Points: 10

can any one help me on interfacing of gps and gsm module with atmega128????

i hav sim 300 gsm module and GSSM3 series GPS

i need some help from u guyzz

m making ma final year on tracking

 

sureshkrishnan
sureshkrishnan's picture
Offline
Joined: 24/01/2013
Posts: 1
Points: 5

send the program 

aarti
aarti159's picture
Offline
Joined: 19/02/2013
Posts: 1
Points: 5

Hey, i m also facing the same problem right now. can ny1 help me out of this.

 

thanks in advance.

 

 

rakesh namani
rakinamani's picture
Offline
Joined: 30/03/2013
Posts: 5
Points: 25

hi 

i have nokia 3500c mobile

is this mobile support AT commands?

if yes,then how can i connect this mobile to microcontroller (8051)

plz help me

varun jana
janavarun12's picture
Offline
Joined: 11/04/2012
Posts: 1
Points: 5

HI

 WHEN I GIVE AT+COPS=? TO MODULE I RETURNS ERROR SAYING

+CME ERROR 22

 

WHAT DOES IT MEAN?

Chandru P
P CHANDRU's picture
Offline
Joined: 11/04/2013
Posts: 1
Points: 5

I need source code for sending sms from AT89s52 to Gsm module...kind reply...

Tom Mathews
tom123's picture
Offline
Joined: 04/06/2013
Posts: 2
Points: 10

I need to interface sim300 module with a microcontoller circuit which measures analog data . Also I need to  receive it using another sim300 module connected to pc. how do i do it

abhishek jain
abhishekjain's picture
Offline
Joined: 26/08/2010
Posts: 1
Points: 5

Hello 

 

I'm testing my sim300 modem on hyperterminal. when i send AT it replyies with AT. infact it happens with all commands.

same send data is received. Actually i had used this modem before and it is configured in call mode, whic it is still doing properly. but now i want to change to sms mode.  can someone help?

 

regards

 

munlaiji moljengo
rodrider's picture
Offline
Joined: 22/07/2012
Posts: 1
Points: 5

i tried to send sms using sim300 and hyperterminal from my pc.

i type AT  then enter and i got ok meaning the modem is good next,

 AT+CMGF=1

OK

AT+CMGS=234 phone number

+cms error: 321

 

what have i done wrong please advice

Login or register to post comments