There was a problem previewing this document. Retrying... Download. Connect more apps... Try one of the apps below to op
“Your Robotic Solution”
SIM900 GSM GPRS Shield
User’s Manual V1.0
1|Page
Contents 1.
Introduction ............................................................................................................................. 3
2.
Packaging List........................................................................................................................... 4
3.
Pin Definitions.......................................................................................................................... 5
4.
Procedure to Interface with GSM/GPRS Shield ....................................................................... 6
2|Page
1. Introduction SIM900 GSM GPRS Shield provides a simple way to let your Arduino connect to your cell phone via GSM/GPRS network. You can use your Arduino to dial a phone number or send a text to your friend easily via using AT commands. This new version features a quad-band low power consumption GSM/GPRS module SIM900 as well as a compact PCB antenna. Features Quad-Band 850/900/1800/1900MHz GPRS multi-slot class 10/8 GPRS mobile station class B Compliant to GSM phase 2/2+ Class 4 (2W@850/900MHz) Class 1 (1W@1800/1900MHz) Control via commands (GSM 07.07, 07.05 and SIMCOM enhanced AT Commands) Short message service Free serial port selection All SIM900 pins breakout RTC supported with SuperCap Operation temperature: -40℃ ~ +85℃
3|Page
2. Packaging List The SIM900 GPS GPRS Shield comes with
SIM900 GPS GPRS Shield Board Antenna Antenna Extension Cable
SIM900 GPS GPRS Shield Board
4|Page
Antenna
Antenna Extension Cable
3. Pin Definitions
Mic Connector
Antenna Connector
Ear Phone Connector
UART Connection Setting
Please refer to the User‟s Manual for details.
5|Page
Power On and Reset Button
4. Procedure to Interface with GSM/GPRS Shield In this example, the Arduino UNO is used to interface with GSM/GPRS Shield. See below procedure in order to interface with GSM/GPRS Shield in 1. 2. 3. 4.
Making call to phone Send sms to phone Receive call from phone Receive sms from phone
Step 1 Get the sample source code. In this sample source code, it contains Arduino‟s library files. Please refer to “How to Install Arduino Library User's Manual v1.0” in order to put Arduino‟s library files to correct location. Otherwise, the program will compile fail.
Step 2 Open GSM_Shield_Test Code.
6|Page
Step 3 Inside source code, change the number[] value to the phone number you want to call to. And also change the text[] contents that you want to send to the phone. After this, burn the program to Arduino UNO.
Step 4 By using this library, the UART communication between GSM/GPRS Shield and Arduino UNO is via Arduino UNO‟s pin 2 (Rx) and pin 3 (Tx). Thus, we change the UART Connection Setting for GSM/GPRS Shield to pin 2 and pin 3 by changing the mini jumper on the GSM/GPRS Shield board. See below picture for mini jumper position.
7|Page
Step 5 Insert SIM card into the GSM/GPRS Shield board. Before this, make sure the inserted SIM Card has enough credit and not expiry.
Step 6 Connect the antenna.
8|Page
Step 7 Attach the GSM/GPRS Shield board on Arduino UNO.
Step 8 Plug in external power source with minimum 2 Ampere. In this example, 12V, 2 Ampere adapter is used.
9|Page
Step 9 Connect USB Cable between Arduino UNO and PC.
Step 10 Wait GSM/GPRS Shield turn on by observing the green led light up.
10 | P a g e
Step 11 Open “Serial Monitor” and wait GSM/GPRS Shield boot up.
Wait system startup until “no call” display on the screen.
11 | P a g e
Step 12 For making a call to the phone, refer to the source code below. When the „c‟ command is given, the GSM/GPRS Shield will make call to the phone.
Thus, send „c‟ command to the GSM/GPRS Shield via “Series Monitor” in order to make a call to the phone.
12 | P a g e
Start calling from GSM/GPRS Shield to the phone.
The phone receives the call from GSM/GPRS Shield.
13 | P a g e
Step 13 To send sms to phone, refer to below source code.
Thus, send „s‟ command to the GSM/GPRS Shield via “Series Monitor” in order to send sms (Hello World) to the phone.
14 | P a g e
Start sending sms to the phone.
The phone receives the sms “Hello World” from GSM/GPRS Shield.
15 | P a g e
Step 14 For receiving a call from phone, just call the phone number of SIM Card which inserted on the GSM/GPRS Shield. The phone is being calling to GSM/GPRS Shield.
The “Serial Monitor” displays the phone number which is calling.
16 | P a g e
Step 15 For receiving sms from phone, just send the sms to the GSM/GPRS Shield. The phone sent a message “GSM shield test” to GSM/GPRS Shield.
The “Serial Monitor” displays “GSM shield test”.
17 | P a g e
Prepared by Mybotic 4, Jalan Universiti 3, Taman Universiti, 86400, Parit Raja, Johor Tel: +6016-7170703 / +6018-9510703 URL : www.mybotic.com.my Email :
[email protected] [email protected]
18 | P a g e