Example Code for Arduino-Receive Voice Call (Library)

Last revision 2026/01/24

This article offers a practical guide on integrating Arduino with the SIM808 module to receive voice calls, featuring detailed hardware setup, software installation, and example code for automatic call answering.

Hardware Preparation

Software Preparation

Preparations

  1. Install library to Arduino-1.5.*\libraries (not Documents\Arduino\Library)
  2. Upload sample sketch File > Examples > SIM808 > ReceiveCall
  3. Open Serial Monitor (9600 baud, Newline)
  4. Make a call to the SIM card on the module after you got the message Waiting for a call
  5. The module would answer the coming call automatically, and you will get the message
  6. You can send a Newline to hang up

Result

DFR0355_answer_a_call

Function Explanation

  • Vcs.retrieveCallingNumber (): Get the call number
  • Vcs.answerCall (): Answer the call

Was this article helpful?

TOP