You are on page 1of 47

GSM Based Wireless e-Notice Board February 11, 2015

Chapter One

Introduction
Wireless communication has announced its arrival on big stage and the world is going mobile. As
we wish to control everything and without moving an inch. The main of this project will be to
design a SMS driven automatic display board which can replace the currently used programmable
electronic display .the message to be displayed is sent through a SMS from an authorized
transmitter. The microcontroller receives the SMS, validate the sender and display the desired
information. The GSM based display board can be used as add on to these display boards and make
it truly wireless. The display board program itself with the help of the incoming SMS with proper
validation. Such a system proves to be helpful for immediate transfer. The main component of the
system include Microcontroller, GSM modem. These components are integrated with the display
board and thus incorporate the wireless features. The GSM modem receives the SMS. The AT
commands are serially transferred to the modem through serial transmit and connection. In return
the modem transmit the stored message through the same serial port. The microcontroller validates
the SMS and then display the message on the LED display board. Various time division
multiplexing techniques have been suggested to make the display board functionally efficient. The
microcontroller used in this case is ATMEGA32, SIMCOM900A is used as the GSM modem. The
data will be displayed only after entering unique pass key. In addition to that address matching is
done and data can be received only by the dedicated receiver, and this data is displayed on LED
display. The main focus of the project is on displaying information to a dedicated LED display by
the any part of world using GSM network, which facilitate to control any message board globally
from any location.

JU, JIT, ECE: Electronic Communication Stream 1


GSM Based Wireless e-Notice Board February 11, 2015

1.1 Objective
The aim of the proposed system is to develop an embedded system to allow customer of the
company to read announcement from the LCD.
The system specifically has the following objectives:
Using GSM mobile we can send message to any distant located e-notice board from any
remote area
To save the time for the manager of the company
Unlike the paper it reduce the time delay and discardness

General objectives of the project are defined as:


To share information to the user and other customer of the company (organization) through
Short Message Service (SMS).
To effectively receive and transmit data via SMS
To eliminate the need of being physically present in any location to announce required
information remotely
Minimize power and time wastage

JU, JIT, ECE: Electronic Communication Stream 2


GSM Based Wireless e-Notice Board February 11, 2015

1.2 Statement of the Problem


Technology has advanced so much in the last decade or two that it has made life more efficient
and comfortable. The comfort of being able to send data from one particular location has become
imperative as it saves a lot of time and effort. Therefore there arises a need to do so in a systematic
manner which we have tried to implement with the system. The proposed system is an extended
approach to Wireless Electronic Notice Board system.
With the advancement and breakthroughs in technology over the years, the lives of people have
become more complicated and thus they have become busier than before.
With the adoption of this system, one can share information over certain things that required
constant attention. The application of the system comes in handy when a certain company wants
to announce things such as vacancy announcement, time table schedule and so on, they can now
do so without their presence by the transmission of a simple text message from their mobile phone.
The objective of this project is to develop a device that allows for a user to remotely transmit a
message using a cellular phone. This system will be a powerful and flexible tool that will offer this
service at any time, and from anywhere with the constraints of the technologies being applied.
The proposed approach for designing this system is to implement a microcontroller-based control
module that receives its instructions and command from a cellular phone over the GSM network.
The microcontroller then will carry out the issued commands and then communicate with LCD.

JU, JIT, ECE: Electronic Communication Stream 3


GSM Based Wireless e-Notice Board February 11, 2015

1.3 Scopes and Purpose of System Specification


The system specification shows the description of the function and the performance of system and
the user. The scope of the project GSM Based notice board system is immense.
The future implications of the project are very great considering the amount of time and resources
it saves. The project have undertaken can be used as a reference to introduce users can access the
services of GSM Notice Board remotely and the customer of a certain company can be encourage
themselves to go in hand with such smart technology. The project itself can be modified to achieve
a complete Wireless Electronic Notice Board system which will then create a platform for the
sender to broadcast information from the transmitting to the receiving part so that the reader can
easily obtain things to be announced.

JU, JIT, ECE: Electronic Communication Stream 4


GSM Based Wireless e-Notice Board February 11, 2015

Chapter Two

Literature Review
The word GSM Refers to Global System for Mobile Communications. Nowadays many people
are showing lot of interest to know more about GSM related concepts. So, here we have surveyed
a list of various GSM based projects ideas which are having more demand and very interesting to
learn. The following projects based on GSM technology we surveyed would give better idea about
the GSM technology practically.

2.1 GSM Based Display with Set of Tools


Presently, the wireless communication has announced its arrival on big stage and the world is
going mobile. We want to control everything and without moving an inch. This remote of
appliances is possible through Embedded Systems. The main aim of the project will be to design
a GSM based electronic notice board system which can replace the currently used manually fixing
announcement by using paper. It is proposed to design receive SMS message display which can
be programmed from an authorized mobile phone. The message to be displayed is sent through an
SMS from an authorized transmitter. The tool receives the SMS, Validates the sending Mobile
Identification Number and send the desired information after necessary code conversions.

2.2 GSM Based Data Acquisition System


GSM based data acquisition is a process control system that enables a site operator to monitor and
control processes that are distributed among various remote sites. This system saves time and
money by eliminating the need for service personnel to attach the paper each and every time during
work hour.

2.3 Development of SMS Based Teaching and Learning Systems


The Short Message Service (SMS) technology is one the most stable mobile technologies around
the world. Most of our tertiary students carry mobile phones with SMS facilities and can be used
for teaching and learning. There are many projects using SMS technologies in education as
outlined in the literature survey, but many publications do not provide the possible underlying

JU, JIT, ECE: Electronic Communication Stream 5


GSM Based Wireless e-Notice Board February 11, 2015

