November 11, 2019
  • 8:50 am BLACKS FOR TRUMP: “Call It Whatever You Want” President Trump Polls Crowd
  • 6:15 am Top 5 YouTube Live Streaming Tips
  • 6:15 am Leicester 2-0 Arsenal – Unai Emery FULL Post Match Press Conference – Subtitles
  • 6:15 am Live Stream with GoPro and iPhone -Kingston DIY in 5 Ep. 9
  • 6:15 am Man Utd 3-1 Brighton – Ole Gunnar Solskjaer FULL Post Match Press Conference – Subtitles
Arduino Tutorial: How to make phone call using the Arduino GSM shield (SIM900)


Dear friends welcome to another video. This is Nick and today I am going to show you how to make a phone call with Arduino,
using the TinySine GSM shield. Let’s go! In this video we build a project where, when the button is pressed, Arduino calls a predefined telephone
number. Let’s try it. I have pressed the button and as you can see the green LED lights up. Now, Arduino is calling my cell phone. Ok, here is the
call. If I press the button once more Arduino hangs up the call. That’s it. It works great! Now, I’m going to press the button again but this time I have connected a microphone to the pink input, so we can hear what Arduino has to say. I will place a small radio close to the microphone and i will move to another room. Let’s make a call. As you can see, Arduino is calling. We have connected and we have placed a microphone close to the radio and let’s hear the sound. As you can see, the sound is great. We are using the Arduino cell phone. Now, let’s see how to connect all the parts together in order to achieve this result. The parts needed in order to build this project are these: we need an Arduino Uno, the TinySine GSM shield, a SIM card in order to use a GSM network, a LED and a button. Let’s connect them together. First, we connect the GSM shield with
Arduino Uno. The SIM card is already placed beneath and be sure that you have disabled the PIN number from the SIM card. I have prepared many detailed tutorials about the TinySine GSM shield, so watch them first in order to have a
better understanding of how this shield works. Now, let’s connect the button. We connect one leg of the bottom to the breadboard ground and that goes to Arduino ground. We connect the other leg of the button to digital pin 7 of Arduino. Next, we connect the LED. Positive goes to digital pin 13 and negative to ground. Now, we are ready to connect power. Now, we have to wait for around 30 sec, in order for the SIM to connect to the GSM network. If we press the button now, the LED will turn on and it will call my cell phone. If i press it again, it will turn off and hang up the call. That’s how easy it is to connect all the
parts together. Now, let’s go to the computer to see the software side of the project. The code of the project is very simple. First of all, we need the TinySine GSM library. You can find the library in the description of the video. At first, we connect to the GSM network. If the connection was successful, we read the button state. If the button is pressed and we are not making a call, we make a call. If we are making a call, when the button is pressed, we hang up the call. The code can be downloaded from the
description of the video. As you can see, making phone calls with Arduino is extremely easy. The project that we have built today, can be quite useful for emergency calls from elderly people or people that can’t use phones easily. Now that we know how to make and receive phone calls with Arduino, we can build more advanced projects. How do you plan to use the GSM shield’s phone capabilities? Feel free to post your ideas in the comments section below. If this is your first time here, I would
love to have you subscribed. In this channel, i post DIY hardware and software projects every Saturday. I love making things and helping people doing the same. I hope you will join our community. Thank you very much for watching this video. I will see you next Saturday!

Robin Kshlerin

RELATED ARTICLES

