ablab

Hello Readers, welcome to my Blog - A Blog For Bloggers By A Blogger. I'm Arun, an entrepreneur Blogger from India.

20X4 Alphanumeric LCD and SIM900 GSM/GPRS Modem based SMS Controlled Wireless Digital Notice Board with Mobile Number Authentication using ATmega16-II

1016
Mark as Favourite

In this project, we will learn how to make a 20X4 Alphanumeric LCD and SIM900 GSM/GPRS Modem based SMS Controlled Wireless Digital Notice Board with Mobile Number Authentication using AVR ATmega16 Microcontroller-II. Here, we will receive notice board content wirelessly through SMS using SIM900 GSM/GPRS modem and ATmega16 microcontroller and we will display the notice board content in a 20X4 Alphanumeric LCD. But SMS received from one particular mobile number are valid and processed by the digital notice board and others are discarded. This digital notice board can display only 160 characters only.

When the SIM900 GSM/GPRS modem power 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 "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 ATmega16 microcontroller. The ATmega16 microcontroller reads the new SMS notification and displays "New Notice" in the alphanumeric LCD. But if the ATmega16 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 ATmega16 microcontroller will read the SMS from the SIM900 GSM/GPRS modem memory. If it reads the SMS successfully, then it will compare the mobile number from where SMS is received with the stored mobile number 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 ATmega16 microcontroller compares the mobile number from where SMS is received with the stored mobile number, if the mobile numbers matches then "Valid Number" is displayed in the alphanumeric LCD and the message of the notice SMS is displayed in the alphanumeric LCD else "Invalid Number" is displayed in the alphanumeric LCD and SMS is discarded. The mobile number of the received SMS is compared with the stored mobile number each time the digital notice board receives a SMS and SMS received from valid mobile number are processed by the ATmega16 microcontroller and others are discraded. The ATmega16 microcontroller displays the 1st 160 characters of the notice SMS in the 20X4 Alphanumeric LCD. But, since the 20X4 alphanumeric LCD can display a maximum of 80 characters in it at ant instant of time, so 160 characters are displayed in slots of 80 characters. Initiallt 1st 80 charactes are displayed, then next 80 charactes are displayed. There is delay of 2s between display of each 80 characters. In this way, 160 characters are displayed in 2 slots with a time gap of 2s between each slot. The above process contiues and the notice is displayed continuously in the 20X4 alphanumeric LCD.

Now, send different SMS to the SIM900 GSM/GPRS modem of the Digital Notice Board from different mobile number and see the notice in the 20X4 Alphanumeric LCD.

Softwares Required

Hardwares Required

Name Quantity
AVR Trainer Board-100 with ATmega16 1pc
AVR USB Programmer 1pc
SIM 900 GSM/GPRS Modem 1pc
JHD204A 20X4 Alphanumeric LCD Green 1pc
12V, 2A SMPS Adaptor 1pc
10 to 10 FRC Female to Female Connector 2pc
1 to 1 Connector-Female to Female 18pc

Circuit Diagram

Video

Downloads

20X4 Alphanumeric LCD and SIM900 GSM/GPRS Modem based SMS Controlled Wireless Digital Notice Board with Mobile Number Authentication using ATmega16-II
  • 2 downloads 0 Kb

Post a Comment