technologies to implement such as the teaching and learning systems. The system is capable of
supporting administrative teaching and learning activities via the SMS technology.

2.4 Design and Development of GSM Based Energy Meter


Traditional metering method for retrieving the energy data is not convenient and the cost of the
data logging systems is high. Automatic Meter Reading (AMR) system is boom for remote
monitoring and control domestic energy meter. AMR system gives the information of meter
reading, power cut, total load used, power disconnect and tempering on request or regularly in
particular interval through SMS. The information is being sent and received by concerned energy
Provider Company with the help of GSM network. Energy provider receives the meter reading
within a second without visiting person AMR minimize the number of traditional visits required
by employs of energy Provider Company. This system not only reduces the labor cost but also
increase meter reading accuracy and save huge amount of time.

2.5 GSM Based Automatic Meter Reading System Using Arm


Nowadays the automation in every field is becoming necessary. The service provider for energy
still uses conventional methods for getting the energy consumed by individual costumer. The
proposed system automatically reads the energy consumed and sends it to the service provider
using the existing SMS.

2.6 Multiple Unit GSM Controlled Devices


The human mind always needs information of interest to control systems of his/her choice. In the
age of electronic systems it is important to be able to control and acquire information from
everywhere. Remote management of several home and office appliances is a subject of growing
interest and in recent years we have seen many systems providing such controls. In this study we
have developed an interface which is a phone based home/office remote controller equipped with
power to turn ON/OFF and receive STATUS of electrical appliances remotely located.

2.7 GSM TECHNOLOGY


GSM is a global system for mobile communication GSM is an international digital cellular
telecommunication. The GSM standard was released by ETSI (European telecom standard
institute) back in 1989. The first commercial services were launched in 1991 and after its early
introduction in Europe; the standard went global in 1992. Since then, GSM has become the most
widely adopted and fastest-growing digital cellular standard, and it is positioned to become the

JU, JIT, ECE: Electronic Communication Stream 6


GSM Based Wireless e-Notice Board February 11, 2015

world’s dominant cellular standard. Today’s second-generation GSM networks deliver high
quality and secure mobile voice and data services (such as SMS Text Messaging) with full roaming
capabilities across the world. GSM platform is a hugely successful technology and as
unprecedented story of global achievement is less than ten years since the first GSM network was
commercially launched, it become, the world’s leading and fastest growing mobile standard, and
spanning over 173 countries. Today, GSM technology is in use by more than one in ten of the
world’s population and growth continues to sour with the number of subscriber worldwide
expected to surpass one billion by through end of 2003.
Today’s GSM platform is living, growing and evolving and already offers an expanded and
feature-rich ‘family’ of voice and enabling services. The Global System for Mobile
Communication (GSM) network is a cellular telecommunication network with a versatile
architecture complying with the ETSI GSM 900/GSM 1800 standard. Siemen’s implementation is
the digital cellular mobile communication system D900/1800/1900 that uses the very latest
technology to meet every requirement of the standard.

2.8 GSM Network Architecture

Fig 1.GSM Network Architecture

JU, JIT, ECE: Electronic Communication Stream 7


GSM Based Wireless e-Notice Board February 11, 2015

Chapter Three
The Methodology and System Design
3.1 Methodology
The goal of the proposed system is to contribute to the user who wants to display a message from
distance when one cannot able to present physically. The design of the project is basically divided
into:
 Transmitting Section
 Receiving Section
Transmitting section consists of just mobile which has inbuilt by GSM modem for wireless data
transfer through GSM. GSM originally from group of special mobile is the most popular standard
for mobile phone in the world. It is a cellular network, which means that mobile phone connect to
it by searching for cells in the immediate vicinity. The modulation used in GSM is GMSK, signal
to be modulated on to the carrier is first smoothed Gaussian low pass filter prior to being fed to
frequency modulator which greatly reduces adjacent channel interference. In the transmitting
section since it is a multiuser system, various are authenticated to use the system or display
messages on the notice board. For the security individual pass word are provided to authenticate
users. To display their message on notice board, user need to authenticate itself with the system by
sending the message containing the assigned pass word and the text to the receiver section SIM
number.
Receiving section consists of
 GSM mobile which is used in the project to receive the message at the receiving section
and consists of GSM modem. It is a wireless modem that works with a GSM wireless
network sending and receiving data through radio waves.
 Microcontroller and
 LCD
Then user send the message in his/her mobile phone by defining the message and then the password
of the system to the number of the subscriber identity module (SIM) which is inserted in the display
system modem. The microcontroller will read the message from serial head phone and verify for
the password if the password is correct then it will start displaying the message in the display
system.

JU, JIT, ECE: Electronic Communication Stream 8


GSM Based Wireless e-Notice Board February 11, 2015

3.2 BLOCK DIAGRAM

Mobile phone Cell phone tower GSM Modem

Power Supply

Microcontroller
LCD Display

Fig 2. Block Diagram of Overall System


3.2.1 Description of Block Diagram
The figure shown above is the simple block diagram of this project. It is a simple illustration of
how the project is implemented and the various parts involved in it. From the above representation,
the first Mobile station is used as a transmitting section from which the subscriber sends text
messages that contain commands and instructions to the GSM modem which is based on a specific
area where our control system is located.
This will be a moving message display, which can be used as the digital notice board, and also a
GSM modem, which is the latest technology used for communication between the mobile and the
embedded devices. System will work like when the user wants to display or update the notice
board, the user has to send the message from his mobile defining the message and then the
password of the system to the number of the SIM which is inserted in the display system MODEM.
Then the MODEM connected to the display system will receive the SMS, the microcontroller
inside the system is programmed in such a way that when the modem receives any message the
microcontroller will read the message form serial port and verify for the password, if the pass word
is correct then it will start displaying the messages in the display system. The messages are
displayed on the LCD display. The prototype of the GSM based display toolkit has facilities to be
integrated with a display board thus making it truly mobile. The toolkit accepts the SMS, stores it,

