Engineers Garage

  • Electronic Projects & Tutorials
    • Electronic Projects
      • Arduino Projects
      • AVR
      • Raspberry pi
      • ESP8266
      • BeagleBone
      • 8051 Microcontroller
      • ARM
      • PIC Microcontroller
      • STM32
    • Tutorials
      • Audio Electronics
      • Battery Management
      • Brainwave
      • Electric Vehicles
      • EMI/EMC/RFI
      • Hardware Filters
      • IoT tutorials
      • Power Tutorials
      • Python
      • Sensors
      • USB
      • VHDL
    • Circuit Design
    • Project Videos
    • Components
  • Articles
    • Tech Articles
    • Insight
    • Invention Stories
    • How to
    • What Is
  • News
    • Electronic Product News
    • Business News
    • Company/Start-up News
    • DIY Reviews
    • Guest Post
  • Forums
    • EDABoard.com
    • Electro-Tech-Online
    • EG Forum Archive
  • DigiKey Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • Learn
    • eBooks/Tech Tips
    • Design Guides
    • Learning Center
    • Tech Toolboxes
    • Webinars & Digital Events
  • Resources
    • Digital Issues
    • EE Training Days
    • LEAP Awards
    • Podcasts
    • Webinars / Digital Events
    • White Papers
    • Engineering Diversity & Inclusion
    • DesignFast
  • Guest Post Guidelines
  • Advertise
  • Subscribe

Make a Voice Call Using GSM and Arduino

By Salman Khan October 25, 2014

 

GSM is a very common device that is used in major projects and Real Time Operations. There are many application using GSM Module features like Sending Message, Make a Voice Call, Reading Message, Attempting Call etc. Many times you have made a Voice Call using your Mobile Phone and by using Hyper Terminal of your computer via GSM by sending commands to GSM using Microcontroller. It is assumed that the reader has gone through the project how to get started with the arduino and Interface LCD with arduino.

Prototype of Arduino and GSM GPRS Modem based Mobile Caller

Fig. 1: Prototype of Arduino and GSM GPRS Modem based Mobile Caller

The unique part of this project is that, here I am going to demonstrate how to make a Voice Call using Numeric Keypad and GSM. This is very simple which can be done very easily.

Image showing Arduino and GSM GPRS Modem based Mobile Caller in action

Fig. 2: Image showing Arduino and GSM GPRS Modem based Mobile Caller in action

In this project we enter a number by using Keypad and then by using Sending Button (*) we can Dial that Number.

 

Block Diagram 

Block Diagram of Arduino and GSM GPRS Modem based Mobile Caller

Fig. 3: Block Diagram of Arduino and GSM GPRS Modem based Mobile Caller

The Circuit is easy and to make this project one has to use a 16×2 LCD for displaying the Dialed Numbers and Show Button status like * for Send and # for Delete. A GSM Module is used for making a Voice Call. Arduino is used here for controlling the whole process, and a Numeric Keypad is used in this circuit which is used for Entering, for Deleting Mobile Number and Dialing the Entered Number. A 4×3 Numeric Keypad is used in the project, by using this type of keypad you can easily enter any number (0, 1, 2, 3, 4, 5, 6, 7, 8, 9, * and #). In this project you can Delete Last Entered Digit, which means this project can also handle options for delete or for corrections.

Circuit Diagram of Keypad used in Arduino and GSM GPRS based Mobile Caller

Fig. 4: Circuit Diagram of Keypad used in Arduino and GSM GPRS based Mobile Caller

Circuit Description & Components Used

Circuit Description

GSM module’s Rxand Txpins are directly connected with Arduino’s pinTx and Rx respectively (Ground of Arduino and GSM must be connected with each other). 16×2 LCD’s rs, en, d4, d5, d6 and d7 pins are connected with pin number 7, 6, 5, 4, 3 and 2 o Arduino respectively.

Image of Keypad designed for Arduino and GSM GPRS based Mobile Caller

Fig. 5: Image of Keypad designed for Arduino and GSM GPRS based Mobile Caller

4×3 keypad’s Row pins  R1, R2, R3, R4 are directly connected with pin number 13,12, 11, 10 of Arduino and Colum pin of Keypad C1, C2, C3 are connected with pin number 14, 15, 16 (A0, A1, A2) of the Arduino. With the Colum 10K pull up Resistor should be connected for proper keys. Please refer Circuit Diagram Tab for Circuit.

 

Programming

Programming part of this project is very simple as no Keypad Library is used for getting keys. Here if statement is used for the key to get pressed.

Screenshot of Arduino code used to display dialed number on character LCD

Fig. 6: Screenshot of Arduino code used to display dialed number on character LCD

Components Used

1.      Arduino

2.      GSM Module

3.      Keypad

4.      16×2 LCD

5.      Connecting Wires

6.      Power Supply

Project Source Code

###

#include<LiquidCrystal.h>
LiquidCrystal lcd(7, 6, 5,4, 3, 2);

#define R1 13
#define R2 12
#define R3 11
#define R4 10
#define C3 16  //A2
#define C2 15  //A1
#define C1 14  //A0
int i,j,r=0,c=0,num,m;

