arduino1 + gsm shield 2

So i have start a project with a lot of stuff.
Code is attached!

problems:

  • sometime arduino stuck on reading load cells;
  • frequently GSM not handle correctly the steps to send data;

i read a lot of issues and related things, so i have added:

  • watchdog to reset;
  • Serial.print(F()) instead Serial.print()
  • i use a asyncronous connection in order to unstuck arduino when there are connection problem;
    Someone can give my issues, or link code optimisations or other stuff that i can use in order to get stability?
    thank you in advance

mubee.ino (9.06 KB)