JU, JIT, ECE: Electronic Communication Stream 9


GSM Based Wireless e-Notice Board February 11, 2015

validates it and then displays it in the LCD module. The SMS is deleted from the SIM each time
it is read, thus making room for the next SMS.
Assuming that the Liquid Crystal Display is powered and operating properly, the process of
sending or transmitting a message will proceed through the following steps:
The remote user sends text messages including commands to the receiver.
GSM receiver receives messages sent from the user cell phone.
GSM receiver decodes the sent message and sends the commands to the microcontroller.
Microcontroller issues commands to the LCD and the information sent will be displayed.

3.3 Flow Chart


Start

Initialize Ports

Enable LCD

Set Baud Rate

Read AT Command

Send AT Command to GSM Modem

JU, JIT, ECE: Electronic Communication Stream 10


GSM Based Wireless e-Notice Board February 11, 2015

Incoming Message

Check for New message

Is the Keep displaying previous


sender’s NO message
no.
valid?

Y
E
S

Is new
message Replace old message with new
YES one in memory
higher in
priority?

N
O

Keep displaying the previous


message.

JU, JIT, ECE: Electronic Communication Stream 11


GSM Based Wireless e-Notice Board February 11, 2015

The given flowchart shown above gives the end user perspective on the control flow. During
normal operation the LCD reads a message from a fixed memory location in the microcontroller
and displays it continuously, until a new message arrives for validation. It is then when a branching
occurs basing on the validity of the sender’s number and further taking into account the priority
assigned to the new message in comparison to the previous one.

3.4 Circuit Components


3.4.1 GSM MODEM
A GSM modem is a specialized type of modem which accepts a SIM card, and operates over a
subscription to a mobile operator, just like a mobile phone. From the mobile operator perspective,
a GSM modem looks just like a mobile phone. These GSM modems are most frequently used to
provide mobile internet connectivity, many of them can also be used for sending and receiving
SMS and MMS messages. We have used SIM300 GSM module. It is an Advanced Low cost
modem for wireless GSM communications which includes sending and receiving text messages.
This GSM Modem can accept any GSM network operator SIM card and act just like a mobile
phone with its own unique phone number.
Advantage of using this display message on notice board using GSM modem will be that you can
use its RS232 port to communicate and develop embedded applications. Applications like SMS
Control, data transfer, remote control and logging can be developed easily. The modem can either
be connected to PC serial port directly or to any microcontroller. It can be used to send and receive
SMS or make receive voice calls. It can also be used in GPRS mode to connect to internet and do
many applications for data logging and control. This GSM modem is a highly flexible plug and
play quad band GSM modem for direct and easy integration to RS232 applications.

Fig 3. GSM MODEM

JU, JIT, ECE: Electronic Communication Stream 12


GSM Based Wireless e-Notice Board February 11, 2015

3.4.2 Testing and Accessing of GSM Modem


3.4.2.1 How to access GSM MODEM using Microsoft Hyper Terminal
 Prior to programming the application software we need to assure that our GSM MODEM
as well as SIM either working properly or not.
 This status could be easily identified with the help of hyper terminal by sending AT
(Attention) commands to the GSM MODEM.

3.4.2.2 Testing of GSM Modem


After placing SIM card in GSM MODEM, we need to directly go to hyper terminal for further
communication. Then type AT in main window. If a response OK is returned back to mobile phone
then type AT-CMGR which is again a AT command which means read message from a given
memory location.

3.4.2.3 How to initialize the microcontroller


For initializing the MODEM with microcontroller we need to use mainly 2 terms named as DTE
and DCE.
DTE-Data Terminal Equipment is a piece of hardware device for communication.
DCE-Data Communication Equipment provides the path for communication.

3.4.3 AT Commands
AT commands are instructions used to control a modem. AT is the abbreviation of Attention. Every
command line starts with "AT" or "at". That's why modem commands are called AT commands.
Many of the commands that are used to control wired dial-up modems, such as ATD (Dial), ATA
(Answer), ATH (Hook control) and ATO (Return to online data state), are also supported by
GSM/GPRS modems and mobile phones. Besides this common AT command set, GSM/GPRS
modems and mobile phones support an AT command set that is specific to the GSM technology,
which includes SMS-related commands like AT+CMGS (Send SMS message), AT+CMSS (Send
SMS message from storage), AT+CMGL (List SMS messages) and AT+CMGR (Read SMS
messages).

JU, JIT, ECE: Electronic Communication Stream 13


GSM Based Wireless e-Notice Board February 11, 2015

Table1: AT Command
AT Command Meaning

+CMGS Send Message

+CMSS Send Message From Storage

+CMGW Write Message to Memory

+CMGD Delete Message

+CMGC Send Command

+CMSS More Message to Send

Instead of sending commands from the HyperTerminal, AT Command are sent to the GSM/GPRS
module by the microcontroller itself. In this case, the receive (Rx) and transmit (Tx) pin of the
GSM module’s RS232 port are connected to the transmit (Tx) and receive (Rx) pin of AT89C52’s
serial port, respectively. This eliminated the role of computer and just the controller’s circuit
provides a complete user interface for the module.
3

LCD
Tx Microcontroller Rx

1 AT Command
Information
Response 2

L Rx GSM Module Tx

3.4.3.1 Reading Messages


Fig 4. Block diagram of AT command

JU, JIT, ECE: Electronic Communication Stream 14


