You are on page 1of 5

Advances in Circuits, Systems, Signal Processing and Telecommunications

Enhancement of a GSM Based Control System


ASHRAF MOHAMED ALI HASSAN
Faculty of Engineering, Department of Electronics and Communications
October University for Modern Sciences and Arts
26 July Mehwar Road intersection with Wahat Road, 6 October City
EGYPT
ashrafmohali@yahoo.com

Abstract:- This paper presents the development and implementation of a Global System for Mobile
Communication (GSM) based on control system for electrical applications that enables the complete
control of the interface on which it is based. GSM module was used for receiving short message service
(SMS) from users mobile phone that automatically enable the controller to take further action like
switching ON and OFF electrical applications such as fan, air- conditioner, light etc. The system was
integrated with microcontroller and GSM network interface using arduino.orduino software was utilized
to accomplish the integration. The system is activated when user sends the SMS to the controller at home
(regarded as Smart Home). Upon receiving the SMS command, the microcontroller unit then
automatically controls the electrical applications by switching ON or OFF the device according to the
users order. In other word, it reads message from the mobile phone and respond to control the devices
according to the received message.

Key words:- Implementation GSM Control Switching Arduino Command Message.

1.Introduction Convenience to many people in life[2]. Through


The new research areas for the need of the man a wireless Remote controller, people can do
that controlled the electrical devices remotely, remote operation without directly accessing the
anything from the home such as an air host of a home appliance. The home appliances
conditioner, security system, set Top box, light, like fan, lamp, television, washing machines and
and so on. The case of remote control Capability others.
and the possibility of achieving it at a reasonably The introduction of the Global System for
Low cost have motivated the need to research Mobile Communication (GSM) and particularly
into it not only for industrial application but also the use of hand-held mobile phones brought the
for domestic use or home use. Home wireless innovation of distance Communication at remote
security systems are becoming increasingly location[3]. Based on this, Research utilizes this
popular and it is being a necessary nowadays. facility for remote control of systems And
There are many benefits to using these compared appliances; take for instance, a man on a journey
to conventional systems[1]. There are many inside his car suddenly remembers that he left
products of Wireless Home Security Systems in the Air Conditioner (AC), ON when it was
the market the price depends on how advance supposed to be OFF. The normal condition is to
the system is. drive back and switch OFF or for the home
Normally today home security system is in security we also monitor the home through the
wireless form Rather than wired form. The system but we are not include the option of the
reasons are wireless can Saves cost of wiring, monitor in the system; in the system we consider
Easy to install, occupy lesser space, easy for only ON and OFF operation in. But with the
maintenance and more reliable. Besides that, the GSM mobile phone in the hand, one looks on
wireless also capability become as an appliances how the same could be used to effect control at
control in the home. The capability of any point and time[4].
controlling home appliances in a Wireless and Therefore in this project the GSM is the type of
remote fashion has provided a great wireless that chooses. It is because it's the GSM

ISBN: 978-1-61804-271-2 189


Advances in Circuits, Systems, Signal Processing and Telecommunications

is better than others wireless. It is suitable to The aim of the proposed system is to develop a
install the systems that need a wide range. It also cost effective solution that will provide
can monitor the signal strength and more controlling of home appliances remotely and
adaptable. So it is suitable to become a enable home security against intrusion in the
controller for home appliances and for security absence of homeowner. The system provides
system. Nowadays, most couples leave for work availability due to development of a low cost
early in the morning and get back only in the system. The home appliances control system
evening. Most people also have to travel to other with an affordable cost was thought to be built
cities for their work. When they are away, their that should be mobile providing remote access
house is empty and unguarded. Therefore case to the appliances and allowing home security.
like theft and robbery is easy to occur because Though devices connected as home and office
the home owners are not in the house. appliances consume electrical power. These
The Multidimensional crisis like theft and devices should be controlled as well as turn
robbery is one of the most serious problems that on /off if required. Most of the times it was done
happen in this country. The based solution is to manually, but it is a necessity to control devices
develop home security system using a wireless more effectively and efficiently at anytime from
to keeps your house safe from intruders and anywhere. In this system, we are going to
enables you to work in peace. Based on the develop a cellular phone based home/office
events above, the project can be developing to appliance controller.
make our home secure and safe. We never In this design, arduino software was used as it
anxious and worried anymore even we leave the simple and easy, some people think of the entire
house. So this system is to design and develop a Arduino board as a microcontroller, but this is
home security system that can provide security inaccurate. The Arduino board actually is a
against intrusion and other emergency situation specially designed circuit board for
by alarm via short message service (SMS). SMS programming and prototyping with Atmel
stands for Short Message Service. It is a mobile microcontrollers.
technology that allows for sending and receiving The nice thing about the Arduino board is that it
text or even binary messages to and from a is relatively cheap, plugs straight into a
mobile phone .With an SMS based computer computer's USB port, and it is dead-simple to
control system, monitoring and control can be setup and use (compared to other development
achieved at all times. This is as a result of the boards).
ease of accessibility that comes with the use of a
mobile phone. 2 Problem definition
To achieve an effective remote control and Controlling the hardware requires time and
monitoring security system, today there are a effort previously required presence near the
many wireless home security alarm system device so as to turn it on or turn it off so it began
available in the market. Some are designed for to think about how to control remote appliances
very high security level protection and some are and rolled applications including Bluetooth and
basic type. Most of the alarm systems are very sensors, but it was working such applications on
expensive and therefore not affordable by poor a close range So began prodding at how to
or middle class families. Some systems which control the devices from anywhere in the world
cheaper in cost do not provide reliable features so it was thinking about how to make the SMS
like status checking. To provide the public with from mobile controls in hardware and this is our
a cost effective wireless security system, it is topic.
important to design a low cost system with
advanced features which ease the benefits the
people and also will decrease the crime. We are
3. Objective
developing the system to control and monitor The goal of this project is to design an
the home devices. It is important because the embedded device which can control up to 8
system can help the old persons, disabled devices by sending a specific SMS message
persons and can help if there is no one at home. from a cell-phone. This controller is extremely

