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:
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.
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.
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.
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.
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...
//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
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.