Sim808 how to save energy

Hi, i’m using sim 808 as GPS and GPRS.
GPS is always running but GPRS just send 5 srings every 3 hours… i see that after sending
data with GPRS it start blinking faster…and than it doesent retourn to blink normal…
I use AT command to upload data and i thought it was enough to send AT+HTTPTERM to
stop GPRS and retourn to normal blinking… but it doesn’t work.
I wish to know if im consuming more energy becouse of that and how to end GPRS comunication while i’m not using that

This is the code im running is that
void carico(){
String recivedstring =String(receivedChars);
Serial.println(“inizio”);
Serial.println (recivedstring);
Serial2.print(“AT+SAPBR=3,1,“APN”,“web.omnitel.it”\r”);
delay(1000);
Serial2.print(“AT+SAPBR=1,1\r”);
delay(1000);
Serial2.print(“AT+HTTPINIT\r”);
delay(1000);
Serial2.print( “AT+HTTPPARA=“CID”,1\r”);
delay(2000);
Serial2.print(“AT+HTTPPARA=“URL”,“xxxxx.000webhostapp.com/ricez_”);
Serial2.print(recivedstring);
Serial2.print(”"\r");
delay(2000);
Serial2.print(“AT+HTTPACTION=1\r”);
delay(1000);
Serial2.print(“AT+HTTPTERM\r”);
delay(1000);
Serial.println(“Fatto”);
}

thank you very much!

If you are still stuck,
you can try “AT+CGATT=0\r\n”. This will detach GPRS connection.
and also “AT+SAPBR=0,1\r\n”. This will close GPRS context.
Hope it helps.

1 Like