I worked really hard on a arduino project with sim900 shield. After some months i finally got everything working. But sinds two days i have a big problem. The serial communication is doing really strange things. I tried shorter wires, different baud rates and different AT commands but everything stays the same and before it worked several months. Also i did try different version of the library. The problem is that the sim900 doesnt react really good to at commends send by the arduino. When watching the serial monitor i get by some at commends a strange error. like this one ⸮⸮⸮⸮T+CMGF=1 while the arduino sended of course AT+CMGF=1 and no reaction of the sim900 takes place. Later in my code i request the signal strengt with an other AT commend and that works fine and get the correct response. Like normally. De response of the arduino with the questionmarks isn’t alsway the same some time more of them are in that line.
I am really sad about how this project ended into an disaster but hopefully you can help me out.
I uploaded my code and a picture of my serial monitor as well
Definitief_totaal.ino (5.86 KB)