GSM Based Wireless e-Notice Board February 11, 2015

To enable a computer / PC to read SMS messages from a message storage area, the GSM/GPRS
modem or mobile phone has to support either of the AT commands +CMGR (command name in
text: Read Messages) and +CMGL (command name in text: List Messages). The +CMGR AT
command is used to read an SMS message at a certain location of the message storage area, while
the +CMGL AT command is used to read SMS messages that have a certain status from the
message storage area. The status can be "received unread", "received read", "stored unsent",
"stored sent", etc. The +CMGL AT command also allows you to retrieve all SMS messages stored
in the message storage area.
Following is an example for illustrating the difference between +CMGR and +CMGL. Suppose
you want to use your computer / PC to read a text message from the message storage area and you
know the index at which the SMS text message is located. In this case, you should use the +CMGR
AT command. Here is the command line to be typed (assume the SMS text message is stored at
index 3):
AT+CMGR=3
The GSM/GPRS modem or mobile phone should return something like this:
+CMGR: "REC
READ","+85291234567","07/02/18, 00:12:05+32"
Hello, welcome to our SMS tutorial.
OK

JU, JIT, ECE: Electronic Communication Stream 15


GSM Based Wireless e-Notice Board February 11, 2015

3.5 Microcontroller
Microcontroller is a small computer on a single integrated circuit containing a processor core or
CPU, memory (ROM &RAM) and programmable I/O peripherals. The project have been carried
out AT89S52 microcontroller because of the following importance:
 TheAT89C52 is a low-power, high-performance CMOS 8-bit microcontroller with 8K
bytes of in-system programmable Flash memory. The device is manufactured using Atmel
is high-density nonvolatile memory technology and is compatible with the industry
standard 80C51 instruction set and pin out. The on-chip Flash allows the program memory
to be reprogrammed in-system or by a conventional nonvolatile memory programmer.

 By combining a versatile 8-bit CPU with in-system programmable Flash on a monolithic


chip, the AtmelAT89C52 is a powerful microcontroller which provides a highly-flexible
and cost-effective solution to many embedded control applications. TheAT89C52 provides
the following standard features:8K bytes of Flash,256 bytes of R AM, 32 I/O lines,
Watchdog timer, two data pointers, three16-bit timer/counters, a six-vector two-level
interrupt architecture, a full duplex serial port, on-chip oscillator, and clock circuitry. In
addition, the AT89C52 is designed with static logic for operation down to zero frequency
and supports two software selectable power saving modes. The Idle Mode stops the CPU
while allowing the RAM, timer/counters, serial port, and interrupt system to continue
functioning. The Power-down mode saves the RAM contents but freezes the oscillator,
disabling all other chip functions until the next interrupt or hardware reset.

JU, JIT, ECE: Electronic Communication Stream 16


GSM Based Wireless e-Notice Board February 11, 2015

Fig 5. At89c52 Microcontroller


Features of AT89C52 Microcontroller
 Compatible with MCS-51 Products
 8K Bytes of In system Programmable (ISP) Flash Memory
 Endurance: 1000Write/Erase Cycles
 4.0V to 5.5V Operating Range
 Fully Static Operation:0Hz to 33 MHz
 Three-level Program Memory Lock
 256x8 bit Internal RAM
 32 Programmable I/O Lines
 Three 16-bit Timer/Counters
 Eight Interrupt Sources
 Full Duplex UART Serial Channel
 Low-power Idle and Power-down Modes
 Interrupt Recovery from Power-down Mode

JU, JIT, ECE: Electronic Communication Stream 17


GSM Based Wireless e-Notice Board February 11, 2015

 Watch dog Timer


 Dual Data Pointer
 Power-off Flag

3.5.1 AT89C52 Microcontroller Architecture

Fig 6. Internal Part of Microcontroller

3.5.2 Pin Description


VC: Supply voltage
GND: Ground
Port 0
 Port 0 is an 8-bit open drain bidirectional I/O port. As an output port, each pin can sink
eight TTL inputs. When 1s are written to port 0 pins, the pins can be used as high
impedance inputs.

JU, JIT, ECE: Electronic Communication Stream 18


GSM Based Wireless e-Notice Board February 11, 2015

 Port 0 can also be configured to be the multiplexed low order address/data bus during
accesses to external program and data memory. In this mode, P0 has internal pull ups.
 Port 0 also receives the code bytes during Flash programming and outputs the code bytes
during program verification. External pull ups are required during program verification.
Port 1
 Port 1 is an 8-bit bidirectional I/O port with internal pull ups. The Port 1output buffers can
sink/source four TTL inputs. When 1s are written to Port1 pins, they are pulled high by the
internal pull ups and can be used as inputs. As inputs, Port 1 pins that are externally being
pulled low will source current because of the internal pull ups.
 In addition, P1.0 and P1.1 can be configured to be the timer/counter 2 external count input
(P1.0/T2) and the timer/counter 2 trigger input (P1.1/T2EX), respectively, as shown in the
following table. Port1 also receives the low-order address bytes during Flash programming
and verification.
Alternate Functions of Port pins
 P1.0 T2 (external count input to Timer/Counter 2), clock-out
 P1.1 T2EX (Timer/Counter 2 capture/reload trigger and direction control)
 P1.5 MOSI (used for In-System Programming)
 P1.6 MISO (used for In-System Programming)
 P1.7 SCK (used for In-System Programming)
Port 2
 Port 2 is an 8-bit bidirectional I/O port with internal pull ups. The Port 2output buffers can
sink/source four TTL inputs. When 1s are written to Port2 pins, they are pulled high by the
internal pull ups and can be used as inputs. As inputs, Port 2 pins that are externally being
pulled low will source current because of the internal pull ups.
 Port 2 emits the high-order address byte during fetches from external program memory and
