Problem with IComSat v1.1 and HTTP POST

Status
Not open for further replies.

codac

Newbie level 1
Joined
Jul 14, 2013
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Visit site
Activity points
12
Helly everybody,

I'm quite new to this topic.
Anyhow, since days and days I'm trying to get this running.

I'm using an Arduino Uno R3 with an IComSat v1.1 GSM/GPRS Shield from IteadStudio using the SIM900 module.
The IComSat v1.1 has set UART and PIN TXD: 2 and PIN TXD: 3.
According to this website: It says, the POWER_ON Pin is D9 and the RESET is D10.

In order to power this up, I have attached the Arduino to a 9V Battery as well as to the USB cable.

For the communication, I'm using a German T-Mobile SIM-Card with the following settings:
APN: internet.t-mobile
User: t-mobile
Pass: tm
PIN: disabled

I've tried a second SIM-Card of the company Fyve (Vodafone) with the following settings:
APN: web.vodafone.de
User:
Pass
PIN: disabled

I try to establish a GPRS connection to my website in order to store GPS information on 9600 baud. I've used the following AT command series:

Code:
    gprsSerial.println("AT+COPS=0");
    delay(2000);
    toSerial();
    gprsSerial.println("AT+CREG?");
    delay(2000); 
    toSerial();
    gprsSerial.println("AT+CIPSHUT");
    delay(2000); 
    toSerial();
    gprsSerial.println("AT+CGATT=1");
    delay(2000); 
    toSerial();
    gprsSerial.println("AT+SAPBR=3,1,\"CONTYPE\",\"GPRS\"");
    delay(2000); 
    toSerial();
    //T-Mobile
    //gprsSerial.println("AT+SAPBR=3,1,\"APN\",\"internet.t-mobile\"");
    //Fyve
    gprsSerial.println("AT+SAPBR=3,1,\"APN\",\"web.vodafone.de\"");
    delay(2000); 
    toSerial();
    //T-Mobile
    //gprsSerial.println("AT+SAPBR=3,1,\"USER\",\"t-mobile\"");
    //Fyve
    gprsSerial.println("AT+SAPBR=3,1,\"USER\",\"\"");
    delay(2000); 
    toSerial();
    //T-Mobile
    //gprsSerial.println("AT+SAPBR=3,1,\"PWD\",\"tm\"");
    //Fyve
    gprsSerial.println("AT+SAPBR=3,1,\"PWD\",\"\"");
    delay(2000); 
    toSerial();
    gprsSerial.println("AT+SAPBR=1,1");
    delay(2000); 
    toSerial();
    gprsSerial.println("AT+HTTPINIT");
    delay(2000); 
    toSerial();
    gprsSerial.println("AT+HTTPPARA=\"CID\",1");
    delay(2000); 
    toSerial();
    gprsSerial.println("AT+HTTPPARA=\"URL\",\"www.xxxxxxxxxxxx.de/app/location.php?time=123456\"");
    delay(2000); 
    toSerial();
    gprsSerial.println("AT+HTTPACTION=1");
    delay(2000); 
    toSerial();
    gprsSerial.println("AT+HTTPREAD=200");
    delay(2000); 
    toSerial();
    gprsSerial.println("AT+HTTPTERM");
    delay(2000); 
    toSerial();

This is the result with T-Mobile APN and SIM-Card enabled:


And this is the result with Fyve APN and Sim-Card enabled:


Any idea what the problem might be?
Any help is greatly appreciated!
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…