Arduino Forum

Products => Arduino GSM Shield => Topic started by: ShadedCyan on Oct 04, 2014, 06:57 am

Title: Arduino GSM Shield not responding?
Post by: ShadedCyan on Oct 04, 2014, 06:57 am
I'm trying to get my arduino GSM shield working with the example "Send SMS" code provided. However, when I upload and compile the program, the serial monitor displays "SMS Messages Sender" and nothing else occurs.

Would greatly appreciate it if someone can tell me where I could have gone wrong.

I'm currently using the Arduino Mega. I'm following the guide provided by the Arduino's website with the code part of the example that comes with the Arduino program. Attached is wad is shown on the monitor.

I am using both a USB cable and an external power supply. I have performed the jumper wire modification required for the Mega to work with the shield as well.
Title: Re: Arduino GSM Shield not responding?
Post by: robtillaart on Oct 04, 2014, 07:04 pm
no experience, do you have a sim card in the shield?

Title: Re: Arduino GSM Shield not responding?
Post by: rossati on Oct 05, 2014, 11:39 am
Hello

I also have troubles working with GSM Shield:

I'm afraid to put myself in a business similar discomfort with how of Arduino Yun.
My only (enough) positive activity on Arduino was with WIFI Shield.

John Rossati

Title: Re: Arduino GSM Shield not responding?
Post by: Alex198604 on Oct 09, 2014, 12:22 am
Hello I´m also new in the arduino-world!
I also want to use the arduino mega bord 2560 with the gsm/gprs shield but it doesn`t work.

I think there must be a problem with the sim card connection, because i tried the whole process (upload the programm, sim card with no pinnumber, serial monitor......wait) without sim card and arduino didn`t recognise a problem.

Here a shortcut from the gsm library:

   if(gsmAccess.begin(PINNUMBER)==GSM_READY)
      notConnected = false;
    else
    {
      Serial.println("Not connected");
      delay(1000);
    }
  }
 
  Serial.println("GSM initialized");



This program should tell you that you have connected or not, but it doesnt!!

It doesnt tell me anything in the serial monitor!


So i hope someone could help me/us because i have tried everything i could with no result.
Title: Re: Arduino GSM Shield not responding?
Post by: rossati on Oct 10, 2014, 11:09 am
Hello

my be the problem on GSM library:

"The GSM3 library has an error. It includes HardwareSerial.h instead of Arduino.h in some classes."

see http://forum.arduino.cc/index.php?topic=258591.0 (http://see http://forum.arduino.cc/index.php?topic=258591.0)

John Rossati
Title: Re: Arduino GSM Shield not responding?
Post by: MarcoSilenzi on Oct 21, 2014, 09:06 am
hello

I have the same problem....only "SMS Messages Sender" appear.

Did someone solve it?
Title: Re: Arduino GSM Shield not responding?
Post by: LLmdw on Oct 21, 2014, 07:00 pm
I'm also having this problem. Seems to be popping up a lot lately. I've tried all the basic fixes such as using external power supplies or trying other SIMs and still can not find a solution. I'm using an Uno rather than the Mega.

Anyone with an idea would be very appreciated!

Title: Re: Arduino GSM Shield not responding?
Post by: cabbi on Oct 21, 2014, 07:22 pm
I have the same issue, especially when the board powers up.

Looking around this forum and StackOverflow I did arrange this piece of code. It has a timeout and if the GSM module does not initialize, the software will restart.

This does NOT fix the issue itself, but does a workaround to avoid the module to get stuck. Sometime, it needs a few restarts to get the GSM Shield initialized.

Code: [Select]
void(* SoftReset) (void) = 0; // declare reset function @ address 0

