Escolar Documentos
Profissional Documentos
Cultura Documentos
When we send the message from the mobile, GSM modem which is arranged at the
display unit receives the message. Now the controller reads the message from the GSM
modem and displays in on LCD.
When user sends the message from the mobile, GSM modem sends the below
command serially to indicate that new message is received.
+CMTI: SM,3
In the above command number 3 indicates the location of the new message. Now you
need to read this unread message to display on LCD. The command to read the
message from GSM modem is
at+cmgr=3
Here the number 3 indicates the location of the message to be read. After giving this
command GSM module send the below command serially.
Electronics Hub
From the above command we need to extract message (Electronics Hub) sent by the
user to display on notice board.
Circuit Diagram:
Wireless Electronic Notice Board using GSM Circuit Diagram
Circuit Components:
AT89C51 controller
16*2 LCD
Programming cable
33pF capacitors 2
10uF electrolytic capacitor
12MHz crystal
Software Requirements:
Keil compiler
Flash magic
Proteus
Circuit Design:
The above circuit consists of 8051 controller, GSM module, Level converter and 16*2
LCD. LCD is connected to P1.0 and it is used to display message. GSM module is
connected to controller through the max232 IC. Here it is used for level conversion.
Here LCD is used in 4 bit mode. Means only 4 data lines are required to display the
data. These data lines are connected to P1.4, P1.5, P1.6 and P1.7 and control pins RS,
RW, EN pins are connected to P1.0, P1.1 and P1.2 respectively.
Here the controller logic levels and GSM module logic levels are different. Hence we
use max232 level converter as a mediator between Controller and GSM to transfer the
data. To know more details about max232 refer Max232 Datasheet
In order to communicate with GSM we need to send some AT commands using serial
communication (UART protocol). Here GSM sim 300 module is used. This module
requires 9600 baud rate. To know more details about GSM go through the article GSM
Interfacing with 8051 Microcontroller
Circuit Algorithm:
1. Initialize the LCD and UART protocol
2. Check for the command +CMTI: SM,3 (Location number) to know weather
the new message is received or not
3. If you receive the command then store message location number.
4. Now read that particular location and extract the body of the message
if (rx_data() == +)
if (rx_data() == C)
if (rx_data() == M)
if (rx_data() == T)
if(rx_data()==I)
a = rx_data ();
delay_ms (10);
tx_string (at);
tx_data (0x0d);
tx_data (0x0a);
tx_data (0x0d);
tx_data (0x0a);
tx_data (a);
tx_data (0x0d);
tx_data (0x0a);
lcd_stringxy(1,0,read);
delay_ms (5000);
}
}
2. Now burn the program to the microcontroller with the help of flash magic.
Circuit Applications:
Used in bus stations, railway stations, parks, etc. to display the messages
wirelessly