Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
com
Document: Datasheet
Date: 19-Apr-12
Model #: 1122
GSM Modem
This GSM Modem can accept any GSM network operator SIM card and act just like a mobile phone with its own unique phone number. Advantage of using this modem will be that you can use its RS232 port to communicate and develop embedded applications. 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 SMS or make/receive voice calls. It can also be used in GPRS mode to connect to internet and do many applications for data logging and 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
More Images
Sunrom Technologies
Visit us at www.sunrom.com
Quick Start
Insert SIM card: Press the yellow pin to remove the tray from the SIM cardholder. After properly fixing the SIM card in the tray, 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) o Default baud rate is 115200 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
Following document list all AT commands and their details to use GSM Modem. http://www.sunrom.com/files/gsm.zip
Voice call
Initiating outgoing call: ATD+ mobile number; <enter key> For disconnecting the active call: ATH <enter key> For receiving incoming call: ATA <enter key>
Note: The modem automatically sets to the baud rate of the first command sent by the host system after it is powered up. So there is no need for setting the baud rate using commands. Before You Start using the modem, please make sure that the SIM card you inserted support the needed features and there is enough balance in SIM.
Sunrom Technologies
Visit us at www.sunrom.com
This window will show all responses received from GSM Modem in realtime. You can write commands here and click on M1, M2 or M3 buttons to send commands.
Whatever is sent to modem is shown here. You can also write directly here for ex. AT<Enter> or any other command.
The #013 you see here is actually Enter Key character code
Sunrom Technologies
Visit us at www.sunrom.com
GSM
Then use following reference code to send SMS. Before you go ahead with MCU interfacing, it is best practice to first try all these commands with PC with the use of Terminal software. Then make a note of all AT commands and then proceed with development.
void main() { initADC(); // setup ADC serialInit(); // setup 9600 serial communication while(1) { printf("AT\n"); delayms(2000); // 2 sec delay printf("AT+CMGF=1\n"); delayms(2000); // 2 sec delay printf("AT+CMGS=\"09825858509\"\n"); delayms(2000); // 2 sec delay printf ("CH#1=%bu ", getADC(1)); // sends ADC value as SMS putchar(26); // Ctrl-Z indicates end of SMS and transmit message delayms(2000); // 2 sec delay } }
Sunrom Technologies
Visit us at www.sunrom.com
Sunrom Technologies
Visit us at www.sunrom.com
For details on above AT Commands See GSM Modems AT Command Set Document http://www.sunrom.com/files/gsm.zip
Sunrom Technologies
Visit us at www.sunrom.com
RS232 Details
Serial Cable provided has following pins connected with RS232 level (+12V / -12V) output o Pin 2 is RS232 level TX output CN2 o Pin 3 is RS232 level RX input DB9-FEMALE 1 o Pin 5 is Ground Serial Cable connections for RS232 interfacing (Provided with product) 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 over cable). Below is pinout of 3 Core serial cable provided with Product
6 2 7 3 8 4 9 5 < RS232 TXD OUT > RS232 RXD IN
RS232
Sunrom Technologies
Visit us at www.sunrom.com
Sunrom Technologies
Visit us at www.sunrom.com
Related Links
We have included all Specifications documents below into this single SDK ZIP file: http://www.sunrom.com/files/gsm.zip SIM900 - Specification SIM900 - Hardware Design_V1.01 SIM900 - Hardware Design_V1.03 SIM900_AT Command Set_V1 SIM900-EVB_UGD_V1.01 AN_SIM900-TE pcb layout - schematic for reference _v1.01 AN_SIM900 Reference Design Guide_V1.01 AN_SMT Module RF Reference Design Guide_V1.01 Module secondary SMT UGD_V1.08 AN_SIM900_Audio LINE-IN input_V1.01 SIM900_AN_TCPIP_V1.00
10
Sunrom Technologies
Visit us at www.sunrom.com