void InitGSM(char* pin)
{
   unsigned long myTimeout = 50000; // YOUR LIMIT IN MILLISECONDS
   unsigned long timeConnect = millis();
  
   Serial.println("\nTrying to connect..");
  
   // Use async mode and requires that GSM debug mode has been set on GSM object creation
   gsmAccess.begin(pin, true, false);
  
   while(millis()-timeConnect < myTimeout)
   {
      // Call this if debugging is on. Otherwise we will never reach GSM_READY...?!?
      gsmAccess.ready();
      
      // might not call ready too often.??? See GSM3ShieldV1AccessProvider.cpp, GSM3ShieldV1AccessProvider::begin
      delay(1000);
      
      // Status check
      if (gsmAccess.getStatus() == GSM_READY)
      {
         return;  
      }
   }
   Serial.println("\nTimeout!");
   delay(500); // Let the message printout before reset is performed!
  
   SoftReset();
}

 
I'm deeply investigating the why of this issue. Having the GSM debug feature on, I saw the GSM module stuck at the first AT attempt. So maybe I'll change the GSM library code to retry this first initialization step. Once this first step has passed, the other steps just run well (that's what I noticed so far)

Hope this helps,
Cabbi

P.S.
Does the Arduino's SIM900 GSM module have the same kind of issue?
Title: Re: Arduino GSM Shield not responding?
Post by: MarcoSilenzi on Oct 21, 2014, 11:10 pm
where should I put this code? inside the setup?
Title: Re: Arduino GSM Shield not responding?
Post by: cabbi on Oct 22, 2014, 05:23 am
where should I put this code? inside the setup?
Typically, yes!

The above 'InitGSM' function replaces this:

Code: [Select]
   if(gsmAccess.begin(PINNUMBER)==GSM_READY)
      notConnected = false;
    else
    {
      Serial.println("Not connected");
      delay(1000);
    }
  }
 
  Serial.println("GSM initialized");
Title: Re: Arduino GSM Shield not responding?
Post by: LLmdw on Oct 22, 2014, 06:04 pm
Hi all, I found a "fix" for this problem for me. Might be worth it for you to try as well. 

I got in touch with telefonica through their "contact us" link on the page where you can manage your SIM card that came with the GSM shield.

They informed me that they had had some server issues, and that the SIM I activated hadn't actually been activated on their end. They took care of this and my setup then worked just fine!

They also informed me that they have been having bug issues with the PINManagement example sketch. If you're using this sketch at all, try another GSM example sketch such as SMS or WebClient.
Title: Re: Arduino GSM Shield not responding?
Post by: Apis66 on Oct 29, 2014, 01:31 pm
Hi,

I still have problems to connect arduino gsm shield to the network.
I've tried to use the suggested init procedure with no success.

I've also run many examples of the library.

The problem is always the same.

No access to the network.


Anyone with an idea would be very appreciated!

Regards,

/A
Title: Re: Arduino GSM Shield not responding? // issue with GSM shield on Mega
Post by: ronaldgadget on Jan 10, 2015, 12:08 pm
I also run into this problem with the Arduino GSM-shield and Mega2560.

- erratic behavior when powering up or when resetting the Arduino.
- program is hung at gsmAccess.begin(PinCode)==GSM_READY statement
- I see that the network LED turns off
- from here you can wait until eternity....

==> I found out that a longer power off cycle (unplug power, wait at least 30 seconds, replug power) then will usually get the GSM going, without any program change.

Of course, this does not explain the erratic behavior....
Title: Re: Arduino GSM Shield not responding? / more insights
Post by: ronaldgadget on Jan 11, 2015, 11:27 pm
After working for most of Saturday and Sunday with the GSM shield on the Mega 2560, I come to the following insights:
Title: Re: Arduino GSM Shield not responding?
Post by: ziocal on Feb 10, 2015, 07:12 pm
Hi Guys,
I just bought the GSM Shield and I have the same problem of ShadedCyan and I'm using Arduino Leonardo.  When I upload and compile the program "Send SMS", the serial monitor displays "SMS Messages Sender" and nothing else occurs.

Did someone solved this problem so far?

Thank you All

Title: Re: Arduino GSM Shield not responding?
Post by: Haas11 on Mar 05, 2015, 05:16 pm
Hi there,
Having the same problem with the GPRS Shield V2 icw UNO.

Stuck at "SMS Message Sender".

Tried editing the GSM class to retry connecting many times until it timesout, no succes.
Also tried several other workarounds, but no luck so far.

Anyone a solution yet?

Directly working with AT commands seems to work fine, although for my purposes I could really use the GSM functionality.
Title: Re: Arduino GSM Shield not responding?
Post by: KingRamses on Mar 21, 2015, 03:58 pm
I'm trying to get my arduino GSM shield working with the example "Send SMS" code provided. However, when I upload and compile the program, the serial monitor displays "SMS Messages Sender" and nothing else occurs.

I got the exact same problem, i have try a LOT of diferent thing to make it work.

Does anybody have found a fix for this?
Title: Re: Arduino GSM Shield not responding?
Post by: jgatvl on Apr 16, 2015, 12:59 am
Same problem over here. Board says it's connected to network but stuck on this line. Same thing happens on other examples. First time GPRS shield user
Title: Re: Arduino GSM Shield not responding?
Post by: cbryce20 on Apr 24, 2015, 02:47 am
Hi, I am using the Arduino Mega ADK, and I am able connect sometime. It seem I can only connect between 1 and 3 times per day. This is a problem for especially when I have to demo my project. And it also take very long to reconnect.

