HELP!!! arduino MEGA + Shield GSM ICOMSAT

Good Afternoon,

I have an Arduino MEGA shield and GSM ICOMSAT. I've seen plenty of code to send an SMS and I can not put any running. Anyone who has had the same experience can help me?

I leave my SKYPE: eduardo.jv.lima82

already my thanks

HI,

ANY HELP PLEASE =( =( =(

anyone has a working code? help me please

thanks

i try to use this code:

#include <GSM.h>

#define PINNUMBER ""

// initialize the library instance
GSM gsmAccess; // include a 'true' parameter for debug enabled
GSM_SMS sms;

// char array of the telephone number to send SMS
// change the number 1-212-555-1212 to a number
// you have access to
char remoteNumber[20]= "12125551212";  

// char array of the message
char txtMsg[200]="Test";

void setup()
{
  // initialize serial communications
  Serial.begin(9600);

  Serial.println("SMS Messages Sender");

  // 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)
      notConnected = false;
    else
    {
      Serial.println("Not connected");
      delay(1000);
    }
  }
  Serial.println("GSM initialized");
  sendSMS();
}

void loop()
{
// nothing to see here
}

void sendSMS(){

  Serial.print("Message to mobile number: ");
  Serial.println(remoteNumber);

  // sms text
  Serial.println("SENDING");
  Serial.println();
  Serial.println("Message:");
  Serial.println(txtMsg);

  // send the message
  sms.beginSMS(remoteNumber);
  sms.print(txtMsg);
  sms.endSMS(); 
  Serial.println("\nCOMPLETE!\n");  
}

my problem is that I can not send to the Arduino MEGA. a message appears saying that exceeded the time for sending.
thanks

my problem is that I can not send to the Arduino MEGA.

That code sends messages FROM the Arduino, not TO the Arduino.

GSM gsmAccess; // include a 'true' parameter for debug enabled

So, why don't you? You ARE trying to debug the problem, aren't you?

I have not explained myself well. when I try to send the code to the Arduino, after compiling, I can not. is too long to say “uploading” and nothing else happens.

is too long to say "uploading" and nothing else happens.

Is that with the shield installed, or without? If it is with, try without.

if pass a long time, the following message appears:

"timeout communication with programmer".

what is strange is that it only makes this code. try another code if apparently simple, the software compiles fine and uploads to the board without problems.

what they think might be happening?

Which Arduino do you have, and which shield? Links / photos / version numbers would help a lot

You need to remove the shield from the Arduino, in order to upload the code. You'll also need an external power supply of at least 7V / 2A for a GSM shield to work properly, connected to the Arduino's barrel connector.

RudiAhlers: Which Arduino do you have, and which shield? Links / photos / version numbers would help a lot

You need to remove the shield from the Arduino, in order to upload the code. You'll also need an external power supply of at least 7V / 2A for a GSM shield to work properly, connected to the Arduino's barrel connector.

That will solve the issue for sure.