Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
GSM module: Code for Calling using SoftwareSerial
The circuit:
* RX is digital pin 10 (connect to TX of GSM Modem)
* TX is digital pin 11 (connect to RX of GSM Modem)
#include <SoftwareSerial.h>
SoftwareSerial mySerial(10, 11); // RX, TX
void setup()
// Open serial communications and wait for port to open:
Serial.println("Calling through GSM Modem");
// set the data rate for the SoftwareSerial port
mySerial.println("ATD81290255XX;"); // ATD81290255XX; -- watch out here for semicolon at the end!!
Serial.println("Called ATD81290255XX");
void loop() // run over and over
// print response over serial port
if (mySerial.available())
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.