Tutorial: How to use SIM800L GSM Module using Arduino | Make or Answer Voice Calls

Here we will further our exploration with the SIM800L GSM Module by testing the voice call capability.

To make a voice call:
   1. Send ATD+ZZxxxxxxxxxx;<CR><LF>
      – this is tell the GSM module to dial the following mobile number
        ZZ – the country code of the mobile number you want to call
        xx – is the 10-digit mobile number
        ; – don’t forget semi-colon, it will error without the semi-colon
        CR – Cariage Return, ASCII character 13 or r
        LF – Line Feed, ASCII character 10 or n
 
To answer the incoming voice call:
   1. Send ATA<CR><LF>
      – this tells the GSM module to answer the incoming voice call
        CR – Cariage Return, ASCII character 13 or r
        LF – Line Feed, ASCII character 10 or n

To reject the incoming call or terminate ongoing call:
   1. Send ATH<CR><LF>
      – this tells the GSM module to hang up the call.
        CR – Cariage Return, ASCII character 13 or r
        LF – Line Feed, ASCII character 10 or n

Video Demonstration:

 
 
Source Code:
 
#include "SoftwareSerial.h"

SoftwareSerial mySerial(2, 3);

void setup(){

  Serial.begin(9600);
  mySerial.begin(9600);

}

void loop(){

  while (Serial.available()) 
  {
    mySerial.write(Serial.read());//Forward what Serial received to Software Serial Port
  }
  while(mySerial.available()) 
  {
    Serial.write(mySerial.read());//Forward what Software Serial received to Serial Port
  }

}
 
 
If you found this tutorial helpful, please do Like and Share this to your friends so that many could benefit from it. 
 
Also please do not forget to Subscribe to my Youtube channel:

Thank you and have a good day.

3 thoughts on “Tutorial: How to use SIM800L GSM Module using Arduino | Make or Answer Voice Calls

  1. hello there and thank you for your info – I’ve definitely picked up anything new from right here.

    I did however expertise some technical issues using this site,
    as I experienced to reload the site many times previous to I could get it
    to load correctly. I had been wondering if your web hosting
    is OK? Not that I am complaining, but slow loading instances times will often affect your placement in google
    and could damage your high-quality score if advertising and marketing
    with Adwords. Well I’m adding this RSS to my email and can look out for much more of your respective interesting content.
    Make sure you update this again soon.

Leave a Reply

Your email address will not be published. Required fields are marked *