Microcontroller › 8051 › GSM SIM 300 interfacing
- This topic has 25 replies, 18 voices, and was last updated 10 years ago by
PAVAN KULKARNI.
-
AuthorPosts
-
February 6, 2012 at 6:17 pm #1676
Nachiket
ParticipantI 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.February 9, 2012 at 2:25 pm #7126Dexter
ParticipantDO THE CONFIGRATION AS BELOW
SELECT 9600
PARITY NONE
BIT RATE 8
TYPE AT AND SEND
IF REPLY IS OK THEN MODEM IS CONNECTED
February 10, 2012 at 1:06 pm #7138Syed Aameer
ParticipantPRODUCT NAME : GSM MODEM
HARDWARE : SIM 300 MODULE
COMMUNICATION : RS232
COMMANDS : AT
INPUT VOLTAGE : 12VDC / 1AMP
*************************************************************************************************************************
ANTENNA – PULL THE ANTENNA OUT IF THE SIGNAL IS WEAKHOW 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 OUTPUTState 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
February 10, 2012 at 11:00 pm #7144Dexter
Participantdo the configration as below
March 7, 2012 at 6:54 pm #7278Apache79
ParticipantHi,
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.
March 13, 2012 at 4:24 pm #7295MUTHU KUMAR GANESAN
ParticipantI 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.
May 23, 2012 at 11:32 pm #7887srikanth
ParticipantHi,
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.
May 24, 2012 at 5:54 am #7890Amrith
ParticipantHi 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.
May 25, 2012 at 6:00 pm #7906AJISH ALFRED
ParticipantYou 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.
May 26, 2012 at 6:17 pm #7913srikanth
ParticipantAmrith
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??
June 2, 2012 at 5:27 pm #7956AJISH ALFRED
ParticipantYes, 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
June 4, 2012 at 2:05 pm #7963Amrith
ParticipantHi 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,0OKAT+CNMI=2,2,0,1,0OKAT+CMGS=”Mobile Number”> Message content (Ctrl+Z)+CMGS: 72OK+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…June 10, 2012 at 7:01 am #7987srikanth
ParticipantThanx 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 …
June 11, 2012 at 12:18 pm #8001srikanth
ParticipantHi Amrit,
Can I have your mail Id ?
June 11, 2012 at 12:24 pm #8003Amrith
Participant -
AuthorPosts
- You must be logged in to reply to this topic.