char value;
int temp=0;

char number[10];

void setup()
{
  Serial.begin(9600);
  pinMode(R1, OUTPUT);
  pinMode(R2, OUTPUT);
  pinMode(R3, OUTPUT);
  pinMode(R4, OUTPUT);
  pinMode(C1, INPUT);
  pinMode(C2, INPUT);
  pinMode(C3, INPUT);
 
  digitalWrite(R1, HIGH);
  digitalWrite(R2, HIGH);
  digitalWrite(R3, HIGH);
  digitalWrite(R4, HIGH);
 
  lcd.begin(16,2);
  lcd.setCursor(0,0);
  lcd.print("  Make A Call   ");
  lcd.setCursor(0,1);
  lcd.print("Using Keypad And");
  delay(3000);
  lcd.setCursor(0,0);
  lcd.print(" GSM By Saddam  ");
  lcd.setCursor(0,1);
  lcd.print("Engineers Garage");
  delay(3000);
  lcd.clear();
}

void loop()
{
  lcd.setCursor(0,0);
  lcd.print(" Enter Number ");
  delay(2000);
  lcd.clear();
  lcd.setCursor(0,1);
  lcd.print("Dial(*)   del(#)");
  lcd.setCursor(0,0);
  c=0;r=0;
   num=0;
  temp=0;
  while(temp==0)
  {
    lcd.cursor();
    digitalWrite(R1, LOW);
   
    if(digitalRead(C1)==0)
   {
      lcd.print(number[num]='1');
      num++;
      delay(200);
       while(digitalRead(C1)==0);
       c++;
   }
  
   if(digitalRead(C2)==0)
   {
      lcd.print(number[num]='2');
      num++;
      delay(200);
       while(digitalRead(C2)==0);
       c++;
   }
  
   if(digitalRead(C3)==0)
   {
      lcd.print(number[num]='3');
      num++;
      delay(200);
       while(digitalRead(C3)==0);
       c++;
   }
  
     digitalWrite(R1, HIGH);
  digitalWrite(R2, LOW);

/* key 4 */

   if(digitalRead(C1)==0)
   {
      lcd.print(number[num]='4');
      num++;
      delay(200);
       while(digitalRead(C1)==0);
   c++;
}
  
   if(digitalRead(C2)==0)
   {
      lcd.print(number[num]='5');
      num++;
      delay(200);
       while(digitalRead(C2)==0);
c++;
   }
  
   if(digitalRead(C3)==0)
   {
      lcd.print(number[num]='6');
      num++;
      delay(200);
       while(digitalRead(C3)==0);
c++; 
}
 
   /* key 7*/
digitalWrite(R2, HIGH);
digitalWrite(R3, LOW);
   if(digitalRead(C1)==0)
   {
      lcd.print(number[num]='7');
      num++;
      delay(200);
       while(digitalRead(C1)==0);
c++; 
}
  
   if(digitalRead(C2)==0)
   {
      lcd.print(number[num]='8');
      num++;
      delay(200);
       while(digitalRead(C2)==0);
       c++;
   }
  
   if(digitalRead(C3)==0)
   {
      lcd.print(number[num]='9');
      num++;
      delay(200);
       while(digitalRead(C3)==0);
       c++;
   }
  
    /* key * */

digitalWrite(R3, HIGH);
digitalWrite(R4, LOW);
   if(digitalRead(C1)==0)
   {
      Serial.print("ATD+91");
      for(int i=0;i<10;i++)
      Serial.print(number[i]);
      Serial.println(";");
      delay(10);
      lcd.clear();
      lcd.setCursor(0,0);
      lcd.print("+91");
      for(int i=0;i<10;i++)
      lcd.print(number[i]);
      for(int i=0;i<25;i++)
      {
      lcd.setCursor(0,1);
      lcd.print("dialling.       ");
      delay(500);
      lcd.setCursor(0,1);
      lcd.print("dialling..      ");
      delay(500);
      lcd.setCursor(0,1);
      lcd.print("dialling...     ");
      delay(500);
      lcd.setCursor(0,1);
      lcd.print("dialling....    ");
      delay(500);
      }
      //delay(5000);
      lcd.setCursor(0,1);
      lcd.print("Call Ended      ");
      temp=1;
   }
  
    if(digitalRead(C2)==0)
    {
      lcd.noCursor();
      value=48;
      delay(10);
      for(i=0;i<200;i++)
      for(j=0;j<700;j++)
      {
       if(digitalRead(C2)==0)
       {
        lcd.setCursor(c,0);
        lcd.print(number[num]=value);
        value=value-6;
        if(value==36)
          value=35;
         if(value < 35)
          value=48;
        while(digitalRead(C2)==0);
        i=0,j=0;
        delay(100);
      }
    }
    num++;c++;
    if(c==16)
      c=0;
      while(digitalRead(C2)==0);
     }
    
  if(digitalRead(C3)==0)
  {
      num--;   
      c--;
      if(c<0)
      c=0;
    lcd.setCursor(c,r);
    lcd.print(' ');
    lcd.setCursor(c,r);
    while(digitalRead(C3)==0);
    delay(200);
  }
  digitalWrite(R4, HIGH);
  if(c==11)
  c=10;
  }
}

