SIM Card Presence Detection in SIM900 GSM/GPRS Modem with ATmega16
In this project, we will learn SIM Card Presence Detection in SIM900 GSM/GPRS Modem with AVR ATmega16 Microcontroller. Here, we will check whether a SIM card is inserted in the SIM tray of SIM900 GSM/GPRS modem or not with ATmega16 microcontroller and we will display the SIM status in a 16X2 alphanumeric LCD.
The SIM900 GSM/GPRS modem sends some modem and SIM status data when the GSM/GPRS modem is turned on. From this modem status data, we can know in which mode the SIM900 GSM/GPRS modem will operate:- Minimum Fincationality Mode, Full Funcationality Mode or Aeroplane Mode. And whether the SIM900 GSM/GPRS modem is ready for call/SMS/GPRS operation or not. By default, the SIM900 GSM/GPRS modem operates in Full Funtionality mode. From the SIM status data, we can know whether SIM card is present or not and if SIM card is present, then whether it needs any password(SIM PIN, SIM PUK and others ) or not. The communication between SIM900 GSM/GPRS modem and ATmega16 microcontroller takes place through USART communication protocol. Now, when the SIM900 GSM/GPRS modem is turned on, the ATmega16 microcontroller reads the initial status data sent by the SIM900 GSM/GPRS modem through USART protocol. After reading the status data, the ATmega16 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 "SIM is Absent" is displayed, if SIM card is present and modem is ready, then "SIM is Present" is displayed and for other conditions, "SIM900 Error" is displayed in the alphanumeric LCD.
Now, check the status message in the 16X2 alphanumeric LCD with and without SIM card in the SIM tray of the SIM900 GSM/GPRS modem.
Post a Comment