Hi Experts,
I am trying to interface SIM900A with Arduino UNO but unable to do it successfully. I am using external power supply to power up SIM900A module. I am connecting Arduino UNO 9 and 10 pins to for TX and RX of SIM900A module respectively.
Please find below the sample code that I am using to test…
#include <SoftwareSerial.h>
SoftwareSerial mySerial(9, 10);
void setup()
{
mySerial.begin(9600); // Setting the baud rate of GSM Module
Serial.begin(9600); // Setting the baud rate of Serial Monitor (Arduino)
Serial.println("GSM SIM900A BEGIN");
mySerial.println("ATD+919945XXXXXX;"); // ATDxxxxxxxxxx; -- watch out here for semicolon at the end!!
Serial.println("Calling "); // print response over serial port
delay(10000);
mySerial.println("ATH");
Serial.println("Hangup Call");
delay(1000);
}
void loop()
{
}
The baud rate to communicate with the SIM900A module that I have used is 9600 and I have checked same in Serial terminal as well.
I am able to successfully run the AT commands from Serial terminal.
In the Console I can see following messages.
But Nothing is happening, I am not getting any calls. I tried providing higher delay between ATD and ATH.
Seeking Experts help here. I am Stuck.