If you are using the same card that I am using, then make sure to follow the instruction on the Arduino site (jump the pin they stated and bend the pin so it don't make connection as they stated.

Then use one of the sample program from Arduino IDE to test the connection, that should work for you.
Title: Re: Arduino GSM Shield not responding?
Post by: nixrobot on Apr 25, 2015, 01:40 pm
Hi !

I bought 2 weeks ago the GSM shield Rev2

I use it with the UNO board with the example code : "send SMS" , and I had the same behavior : Just the message "SMS Messages Sender"

It was due to the PIN number , I setted a wrong one. So I tried with my mobile phone and then I remembered the correct one and then confirmed it.

Then the arduino goes to the message "not connected"
I had always this message. I was disapointed.

But I found a small button named "power" on the shield. I push it few second
and then the status led switch on and the status led started blinking !!
Then I press the reset button to restart the soft, and it started to work !

I reached to send a SMS to my mobile phone !


On things that still doesn't work, is the serial, I cannot write characters on the serial console.
So I put my number and the text in constant in the code.

And I added a whiel(1); at the end of the loop, to avoid sending lot of same SMS.

Hope it help someone
Title: Re: Arduino GSM Shield not responding?
Post by: piyushj1211 on May 11, 2015, 06:47 pm
i have the same problem with send sms code if any one got it please reply
Title: Re: Arduino GSM Shield not responding?
Post by: maxouv327 on May 26, 2015, 11:26 pm
hi all,

same problem uno+antenova --> stuck in "not connected"

thx nixorbot i haven't even notice that i should press the power button to launch the program.
now status led is on whith but the led next to it is blinking indefinetly every 3 sec.

hope someone will post any advice.

++
Title: Re: Arduino GSM Shield not responding?
Post by: maxouv327 on May 27, 2015, 05:35 pm
hi,

It works for me.

I have arduino uno+antenova.

First my problem of connection was due to PIN code. I disabled it with a cellphone and then put into antenova.
Second i was unable to communicate withserial port like Nixrobot. It is due to console configuration you have to set "new line" in themenu at the bottom right.

Hope it helps.
++
Title: Re: Arduino GSM Shield not responding?
Post by: rvrostaing on Jun 14, 2015, 08:19 pm
Hi,
I have the arduino board (GSM shield V2 rev3) without antenna so i put a wifi antenna on it (same screw system).
Board is Arduino Uno Rev3.
IDe V1.6.4.
Power supply 12V and 1 Amp.
SIM card has no Pinnumber (desactivated) and work fine in a mobile phone.
SIM provider is ''free'' (french provider).
I do power up the shield.

Modem seems to work because example ''tools/ test modem'' works fine.

Test GPRS, Send SMS are not working... And i am totally stuck here !
I have the message ''SMS message sender'' and then nothing.

Any idea ?
Thanks for giving any tip !


Title: Re: Arduino GSM Shield not responding?
Post by: impact on Jun 19, 2015, 05:34 pm
I had similar issues but I managed to solve it with activation of data transfer (with my provider and prepaid SIM you must activate data separately). I didn't think it matter as I wanted just SMS services... but it did ;)
Title: Re: Arduino GSM Shield not responding?
Post by: rvrostaing on Jun 19, 2015, 08:14 pm
Thanks for your reply !
Data is activated by default by the provider.

Finaly in my case it was link to the antenna. There must be a GSM antenna... (sounds basic, yes...). Even more important if GSM connection is poor.
Title: Re: Arduino GSM Shield not responding?
Post by: MrStoppable on Jun 22, 2015, 10:15 pm
I am having the same problems i have gone through many fixes for this issue but my serial console simply sits at "SMS Messages Sender".

Did the external antenna work for you rvrostaing?

Title: Re: Arduino GSM Shield not responding?
Post by: rvrostaing on Jun 23, 2015, 07:17 am
Yes it changes everything even without external power supply (still recommanded). Antenna is quite cheap .
Title: Re: Arduino GSM Shield not responding?
Post by: MrStoppable on Jun 24, 2015, 01:08 am
alright i am going to try that thank you so much!
Title: Re: Arduino GSM Shield not responding?
Post by: David_Danieli on Jun 29, 2015, 04:25 pm
Hello!
 I normally use a power supply of 2 Amp, see the arduino gsm shield page.
I use an antenna (very important as rvrostaing said), I can initialize the gsm, receive and send sms. I don't use the Telefonica SIM but another Italian provider (Wind). I've the first version of the gsm shield. My problem is that the shield doesn't work and make the arduino uno go into tilt when there are more than ca. 15 sms on memory not read or deleted. If somebody has the same problem please answer.
Bye
Title: Re: Arduino GSM Shield not responding?
Post by: parmares on Jul 03, 2015, 03:47 pm
Hi ,

I have the same problem. I use rogers provider in Canada and connect the arduino to 12 volt , 1 Amp power supply.
I try to use webclient example, GSM connect to simcard , but when try to send http commands , connection failed and the net led turn off.
I try AT commands and below is the result:
Code: [Select]
AT%13%
79 88>AT%13%%13%%10%OK%13%%10%
AT+CGREG?%13%
88 5>AT+CGREG?%13%%13%%10%+CGREG: 0,2%13%%10%%13%%10%OK%13%%10%%13%%10%Call Ready%13%%10%
AT+CGREG?%13%
5 45>AT+CGREG?%13%%13%%10%+CGREG: 0,2%13%%10%%13%%10%OK%13%%10%%252%%240%%240%%240%%240%%240%%240%%240%%240%
AT+CGREG?%13%
69 0>AT+CGREG?%13%%13%%10%+CGREG: 0,2%13%%10%%13%%10%OK%13%%10%%240%%240%%240%%240%%240%%240%%240%%240%%240%%240%%240%%240%%240%%240%%240%%240%%240%%240%%240%%240%%240%%240%%240%%240%%240%%240%%240%%240%
AT+CGREG?%13%
9 41>AT+CGREG?%13%%13%%10%+CGREG: 0,2%13%%10%%13%%10%OK%13%%10%%252%
AT+CGREG?%13%
41 73>AT+CGREG?%13%%13%%10%+CGREG: 0,5%13%%10%%13%%10%OK%13%%10%%252%
AT+IFC=1,1%13%
73 98>AT+IFC=1,1%13%%13%%10%OK%13%%10%%240%%240%%240%%240%%240%%240%%240%%240%
AT+CMGF=1%13%
106 124>%19%%17%AT+CMGF=1%13%%13%%10%OK%13%%10%
AT+CLIP=1%13%
124 12>AT+CLIP=1%13%%13%%10%OK%13%%10%
ATE0%13%
12 23>ATE0%13%%13%%10%OK%13%%10%
AT+COLP=1%13%
23 29>%13%%10%OK%13%%10%
AT+CGATT=1%13%
29 35>%13%%10%OK%13%%10%
AT+QIFGCNT=0%13%
35 41>%13%%10%OK%13%%10%
AT+QICSGP=1,"apn","",""%13%
41 47>%13%%10%OK%13%%10%
AT+QIMUX=0%13%
47 53>%13%%10%OK%13%%10%
AT+QIMODE=1%13%
53 59>%13%%10%OK%13%%10%
AT+QINDI=1%13%
59 65>%13%%10%OK%13%%10%
AT+QIREGAPP%13%
65 71>%13%%10%OK%13%%10%
AT+QIACT%13%
71 115>%252%%240%%240%%240%%240%%240%%240%%240%%240%%240%%240%%240%%240%%240%%240%%240%%240%%240%%240%%240%%240%%240%%240%%240%%240%%240%%240%%240%%240%%240%%240%%240%%240%%252%%13%%10%OK%13%%10%%240%%240%%240%%240%
connecting...
AT+QIDNSIP=1%13%
119 0>%13%%10%OK%13%%10%%240%%240%%240%
AT+QIOPEN="TCP","arduino.cc",80%13%
1 7>%13%%10%OK%13%%10%
connection failed

OK
ððððððððððððððððððððððððððððððððððððððððððððððððüððððððððððððððððððððàð
Title: Re: Arduino GSM Shield not responding?
Post by: parthiparasu on Jul 11, 2015, 01:52 pm
i am having error in pin number checking and when i comment that pin number part i cant get local IP i don't know what is the solution i am using aircel sim and my code is


#include <GSM.h>

// PIN Number
#define PINNUMBER "0000"

// APN data
#define GPRS_APN  "airtelgprs.com" // replace your GPRS APN
#define GPRS_LOGIN  ""       // replace with your GPRS login
#define GPRS_PASSWORD  "" // replace with your GPRS password


// initialize the library instance
GPRS gprs;
GSM gsmAccess;     // include a 'true' parameter for debug enabled
GSMServer server(80); // port 80 (http default)

// timeout
const unsigned long __TIMEOUT__ = 10 * 1000;

void setup()
{
 // initialize serial communications and wait for port to open:
 Serial.begin(9600);
 while (!Serial) {
   ; // wait for serial port to connect. Needed for Leonardo only
 }
Serial.println("Starting...");
 // connection state
 boolean notConnected = true;

 // Start GSM shield
 // If your SIM has PIN, pass it as a parameter of begin() in quotes
 while (notConnected)
 {
   if ((gsmAccess.begin(PINNUMBER) == GSM_READY) &
       (gprs.attachGPRS(GPRS_APN, GPRS_LOGIN, GPRS_PASSWORD) == GPRS_READY))
     notConnected = false;
   else
   {
     Serial.println("Not connected");
     delay(1000);
   }
 }

 Serial.println("Connected to GPRS network");

 // start server
 server.begin();

 //Get IP.
 IPAddress LocalIP = gprs.getIPAddress();
 Serial.println("Server IP address=");
 Serial.println(LocalIP);
}

void loop() {


 // listen for incoming clients
 GSMClient client = server.available();



 if (client)
 {
   while (client.connected())
   {
     if (client.available())
     {
       Serial.println("Receiving request!");
       bool sendResponse = false;
       while (char c = client.read()) {
         if (c == '\n') sendResponse = true;
       }

       // if you've gotten to the end of the line (received a newline
       // character)
       if (sendResponse)
       {
         // send a standard http response header
         client.println("HTTP/1.1 200 OK");
         client.println("Content-Type: text/html");
         client.println();
         client.println("<html>");
         // output the value of each analog input pin
         for (int analogChannel = 0; analogChannel < 6; analogChannel++) {
           client.print("analog input ");
           client.print(analogChannel);
           client.print(" is ");
           client.print(analogRead(analogChannel));
           client.println("<br />");
         }
         client.println("</html>");
         //necessary delay
         delay(1000);
         client.stop();
       }
     }
   }
 }
}
Title: Re: Arduino GSM Shield not responding?
Post by: parmares on Jul 13, 2015, 05:28 pm
I fixed the error that I had.

http://forum.arduino.cc/index.php?topic=332413.0  (http://forum.arduino.cc/index.php?topic=332413.0)
Title: Re: Arduino GSM Shield not responding?
Post by: David_Danieli on Jul 14, 2015, 05:07 pm
Good job! When you solve a software problem you can only be proud of yourself! ;)
Title: Re: Arduino GSM Shield not responding?
Post by: merci on Jul 17, 2015, 01:46 pm
open this link
https://forum.arduino.cc/index.php?topic=284389.0
Title: Re: Arduino GSM Shield not responding?
Post by: mpena on Sep 30, 2015, 10:24 pm
Same problem here, and the only solution that works for me was that reset routine. Thanks cabbi! :D




