Go Down

Topic: Sim800 gsm module (Read 6010 times) previous topic - next topic

theboss

I bought the following Sim800L GSM module. The module is calling and sending messages, but I can not control arduino by sending messages. In addition, the module does not respond to AT commands. Can anyone with experience in this matter help me?


Code: [Select]
#include <SoftwareSerial.h>
SoftwareSerial GPRS(7, 8); // RX, TX

void setup()
{
  GPRS.begin(9600);
  Serial.begin(9600);
}

void loop()
{
  while(GPRS.available())
    Serial.write(GPRS.read());

  while (Serial.available())
      GPRS.write(Serial.read());
}


I use this code. I am using a 2A 15V power supply and LM2596 DC-DC.
The circuit diagram is as follows.

spkr

Hello, you should connect pin 7(rx) to sim800L tx, and pin 8(tx) to sim800L rx for communicate with sim800 via serial from PC serial monitor

theboss

First of all thank you for your interest but it did not work again.

spkr

See this post:
https://exploreembedded.com/wiki/GSM_SIM800L_Sheild_with_Arduino

Seems that is the same as you want

Go Up