0% found this document useful (0 votes)
94 views

How To Use Arduino GSM Shield SIM900: Instructables

This instructable provides a beginner's guide to using an Arduino GSM shield with a SIM900 module. It discusses choosing a power supply, either powering the module separately or from the Arduino board. It also covers automatically powering on the module via software, using AT commands to control the module, receiving and making phone calls, and using the module to power the Arduino board. The guide is intended to help get started experimenting with the GSM module.

Uploaded by

Mahabub Alam
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
94 views

How To Use Arduino GSM Shield SIM900: Instructables

This instructable provides a beginner's guide to using an Arduino GSM shield with a SIM900 module. It discusses choosing a power supply, either powering the module separately or from the Arduino board. It also covers automatically powering on the module via software, using AT commands to control the module, receiving and making phone calls, and using the module to power the Arduino board. The guide is intended to help get started experimenting with the GSM module.

Uploaded by

Mahabub Alam
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 9

instructables

How to Use Arduino GSM Shield SIM900

by ahmedebeed555

Hello and welcome to instructable, I really want to I got this GSMArduino shield and decided to use it and
share those new projects I make even they were not share the experiment and knowledge with you.
so unique but sharing what I make keeps me feeling
alive. This is a complete beginner guide to this GSM Shield.
Soon I'll be sharing some useful projects I make with
So, if you like this instructable please this module. But in this instructable I'm only sharing
my experiments for getting started with this module.
Vo t e for me,
Here is my Channel on Youtube:
Le a v e a co m m e nt ,
Ae r o Ar d u i n o

How to Use Arduino GSM Shield SIM900: Page 1


Sha re with your friends,

//www.yout ube.com/embed/oScsD4 wJObY


Fa v o rit e the instructable,

Fo llo w me to see new instructables,


Supplies:
Vis it my website and
Arduino UNO
Click the a liate links
Amazon UK , Amazon DE , Amazon FR , Banggood ,
( even if you don't buy any thing - don't worry. I'm not eBay , Aliexpress
selling any thing - No spam. Only useful stu )
S IM 9 0 0 GS M M o dule
That's a long To-Do list. Choose what you want. And
thanks again for reading my instructable. Amazon UK , Amazon DE , Amazon FR , Banggood ,
eBay , Aliexpress
So Let's get started.

I love using Arduino platform as an embedded system


that you can make anything easily.

How to Use Arduino GSM Shield SIM900: Page 2


Step 1: Choosing Power Supply Source

The module can be powered by one of two ways:

Separate power source.


Power from Arduino.

You can choose the power source from the DIP switch beside the Antenna.

Typically, the module has its own power socket. So you can power it from a separate power supply of about 12V/1A
or 5V/2A.

This may be the maximum power rating or the maximum input power to support the module at its maximum
power demand periods - at making calls.

But you can also power the module directly from Arduino only by connecting the shield on top of Arduino like any
other shield. This will make Vcc and GND of the module connected to Vcc and GND of Arduino board.

At the beginning of my experiments, I made this connection without any problems. Yes you can power this high
demanding module directly from Arduinoboard but this is not recommended because this module requires high
power at transmission mode.

While I have been trying to try all types of code with this module I had no problem with power from Arduino.

But after a while I found that when I move the module and Arduino in di erent place I noticed that the power LED
on the module started to faint and eventually it powers down.

At the beginning I thought there were something wrong with the module. And I even tried another SIM card from
another service provider.

And then I remembered the power demand of this module so I went to another place with an open setup just as
How to Use Arduino GSM Shield SIM900: Page 3
you go with your mobile phone to get a better signal for clearer voice.

So at the end of my trials with software, I decided to make my project as reliable as possible by giving the module
its highest power demand from a dedicated power source.

I used a 12V/1A power adapter to power the module.

No t e :

When you power the module from an external power source Arduino cannot be powered from the module. So you
also need a separate power source for Arduino.