I have the same issue, especially when the board powers up.

Looking around this forum and StackOverflow I did arrange this piece of code. It has a timeout and if the GSM module does not initialize, the software will restart.

This does NOT fix the issue itself, but does a workaround to avoid the module to get stuck. Sometime, it needs a few restarts to get the GSM Shield initialized.

Code: [Select]
void(* SoftReset) (void) = 0; // declare reset function @ address 0

void InitGSM(char* pin)
{
   unsigned long myTimeout = 50000; // YOUR LIMIT IN MILLISECONDS
   unsigned long timeConnect = millis();
  
   Serial.println("\nTrying to connect..");
  
   // Use async mode and requires that GSM debug mode has been set on GSM object creation
   gsmAccess.begin(pin, true, false);
  
   while(millis()-timeConnect < myTimeout)
   {
      // Call this if debugging is on. Otherwise we will never reach GSM_READY...?!?
      gsmAccess.ready();
      
      // might not call ready too often.??? See GSM3ShieldV1AccessProvider.cpp, GSM3ShieldV1AccessProvider::begin
      delay(1000);
      
      // Status check
      if (gsmAccess.getStatus() == GSM_READY)
      {
         return;  
      }
   }
   Serial.println("\nTimeout!");
   delay(500); // Let the message printout before reset is performed!
  
   SoftReset();
}

 
I'm deeply investigating the why of this issue. Having the GSM debug feature on, I saw the GSM module stuck at the first AT attempt. So maybe I'll change the GSM library code to retry this first initialization step. Once this first step has passed, the other steps just run well (that's what I noticed so far)

Hope this helps,
Cabbi

P.S.
Does the Arduino's SIM900 GSM module have the same kind of issue?
Title: Re: Arduino GSM Shield not responding?
Post by: SupArdu on Oct 11, 2015, 11:00 pm
hi,

many of the problems reported here may be solved by
http://forum.arduino.cc/index.php?topic=349569.0

some short tips:
1) if you are using the MEGA board change the pinning according to "get started with GSM shield"
2) check PIN of SIM card
3) check power supply (see manual Quectel_M10)
4) switch on debug mode by
        // initialize the library instance
        GSM gsmAccess(true);  // true for debugging