###

 


Circuit Diagrams

Circuit-Diagram-Arduino-GSM-GPRS-Modem-Based-Portable-Mobile-Caller

Project Video


Filed Under: Electronic Projects
Tagged With: Arduino, gsm, voice call
 

Next Article

← Previous Article
Next Article →

Questions related to this article?
👉Ask and discuss on EDAboard.com and Electro-Tech-Online.com forums.



Tell Us What You Think!! Cancel reply

You must be logged in to post a comment.

EE TECH TOOLBOX

“ee
Tech Toolbox: 5G Technology
This Tech Toolbox covers the basics of 5G technology plus a story about how engineers designed and built a prototype DSL router mostly from old cellphone parts. Download this first 5G/wired/wireless communications Tech Toolbox to learn more!

EE Learning Center

EE Learning Center
“engineers
EXPAND YOUR KNOWLEDGE AND STAY CONNECTED
Get the latest info on technologies, tools and strategies for EE professionals.

HAVE A QUESTION?

Have a technical question about an article or other engineering questions? Check out our engineering forums EDABoard.com and Electro-Tech-Online.com where you can get those questions asked and answered by your peers!


RSS EDABOARD.com Discussions

  • Exporting sensor readings as data...
  • Inconsistent Charge Termination Voltage with battery charger
  • 21V keeps getting shorted to my UART line.
  • Voltage mode pushpull is a nonsense SMPS?
  • Voltage mode push pull with extra DC blocking capacitor

RSS Electro-Tech-Online.com Discussions

  • Is AI making embedded software developers more productive?
  • Why can't I breadboard this oscillator?
  • using a RTC in SF basic
  • Parts required for a personal project
  • Cataract Lens Options?

Featured – RPi Python Programming (27 Part)

  • RPi Python Programming 21: The SIM900A AT commands
  • RPi Python Programming 22: Calls & SMS using a SIM900A GSM-GPRS modem
  • RPi Python Programming 23: Interfacing a NEO-6MV2 GPS module with Raspberry Pi
  • RPi Python Programming 24: I2C explained
  • RPi Python Programming 25 – Synchronous serial communication in Raspberry Pi using I2C protocol
  • RPi Python Programming 26 – Interfacing ADXL345 accelerometer sensor with Raspberry Pi

Recent Articles

  • GigaDevice launches GD32C231 MCU series with 48MHz Cortex-M23 core and 64KB Flash
  • Advanced Energy releases 425 W CF-rated medical power supply in 3.5 x 6 x 1.5-inch format”
  • LEM combines shunt and Hall effect sensing in 2000 A current measurement unit
  • What is AWS IoT Core and when should you use it?
  • AC-DC power supply extends voltage range to 800 V DC

EE ENGINEERING TRAINING DAYS

engineering

Submit a Guest Post

submit a guest post
Engineers Garage
  • Analog IC TIps
  • Connector Tips
  • Battery Power Tips
  • DesignFast
  • EDABoard Forums
  • EE World Online
  • Electro-Tech-Online Forums
  • EV Engineering
  • Microcontroller Tips
  • Power Electronic Tips
  • Sensor Tips
  • Test and Measurement Tips
  • 5G Technology World
  • Subscribe to our newsletter
  • About Us
  • Contact Us
  • Advertise

Copyright © 2025 WTWH Media LLC. All Rights Reserved. The material on this site may not be reproduced, distributed, transmitted, cached or otherwise used, except with the prior written permission of WTWH Media
Privacy Policy

Search Engineers Garage

  • Electronic Projects & Tutorials
    • Electronic Projects
      • Arduino Projects
      • AVR
      • Raspberry pi
      • ESP8266
      • BeagleBone
      • 8051 Microcontroller
      • ARM
      • PIC Microcontroller
      • STM32
    • Tutorials
      • Audio Electronics
      • Battery Management
      • Brainwave
      • Electric Vehicles
      • EMI/EMC/RFI
      • Hardware Filters
      • IoT tutorials
      • Power Tutorials
      • Python
      • Sensors
      • USB
      • VHDL
    • Circuit Design
    • Project Videos
    • Components
  • Articles
    • Tech Articles
    • Insight
    • Invention Stories
    • How to
    • What Is
  • News
    • Electronic Product News
    • Business News
    • Company/Start-up News
    • DIY Reviews
    • Guest Post
  • Forums
    • EDABoard.com
    • Electro-Tech-Online
    • EG Forum Archive
  • DigiKey Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • Learn
    • eBooks/Tech Tips
    • Design Guides
    • Learning Center
    • Tech Toolboxes
    • Webinars & Digital Events
  • Resources
    • Digital Issues
    • EE Training Days
    • LEAP Awards
    • Podcasts
    • Webinars / Digital Events
    • White Papers
    • Engineering Diversity & Inclusion
    • DesignFast
  • Guest Post Guidelines
  • Advertise
  • Subscribe