Step 2: Power ON the Module and Automatic Powering

How to Use Arduino GSM Shield SIM900: Page 4


You can Po we r O n and Po we r O FF the module by 2- You need to connect Arduino PIN 9 to PIN 9 on the
pressing the Power push button for one second. module and this PIN will be dedicated to that purpose
exclusively.
You can do this easily every time you need to use you
module. 3- You need to run the code snippet that power on
the module. This code typically simulates pressing the
But what if you need to have your module running in Power push button for one second.
a remote area and you had Arduino restarted. Then
you need to automatically Power ON the module dig it a lW rit e (9 , HIGH);
using Software Power ON feature.
de la y (10 0 0 );
Yo u o nly ne e d t hre e t hing s t o us e t his
f e a t ure : dig it a lW rit e (9 , LO W );

1- You need to solder the JP Jumper on the module. de la y (50 0 0 );


This jumper enable the feature from the module
hardware.

How to Use Arduino GSM Shield SIM900: Page 5


Step 3: AT Commands

You can communicate and control SIM900 GSM - Hang up a call: GPRS. print ln("AT H; " );
Module using AT commands using either S e ria l() or
S o ft S e ria l() functions.

There are so many useful AT commands that you can


commonly use.

For Example:
I uploaded the AT command guide.
- Answer incoming call GPRS. print ln("ATA; " );

Download
https://www.instructables.com/ORIG/FOG/770B/K02P2LSK/FOG770BK02P2LSK.pdf

Step 4: Receiving a Call

How to Use Arduino GSM Shield SIM900: Page 6


void ListenToCall() Serial.print(incoming_char);
{ incoming_char=GPRS.read();
// Display any text that the GSMshield sends out on if (incoming_char=='N') {
the serial monitor delay(10);
if(GPRS.available() >0) { Serial.print(incoming_char);
// Get the character from the cellular serial port incoming_char=GPRS.read();
// With an incomming call, a "RING" message is sent if (incoming_char=='G') {
out delay(10);
incoming_char=GPRS.read(); Serial.print(incoming_char);
// Check if the shield is sending a "RING" message // If the message received from the shield is RING
if (incoming_char=='R') {
delay(10); Called = Called + 1 ;
Serial.print(incoming_char);
incoming_char=GPRS.read(); delay (1000);
if (incoming_char =='I') {
delay(10); }

} }
}
}
}

Step 5: Making a Call

void Call_PhoneNumber()

{ GPRS.println("ATD + xxxxxxxxxx;");

delay(1000);

How to Use Arduino GSM Shield SIM900: Page 7


Step 6: Supply Power to Arduino

How to Use Arduino GSM Shield SIM900: Page 8


In this step we'll discuss a useful feature in this GSM You can nd 4.1V regulated and supplied from the
Module. While you can supply it from Arduino, it's shield in both OFF and ON states.
recommended to supply it from an external source of
power. After you supply Arduino or Microcontroller from your
GSM Module, Arduino or Microcontroller can power
Then as we've seen that's a more reliable approach. ON the Module as described in Step 3. Then you can
start using the Module normally.
So you can supply the GSM Module from a 12 V power
supply but you still need to supply your Arduino
Board or your main Microcontroller.

//www.yout ube.com/embed/oScsD4 wJObY


In this case you may need an extra 5V power supply.
Here comes that useful feature from SIM900 Module
in which it can supply Arduino or Microcontroller with
4.1V and even when it still in the OFF state.
Read on Embedded Egypt Blog :
That means it can still supply Arduino or
https://embedded-egypt.blogspot.com/2019/09/how-
Microcontroller as long as it's connected to its power
to-use-arduino-gsm-shield-sim900.html
source.

Read on My Website:
I've connected a couple of wires to the two pins
indicating 4.1V and GND as shown in the image.
https://aeroarduino.com/?p=298

How to Use Arduino GSM Shield SIM900: Page 9

You might also like