53 COMMENTS

  1. Scouse VADER Posted on September 19, 2015 at 3:04 pm

    do you have the source code for the arduino? thanks and keep the good work up !!!!

    Reply
  2. Marc Paradis Posted on September 20, 2015 at 2:14 am

    Nice can we gear the other person on the phone?

    Reply
  3. Alex Gray Posted on September 20, 2015 at 10:57 pm

    Nice demo Nick, thanks. It looks like Arduino and GSM could be good for remote monitoring and control of some local FM radio transmitters that have no Internet connections.

    Reply
  4. Roman Šimků Posted on October 30, 2015 at 10:04 pm

    Hi, Great. Does it work without an Arduino board or do i need both – Arduino and GSM Shield toogether?

    Reply
  5. John Gil Reyes Posted on November 18, 2015 at 12:00 am

    How did you import the library?

    Reply
  6. phanindra pvs Posted on January 10, 2016 at 6:38 am

    can we add more than one telephone number in the code??

    Reply
  7. Phong hoàng Posted on January 17, 2016 at 2:40 am

    Hello,
    can you tell me how to register a phone number on the sim and receive calls only when call incoming.
    Thank so much.

    Reply
  8. Karim Ismail Posted on February 4, 2016 at 9:42 am

    fine video series, thank you.

    Reply
  9. S M Towhidul Islam Posted on February 22, 2016 at 10:25 am

    Can we read/write raw voice data from/to serial pins in addition to the mic/headphone ports? I was trying to use raspberry pi and ITEAD rpi gsm addon. I am able to make calls, but unable to receive/send raw voice data through serial board. Relevant suggestion will be helpful.

    Reply
  10. Iván Calvo Posted on March 2, 2016 at 7:46 pm

    My GSM doesnt found net (doesnt blink the net led)

    Help me please!

    Reply
  11. Saad Kamran Posted on March 13, 2016 at 3:34 am

    Hi i am using sim800l and i need to make voice call like you did how do i do that sim800l does not have microphone so i have to connect it separately

    Reply
  12. Volkan Ozsay Posted on March 26, 2016 at 9:44 pm

    Hİ WHAT SİMCON SİM 900R VS SIMCON SIM 900 BETWENN DİFERENT ?

    Reply
  13. Fellipe A. Santos Posted on April 20, 2016 at 7:20 pm

    Code no start, Link is ok?

    Reply
  14. Extol Fax Posted on June 15, 2016 at 10:10 pm

    Hi
    have you noticed that the code is incomplete, as it does not have enough close brackets at the end of the code? there for it would not compile, very interesting tutorials

    Reply
  15. Anushka Eroshan Posted on June 23, 2016 at 8:45 am

    Sir, I,m using sim900a mini GSM module and gsm.begin command is not accepting. Always show in the serial monitor like

    Trying to force the baud-rate to 9600

    1200
    2400
    4800
    9600
    19200
    38400
    57600
    115200
    ERROR: SIM900 doesn't answer. Check power and serial pins in GSM.cpp

    status = IDLE

    please help me to solve this issue..

    Reply
  16. KentTheRockwell Posted on July 23, 2016 at 8:29 am

    This always shows in the error

    SoftwareSerialSoftwareSerial.cpp.o: In function `__vector_9':
    C:Program Files (x86)ArduinohardwarearduinoavrlibrariesSoftwareSerial/SoftwareSerial.cpp:227: multiple definition of `__vector_9'
    GSMGSM3SoftSerial.cpp.o:C:Program Files (x86)ArduinolibrariesGSMsrc/GSM3SoftSerial.cpp:499: first defined here
    c:/program files (x86)/arduino/hardware/tools/avr/bin/../lib/gcc/avr/4.8.1/../../../../avr/bin/ld.exe: Disabling relaxation: it will not work with multiple definitions
    SoftwareSerialSoftwareSerial.cpp.o: In function `SoftwareSerial::read()':
    C:Program Files (x86)ArduinohardwarearduinoavrlibrariesSoftwareSerial/SoftwareSerial.cpp:392: multiple definition of `__vector_10'
    GSMGSM3SoftSerial.cpp.o:C:Program Files (x86)ArduinolibrariesGSMsrc/GSM3SoftSerial.cpp:487: first defined here
    SoftwareSerialSoftwareSerial.cpp.o: In function `SoftwareSerial::read()':
    C:Program Files (x86)ArduinohardwarearduinoavrlibrariesSoftwareSerial/SoftwareSerial.cpp:392: multiple definition of `__vector_11'
    GSMGSM3SoftSerial.cpp.o:C:Program Files (x86)ArduinolibrariesGSMsrc/GSM3SoftSerial.cpp:487: first defined here
    collect2.exe: error: ld returned 1 exit status
    Error compiling.

    Reply
  17. Hector Rauda Posted on August 19, 2016 at 7:02 pm

    hello, i'm new with the arduino and i will try your code, not show any error but i never receive the phone call, you can help me?

    Reply
  18. Andrea Cipriani Posted on September 9, 2016 at 11:29 am

    Se volete acquistarlo, questo è il link: http://www.ebay.it/itm/Arduino-Shield-GSM-GPRS-SIM-900-Quad-Band-/291864820268?hash=item43f47fba2c:g:2jwAAOSwFdtXzEVk

    Reply
  19. Abin George Posted on October 21, 2016 at 2:53 am

    Can we use IDE 1.6.9?

    Reply
  20. Marc Paradis Posted on November 29, 2016 at 2:14 am

    Hi. Can we send music throught the phone line via microphone jack ?

    Thank You!.
    Marc.

    Reply
  21. George Damorakis Posted on February 27, 2017 at 9:39 pm

    I bought,
    recently, a different gsm shield with the same SIM900 chip. But I am unable to
    register it to gsm network (Wind and COSMOTE), according to status LEDs. My SIM
    card is valid and PIN-unlocked. Is there any possibility that the IMEI of SIM900
    chip is blocked?

    Reply
  22. Παντελής Τσέτσος Posted on June 5, 2017 at 4:20 pm

    Ρε , Ελληνικα στο βιντεο!!

    Reply
  23. mohammad amin Sarbazi Posted on July 22, 2017 at 9:09 am

    Thanks 🙂

    Reply
  24. pushkar sharma Posted on August 18, 2017 at 9:38 am

    we can connect to security system making call for security

    Reply
  25. pushkar sharma Posted on August 21, 2017 at 5:31 am

    how can do please make video

    Reply
  26. Kdog 68 Posted on August 25, 2017 at 9:14 pm

    how do add more button and more phone number

    Reply
  27. Md. Ashik Posted on October 26, 2017 at 9:28 am

    please can u give me real code, it showing error when i upload, please give me the code at [email protected]

    Reply
  28. ปิยภรณ์ แก่นนาค Posted on November 16, 2017 at 4:35 am

    Very Good if change to the Sensor PIR code same or not . Please Help me!!!!!!!!!

    Reply
  29. SBS online classes Posted on November 25, 2017 at 8:46 am

    i have notice that
    there is some mistake in if else ..

    Reply
  30. minkο9 - Posted on November 27, 2017 at 4:56 pm

    μονο απο την προφορα φαινεται πως εισαι ελληνας !!

    Reply
  31. Παύλος Βαφειάδης Posted on December 31, 2017 at 10:15 am

    Τι διαφορά έχει αυτό το shield από το Arduino GSM Shield 2 που έχει στο https://store.arduino.cc/arduino-gsm-shield-2-integrated-antenna

    Reply
  32. Rudj Sabbioni Posted on March 7, 2018 at 4:41 pm

    If I put the number to call in a variable it does not work… Call. call(variable)

    Reply
  33. G.n Abhishek Posted on May 1, 2018 at 7:58 pm

    Hi
    I have doubt that is
    it can receive calls??????

    Reply
  34. مريم —عيسى Posted on May 14, 2018 at 9:07 am

    How to make the phone call the Ardeiuno!?

    Reply
  35. Amirul Afiq Posted on June 5, 2018 at 4:57 pm

    Hi sir, besides a button how can I use an ultrasonic motion sensor to trigger the Arduino to make the phone call?

    How would the code look like?

    Best regards,

    Reply
  36. Tonitrum Posted on June 20, 2018 at 5:18 am

    Is it possible to make multiple calls using arduino?

    Reply
  37. Chinkey chachra Posted on June 29, 2018 at 1:43 pm

    I am using some other type of gsm module it doesn't have something like pick socket where microphone can be connected , what are the other ways through which I can connect a microphone.

    Reply
  38. OcarinaInMyPants Posted on September 12, 2018 at 7:43 pm

    In the following link you will find the source code for my arduino project which can:
    https://github.com/catman85/Arduino-Phone
    1)make calls
    2)send sms messages
    3)receive calls and sms messages
    This project was made inspired by this video. Please leave a github star if my code helped you!
    Thank you!

    Reply
  39. _ LYS Posted on September 15, 2018 at 5:36 am

    What kind of SIM card did you use? 4G ,3G or 2G?

    Reply
  40. hassan sedaqat Posted on October 16, 2018 at 7:29 pm

    Hi I want to make a burglar alarm that can establish a call.  please help me  how to make it

    Reply
  41. Rafael Solis Posted on November 11, 2018 at 3:29 am

    what will happen if i declined the call?

    Reply
  42. AyA Suliman Posted on December 18, 2018 at 6:28 am

    can I send call to GSM ?

    Reply
  43. gamelinio 13 Posted on December 28, 2018 at 9:54 pm

    Πολύ ωραίο βίντεο

    Reply
  44. FUTURE TONICS Posted on January 7, 2019 at 3:25 pm

    sir i need this library zip file. can you send me this file.

    Reply
  45. Elijah Bowles Posted on January 12, 2019 at 4:35 am

    to call me when my car alarm goes off

    Reply
  46. Ramesh R Posted on February 5, 2019 at 7:15 pm

    Hi please could you share your thoughts on implementing of Playing a pre recorded voice message when Arduino calls a mobile phone….

    Reply
  47. engr_abdullah U Posted on February 6, 2019 at 7:37 am

    Hello and thank you for this effort I have a question I use the same gsm and make a voice call but after 30 seconds soak contact What is the problem please reply

    Reply
  48. Skamaru Sohaba Posted on February 18, 2019 at 6:55 am

    This is great thanks for the share of this project.

    Reply
  49. Ashwani Kesharwani Posted on March 4, 2019 at 6:08 pm

    Can I Connect 2-3 no. to call other 2-3 mobile

    Reply
  50. Entertainment club Posted on April 7, 2019 at 10:19 am

    How can i add gps system with this plzz tell me bcz there is my hackathon compilation so i hv to represent it

    Reply
  51. Adil Berat Badem Posted on July 26, 2019 at 3:04 pm

    thanks for your this video, but I can't download the "SIM900" and "call" library. How can I download them

    Reply
  52. mytube1000javed Posted on September 22, 2019 at 4:14 pm

    can I use esp 8266 instead of arduino? Does sim 900 shield work with 4G network?

    Reply
LEAVE A COMMENT