How to active GPRS Shield V2.0 ??

I'm new in Arduino,

I use Arduino UNO, I have GPRS Shield V2.0 (GPRS Shield V2.0 | Seeed Studio Wiki), I want to active GPRS Shield V2.0, I have visited GPRS Shield V2.0 | Seeed Studio Wiki and did like tutorial provided:

I inserted a SIM card to SIM Card Holder, I rotated antenna like picture below:

I inserted jumper caps as below:

I plugged GPRS Shield onto Arduino, I powered up Arduino by USB cable with connected it to PC via USB cable,
When I tried to test with GSM Tools Test Modem provided arduino.cc (http://arduino.cc/en/Tutorial/GSMToolsTestModem), I got ERROR, when I opened serial monitor shown:

Starting modem test...ERROR, no modem answer.
Checking IMEI...Error: Could not get IMEI
(Arduino Test Modem code with GSM Library - YouTube)

What must I do so that my GPRS Shield v2.0 will active, my GPRS Shield v2.0 will join to network?

Please help me... thank you so much...

Hi Ridho.

I'm also tinkering with this shield. Your first problem is that you have to shift the jumpers, in your second picture, to the left. After doing that you should be able to get contact to the shield.

Hopefully you or others in here could help me in solving an other problem I have with this shield.

I'm trying to get the GPRS part work and my provider is a subcompany of Telenor (bibob - I think it only exists in DEenmark). I have been able to call an other mobile phone with the shield (lost call), but I can't make a http request. I have tried to follow GPRS Shield V2.0 | Seeed Studio Wiki and How to send data to Cosm with GPRS Shield - #2 by loovee - Project Proposal - Seeed Forum and http://m2msupport.net/m2msupport/data-call-at-commands-to-set-up-gprsedgeumtslte-data-call/

None of the above has made me succeed. I did manage to get an ip when using the AT command tester. It seems like the problem occur when I want to activate a bearer. I just get the response that the bearer is closed and can't connect.

I know that the SIM card works for GPRS because I use it on my smartphone for accessing the internet.

I will put up some concrete code in a couple of hours.

best regards

Lasse Vestergaard

The Arduino provided GSM library is specific to the Arduino-created GSM shield. It will not work with random GSM shields. Go talk to the vendor of your shield about a library for it.

I have now tested further and followed the steps from this page: http://m2msupport.net/m2msupport/at-command-for-http-functions-for-remote-server-data-access/

Initiate the HTTP service,
AT+HTTPINIT
OK

Set the HTTP session.
AT+HTTPPARA=”CID”,1
OK

Set the HTPP URL
at+httppara=”URL”,”www.m2msupport.net/m2msupport/test.php”

Start the session
AT+HTTPACTION=0
OK

+HTTPACTION:0,601,0

The above AT response code (601) for HTTP session start indicates that there is a network error. Then make sure that the PDP context is setup properly.

In the above I get the 601 error, but simply can't figure out what goes wrong. Has any of you made a successful http connection with the Seeedstudio gprs V 2.0? And has anyone tried with a SIM card from Telenor? I'm using "internet" as the APN.

Regards

Lasse Vestergaard

I'm so sorry cause delay to reply your comment.

Ibbernik, Pauls, thank you so much for comment about my problem.

Ibbernik...
I have also shifted the jumpers like my second picture, but I still could not get contact to my GPRS Shield V2.0. Why that? Help me please...
And then, did you test your GPRS Shield V2.0 with AT Command using hyperterminal? What was the result? And I have tried to test my GPRS Shield V2.0 with AT Command using hyperterminal but my shield could not contact to PC, as while when I tried to test my other modem, I successed for it and got message "OK", but not like that for my gprs shield, any solution please...? Thank you...

Pauls...
I have downloaded SIM900 library, unzipped the file, and paste the files to libraries on Arduino program, but there is still no respond from my GPRS Shield V2.0, any solution please...? Thank you...

Hi all.

I managed to solve my problem by doing this:

AT+CPIN?
AT+CPIN=1234 (or what ever pin you have)
AT+CGDCONT?
AT+CREG?
AT+CGACT?
AT+CMEE=1
AT+CGATT=1
AT+CGACT=1, 1
AT+SAPBR=3,1,"CONTYPE","GPRS"
AT+SAPBR=3,1,"APN","internet"
AT+SAPBR=1,1
AT+SAPBR=2,1
AT+HTTPINIT
AT+HTTPPARA=”URL”,”www.m2msupport.net/m2msupport/test.php”
AT+HTTPACTION=0
AT+HTTPREAD
AT+HTTPTERM

Ridho:

Have you uploaded this code to your Arduino (from GPRS Shield V2.0 | Seeed Studio Wiki under fun with AT commands):

//Serial Relay - Arduino will patch a
//serial link between the computer and the GPRS Shield
//at 19200 bps 8-N-1
//Computer is connected to Hardware UART
//GPRS Shield is connected to the Software UART

#include <SoftwareSerial.h>

SoftwareSerial GPRS(7, 8);
unsigned char buffer[64]; // buffer array for data recieve over serial port
int count=0; // counter for buffer array
void setup()
{
GPRS.begin(19200); // the GPRS baud rate
Serial.begin(19200); // the Serial port of Arduino baud rate.

}

void loop()
{
if (GPRS.available()) // if date is comming from softwareserial port ==> data is comming from gprs shield
{
while(GPRS.available()) // reading data into char array
{
buffer[count++]=GPRS.read(); // writing data into array
if(count == 64)break;
}
Serial.write(buffer,count); // if no data transmission ends, write buffer to hardware serial port
clearBufferArray(); // call clearBufferArray function to clear the storaged data from the array
count = 0; // set counter of while loop to zero

}
if (Serial.available()) // if data is available on hardwareserial port ==> data is comming from PC or notebook
GPRS.write(Serial.read()); // write it to the GPRS shield
}
void clearBufferArray() // function to clear buffer array
{
for (int i=0; i<count;i++)
{ buffer*=NULL;} // clear all index of array with command NULL*
}
When I'm communicating with my GPRS shield I just use the Arduino serial monitor. Remember to set the baudrate to 19200. You can change this on your GPRS shield with a command which I can't remember right now. A good page to look at is: http://m2msupport.net/m2msupport/at-commands-to-get-device-information/ (click around in the links to the left)
Regards

ibbernik:

I have uploaded that code to my Arduino but not give a result :~ and when I type AT Command in Serial Monitor, there was no respond/reply at serial monitor?

ibbernik, please tell me how you test your GPRS Shield V2.0 with AT Command? What program were you use? Cause when I connect my GPRS Shield V2.0 plugged onto Arduino UNO, it could not connect to my PC so that I could not test it with AT Command using hyperterminal.

thank you so much...

hi
i am using gprs shield version 2.0 to send sms to arduino . will you please tell me which pins of the arduino should be connected with gsm shield

Jumpers to swSerial,

#include <SoftwareSerial.h>

SoftwareSerial GPRS(7, 8);