during accesses to external data memory that uses 16- bit addresses. In this application, Port
2 uses strong internal pull ups when emitting 1s. During accesses to external data memory
that use
 8-bit addresses, Port 2 emits the contents of the P2 Special Function Register.
 Port 2 also receives the high-order address bits and some control signals during Flash
programming and verification.

JU, JIT, ECE: Electronic Communication Stream 19


GSM Based Wireless e-Notice Board February 11, 2015

Port 3
 Port 3 is an 8-bit bidirectional I/O port with internal pull ups. The Port 3output buffers can
sink/source four TTL inputs. When 1s are written to Port3 pins, they are pulled high by the
internal pull ups and can be used as inputs. As inputs, Port 3 pins that are externally being
pulled low will source current because of the pull ups.
 Port 3 also serves the functions of various special features of the AT89C52, as shown in the
following table. Port 3 also receives some control signals for Flash programming and
verification.
Alternate Functions of Port pins
P3.0R XD (serial input port)
P3.1TXD (serial output port)
P3.2 INT0 (external interrupt0)
P3.3 INT1 (external interrupt 1)
P3.4T0 (timer 0 external input)
P3.5T1 (timer 1 external input)
P3.6 WR (external data memory write strobe)
P3.7 RD (external data memory read strobe)
RST
 Reset input. A high on this pin for two machine cycles while the oscillator is running resets
the device. This pin drives High for 96 oscillator periods after the Watchdog times out. The
DISR TO bit in SFR AUXR (address 8EH) can be used to disable this feature. In the
default state of bit DISR TO, the RESET HIGH out feature is enabled.
ALE/PROG
 Address Latch Enable (ALE) is an output pulse for latching the low byte of the address
during accesses to external memory. This pin is also the program pulse input (PROG)
during Flash programming.
 In normal operation, ALE is emitted at a constant rate of 1/6 the oscillator frequency and
may be used for external timing or clocking purposes. Note, however, that one ALE pulse
is skipped during each access to external data memory.
 If desired, ALE operation can be disabled by setting bit0of SFR location8EH. With the bit
set, ALE is active only during a MOVX or MOVC instruction. Otherwise, the pin is

JU, JIT, ECE: Electronic Communication Stream 20


GSM Based Wireless e-Notice Board February 11, 2015

weakly pulled high. Setting the ALE disable bit has no effect if the microcontroller is in
external execution mode.
PSEN
 Program Store Enable (PSEN) is the read strobe to external program memory.
 When the AT89C52 is executing code from external program memory, PSEN is activated
twice each machine cycle, except that two PSEN activations are skipped during each access
to external data memory.
EA/VPP
 External Access Enable. EA must be strapped to GND in order to enable the device to
fetch code from external program memory locations starting at0000H up to FFFFH.
 Note, however, that if lock bit 1 is programmed, EA will be internally latched on reset.
EA should be strapped to VCC for internal program executions. This pin also receives the
12-volt programming enable voltage (VPP) during Flash programming.
XTAL1
Input to the inverting oscillator amplifier and input to the internal clock operating circuit.
XTAL2
Output from the inverting oscillator amplifier

3.6 SIM (Subscriber Identity Module)


Subscriber Identity Module is a clip-on small card consisting of user’s information as well as
phone book. As per convenient, user can alter the operator with retaining the same handset.
Nowadays dual SIM handset is also available in the local market which brings the advantage of
two different operators at the same time. The SIM is inserted in a slot available on the GSM
Modem.

JU, JIT, ECE: Electronic Communication Stream 21


GSM Based Wireless e-Notice Board February 11, 2015

3.7 LCD

Fig 7. LCD 16*2


Liquid Crystal Display is an electronic device for displaying text or characters. We are using 14
pin LCD. 16*2 represents 16 characters and 2 line display. LCD’s are economical and easily
programmable and can easily display special and custom characters. Pin Description is as follows:
Table 2: LCD pin description
Pin Symbol Description
1 GND Ground
2 VCC +5V power supply
3 VEE Command Control
4 RS Command /data register selection
5 R/W Write/read selection
6 E Enable
7 D0 The 8 bit data bus
8 D1 The 8 bit data bus
9 D2 The 8 bit data bus
10 D3 The 8 bit data bus
11 D4 The 8 bit data bus
12 D5 The 8 bit data bus
13 D6 The 8 bit data bus
14 D7 The 8 bit data bus

JU, JIT, ECE: Electronic Communication Stream 22


GSM Based Wireless e-Notice Board February 11, 2015

3.8 Power Supply Unit


Power supply is a very important part of electronic circuit. This circuit required fixed +5 V supply
so to fix this voltage we needed voltage regulator. In this work used 7805 Voltage regulator which
output fixed +5 volt. A voltage regulator generates a fixed output voltage of a preset magnitude
that remains constant regardless of changes to its input voltage or load conditions.

230V Voltage
Step Down Full Wave Rectifier +5V DC
AC Regulator
Transformer

Fig 8. Block diagram of regulated power supply

U1
7805
TR1 R1
BR1 1 3
VI VO
10k

GND
V1 C1 C2
1uF 1uF 2
C3 C4 D1
1uF 1uF LED

BRIDGE
TRAN-2P2S

Fig 9. Circuit diagram of regulated power supply

JU, JIT, ECE: Electronic Communication Stream 23


GSM Based Wireless e-Notice Board February 11, 2015

3.9 Circuit Diagram

C2 C3
10u

1
33p
X1 U1
CRYSTAL 19 39
XTAL1 P0.0/AD0
38
C1 P0.1/AD1

