I would like to ask around SIM800L EVB module to sending message using Arduino UNO R3 DIP/SMD CH340. i change the pin tx/rx from 2, 3 vice versa, 7,8 the result either not displaying anything or anytext, the serial monitor just displaying AT no respon from the SIM800L EVB module. pls enlighten me. thank you
Schematic for both describe below:
AT Command not displaying anything/anytext:
The code from here I modified the pin as below
#include "SoftwareSerial.h"
SoftwareSerial SMS_Gateway(0, 1); // Rx | Tx
char tempChar = "";
void setup() {
// put your setup code here, to run once:
Serial.begin(115200);
Serial.println("Testing the SIM800 Module");
SMS_Gateway.begin(115200);
for (int i = 0; i < 10; i++) {
Serial.print("=====");
delay(500);
}
Serial.println();
Serial.println("Starting Connection");
}
void loop() {
// put your main code here, to run repeatedly:
if (SMS_Gateway.available()) {
tempChar = SMS_Gateway.read();
Serial.write(tempChar);
}
if (Serial.available()) {
tempChar = Serial.read();
SMS_Gateway.write(tempChar);
}
}