SIM800L HELP

Hi to all!

I need a little of help!! I’m trying to integrate a sim800L , but it seems i do not have response from the module. I’m using MEGA 2560
For de TX and RX, i connected the RX of the sim800 to tx on the board etc…
I had tried several pins.

It seems like the sim800l.available never change the status from 0.

#include <SoftwareSerial.h>

SoftwareSerial sim800l(17, 16); // RX, TX

void setup()
{

 pinMode(17, INPUT);
 pinMode(16, OUTPUT);
  
Serial.begin(9600);//INICAMOS EL PUERTO SERIE
sim800l.begin(9600);//INICIAMOS EL PUERTO GSM SIM 800L
delay(1000);
Serial.println("ESPERANDO COMANDOS AT");//MANDAMADOS UN MENSAJE AL PUERTO SERIE
}

void loop() {



if( sim800l.available()){
   Serial.println("INPUT");
Serial.write(sim800l.read());

}
if(Serial.available()){
  Serial.println("Serial available");
  Serial.println(Serial.read());   
   sim800l.write(Serial.read());
   
  }
}

Any ideas what is happening??

Why are you using software serial on a hardware serial port?

Have you seen the following which shows how to connect the SIM800L to an Arduino?

I had tried on several pins D10, 9, 8, 7 … With the same results.
Any suggestion???

Yes. Connect it to Serial1, then use a simple serial relay sketch to read & write Serial / Serial1. If it doesn't work, swap the Rx1 / Tx1 connections over.

You are using a level shifter aren't you? And not otherwise abusing the SIM800?

Thanks! you were right! using the Serial hardware it works fine!!
Just when i send the AT commands on the code they are received and i have a response correctly. But when i send them on the Serial monitor i have no response.

example:

Serial2.println("AT+CMGF=1");                 
delay(100);

GABDAV: But when i send them on the Serial monitor i have no response.

example:

Serial2.println("AT+CMGF=1");                 
delay(100);

I have no idea what the connection is between your comment and the snippet you posted.

Goodevening All!

I need some help with my e-Gizmo SIM800L. I have a problem with receiving sms. At first it works perfectly but now it seems the module can't accept messages. :( Please help me. Thanks in advance! Godbless.