2
37
P0.2/AD2
18 36
XTAL2 P0.3/AD3
P0.4/AD4
35 R1
33p 34 10k
LCD3 P0.5/AD5
33
LM016L P0.6/AD6
9 32
RST P0.7/AD7
21
P2.0/A8 GSM MODEM
22
P2.1/A9
23
P2.2/A10
29 24
PSEN P2.3/A11
30 25
ALE P2.4/A12
31 26
EA P2.5/A13 VT1
VDD
VSS

VEE

27
RW
RS

D0
D1
D2
D3
D4
D5
D6
D7

P2.6/A14
E

28
P2.7/A15 RXD
1
2
3

4
5
6

7
8
9
10
11
12
13
14

1 10
P1.0/T2 P3.0/RXD TXD
2 11
P1.1/T2EX P3.1/TXD
3 12
P1.2 P3.2/INT0 RTS
4 13
P1.3 P3.3/INT1
5 14
P1.4 P3.4/T0 CTS
6 15
P1.5 P3.5/T1
7 16 VTERM
P1.6 P3.6/WR
8 17
P1.7 P3.7/RD
AT89C52

Fig 10. Over all Circuit Diagram

3.10 Working Principle


As far as the time is concerned with technology, the designed project is implemented to full fill
the safety requirements of the users. The user can send data to be transmitted to the desired
destination without physically movement. To do so the project is implemented through serial steps.
Firstly the user send data remotely through mobile phone and the system check for the user whether
it is authorized or not using the pass word. Then message is sent from mobile phone using GSM
infrastructure and the sent message is received by GSM modem. The GSM modem is first properly
initialized and then it checks for modem connectivity. The program is written in microcontroller
to perform the task. The controller is programmed to send a fixed command ‘AT’ to the module.
The command AT is used to check the communication with module. It returns a result code OK if
the module and the controller are connected properly. If either of the module or SIM are not
working, it returns a result code ERROR.
After that user has to send SMS to GSM modem and message contents are finally displayed on
the LCD.

JU, JIT, ECE: Electronic Communication Stream 24


GSM Based Wireless e-Notice Board February 11, 2015

3.11 Limitations
Our project has certain limitations and a list of such is mentioned below:
 The receiver must reside in a location where a signal with sufficient strength can be
received from a cellular phone network.
 Operation of the controlling unit is only possible through a cell phone with SMS
messaging capabilities.
 The Controlling unit must be able to receive and decode SMS messages.
 All over the world, there could be an area where the mobile network is not established, so
no connectivity of mobile phones in that area. Therefore, SMS cannot be delivered.

JU, JIT, ECE: Electronic Communication Stream 25


GSM Based Wireless e-Notice Board February 11, 2015

Chapter Four

Conclusion and Recommendation


4.1 Conclusion
As the technology is advancing every day the display board systems are moving from Normal hand
writing display to digital display. Further to Wireless display units. This paper develops a wireless
notice board system with GSM modem connected to it, which displays the desired message of the
user through an SMS in a most populated or crowded places. The aim of this project was to create
an electronic notice board to which data can be sent through SMS. This proposed system has many
upcoming applications in educational institutions and organizations, crime prevention, traffic
management, railways, advertisements etc. Been user friendly, long range and faster means of
conveying information are major bolsters for this application. By using this proposed methodology
we can enhance the security system and also make awareness of the emergency situations and
avoid many dangers.

JU, JIT, ECE: Electronic Communication Stream 26


GSM Based Wireless e-Notice Board February 11, 2015

4.2 Recommendation
The project reflects the enormous application of GSM technology in real life situation, hence ones
should bear in mind and have awareness of using GSM technology, so that the ease with which we
use wireless communication can be shared on the entire world. Practical applications of this project
are immense and can have vast level of implementation. So this is not the end of the project but
rather is a step towards exploring other possibilities that it brings with it. We feel very happy to
work in such a challenging project which has tremendous application and possibilities.
We have recommended anyone who wants to work in such field, which actually gives a lot of
satisfaction while working. The project works in the fact gives a lot of confidence to fight out in
this challenging world. As one proceeds one cannot believe how much knowledge he/she gains
and the teamwork, which the project work teaches, really will have a new experience.

JU, JIT, ECE: Electronic Communication Stream 27


GSM Based Wireless e-Notice Board February 11, 2015

Reference
[1] International Journal of Electrical, Electronics and Data Communication, ISSN: 2320-2084
[2] www.wikipedia.org
[3] http://www.gsm modem. GSM -module
[4] www.atmel.com, AT89c52 datasheet
[5] www.ijates.com
[6] International Journal of Advanced Technology in Engineering and Science
Volume No.02, Issue No. 04, April 2014
[7] SMS Tutorial –How to use Microsoft hyper terminal to send AT commands

JU, JIT, ECE: Electronic Communication Stream 28


GSM Based Wireless e-Notice Board February 11, 2015

Appendix A
#include<reg52.h>
#include<intrins.h>
#include<string.h>
#include”lcd.h”
sbit BZ=P1^1;
bit flag=0;
bit r-flag=0;
bit success=0;
sbit AB=P3^2;
int i=0;
char idata buff[150];
//char idata num[12];
Char idata mes[60];
void send-chr(unsigned char);
bit v1=0, 1i=0;
void serial-inter(void)interrupt4{
If(TI==1)
{
TI=0;
Flag=1;
}
Else
{
RI=0
r-flag=1;
if(i<150)

JU, JIT, ECE: Electronic Communication Stream 29


GSM Based Wireless e-Notice Board February 11, 2015

buff[i++]=SBUF;

}
}
void print(char*str)
{
while(*str)
{
flag=0;
SBUF=*str++;
while(flag==0);
}
}
void transmit(unsigned char*s)
{
while(*s)
{
SBUF=*s++;
delay-ms(40);
}
}
unsigned char m;
void main( )

