Arduino work stop suddenly after serials of sending http get request.

Hello :slight_smile:

I’m using arduino uno + ethernet shield to send sensing data to my serve for every 10 seconds.
the problem is that after 30~60minutes, arduino stop working and when I checked arduino board, It’s not sending any data seeing tx is not blinking anymore.

why is it?
below is code that I sending sensor data to my server

if (client.connect(serverName, 80)) { //starts client connection, checks for connectiong
client.println(“GET /settingtemp/?temp=”+String(inpc.inpd.temp)+"&hum="+String(inpc.inpd.humi)+"&bat="+String(inpc.inpd.bat)+" HTTP/1.1"); //download text
client.println(“Host: xxx.herokuapp.com”);
// client.println(“Connection: close”); //close 1.1 persistent connection

client.println(); //end of get request

}
else {
Serial.println(“connection failed”); //error message if no client connect
Serial.println();
asm volatile (" jmp 0");
}

and Serial monitor is also stop with below weird last word…

Just a guess as you did not post your code.

Extensive use if the String class (capital S).
Writing outside boundaries of arrays.

Post pictures to this forum and not to some not working external sites!