GSM SIM800L EVB Module w/ SMA Antenna shield with a Arduino Uno problem

GSM SIM800L EVB Module w/ SMA Antenna shield with a Arduino Uno problem

0
0

I am using a GSM SIM800L EVB Module w/ SMA Antenna shield with an Arduino Uno and fail to get it so send a SMS.
I have read many reports on solving the problem on Youtube without finding a solution.
The Arduino is supplied from my PC via USB.
The shield is supplied with 4 V from a switching regulator and has a 2200 uF capacitor across the supply. and all connections are very short as suggested on the Internet.
I wonder of the Sim cards used in South Africa might cause the problem? I am not sure if the correct way to enter the cellphone no. is as mySerial.println(“AT+CMGS=\”+270812708761\””);
Running a sketch to check the shield and Sim card the card and network is recognized but an error is received when I check if the Sim card is ready.

The first problem is that the Ring Led flashes once per second instead of once every 3 seconds.

Running a sketch with AT commands, the following results are obtained:

Initializing…

 Moet OK wees – AT

OK

RDY

+CFUN: 1

 Check the ‘signal strength’ 18,0 – AT+CSQ

+CSQ: 0,0

OK

 get the SIM card number – AT+CCID

89270200180082637084

OK

+CPIN: READY

 Registered on the network? MOET 0,2 WEES – AT+CREG?

+CREG: 0,2

OK

 Is Sim kaart gereed –

AT+CPIN

ERROR

 Return list operators on network neem ‘n ruk. – 

AT+COPS=?

Call Ready

SMS Ready

+COPS: (3,”VodaCom”,”VODA”,”65501″),(3,”Mobile Telephone Netw

Any help will be appreciated.

Product SKU (can be found on the product page to the right of the image): GSM SIM800L EVB Module w/ SMA Antenna shield
Marked as spam
Posted by (Questions: 1, Answers: 1)
Asked on Nov 2, 2021 11:16 am
70 views
0
Private answer

Hi there. Where did you buy that module from?

 

Marked as spam
Posted by (Questions: 0, Answers: 11)
Answered on Nov 16, 2021 12:57 pm
0
Private answer

Thanks for the advice.

I added the AT commands suggested but found that the mySerial.println("AT+SAPBR=3,1,"Contype","GPRS"");  command causes the error message

inconsistent user-defined literal suffixes 'Contype' and 'GPRS' in string literal
Invalid library found in D:ArduinolibrariesSoftwareSerial: no headers files (.h) found in D:ArduinolibrariesSoftwareSerial

mySerial.println("AT+SAPBR=3,1,"APN","internet""); cause a similar error

gsm.println((char)26); also.

I need some more help please.

 

Could you perhaps send me a sketch example?

Marked as spam
Posted by (Questions: 1, Answers: 1)
Answered on Nov 2, 2021 4:08 pm
0
Private answer

Hi There, the commands I use are.

AT+CREG?
AT+SAPBR=3,1,"Contype","GPRS"
AT+SAPBR=3,1,"APN","internet"
AT+SAPBR=1,1
AT+SAPBR=2,1
AT+CMGF=1
AT+CMGS="+270812708761"r
then then actual message
gsm.println((char)26);
AT+SAPBR=0,1
AT+SAPBR=0,1

Yes that last one is twice this is to send a message.

To Receive I use

ATE0
AT
AT+CMGF=1
AT+CNMI=2,2,0,0,0

Please bear in mind these commands will only work when the power supply is stable, and also on start-up allow around 15 seconds to establish a connection to at least one radio tower

If you do feel that your power supply is not stable I always use this one.

Marked as spam
Posted by (Questions: 0, Answers: 51)
Answered on Nov 2, 2021 2:18 pm
I tried the above AT commands with the sketch below which also indicates the errors when compiling: #include SoftwareSerial mySerial(3, 2); //SIM800L Tx & Rx is connected to Arduino #3 & #2 void setup(){ Serial.begin(9600); mySerial.begin(9600); Serial.println(”Initializing…”); delay(1000); mySerial.println(”AT”); //Once the handshake test is successful, it will back to OK mySerial.println(”AT+CREG”); //Once the handshake test is successful, it will back to OK /* The next 2 lines produces the following error exit status 1 inconsistent user-defined literal suffixes ’Contype’ and ’GPRS’ in string literal */ mySerial.println(”AT+SAPBR=3,1,”Contype”,”GPRS””); mySerial.println(”AT+SAPBR=3,1,”APN”,”internet””); mySerial.println(”AT+SAPBR=1,1”); mySerial.println(”AT+SAPBR=2,1”); mySerial.println(”AT+CMGF=1”); /*The next line produces the following error exit status 1 expected ’)’ before string constant */ mySerial.println(”AT+CMGS=” + 270812708761”r”); mySerial.println(”Last Minute Engineers | lastminuteengineers.com”); //text content mySerial.println(”gsm.println((char)26);”); mySerial.println(”AT+SAPBR=0,1”); mySerial.println(”AT+SAPBR=0,1”); } What else can I try to get this project to wordk?
( at Nov 16, 2021 12:37 pm)