GSM SIM 300 Module

Embed Size (px)

Citation preview

  • 8/10/2019 GSM SIM 300 Module

    1/3

    www.positronindia.in Embarking Embedded Adventures Page 1

    Document : Datasheet Product ID : PT0006 Product URL : http://positronindia.in/PT0006.aspx

    GSM SIM 300 Module

    INTRODUCTION

    This GSM Modem can accept any GSM network operator SIM card and act just like a mobile phone with its own unique phonenumber. Advantage of using this modem will be that you can use its RS232 port to communicate and develop embeddedapplications. Applications like SMS Control, data transfer, remote control and logging can be developed easily.

    The modem can either be connected to PC serial port directly or to any microcontroller. It can be used to send and receive SMSor make/receive voice calls. It can also be used in GPRS mode to connect to internet and do many applications for data loggingand control. In GPRS mode you can also connect to any remote FTP server and upload files for data logging.

    This GSM modem is a highly flexible plug and play quad band GSM modem for direct and easy integration to RS232 applications.

    Supports features like Voice, SMS, Data/Fax, GPRS and integrated TCP/IP stack.

    APPLICATIONS

    SMS based Remote Control & Alerts Security Applications Sensor Monitoring GPRS Mode Remote Data Logging

    FEATURES

    Highly Reliable for 24x7 operation with Matched Antenna Status of Modem Indicated by LED Simple to Use & Low Cost Quad Band Modem supports all GSM operator SIM cards

    OUR PACKAGE INCLUDES

    GSM Modem - Assembled & Tested GSM Antenna 12V/1.5A SMPS

    QUICK START GUIDE

    Insert SIM card: Press the yellow pin to remove the tray from the SIM cardholder. After properly fixing the SIM card in thetray, insert the tray in the slot provided.

    Connect Antenna: Screw the RF antenna if not already connected. Connect RS232 Cable to PC/MCU: (Cable provided for RS232 communication). Default baud rate is 9600 with 8-N-1, no

    hardware handshaking. Connect the power Supply (12V 1A) to the power input of board. Polarity should be Center +ve and outer ve DC jack. Network Led indicating various status of GSM module eg. Power on, network registration & GPRS connectivity. After the Modem registers the network, led will blink in step of 3 seconds. At this stage you can start using Modem for your

    application. AT commands can be sent to control GSM Modem.

    For more products visit our website : www.positronindia.in

  • 8/10/2019 GSM SIM 300 Module

    2/3

    www.positronindia.in Embarking Embedded Adventures Page 2

    GUIDE TO 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 send 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.

    GUIDE TO VOICE CALLING

    Initiating outgoing call:ATD+ mobile number ;

    For disconnecting the active call:ATH For receiving incoming call:

    ATA

    Note: The modem automatically sets to the baud rate of the first command sent by the host system after it is powered up. Sothere is no need for setting the baud rate using commands. Before you start using the modem, please make sure that the SIMcard you inserted support the needed features and there is enough balance in SIM.

    POWER SUPPLY REQUIREMENT

    Use DC Power Adaptor with following ratings DC Voltage: 12V DC Current Rating at least: 1A DC Socket Polarity: Centre +ve & Outside ve Current consumption in normal operation 250mA, can rise up to 1Amp peak while transmission so your power supply shouldbe able to handle at least 1Amp current. Power supply is included in the packaging of this product. SERIAL CABLE DETAILS

    Serial Cable provided has following pins connected with RS232 level (+12V / -12V) output Pin 2 is RS232 level TX output Pin 3 is RS232 level RX input Pin 5 is Ground

    Serial Cable connections

    To use with a PC serial port, use a serial cable of male-female type with pins 2,3,5 connected to 2,3,5 straight(no cross overcable).

    You can purchase the cables from http://positronindia.in

  • 8/10/2019 GSM SIM 300 Module

    3/3

    www.positronindia.in Embarking Embedded Adventures Page 3

    SAMPLE CODE FOR INTERFACING WITH MICRO CONTROLLER FOR SENDING SMS

    Connect MCU TXD/RXD through MAX232 so your MCU can communicate with GSM Modem.

    Then use following reference code to send SMS. Before you go ahead with MCU interfacing, it is bestpractice to first try all these commands with PC with the use of Terminal software. Then make a note of allAT commands and then proceed with development.

    void main(){initADC(); // setup ADCserialInit(); // setup 9600 serial communicationwhile(1){printf("AT\n");delayms(2000); // 2 sec delayprintf("AT+CMGF=1\n");delayms(2000); // 2 sec delayprintf("AT+CMGS=\"09825858509\"\n");delayms(2000); // 2 sec delayprintf ("CH#1=%bu ", getADC(1)); // sends ADC value as SMSputchar(26); // Ctrl-Z indicates end of SMS and transmit messagedelayms(2000); // 2 sec delay } }