ISBN: 978-1-61804-271-2 190


Advances in Circuits, Systems, Signal Processing and Telecommunications

handy at places where we have to control the et al., 2006) problems with the implementation
ON and OFF switching of the devices but no of home automation systems were considered.
wired connection to that place is available. To Furthermore the possible solutions were devised
implement this, a GSM modem is connected to a through various network technologies[8].
programmed microcontroller which Several issues affecting home automation
Would receive the SMS from a reference cell systems such as lack of robustness,
phone the control signal part of the received compatibility issue and acceptability among the
SMS is extracted and is changed to old and disabled people were also discussed. In
microcontroller-preferred format. (Ciubotaru-Petrescu et al., 2006), a design and
This system will be a powerful and flexible tool implementation of SMS based control for
that will offer this service at any time, and from monitoring systems was presented[9]. The paper
anywhere with the constraints of the has three modules involving sensing unit for
technologies being applied. Possible target monitoring the complex applications, a
appliances include climate control systems, processing unit that is the microcontroller and a
security systems, and lights; anything with an communication module that uses General Packet
electrical interface. The proposed approach for Radio Service (GPRS) modem or cell phone via
designing this system is to implement a serial port RS-232. The SMS is used for status
microcontroller-based control module that reporting such as power failure. Murthy (2008)
receives its instructions and commands from a explores primary health-care management for
cellular phone over the GSM network. The the rural population. A solution proposes the use
microcontroller then will carry out the issued of the mobile web-technologies providing the
commands and then communicate the status of a Primary Health Care (PHC) services to the rural
given appliance or device back to the cellular population. The system involves the use of SMS
phone. and cell phone technology for information
management, transactional exchange and
3.Related work personal communication. In a related work,
3.1 Theory Jawarkar et al. (2008) proposed remote
monitoring through mobile phone involving the
The idea of using the short message service to
use of spoken commands. The spoken
establish routes in communication networks
commands are generated and sent in the form of
between receivers and transmitters for the
text SMS to the control system and then the
purpose of safety and guaranty of service is not
microcontroller on the basis of SMS takes a
new, but the application, cost, design method
decision of a particular task. But the drawback
and reliability of the system varies[6].
of all the related work is the cost of the design,
the reliability, and the use of foreign
3.2 Discussion of the previous work materials[10]. In this research, we utilize locally
In (Conte and Scaradozzi, 2003) home available materials for our design purpose,
automation systems as multiple agent Systems making it more reliable and portable with less
(MAS) were considered. In their work, home cost. We employ microcontroller, relays, and a
automation system was proposed that includes programmer for the microcontroller, mobile
home appliances and devices that are controlled phones and a GSM modem.
and maintained for home management Their
major contribution to knowledge was to improve
home automation but not minding the cost of the 4 Hardware of the proposed design
entire system[7]. In a related work, Alkar and This section will discuss the design procedure
Buhur (2005) in their paper also proposed an of the SMS based Remote Controller and how it
Internet Based Wireless Home Automation was implemented.
System for Multifunctional Devices. They
proposed a low cost and flexible web-based 4.1 Gsm Introduction
solution but this system has some limitations Global system for mobile communication
such as the range and power failure. In (Delgado (GSM) is a globally accepted standard for digital

ISBN: 978-1-61804-271-2 191


Advances in Circuits, Systems, Signal Processing and Telecommunications

cellular communication. GSM is the name of a A GSM public land mobile network (PLMN) is
standardization group established in 1982 to divided into three subsystem.
create a common European mobile telephone 4.2.1 The Radio Subsystem (RSS)
standard that would formulate specifications for The radio subsystem consists of
a pan-European mobile cellular radio system
operating at 900 MHz it is estimated that many THE MOBILE STATION (MS)
countries outside of Europe will join the GSM - It is the interface between the user
Partnership. and the mobile system.
GSM was devised as a cellular system BASE STATION CONTROLLER
specific to the 900 MHz band, called (BSC)
"The Primary Band". The primary band - It controls call set-up and operation
includes two sub bands of 25 MHz each, of base transceiver stationsBASE
890 to 915 MHz and 935 MHz to 960 TRANSCEIVER STATION (BTS)
MHz GSM-PLMN has allocated 124 - It handles the actual radio
duplex carrier frequencies over the transmission to and from the Ms.
following bands of operation. TRANSCODINGANDRATE
- Uplink frequency band: 890 ADABTATION UNIT(TRAU)
to 915 MHz (MS transmits, - It handles the rate adaptation
BTS receives). between the fixed and mobile parts.
- Downlink frequency band:
935 to 960 MHz (BTS 4.2.2 THE SWITCHING SUBSYSTEM (SSS)
transmits, MS receives). - MOBIESERVICESWITCHING
- Carrier spacing: 200 KHz. CENTER(MSC)
It switches the calls between MSs.
- GATEWAYMOBILESERVICE
4.2 GSM Network Structure SWITCHING CENTER (GMSC)
Figure 1 shows GSM structure in detail It switches the calls between MSs and
other network.
- HOME LOCATION REGISTER(HLR)
It contains data of all mobile subscribers
registered in its area.
- VISITOR LOCATION REGISTER
(VLR)
It contains data of all mobile subscribers
visiting its MSC service area.
- AUTHENTICATION CENTER(AUC)
It handles confidentially and security
facilities with the system.
- EQUIPMENTIDENTITY
REGISTER(EIR)
It contains information on all MS
equipments in the system.
4.2.3 The Operation Subsystem (OSS)
- THE OPEARTION AND Maintenance
center for BSS.
- THEOPERATIONAND
MAINTENANCE CENTER FOR NSS.
4.3 THE MOBILE STATION (MS)
Fig.1: General architecture of The MS consists of:
a GSM network A. Mobile equipment (ME)

ISBN: 978-1-61804-271-2 192


Advances in Circuits, Systems, Signal Processing and Telecommunications

It is the terminal used by the user. 4.3.2 THE SIM CARD


B. Subscriber identity module (SIM) The SIM card should be inserted into ME with a
smart card valid IMEI for its operation, where IMEI is 15-
It is an electronic microchip for digit number and verifies that the mobile station
storing information about the is type approved and not stolen.
subscription. It is a non volatile storage that is designed to be
difficult to duplicate. It must be purchased from
4.3.1 THE MOBILE EQUIPMENT (ME) the GSM network operation. Figure 3 shows the
The ME encompasses the RF hardware to access sim smart card.
the network. The ME unites take many The SIM card carries the subscriber-related
functional elements in the transmission chain of information and codes, so that a GSM subscriber
the GSM system.With aid of the data stored in with a SIM card can use different ME.
the SIM card, the speech is digitized, The main task of the SIM is the storage of data:
compressed, secured against loss of data through permanent and temporary administrative data as
redundancy and interleaving , encrypted in well as data concerning security.
prevent interception and modulated into the The SIM store 3 types of subscriber-related
radio frequency (RF) created by the mobile information.
station. Directly after, the signal is amplified and
transmitted. In the opposite direction, the
process runs inversely, beginning with the
reception of RF. Figure 2 shows mobile
equipment.

Fig. 3: SIM smart card

After explaining the GSM structure in which the


proposed project based on it and two of many
important components that we depend on them.
There will be discussion in the coming section
of the most important component that called
SIM 900 module.

4.4. THE SIM 900 MODULE


One of the GSM modules that we can use for
our project is SIM900 by SIMCom. This is a
GSM/GPRS-compatible Quad-band cell phone,
which works on a frequency of
850/900/1800/1900MHz and which can be used
not only to access the Internet, but also for oral
communication (provided that it is connected to
a microphone and a small loud speaker) and for
SMSs. Externally, it looks like a big package
(0.94 inches x 0.94 inches x 0.12 inches) with L-
shaped contacts on four sides so that they can be
soldered both on the side and at the bottom.
Internally, the module is managed by an
Fig. 2: Mobile equipment

ISBN: 978-1-61804-271-2 193

You might also like