{
int I;
char t=0;
TMOD=0*21;
SCON=0*50;

JU, JIT, ECE: Electronic Communication Stream 30


GSM Based Wireless e-Notice Board February 11, 2015

TH1=0XFD;
TR1=1;
IE=0X92;
THO=0X00;
Int-lcd( );
display-lcd(“GSM BASED”);
cmd-ms(3000);
cmd-lcd(0*01);
display-lcd(“INITIALING”);
i=0;
print(“AT+CMGF=1\r\n”);
delay-ms(100);
sucess=0;
do
{
Strcpy(buff,” “);
r-flag=0;
i=0;
print( “AT+CMGD=1,4\r\n”);
while(i<16)
delay-ms(100);
cmd-lcd(0*co);
display-lcd( “MODEM CONNECTED”);
//display-lcd(buff);
delay-ms(1000);
I=0;
while(buff[I]!=’\0’)

JU, JIT, ECE: Electronic Communication Stream 31


GSM Based Wireless e-Notice Board February 11, 2015

{
if(buff[I++]==’E’)
sucess=1;
}
delay-ms(1000);
}
while(sucess!=1);
while(1)
{
AB=1;
sucess=0;
do
{
i=0;
strcpy(buff, “”);
r-flag=0;
do
{
i=0;
//
//
strcpy(buff,””);
}
while(r-flag==0);
delay-ms(100);
if(buff[2]==’+’)
sucess=1;

JU, JIT, ECE: Electronic Communication Stream 32


GSM Based Wireless e-Notice Board February 11, 2015

}
while(sucess!=1);
cmd-lcd(0*01);
display-lcd( “MESSAGE RECEIVED “);
BZ=0;
delay-ms(2000);
BZ=1;
i=0;
strcpy(buff, “”);
print(“AT+CMGR=1\r\n”);
delay-ms(1000);
i=0;
while(buff[I++]!=’;’)
//cdm-lcd(0*01);
//display-lcd( “ CELL NO:”);
//cdm-lcd(0*co);
//I=I++;
t=0;
while(buff[I]!=” “);
buff[I++];
do
{
buff[I++]
//num[t++]=buff[I++];
delay-ms(50);
}
while(buff[I]!= “ “);

JU, JIT, ECE: Electronic Communication Stream 33


GSM Based Wireless e-Notice Board February 11, 2015

//num[t]=’\0’;
//cmf-lcd(0*01);
//display-lcd(num);
//display-ms(1000);
cmd-lcd(0*01);
cmd-lcd(0*co);
while(buff[I]!= “”);
(buff[I++]);
while(buff[I++]!=0*0d);
cmd-lcd(0*01);
display-lcd(“MESSAGE:”);
cmd-lcd(0*co);
//buff[I++];
//write-lcd(buff[I]);
do
{
mes[t++]=buff[I++];
//delay-ms(50);
}
while(buff[I]!=0*0d);
mes[t]=’\o’;
delay-ms(1000);
cmd-lcd(0X01);
//cdm-lcd(0X18);
display-lcd(mes);
cmd-lcd(0Xco);
delay-ms(2000);

JU, JIT, ECE: Electronic Communication Stream 34


GSM Based Wireless e-Notice Board February 11, 2015

sucess=0;
do
{
strcpy(buff,” “ );
r-flag=0;
i=0;
print(“AT+CMGD=1,0\r\n”);
while(i<14)
delay-ms(100);
I=0;
while(buff[I]!=’\0’)
{
if(buff[I++]==’E’)
sucess=1;
}
delay-ms(500);
}
while(sucess!=1);
//cmd-lcd(0*01);
}
}
void send-chr(unsigned charc)
{
Flag=0;
SBUF=c;
while(flag==0);
}

JU, JIT, ECE: Electronic Communication Stream 35


GSM Based Wireless e-Notice Board February 11, 2015

/////////////////////////////////////////////////////

JU, JIT, ECE: Electronic Communication Stream 36


GSM Based Wireless e-Notice Board February 11, 2015

Appendix B
#include<reg52.h>
#define LCD P2
sbit RS=p0^0;
sbitRW=P0^1;
sbit EN=P0^2;
void delay-ms(unsigned int i)
{
unsigned int i;
while(i==>0)
{
;
}
}
}
void cdm-lcd(unsigned char c)
{
RS=0;
RW=0;
EN=1;
LCD=c;
delay-ms(10);
EN=0;
delay-ms(10);
}
void int-lcd(void)

JU, JIT, ECE: Electronic Communication Stream 37


GSM Based Wireless e-Notice Board February 11, 2015

{
delay-ms(10);
cmd-lcd(0*38);
delay-ms(10);
cmd-lcd(0*06)
delay-ms(10);
cmd-lcd(0*01);
}
void write-lcd(unsigned charc)
{
RS=1;
RW=0;
EN=1;
LCD=c;
delay-ms(10);
EN=0;
delay-ms(10)
}
void display-lcd(unsigned charc*s)
{
while(*s)
write-lcd(*s++);
}
//////////////////////////////////////////////

JU, JIT, ECE: Electronic Communication Stream 38


GSM Based Wireless e-Notice Board February 11, 2015

Appendix C: Main Embedded code


#include<reg52.h>
#include<intrins.h>

