Do not use the String class with a nano, particularly String concatenation. It is very likely causing your problem. See this thread for more information on exactly why. Use c-style strings instead. You cannot increase the size of the c-style string dynamically, so you will need to declare your string as large as you will need it to be in the beginning. This will save you from the memory fragmentation that is very likely causing the problem for you.