16X2 Alphanumeric LCD and SIM900 GSM/GPRS Modem based SMS Controlled Wireless Digital Notice Board with ATmega32-I
In this project, we will learn how to make a 16X2 Alphanumeric LCD and SIM900 GSM/GPRS Modem based SMS Controlled Wireless Digital Notice Board with AVR ATmega32 Microcontroller-I. Here, we will receive notice board content wirelessly through SMS using SIM900 GSM/GPRS modem and ATmega32 microcontroller and we will display the notice board content in a 16X2 Alphanumeric LCD. This digital notice board can display only 32 characters only.
When the SIM900 GSM/GPRS modem power is turned on, the ATmega32 microcontroller reads the initial status data sent by the SIM900 GSM/GPRS 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 SIM900 GSM/GPRS modem is ready, the LCD displays "Send Notice" in it. The SIM900 GSM/GPRS modem of Digital Notice Board waits for the new SMS, when the SIM900 GSM/GPRS modem receives new SMS, it sends new SMS notification to the ATmega32 microcontroller. The ATmega32 microcontroller reads the new SMS notification and displays "New Notice" in the alphanumeric LCD. But if the ATmega32 microcontroller receives some other notification(other then SMS like Call and others), then "Unknown Error" is displayed in the alphanumeric LCD. After receiving new SMS notification, the ATmega32 microcontroller will read the SMS from the SIM900 GSM/GPRS modem memory. If it reads the SMS successfully, then it will display the message of the SMS in the 16X2 alphanumeric LCD else it will display "Empty location" when the read memory location is empty and "Error" when there is error in reading the SMS. When the notice SMS is read successfully, the ATmega32 microcontroller displays the 1st 32 characters of the notice SMS in the 16X2 Alphanumeric LCD, as the 16X2 alphanumeric LCD can display a maximum of 32 characters in it at ant instant of time.
Now, send different SMS to the SIM900 GSM/GPRS modem of the Digital Notice Board and see the notice in the 16X2 Alphanumeric LCD.
Post a Comment