gsm at commands

Upload: akshay-saini

Post on 04-Apr-2018

213 views

Category:

Documents


0 download

TRANSCRIPT

  • 7/31/2019 GSM at Commands

    1/11

    GSM module

    BRiCS 1

  • 7/31/2019 GSM at Commands

    2/11

    PIN outs

    BRiCS 2

  • 7/31/2019 GSM at Commands

    3/11

    USART

    BRiCS 3

    Asynchronous or Synchronous Operation

    Master or Slave Clocked Synchronous Operation

    High Resolution Baud Rate Generator

    Supports Serial Frames with 5, 6, 7, 8, or 9 Data Bits and 1 or 2 Stop Bits

    Odd or Even Parity Generation and Parity Check Supported by Hardware

    Three Separate Interrupts on TX Complete, TX Data Register Empty,

    and RX Complete

    Double Speed Asynchronous Communication Mode

  • 7/31/2019 GSM at Commands

    4/11

    Software

    X-CTU

    X-CTU allows to communicate with the device using the technology UART that is a

    communication protocol ,Through which we can communicate from our PC t0 several

    devices.

    Which also allow you for different setting for different devices

    It also language transparency with hex code, user are allowed to write there code in

    hex.

    It can detect the compactable devices through which it can communicate

    BRiCS 4

  • 7/31/2019 GSM at Commands

    5/11

    GSM AT Commands

    Command line

    Commands always start with AT and finish with a character

    (0x0D)

    Information responses and result code

    _ If command syntax is incorrect, an ERRORstring is returned.

    _ If command syntax is correct but with some incorrectparameters, the +CME ERROR:or +CMS ERROR : strings are returned with different errorcodes._ If the command line has been performed successfully, an OK

    string is returned. BRiCS 5

  • 7/31/2019 GSM at Commands

    6/11

    GSM AT Commands

    SIM Insertion, SIM RemovalThe AT+CPIN? command delivers the followingresponses:

    If the SIM detect pin indicates absent, the response toAT+CPIN? is +CME ERROR 10

    If the SIM detect pin indicates present, and the insertedCard is a SIM Card, the responseto AT+CPIN? is +CPIN: xxx depending on SIM PIN state.

    BRiCS 6

  • 7/31/2019 GSM at Commands

    7/11

    GENERAL COMMANDS

    Command syntax: AT+CGMI

    This command gives the manufacturer identification

    Command syntax: AT+CGSNThis command allows the user application to get the IMEI

    Command syntax: AT+ECHO?0: Deactivate Echo1:Activate Echo

    Command syntax: AT+ECHO=This allows us to keep change in the activation andd deactivation of command

    Signal Quality +CSQCommand syntax: AT+CSQ+CSQ: ,:31: -51dBm or greater99: not known or not detectable

    : 07: as RXQUAL values in the table GSMBRiCS 7

  • 7/31/2019 GSM at Commands

    8/11

    GENERAL COMMANDS

    Command syntax: AT+CMGSThis command allow you to send messages

    Command syntax: AT+CMGR

    This command allows the user to read the messages

    Command syntax: AT+CMGDThis command allows the user to delete the messages

    Dial command D

    The ATD command sets a voice, data or fax call. As per GSM Module, the dialcommand also controls supplementary services.

    Command syntax: ATD where is the destination phone number.

    BRiCS 8

  • 7/31/2019 GSM at Commands

    9/11

    GSM Module

    Specifications

    GSM MODEM SIM 300 WITH SIM CARD HOLDER ,

    ANTENNA

    AND RS232 INTERFACE .

    GSM/ GPRS MODEM Using SIMCOM-300

    Module.

    RS 232 Interface. DB9 port.

    On Board Voltage regulator.

    Power / Signal LED Indication.

    SMA Connector for antenna connection.BRiCS 9

  • 7/31/2019 GSM at Commands

    10/11

    Hardware

    Description about the whole communication

    BRiCS 10

  • 7/31/2019 GSM at Commands

    11/11

    RS-232.

    The RS-232 interface has common ground between the DTE and DCE

    MAX233 performs the same job as MAX232 but eliminates the need for

    capacitors

    o A line driver such as the MAX232 chip is required to convert RS232 voltage

    levels to TTL levels, and vice versa In RS232, a 1 is represented by -3 ~ -25 V, while a 0 bit is +3 ~ +25 V, making -3

    +3 undefined

    Those two pins are calle TxD and RxD and these pins are TTL compatible;

    therefore, they require a line driver to make them RS232 compatible

    BRiCS 11