Hello guys, first of all, sorry for my total lack of knowledge regarding coding and for my bad english, this is my first project. I made a sms sending scale for my beehives, the hardware part wasn't so hard with all the instructions available on the internet, but the software parts ins't that easy for me, i attached the sketch i'm using, i made it by combining some examples i found, i have no idea what i'm doing so probably it is a total fail but it's working at some level, please help me improve it, it is working very badly, sometimes i have the send the request SMS up to 5 times to get an answer back. I forgot the mention that my scale is made from one arduino one, SIM900, temperature sensor , 2 HX711 and 8 load cells. I bet that for many of you it wont even take 5 minutes to write a good code for my scale so please help me.
sketch__SMS_final.ino (4.83 KB)