Jump to content

Sim800L with arduino Uno - problem

MarcinPe
 Share

Hi, 

I'm trying to communicate Arduino Uno with Sim800L module. Everything is connected properly but no success. Can anyone look at this and tell what is wrong? 

20220817_195124.jpg

Link to comment
Share on other sites

Link to post
Share on other sites

12 hours ago, MarcinPe said:

Hi, 

I'm trying to communicate Arduino Uno with Sim800L module. Everything is connected properly but no success. Can anyone look at this and tell what is wrong? 

20220817_195124.jpg

like this I can't tell

can you send a scheme, the code, and the output when you're loading the code?

Link to comment
Share on other sites

Link to post
Share on other sites

1 hour ago, 12345678 said:

like this I can't tell

can you send a scheme, the code, and the output when you're loading the code?

Sure, 

#include <SoftwareSerial.h>

String Arsp, Grsp;
SoftwareSerial gsm(10,11); // RX, TX

void setup() {
  // put your setup code here, to run once:

  Serial.begin(9600);
  Serial.println("Testing GSM SIM800L");
  gsm.begin(4800);

}

void loop() {
  // put your main code here, to run repeatedly:

  if(gsm.available())
  {
    Grsp = gsm.readString();
    Serial.println(Grsp);
  }

  if(Serial.available())
  {
    Arsp = Serial.readString();
    gsm.println(Arsp);
  }

}

After that I got "Testing GSM SIM800L". 

Link to comment
Share on other sites

Link to post
Share on other sites

I'm pretty sure you have to issue some AT commands to the SIM800L before you get any responses.

 

I'll speak to my lead electronics engineer tomorrow morning. He's spent the last 12 months working on serial communication with GSM modems.

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share


×