I'm connecting a GSM/SIM CARD (A6 Ai Thinker) to an Arduino Leonardo.
I'm using Serial to send commands and print the results. I use Serial1 to communicate with the A6 controller.
I get good results with Leonardo, using Serial1 and connecting it to RX and TX.
Although SoftwareSerial can work (I connect it to port 10, 11) it is much slower on Leonardo and gives errors.
I tried to connect a wifi chip (esp8266), but it couldnt make it work on Leonardo.
I'm now trying on Arduino Yun to run my A6 and use builtin wifi.
Im using the same settings, Serial and Serial1.
Though my controller is working (i can send sms over network), i cannot read the Serial1: i get only ⸮
⸮⸮⸮⸮⸮ and other gibberish.
I tried different speeds, but my A6 works only at 115200.
I tried different modes. Some of them work like SERIAL_7O2 (not sure exactly 702 or 701 or another), but still give me gibberish. SotwareSerial works better, but i have many missing letters and errors.
Does anyone has an idea why Leonardo would be right, when Yun wouldn t?