Arduino stops working after some time

Hey guys,
I have an Arduino Uno with GPS/3g-Shield from libelium. To reset the code, if the code went wrong, I set up interrupts at 1Hz with an "all-went-ok-check".
But after a while the code isn't working anymore. Not even the interrupt happens! I do not know what it could be and hope for your help.

Best regards,
Eicca

Edit: If this happens the LEDs L and ON are continuous on and TX and RX are off.

might be a proble in you code

Could be a problem with your code or with how you connected your hardware.

Probably need to post them to get more help.

I know this sounds far fetched but you could have damaged your atmega chip but please post your code and set up to be sure

Hello Experts,

I am using the code that i downloaded from this website: Arduino-Tutorial-Series/GPS_debug.ino at master · sciguy14/Arduino-Tutorial-Series · GitHub regarding the GPS debug. I know that you're very busy, but i would be very thankfull if you could take a look at this screenshot, becasue its very confusing. http://s18.postimg.org/4mg7aoxqx/GPS_error.jpg I cannot understand why the checksum error is always increasing since i am using it aoutdoors. Another think i think i need to mension is, that i am sending the data to the PC using the APC220 wireless modules

Thanks Alot

Thanks for your answers. The code is thousend lines long - maybe the point is much simpler. Is it possible, that the arduino freeze completely, if there is not enought power? The module is consuming 3A peek (datasheet) - have connected one usb to the arduino and one to the module - total 1A. I will test with an stronger powersupply and shrink the code to a minimum and share with you if there is no improvement.

Eicca
PS: will not answer some days from now

Eicca:
Is it possible, that the arduino freeze completely, if there is not enought power?

The Arduino isn't a complicated system like a computer.

If it stops working either something has happened in the code, or something is wrong with the hardware.

BY FAR, the most common problem is that people do not realize they have run out of memory. With only 2K of RAM, and no memory manager, this is very easy to do.

This are my variables:

char access_token[ ] = "00000000000000000000000000000000";
char vehicle_id[ ] = "0";

//MODUL
int led = 12;
int onModulePin = 2;
int bereitcount = 0;

//GYRO
int gyroPin1 = 4; 
int gyroPin2 = 5;
float gyroVoltage = 3.3;   
float gyroOffset1 = 246; 
float gyroOffset2 = 250; 
float gyroSensitivity = 0.00333; 
float rotationThreshold = 10;   
float currentAngle1 = 0;      
float currentAngle2 = 0;      
float prevAngle1;
float prevAngle2;
int cal = 0;


//SMS
char phone_number[]="0000000000000";
char pin[]="xxxx";
int smssent = 0;

//GPS
char latitude[13],longitude[14];
char date[11],UTC_time[11];
char speed_OG[6],altitude[7];
char degree[7];
int x,y;
int status = 0;
int status0count = '0';
int status3count = '0';

//HTTP
char data[512];
char server[ ] = "url.domain";
char path[ ] = "/path.json";
int port = 80;
int postsize = 0;
int httperror = 0;

//System
int syslog = 0;
int abbruch = 0;
int netz = 0;
int netzcount = 0;
int strength = 0;
int strength1 = 0;
int strength2 = 0;
char prevprevprevprev;
char prevprevprev;
char prevprev;
char prev;
char current;

//TIMER
int timer = 0;
int timer2 = 0;
int reset = 0;
int reset2 = 0;
int timeout = 60;

summarized:
27 int
9 float
19 char (655 single values)

the data-char is not used fully and some other values are unused, I have to clean the code …
Should data[512] be used fully it occupies 512*8=5240bit in RAM? Is this correct and the problem?

well it seams you found your problem, out of memory
5K ram is needed for your code and you only have around 2k