Arduino uno + gsm shield problem

Hello

I recently bought the sim900 gsm module: http://www.ebay.co.uk/itm/GSM-GPRS-Shield-For-Arduino-/230911052682?pt=LH_DefaultDomain_0&hash=item35c35f0b8a

I have been working this gsm library Google Code Archive - Long-term storage for Google Code Project Hosting. using the arduino uno from this supply :Robot Control Board ATMEGA328 ATMEGA328P Arduino UNO Compatible + USB Cable - dipmicro electronics

I have configured every thing the right way and now trying the sms example. The serial
output says message sent but the message is not recieved by the phone. Hope you can help.

#include "SIM900.h"
#include <SoftwareSerial.h>
//If not used, is better to exclude the HTTP library,
//for RAM saving.
//If your sketch reboots itself proprably you have finished,
//your memory available.
//#include "inetGSM.h"

//If you want to use the Arduino functions to manage SMS, uncomment the lines below.
#include "sms.h"
SMSGSM sms;

//To change pins for Software Serial, use the two lines in GSM.cpp.

//GSM Shield for Arduino
//www.open-electronics.org
//this code is based on the example of Arduino Labs.

//Simple sketch to send and receive SMS.

int numdata;
boolean started=false;
char smsbuffer[160];
char n[20];

void setup()
{
//Serial connection.
Serial.begin(9600);
Serial.println("GSM Shield testing.");
//Start configuration of shield with baudrate.
//For http uses is raccomanded to use 4800 or slower.
if (gsm.begin(2400)){
Serial.println("\nstatus=READY");
started=true;
}
else Serial.println("\nstatus=IDLE");

if(started){
//Enable this two lines if you want to send an SMS.
if (sms.SendSMS("+444538590489", "Arduino SMS"))
Serial.println("\nSMS sent OK");
}

};

void loop()
{
if(started){
//Read if there are messages on SIM card and print them.
if(gsm.readSMS(smsbuffer, 160, n, 20))
{
Serial.println(n);
Serial.println(smsbuffer);
}
delay(1000);
}
};

Are able to receive messages??
If not, it might be a problem with the baud rate.

Hi Everyone,

I am trying to connect my Arduino GSM shield with UNO to Internet using Vodafone and Airtel SIM(INDIA) but I am not able to do so.

I have used GSMToolsTestGPRS to test the same with GSM gsmAccess(true);

I am getting following message on my serial monitor when PIN is 1234

Connecting GSM network...AT%13%
0 9>AT%13%%13%%10%OK%13%%10%
AT+CPIN=1234%13%
9 44>AT+CPIN=1234%13%%13%%10%+CPIN: READY%13%%10%%13%%10%OK%13%%10%
AT+CGREG?%13%
44 75>AT+CGREG?%13%%13%%10%+CGREG: 0,2%13%%10%%13%%10%OK%13%%10%
AT+CGREG?%13%
75 74>%255%%5%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%
AT+CGREG?%13%

and getting this when there is no PIN

Connecting GSM network...AT%13%
0 127>%255%%1%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%%0%
ERROR

Need your support and guidance to resolve the problem. I am stuck.

Thanks

Hi,
can i use the program given for GSM shield for testing GPRS in below link for SIM900

Yes Jithu, you can use it for the purpose.

Problem I mentioned above is Solved. :slight_smile:

A correct power supply is mandatory for boards/shields. I was using USB port for power supply which was 5V appx. After plugging it to 12V/1A power supply (on UNO + GSM shield), I am now able to connect to internet and send SMS.

Hi Everyone,

I recently bought this GPRS/GSM shield


can anyone help me with the connection in-between arduino uno and the GPRS/GSM shield.
And an example code to send a Test SMS.

Cybernetics:
Hello

I recently bought the sim900 gsm module: http://www.ebay.co.uk/itm/GSM-GPRS-Shield-For-Arduino-/230911052682?pt=LH_DefaultDomain_0&hash=item35c35f0b8a

Hi friend...

It is my first comment in a forum.... Actually I bought a Sim808 and I tried to connect with arduino mega (really I hope help you). The real problem was the phisical connection between Arduino and the module

Use a jumper in the pin 0 of the module to pin 1 of arduino and pin 1 of module to pin 0 of arduino, then use sscom32 to try send AT commands

seriously I hope to help you, bye