Receiving an Incoming Call in SIM808 GSM/GPRS/GPS Modem with ATmega32
In this project, we will learn Receiving an Incoming Call in SIM808 GSM/GPRS/GPS Modem with AVR ATmega32 Microcontroller. Here, we will receive an incoming call to the SIM808 GSM/GPRS/GPS modem with ATmega32 microcontroller and we will display the status of the Call receiving in a 16X2 alphanumeric LCD.
When the SIM808 GSM/GPRS/GPS modem power is turned on, the ATmega32 microcontroller reads the initial status data sent by the SIM808 GSM/GPRS/GPS modem through USART protocol. After reading the status data, the ATmega32 microcontroller processes the SIM900 GSM/GPRS modem status data and displays the status of the modem and SIM in the alphanumeric LCD. If SIM card is not present, then "Plz Insert SIM" is displayed, if SIM card is present and modem is ready, then "SIM900 is Ready" is displayed and for other conditions, "SIM900 Error" is displayed in the alphanumeric LCD.
Now, when the SIM808 GSM/GPRS/GPS modem is ready and it gets an incoming call, the SIM808 GSM/GPRS/GPS modem sends "RING" string to the ATmega32 microcontroller for each ring it receives. The ATmega32 microcontroller will read the "RING" string and it will count the number of rings. On reading the 1st "RING" string, "Incoming Call" is displayed in the 16X2 alphanumeric LCD. After 4 ring, the ATmega32 microcontroller will send "ATA" AT command(ATA command is used to receive an incoming call) to the SIM808 GSM/GPRS/GPS modem. In response to the AT command, the SIM808 GSM/GPRS/GPS modem will a send a response to the ATmega32 microcontroller. The ATmega32 microcontroller will analyse the response and accordingly it will display the status of Call receiving in the alphanumeric LCD. The alphanumeric LCD will display "Call Received" if SIM808 GSM/GPRS/GPS modem receives the incoming call or it will display "Error" if AT command is not executed properly or "Other Error" for other types of error in the SIM808 GSM/GPRS/GPS modem. Now, if the incoming call is received, then we can talk to the person on the other side by connection a 3.5mm headphone with the SIM808 GSM/GPRS/GPS modem.
Now, call the number that is there in the SIM808 GSM/GPRS/GPS modem SIM tray and check whether the incoming call is received after 4 ring or not.
Post a Comment