5) if the serial monitor only shows "AT%13%" then the autobauding failed, see the link above

Since I am avoiding autobaud and setting fixed baud rate instead I can run all examples included in the GSM library without problems.

SupArdu
Title: Re: Arduino GSM Shield not responding?
Post by: danasorani on Dec 04, 2015, 09:24 am
hi dose any one fix the error
with the GSM shield R3
with the " Send SMS " example
the message appear "not connected "
but the sim card connection available
any help thanks
Title: Re: Arduino GSM Shield not responding?
Post by: dannable on Dec 04, 2015, 09:41 am
@danasorani

You have asked this question four times on here, and once on stackexchange, yet no one has answered you. Has it occurred to you that perhaps no one knows, and you may be the first person in Kurdistan to try this?
Title: Re: Arduino GSM Shield not responding?
Post by: danasorani on Dec 04, 2015, 10:05 am
@danasorani

You have asked this question four times on here, and once on stackexchange, yet no one has answered you. Has it occurred to you that perhaps no one knows, and you may be the first person in Kurdistan to try this?
yes may be i'm the first one use that model
do you have any idea ?
Title: Re: Arduino GSM Shield not responding?
Post by: QFour on Dec 09, 2015, 11:31 pm
I use an Ardrino Mega with the Ardrino GSM 2 board. I had the same problem as everyone else. It started and then nothing happened. After a lot of reading I finally found the answer.