#include<string.h>
#include”lcd.h”
sbit AB=P3^2;
bit flag=0;
bit r-flag0;
bit sucess=0;
int i=0;
char i data buff[140];
char i data num[12];
char i data mes[20];
void send-chr(unsigned char);
void transmit(unsigned char*t-data)
{
while(*t-data!=’\0’)
{
SBUF=*t-data;
t-data++;
delay-ms(30);
}
}
void serial intr(void)interrupt4
{
if(TI==1)
{

JU, JIT, ECE: Electronic Communication Stream 39


GSM Based Wireless e-Notice Board February 11, 2015

TI=0;
flag=1;
}
else
{
RI=0;
r-flag=1;
if(i<160)
buff[i++]=SBUF;
}
}
void print(char*str)
{
while(*str)
{
flag=0;
SBUF=*str++;
while(flag==0);
}
}
unsigned char m;
void main( )
{
int I;
char t=0;
TMOD=0*21,
SCON=0*50

JU, JIT, ECE: Electronic Communication Stream 40


GSM Based Wireless e-Notice Board February 11, 2015

THI=0XFD;
TRL=1;
IE=0X90;
int-lcd( );
display-lcd(“GSM SCROLLING”);
cdm-lcd(0*co);
display-lcd(“LED DISPLAY SYS”);
delay-ms(3000);
AB=0;
cmd-lcd(0*01);
display-lcd(“INITIALIZING”);
i=0;
print(“AT+CMGF=1|r|n”);
display-ms(100);
sucess=0;
do
{
strcpy(buff,” “);
r-flag=0;
i=0;
print(“AT+CMGD=1,4\r\n”);
while(i<16)
delay-ms(100);
i=0;
while(buff[I]!=’\0’)
{
if(buff[I++]!=’\0’)

JU, JIT, ECE: Electronic Communication Stream 41


GSM Based Wireless e-Notice Board February 11, 2015

{
if(buff[I++]==’E’)
sucess=1;
}
delay-ms(1000);
}
while(Sucess!=1);
cmd-lcd(0*01);
display-lcd(“MODEM CONNECTED”);
delay-ms(1000);
cmd-lcd(0X01);
display-lcd(‘GSM SCROLLING”);
cmd-lcd(0Xco);
display-lcd(“LED DISPLAY SYS”);
delay-ms(1000);
while(1)
{
AB=0;
sucess=0;
int-lcd( );
display-lcd(“GSM SCROLLING”);
cdm-lcd(0*C0);
display-lcd(“LED DISPLAY SYS”);
delay-ms(200);
do
{
i=0;

JU, JIT, ECE: Electronic Communication Stream 42


GSM Based Wireless e-Notice Board February 11, 2015

strcpy(buff,” “);
r-flag=0;
do
{
i=0;
strcpy(buff,” “);
}
while(r-flag==0);
delay-ms(100);
if(buff[2]==’+’)
sucess=1;
}
while(sucess!=1);
cmd-lcd(0*01);
display-lcd(“MESSAGE RECIEVED”);
delay-ms(1000);
i=0;
strcpy(buff.” “);
print(“AT+CMGR=1\r\n”);
delay-ms(1000);
i=0;
while(buff[I++]!=’;);
cmd-lcd(0*01);
display-lcd(‘CELL NO: “);
cmd-lcd(0*C0);
//I=I++;
t=0;

JU, JIT, ECE: Electronic Communication Stream 43


GSM Based Wireless e-Notice Board February 11, 2015

while(buff[I]!=” “);
buff[I++];
do
{
//buff[I++];
num[I++]=buff[I++];
delay-ms(50);
}
while(buff[I]!=” “);
num[t]=’\0’;
cdm-lcd(0*C0);
display-lcd(num);
delay-ms(1000);
while(buff[I]!=” “)
(buff[I++];
while(buff[I++]!=0*0d);
cdm-lcd(0*01);
display-lcd(“MESSAGE READING”);
cmd-lcd(0*co);
buff[I++];
//write-lcd(buff[I]);
//delay-ms(1000);
t=0;
//write(buff[I]!=” “);
//buff[I++];
do
{

JU, JIT, ECE: Electronic Communication Stream 44


GSM Based Wireless e-Notice Board February 11, 2015

mes[t++]=buff[I++];
delay-ms(5);
}
while(buff[I]!=0*0d);
mes[t]=’\0’;
delay-ms(200);
cmd-lcd(0*01);
display-lcd(mes);
delay-ms(2000);
if(strcmp(mes,’’FORMAT”)==0)
{
AB=1;
cmd-lcd(0*01);
display-lcd(“MESSAGE DELETED”);
delay-lcd(100);
send chr(‘#’);
delay-ms(1000);
send-chr(‘4’);
delay-ms(1000);
send-char(‘6’);
delay-ms(5000);
AB=0;
}
else
{
AB=1;
//EA=0;

JU, JIT, ECE: Electronic Communication Stream 45


GSM Based Wireless e-Notice Board February 11, 2015

cmd-lcd(0*01);
display-lcd( “ DISPLAY SETTING”);
delay-ms(100);
send-chr(‘*’);
delay-ms(2000);
transmit(“LM”);
transmit(mes);
transmit( “><s1><DL1>\r\n”);
send-chr(0*0d);
delay-ms(5000);
EA=1;
AB=0; }
//delay-ms(2000);
send-chr(0*0d);
print(“AT+CMGD=1\r\n”);
delay-ms(1000);
print(“AT+CMGD=2|r|n”);
delay-ms(1000);
print(“AT+CMGD=3|r|n”);
delay-ms(1000);
cmd-lcd(0*01); }
}
void send-chr(unsigned char c){
flag=0;
SBUF=c;
while(flag==0);
}

JU, JIT, ECE: Electronic Communication Stream 46


GSM Based Wireless e-Notice Board February 11, 2015

JU, JIT, ECE: Electronic Communication Stream 47

You might also like