Hi,
I can establish a TCP connection with Seeeduino GPRS and send data to the server without problems.
After data is sent, I close the connection and get NORMAL POWER DOWN:
SEND OK
AT+CIPCLOSE
CLOSE OK
AT+CIPSHUT
SHUT OK
AT+CPOWD=1
NORMAL POWER DOWN
After 30 seconds the SIM800H is powering on again. This causes that the modem is powered down on the next loop with the powerUp() function.
Do has anybody smilar problems?
Code looks like as following:
void setup()
{
delay(1000);
pinMode(9, OUTPUT);
GPRS.begin(9600);
Serial.begin(9600);
}
void loop()
{
powerUp();
AT commands…
GPRS.println(“AT+CIPCLOSE”);
delay(100);
showSerialData();
GPRS.println(“AT+CIPSHUT”);
delay(1000);
showSerialData();
GPRS.println(“AT+CPOWD=1”);
delay(1000);
showSerialData();
delay(120000);
}
void powerUp()
{
Serial.println(“Powering up SIM800”);
delay(800);
digitalWrite(9,HIGH);
delay(200);
digitalWrite(9,LOW);
delay(1000);
digitalWrite(9,HIGH);
delay(3000);
Serial.println(“SIM800 Powered up”);
}