First thing you have to do is bend pin TWO out of the way and add a jumper between pin 2 on the GSM board and pin 10 on the GSM board. I am using an Apple IMAC no external power supply to GSM Board.

Switch on the power and you will see a small led light up next to the sim card then hold down the small switch next to the Sim Card and another small yellow led will light up. Next to that is another one that will flash rapidly and then flash slower.

I then sent the following program to the Ardrino Mega

#include <GSM.h>

#define PINNUMBER ""
#define remoteNum "07946000000"
#define txtMsg "Hello World"

GSM gsmAccess;
GSM_SMS sms;

void setup() {
 
  Serial.begin(9600);
  while (!Serial) {;}

  Serial.println("SMS Messages Sender");
 
  boolean notConnected = true;

  while (notConnected) {
    if (gsmAccess.begin(PINNUMBER) == GSM_READY) {
      notConnected = false;
    } else {
      Serial.println("Not connected");
      delay(1000);
    }
  }

  Serial.println("GSM initialized");
  Serial.println(remoteNum);
  Serial.println("SENDING");
  Serial.println();
  Serial.println("Message:");
  Serial.println(txtMsg);
 
  sms.beginSMS(remoteNum);
  sms.print(txtMsg);
  sms.endSMS();
 
  Serial.println("\nCOMPLETE!\n");



void loop() {;}

.......

Standard Version 1.6.6 Audrino Software. No other libraries.

This will send one message to the defined phone number.

You will see "SMS Messages Sender" come up on the serial monitor and then nothing seems to happen. This is because of the wait loop waiting for GSM READY. Just wait and it will eventually work and send one text message to your number.

Hope that helps someone ..

 
Title: Re: Arduino GSM Shield not responding?
Post by: nique1441 on Dec 17, 2015, 03:50 am
i get this error messege evry time i try to upload a gsm example. can anyone help me with this?


In file included from C:\Program Files (x86)\Arduino\libraries\GSM\src/GSM.h:46:0,

                 from C:\Program Files (x86)\Arduino\libraries\GSM\examples\SendSMS\SendSMS.ino:25:

C:\Program Files (x86)\Arduino\libraries\GSM\src/GSM3ShieldV1BandManagement.h:49:125: warning: 'typedef' was ignored in this declaration [enabled by default]

 typedef enum GSM3GSMBand {UNDEFINED, EGSM_MODE, DCS_MODE, PCS_MODE, EGSM_DCS_MODE, GSM850_PCS_MODE, GSM850_EGSM_DCS_PCS_MODE};

                                                                                                                             ^

C:\Program Files (x86)\Arduino\libraries\GSM\examples\SendSMS\SendSMS.ino: In function 'void setup()':

C:\Program Files (x86)\Arduino\libraries\GSM\examples\SendSMS\SendSMS.ino:48:34: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

     if (gsmAccess.begin(PINNUMBER) == GSM_READY) {

                                  ^


Sketch uses 14,506 bytes (44%) of program storage space. Maximum is 32,256 bytes.
Global variables use 982 bytes (47%) of dynamic memory, leaving 1,066 bytes for local variables. Maximum is 2,048 bytes.
Title: Re: Arduino GSM Shield not responding?
Post by: Pieterbollon on Jan 28, 2016, 09:35 am
The shield was not connecting to the network.
The solution to pres the power button worked ok.!

The shield is running now thank you very much
Title: Re: Arduino GSM Shield not responding?
Post by: Eric_Hexin on Jan 31, 2016, 04:08 am
When the yellow status LED turns on, it means the modem is powered, and you can try connecting to the network.

Developer versions of the GSM shield required you to press press the Power button on the shield for a few moments to turn the modem on.
Title: Re: Arduino GSM Shield not responding?
Post by: danasorani on Feb 24, 2016, 11:34 am
now the shield iS working for me completely (SMS send , SMS receive , Voice Call but i can't get the sound :( 
Title: Re: Arduino GSM Shield not responding?
Post by: Atia on Mar 07, 2016, 04:09 pm
Hi!
I seem to be having the same problem as everyone. Once I upload my code and open the serial monitor. The only thing that appears is "sms messages sender" and nothing happenes. I then tried with the example that comes with the arduino software and the same thing happens. I'm using the arduino uno with the gsm shield sim908.
Any help would be greatly appreciated.
Title: Re: Arduino GSM Shield not responding?
Post by: dannable on Mar 07, 2016, 04:24 pm
The software provided with the IDE is for use with the official Arduino GSM/GPRS shield which uses the M10 chipset, not the SIM908.

There may be manufacturer specific commands in the libraries.

And given that the SIM908 has a built in GPS you need to communicate with it in a different way. Check the web site of the people who manufactured the shield / board.
Title: Re: Arduino GSM Shield not responding?
Post by: meuro on Mar 21, 2016, 07:53 pm
I just had the whole weekend the same problem as many people here, i was testing with two different sim cards (same operator, no pin code) and nothing... stuck at GSMaccess.begin()

then i tried another sim card, same operator but with pin code set (the only difference) and it started working!
Title: Re: Arduino GSM Shield not responding?
Post by: Vajha_Harshitha on Jul 10, 2016, 09:51 am
hello everyone. I am using Uno board and gsm mdule sim800. The gsm module is not getting connected.To check its connction i've used the example tst modem sketch and it shows up as not connected. But, I've given the cnnections as shown in the instructables. Can anyone give a fix to it pls.
Title: Re: Arduino GSM Shield not responding?
Post by: youswagger on Jul 22, 2016, 05:45 am
maybe its due to insufficient power supply. without using an external power supply, my serial monitor also display only ''SMS Messages Sender" and nothing else. i used an adapter of DC 12V and it works.
Title: Re: Arduino GSM Shield not responding?
Post by: GDEL on Sep 10, 2016, 12:02 am
Hallo,
I had the same problem as many people here on this forum ("SMS Message Sender" and then nothing more !)
After reading and trying a lot of things, I saw that the NET led on the GSM-shield (Original Arduino GSM Shield in combination with Arduino UNO) was blinking fast, what means that it is searching for a network !
As long as there is no network, no communication is possible with the shield via serial link.
I am in Europe (Belgium) and had a SIM-card from the Telenet-Provider, who is sharing its network with Base and covers not the whole country.
Today I bought an other card from the National Provider Proximus (Belgacom) and asked to disable the PIN-code so I had directly connection without to program the PIN-number in the sketch.
After installation (USB connection to PC and 12V external DC Power supply via the Arduino Jack), I used the example "GSM" from the IDE and loaded it to the Arduino board.
After a while the fast NET-led changed in a slow rhythm and I had connection with the Network !
Result : via the Serial Monitor : "Enter a mobile number" and "Enter SMS content" : The SMS was sent to my mobile and everything is OK now !
Conclusion : In my case the problem was caused by the service provider (and the PIN code I suppose).

Guy Delreux.
Title: Re: Arduino GSM Shield not responding?
Post by: nardu0 on Nov 02, 2016, 03:43 pm
Hi! Help me, please - my Sim900 which is attached to MEGA, does't answer via COM port's monitor. Jampers are established in SWserial. D7, D8 are attached with Rx1, Tx1. Sketch is usual:
Code: [Select]
unsigned char buffer[64];  // buffer array for data receive over serial port
int count=0;               // counter for buffer array

void setup()
{
   Serial1.begin(19200);
   Serial.begin(19200);
}

void loop()
{
   if (Serial1.available())
   {
     while(Serial1.available())
     {
       buffer[count++]=Serial1.read();
       if(count == 64)break;
     }
     Serial.write(buffer,count);
     clearBufferArray();
     count = 0;
   }
   if (Serial.available())
     Serial1.write(Serial.read());
}

void clearBufferArray()
{
   for (int i=0; i<count;i++)
   {
     buffer[i]=NULL;
   }
}

My construction is                    
(http://f20.ifotki.info/thumb/674f8f0b7d48b70e89ca9c3dbb3c4d494dde6d260754247.jpg) (http://i-fotki.info/20/674f8f0b7d48b70e89ca9c3dbb3c4d494dde6d260754247.jpg.html)
I type "AT" but don't get any answer. Where I can find mistake?
Title: Re: Arduino GSM Shield not responding?
Post by: nardu0 on Nov 11, 2016, 07:46 am
Solved, thanks.
Title: Re: Arduino GSM Shield not responding?
Post by: thanigai0329 on Nov 11, 2016, 04:48 pm
I'm trying to get my arduino GSM shield working with the example "Send SMS" code provided. However, when I upload and compile the program, the serial monitor displays "SMS Messages Sender" and nothing else occurs.
I'm using Arduino uno and gsm sim9000A.after connection when I call to the sim in the gsm module it rings.I doesnot get what the code is wrong?
Title: Re: Arduino GSM Shield not responding?
Post by: RSeuret on Jan 11, 2017, 02:21 pm
First, make sure that you have a SIM card inserted in the shield and that this card supports 2G as the shield, unfortunately doesn't work on 3G neither 4G. Then upload the script to the shield using the IDE, check on the tools that the right board has been selected and the right port of communication with the board also has been selected, otherwise the script won't be uploaded to the board. Once that this has been done open the serial monitor and wait for the connection between the shield and the network to be established. Here there is something to check, the shield has a power bottom next to the SIM card slot. press this bottom for a few seconds and wait until the status LED turn on and the NET LED starts blinking at this point you should see the following message: GSM initialized on the serial monitor and you are ready to go.
Title: Re: Arduino GSM Shield not responding?
Post by: yuvarajd85 on Nov 09, 2017, 10:51 pm
I am using an UNO board and GSM Shield 2 (antenova). I tried to run the SendSMS sketch and it just hangs on the code after the message "SMS Messages Sender" and after nothing happens.

I tried pushing and holding the power button until STATUS button starts blinking and then the reset button but nothing worked. Any idea what is the correct procedure to make this thing work. Any advice and guidance will help. Thanks.
Title: Re: Arduino GSM Shield not responding?
Post by: mallison359 on Feb 20, 2018, 11:11 am
I use an Ardrino Mega with the Ardrino GSM 2 board. I had the same problem as everyone else. It started and then nothing happened. After a lot of reading I finally found the answer.

First thing you have to do is bend pin TWO out of the way and add a jumper between pin 2 on the GSM board and pin 10 on the GSM board. I am using an Apple IMAC no external power supply to GSM Board.

Switch on the power and you will see a small led light up next to the sim card then hold down the small switch next to the Sim Card and another small yellow led will light up. Next to that is another one that will flash rapidly and then flash slower.

I then sent the following program to the Ardrino Mega

#include <GSM.h>

#define PINNUMBER ""
#define remoteNum "07946000000"
#define txtMsg "Hello World"

GSM gsmAccess;
GSM_SMS sms;

void setup() {
 
  Serial.begin(9600);
  while (!Serial) {;}

  Serial.println("SMS Messages Sender");
 
  boolean notConnected = true;

  while (notConnected) {
    if (gsmAccess.begin(PINNUMBER) == GSM_READY) {
      notConnected = false;
    } else {
      Serial.println("Not connected");
      delay(1000);
    }
  }

  Serial.println("GSM initialized");
  Serial.println(remoteNum);
  Serial.println("SENDING");
  Serial.println();
  Serial.println("Message:");
  Serial.println(txtMsg);
 
  sms.beginSMS(remoteNum);
  sms.print(txtMsg);
  sms.endSMS();
 
  Serial.println("\nCOMPLETE!\n");



void loop() {;}

.......

Standard Version 1.6.6 Audrino Software. No other libraries.

This will send one message to the defined phone number.

You will see "SMS Messages Sender" come up on the serial monitor and then nothing seems to happen. This is because of the wait loop waiting for GSM READY. Just wait and it will eventually work and send one text message to your number.

Hope that helps someone ..

 
Can I check which provider you are using?