SlideShare une entreprise Scribd logo
1  sur  14
Télécharger pour lire hors ligne
Computer Engineering and Intelligent Systems                                                  www.iiste.org
ISSN 2222-1719 (Paper) ISSN 2222-2863 (Online)
Vol 3, No.4, 2012


           Design and Implementation of a Short Message Service
                                Based Remote Controller
                   Adamu Murtala Zungeru 1*, Ufaruna Victoria Edu 2, Ambafi James Garba 2
    1.   School of Electrical and Electronics Engineering, University of Nottingham, Jalan Broga, 43500
         Semenyih, Selangor Darul Ehsan, Malaysia.
    2.   Department of Electrical and Computer Engineering, Federal University of Technology, Minna,
         Nigeria
    * E-mail of the corresponding author: adamuzungeru@ieee.org

Abstract
Safeguarding our home appliances has become an issue when dealing with an advancement and growth of
an economy. This research focuses on the controlling of home appliances remotely when the user is away
from the house. The system is Short Message Service (SMS) based and uses wireless technology to
revolutionize the standards of living. It provides ideal solution to certain problems faced by home owners in
daily life. Due to its wireless nature, it is more adaptable and cost-effective. The research is divided into
two sections; the hardware and the software sections. The hardware section consists of the Global System
for Mobile Communications (GSM) modem module, The Control module, the Appliance module, the
Liquid Crystal Display (LCD) module and the power supply module. The GSM modem receives the
message sent by the person who wishes to operate any of the connected appliances, it then forwards it to the
microcontroller, and the microcontroller decodes the message, switches on or switches off the appropriate
appliance, updates the LCD and sends a feedback to the mobile phone via the GSM modem. Overall, the
work employs The ATmega16 microcontroller, relays, a programmer to program the microcontroller, a
mobile phones and a GSM modem. The AT commands is used to handle communication between the
modem and the ATmega16 microcontroller. Flow code is used for the programming of the microcontroller.
The overall work was implemented with a constructed work, tested working and perfectly functional.
Keywords: Short Message Service, Global System for Mobile Communications, Remote Control,
Electronic Circuit Design


1. Introduction
Safeguarding our home appliances has become an issue when dealing with an advancement and
growth of an economy. Remote generally means far away in space or time, while control in simple
definition way means to make something do what you want. A remote controller is a device used for
controlling a piece of electrical or electronic equipment without having to touch it.
SMS Remote Controller is an electronic device that enables the user to control appliances remotely from a
mobile phone from any part of the world. The microcontroller pulls the SMS received by phone, decodes it,
recognizes the Mobile number, and then switches on the relays attached to its port to control the appliances.
After successful operation, controller sends back the acknowledgement to the user’s mobile through SMS.
The SMS Remote Controller has a wide range of applications. It can be used to make an extended range
control, operate able from any part of the world. In industry, it can be used to monitor a running machine,
or if some threshold is surpassed. It can also be used to demobilize stolen cars. The first remote control
called lazy bones was developed in 1950 by Zenith Electronic Corporations (known as zenith radio
corporations) (Parker and Sybol, 1982). Lazy bones were a cable ran from the device to a TV set, then to
the viewer. A motor operates the turner through the remote control. By push buttons on the remote control
the user can rotate the turner clockwise or anti-clockwise, depending on whether he wanted to change the
channel to a higher or lower number. The remote control also included buttons to turn the TV ON or OFF.


                                                    106
Computer Engineering and Intelligent Systems                                                     www.iiste.org
ISSN 2222-1719 (Paper) ISSN 2222-2863 (Online)
Vol 3, No.4, 2012

Zenith engineer Eugene Polley invented the “Flashmatic” which represented the country’s first wireless TV
remote. Introduced in 1955, the flashmatic operated by means of four photocells, one in each corner of the
TV screen. The viewer used a highly directional flashlight to activate the four controls which turned the
picture and sound ON and OFF, and changed channels. By 1990, the industry moved to infrared remote
control technology (IR). The IR remote works by using a low frequency light beam, so low that the human
eye cannot see it, but which can be detected by the receiver on the TV set.
Modern electronics is about embedded electronics (Mavino, 1997). This is the use of electronics for the
purpose of controlling some devices. Its applications are numerous and more discoveries, innovations and
inventions are expected in this new world of electronics and software engineering. The strong desire for
research, innovations and inventions lead man to discover another means for wireless remote control using
Short Message Service (SMS) (Lanconelli, 2007; Krishna, 2006) other than the IR technology.
The first SMS remote control was designed by Sera Sedis in 2001. In 2007, a Nigerian named Yakubu
Mohammed redesigned the SMS remote control by Sera Sidis and he renamed the device as Mobile
Phone / Personal Computer Remote Controlling (MPRC) Device.
There are times when a person would want to operate certain appliances when he/she is not at the location
of that appliance, a means to control those appliances would be required in such situation hence the need
for a remote controller. The home appliances control system with an affordable cost was thought to be built
that should be mobile providing remote access to the appliances and allowing home security by extension.
To this end, we design and implement a simple, cost effective and reliable SMS based remote controller to
enable the control of appliances remotely, switching them on or off as desired by sending an SMS to the
device using a GSM mobile phone.
For clarity and neatness of presentation, the article is outline in to five (5) sections. The First Section gives
a general introduction of SMS based remote control. Work related to the topic of the research is presented
in Section Two. In Section Three, we outline the design and implementation procedures. Section Four
presents the experimental results and discussion of the results. In Section Five, we conclude the work with
some recommendations. Finally, the references are presented at the end of the paper.

2. Related Work
The idea of using the short message service to establish routes in communication networks between
receivers and transmitters for the purpose of safety and guaranty of service is not new, but the application,
cost, design method and reliability of the system varies. In (Conte and Scaradozzi, 2003), home automation
systems as multiple agent Systems (MAS) were considered. in their work, home automation system was
proposed that includes home appliances and devices that are controlled and maintained for home
management. Their major contribution to knowledge was to improve home automation, but not minding the
cost of the entire system.
In a related work, Alkar and Buhur (2005) in their paper also proposed an Internet Based Wireless Home
Automation System for Multifunctional Devices. They proposed a low cost and flexible web-based solution
but this system has some limitations such as the range and power failure.
In (Delgado et al., 2006) problems with the implementation of home automation systems were considered.
Furthermore the possible solutions were devised through various network technologies. Several issues
affecting home automation systems such as lack of robustness, compatibility issue and acceptability among
the old and disabled people were also discussed.
In (Ciubotaru-Petrescu et al., 2006), a design and implementation of SMS based control for monitoring
systems was presented. The paper has three modules involving sensing unit for monitoring the complex
applications, a processing unit that is the microcontroller and a communication module that uses General
Packet Radio Service (GPRS) modem or cell phone via serial port RS-232. The SMS is used for status
reporting such as power failure.
Murthy (2008) explores primary health-care management for the rural population. A solution proposes the
use of the mobile web-technologies providing the Primary Health Care (PHC) services to the rural

                                                      107
Computer Engineering and Intelligent Systems                                                     www.iiste.org
ISSN 2222-1719 (Paper) ISSN 2222-2863 (Online)
Vol 3, No.4, 2012

population. The system involves the use of SMS and cell phone technology for information management,
transactional exchange and personal communication.
In a related work, Jawarkar et al. (2008) proposed remote monitoring through mobile phone involving the
use of spoken commands. The spoken commands are generated and sent in the form of text SMS to the
control system and then the microcontroller on the basis of SMS takes a decision of a particular task. But
the drawback of all the related work is the cost of the design, the reliability, and the use of foreign materials.
In this research, we utilize locally available materials for our design purpose, making it more reliable and
portable with less cost. We employ microcontroller, relays, and a programmer for the microcontroller, a
mobile phones and a GSM modem.

3. Design and Implementation
This section will discuss the design procedure of the SMS based Remote Controller and how it was
implemented. The section is divided into two basic sections; the hardware section and the software section.
These are further divided into sub-sections.
3.1Hardware Section
This section deals with the physical component that was used in SMS Remote Controller. This section is
divided into five sub-sections; the GSM modem module, the LCD module, the appliance module, the
control module and the power supply module.

3.1.1 GSM Modem Module
The Sim340Z GSM modem manufactured by Siemens is used as a modem. TheSim340Z has a
communication port (inbuilt GSM modem) that can be programmed using AT Command Set. The signal
names for the GSM modem communication port include the following; audio input and output pins (for
connecting external hands free audio devices), mute control pin, flash programming signal pins, external
power pins, and receiver and transmitter pins.
The SMS Remote Controller will only emphasize on the receiver (RX) and transmitter (TX) pins otherwise
called the serial port. The serial port is TTL (Transistor-Transistor Logic) compactable, and is directly
interfaced to the ATmega8515 microcontroller without a driver. The serial port of the modem operates at
115200 baud rate, 8bit data, 1start bit, 1stop bit and no parity bit.
3.1.2 LCD Module
This module is use to display the status of the appliances, it consist of a 16 X 2 character LCD, a 10K ohms,
and a 100 Ohm resistors.




                                                      108
Computer Engineering and Intelligent Systems                                                              www.iiste.org
ISSN 2222-1719 (Paper) ISSN 2222-2863 (Online)
Vol 3, No.4, 2012




                  VCC                                 16 X 2 Character LCD
                                                          4 Bit Mode
                        5V

                                R1       1                                                  16

                             Key =10kohms
                                       A


                                                                                             R2
                                                                                             100 Ohm_1%




                                                    RS      RW               D4 D5 D6 D7


                                     Figure 1. LCD configuration in 4 Bit mode
From the figure above, the variable resistor (10k ohms ), is used to change the brightness of the LCD, while
the 100 ohms resistor is use as a current limiter for the back light of the LCD.
3.1.3 Appliances Module
Home appliances cannot be directly interfaced to microcontrollers; this is because they are AC operated
devices while microcontrollers are low voltage DC operated devices. Therefore to control AC operated
devices from DC voltage, a relay or a traic is used. When using a relay to control AC operated devices, a
relay driver is required; this is because the voltage ratings for most relays are between 6V to 24V dc, which
is higher than the output voltage from most microcontrollers. The circuit diagram of a simple relay driver
is shown below.


                                                          VCC
                                                                12V

                                                                             240V AC BULB
                                                                 12V RELAY          N
                                                    D1                              L 240V AC MAINS
                                                 1N4148




                        FROM MICROCONTROLLER               Q1
                                            R1
                                         1.0k Ohm_5%
                                                           2N2222A




                                       Figure 2. Appliance interface circuitry
From the circuitry above, the diode is connected across the relay (DC terminals), to prevent the switching
transistor from the charge reversal of the relay inductance. Mathematically the values for R1 and Q1 are
justified as soon below.


                                                                109
Computer Engineering and Intelligent Systems                                                 www.iiste.org
ISSN 2222-1719 (Paper) ISSN 2222-2863 (Online)
Vol 3, No.4, 2012

1.   Transistor maximum collector current must be greater than the load current Ic
Recall that,      V=IR
                                                                                                         (1)

                      V
Therefore,       I=
                      R
                                                                                                         (2)
                            ୱ୳୮୮୪୷	୴୭୪୲ୟ୥ୣ
Hence, load	current	 ൌ
                            ୪୭ୟୢ	୰ୣୱ୧ୱ୲ୟ୬ୡୣ

                                                                                                         (3)
Where Load current=?
Supply voltage = Relay voltage rating = 12V
Load resistance = Relay resistance = 400 ohms, therefore
From Equation (2),

                      12
Load current =                 = 0.03 A
                      400

2.   The transistor minimum current gain hfe must be greater than five times the load current divided by
     maximum output current from the drive voltage.

        ହ௫௟௢௔ௗ	௖௨௥௥௘௡௧
݄݂݁ ൐
        ௗ௥௜௩௘	௖௨௥௥௘௡௧

                                                                                                         (4)
Where load current = 0.03 A
Drive current = output current of ATmega16 = 40 mA, therefore
From equation (4),

        ହൈ଴.଴ଷ
݄݂݁ ൌ            = 3.75
        ସ଴௠஺


From the calculations above, a transistor whose maximum collector current Ic is greater than 0.03A and the
minimum current gain hfe is greater than 3.75 can be used for switching a 12V, 400 Ohms relay. One of the
NPN transistors that satisfied these conditions is 2N2222. The 2N2222 transistor has a maximum collector
current Ic = 0.8A, and the hfe = 300.
3.   From equation (5), the base resistor should be equal to the drive voltage multiplied by hfe, divided by
     five times the maximum collector current of the switching transistor.

                        drive voltage X current gain
Base resistor =
                      5 X maximum collector current


                                                    110
Computer Engineering and Intelligent Systems                                                   www.iiste.org
ISSN 2222-1719 (Paper) ISSN 2222-2863 (Online)
Vol 3, No.4, 2012

                                                                                                           (5)
Where drive voltage = ATmega16 output voltage = 5V
Maximum collector current = maximum collector current for 2N2222 = 0.8A
Current gain = current gain for 2N2222= 300, therefore
                    ହൈଷ଴଴
‫ ݎ݋ݐݏ݅ݏ݁ݎ	݁ݏܽܤ‬ൌ 	           = 375 ohms
                    ହൈ଴.଼
From the calculation above, a resistor whose resistance is greater than 375 Ohm can be used as the base
resistor.
3.1.4 Control Module
This module is the brain of the SMS Remote Controller. Its main component is the ATmega16
microcontroller,
There are different microcontrollers available in the market from different manufactures. In order to choose
an appropriate microcontroller, several microcontrollers were considered using their architecture. The
architecture considered are the 8051, AVR and PIC, and the comparison was based on the cost availability
speed built-in peripherals and tools and resources.
Having compared the different microcontroller architectures, the ATmega16 from AVR architecture was
chosen. The ATmega16 microcontroller from Atmel corporations has a Reduced Instruction Set Computer
(RISC) core running single cycle instructions and a well defined Input/output structure that limits the need
for external components. Some of the features found on the ATmega16 are; Internal oscillators, Universal
Synchronous Asynchronous Receiver Transmitter (USART) , Serial Peripheral Interface (SPI), Pulse Width
Modulation (PWM) ,Watch-dog Timers etc. The circuit below shows how an AVR microcontroller is
hardware configured.


                                                                    1                 40
                                           RESET CIRCUITRY
                                                 R1


                                                 8.2kOhm_5%         9

                                                  C1
                                  RESET                                  ATmega8515
                                 Key = R         10uF-POL


                                           CLOCK SOURCE CIRCUITRY
                                                      C2
                                                                 18
                                                       22pF
                                                       C3
                                                                    19
                                                       22pF         20                21


                                 Figure 3. ATmega16 configuration circuitry
The clock source generates the appropriate clock signal for the microcontroller to execute its instruction set.
The condition for selecting C1 and C2 are
‫ 1ܥ‬ൌ ‫ 2ܥ‬ൌ ሺ30 േ 10ሻ݅݊	‫݂݌‬
ܺ1 ൑ ‫ݖ݄	݊݅	61	ܽ݃݁݉ݐܽ	݂݋	݀݁݁݌ݏ‬
Note: With a crystal value of 8MHz, the microcontroller will be able to execute 8 million instructions per


                                                              111
Computer Engineering and Intelligent Systems                                                                  www.iiste.org
ISSN 2222-1719 (Paper) ISSN 2222-2863 (Online)
Vol 3, No.4, 2012

second.
The reset circuitry is used to manually reset the microcontroller. The microcontroller cannot function
without a firmware loaded into its code or program memory (FLASH EEPROM). The design of the
firmware will be discussed in the software design section. The ATmega16 can be used without being
hardware configured; this is because it has a calibrated internal RC oscillator that can be enabled when
programming the chip. The selectable frequencies, when enabling the calibrated internal RC oscillator are,
4MHz and 8MHz. The SMS Remote Controller will be using the 8MHz calibrated internal oscillator.
3.1.5 Power Supply Module
This power supply module is necessary for the provision of regulated (step-down rectified) DC power
supply from AC mains to circuit components (ICs, relays, microcontroller etc.) The maximum and
minimum voltage ratings of the circuit component were taken into consideration while designing the power
supply unit;
ATmega16 microcontroller: The voltage rating for the ATmega8515 is between 1.8V to 5.5V dc.
GSM modem: The voltage rating for the Simcom304 GSM modem is around 3.4V to 4.5V dc.
Relay: Different relays have different voltage ratings around 4V to 1000V dc. This work will be using a
12V relay; this is due to its availability.
Other Circuit Component: Other circuit components like the 2N2222 transistor can withstand 12Vdc
without drawing two much current.
From the above consideration, it was concluded that a power supply of three different voltage levels was
needed. The ATmega16 can be operated with a 5Vdc supply, the GSM modem can be operated with a 4.2V
supply, and the 12V relays and other circuit components can be operated with a 12V supply.


                                                                           U1
                                                                        LM117HVH
                                                                        LINE VREG
                                                                        VOLTAGE
                                                                           COMMON200?
                                                                                1%                            4.2 Vdc
                                                                                     R1    C2       C4
                                                                                                    10mF
                                                                                          10mF

                                                                             10k? 50%
                                                                          R2 Key=A
                                                                          U3                                  12 Vdc
                                                                                                        U2
                                                                                                  LM7805CT
                                                                        LM7812CT
                                                                        LINE VREG
                                                                        VOLTAGE
                                                                                                  LINE VREG
                                                                                                  VOLTAGE
                                                                                                              5 Vdc
                                      D2      D3                           COMMON                    COMMON
                                      1N4001GP 1N4001GP                                   C3
                        T1                                                                470uF
           220 Vac   NLT_PQ_4_10                          C1
           Mains                                          4.7mF

                                      D1      D4
                                      1N4001GP 1N4001GP




                                           Figure 4. Power Supply circuitry
From the circuit above, the AC mains will be step-down using a 240V/15V transformer; the output of the
transformer will then feed to a bridge rectifier and a 12V voltage regulator will be connected to the output
of the rectifier. The Output of the 12V voltage regulator will then be feed to a 5V voltage regulator. The
capacitors are necessary for removing the pulsating dc. The complete circuit diagram for the SMS remote


                                                                  112
Computer Engineering and Intelligent Systems                                                                     www.iiste.org
ISSN 2222-1719 (Paper) ISSN 2222-2863 (Online)
Vol 3, No.4, 2012

controller is shown below




                     4.2 Vda                                         5 Vda          12 Vdc
                                         Reset
                                                                                                                     220 Vac
                               R                             R7                              12V Relay               Bulb
                                      Key = Space
                               100k                         4.7k
                               1%
                                          C4                                    D1
    SIMCom 304 GSM MODEM                                                      1N4148

                                         10u
                                                        ATmega16
             Vc                                       1        40
           PWRKEY                                     2                       R3
             TX                                                39                        Q1
                                           C3         3        38            4.7k        2N2222
             RX                                       4        3             5%
             GND          5 Vda             470u
                                                                                                                      220 Vac
                                                      5        36
                                                      6        35                            12V Relay                Bul
       16 X 2 LCD               R2                    7        34
                1              10k? 50%               8        3                D2
                               Key=A                                          1N4148
                2                                     9        32
                3                                     1        3
                4                                     11       30
                5                                     1        29             R          Q2
                6                                     13       28            4.7k       2N2222A
                7                                     14       27            5%
                8        R1
                         100?
                                                      15       2                                                     220 Vac
                9        1%                           16       25                            12V Relay               Bul
                1                                     17       2                D
                11                                    18       23             1N4148
                12                                    1        22
                13                                    20       21
                14
                15                                                            R5         Q3
                                    11.0952 MHz                                         2N2222
                1                                                            4.7k
                                                                             5%                          L                   N
                               C1                                                                            220V AC Mains
                                                C
                               22pF             22p




                                Figure 5. Circuit diagram for the SMS remote controller
3.2 Software Section
This section describes the software development for the SMS Remote Controller. It is divided into two sub-
sections; these are the software development and uploading.
3.2.1 ATmega16 Software Development
The SMS Remote Controller software was developed in AVR Studio4 Integrated Development
Environment (IDE) using assembly language. The table below shows the pin assignment for the ATmega16
I/Os as used in the SMS Remote Controller.




                                                                    113
Computer Engineering and Intelligent Systems                                                       www.iiste.org
ISSN 2222-1719 (Paper) ISSN 2222-2863 (Online)
Vol 3, No.4, 2012

Table 1. ATmega16 I/O pin assignment
         ATmega16 I/O pin       Device Connected to      Description of the ATmega16I/O
         Pin21 (PB7)            LCD pin14 (D7)           use for sending data to the LCD (4 bit mode)
         Pin20 (PB6)            LCD pin13 (D6)           use for sending data to the LCD (4 bit mode)
         Pin19 (PB5)            LCD pin12 (D5)           use for sending data to the LCD (4 bit mode)
         Pin18 (PB4)            LCD pin11 (D4)           use for sending data to the LCD (4 bit mode)
         Pin17 (PB3)            LCD pin (RS)             use for selecting LCD register
         Pin16 (PB2)            LCD pin (EN)             use to enable the LCD
         Pin35 (PB1)            Relay Driver1            use to switch ON and OFF of appliance1
         Pin34(PB0)             Relay Driver2            use to switch ON and OFF of appliance 2
         Pin33(PD7)             Relay Driver3            use to switch ON and OFF of appliance 3
         Pin14 (PD0)            GSM Modem (TX)           use to receive data from Gsm modem
         Pin15 (PD1)            GSM Modem (RX)           use to transmit data to Gsm modem


The following sub-routine was adopted in the design of the SMS Remote controller
1. Initializing Registers and I/Os: This sub-routine was used to initialize all the SRAM and I/Os to the
initial expected state. For example when the device is first powered, it is expected that the entire appliance
should be OFF. This can be done as shown below
                                              cbi PB1, PORTB       ;off relay1
2. Setting UART baud rate: The default baud rate for the GSM modem is 115200, therefore for the
ATmega16 microcontrollers baud rate has to be set to 115200 to be able to communicate with the modem.
To achieve this, the following USART registers has to be initialized as shown below.


Table 2. Serial port initialization data
     Register Name      Register Data (hex)    Description
     UBRH               0x00                   Set baud rate to 115,200
     UBRL               0x38                   Set baud rate to 115,200
     UCSRA              0x06                   Set serial port @8bit data, 1 start and stop bit, no parity bit
     UCSRB              0x18                   Set serial port @8bit data, 1 start and stop bit, no parity bit
     UCSRC              0x00                   Enables ATmega16 serial port as Asynchronous mode


3. Setting Preferred message storage: To set the preferred message storage in the GSM modem, the
following is sent to the modem.
AT+CPMS =”ME”,”ME”,”ME”
The above code will enable the use of GSM modem memory for reading, sending and deleting SMS.
4. Read SMS: To read a message from the 15th memory in the preferred message storage, the following
code is sent to the GSM modem.
                                              AT+CMGR = 15


                                                       114
Computer Engineering and Intelligent Systems                                                 www.iiste.org
ISSN 2222-1719 (Paper) ISSN 2222-2863 (Online)
Vol 3, No.4, 2012

5. Delete SMS: To delete a message from the 15th memory in the preferred message storage, the following
code is sent to the GSM modem.
                                                  AT+CMGD = 15
 6. Send SMS: To send a message from the 15th memory in the preferred message storage, the following
code is sent to the GSM modem.
                                                  AT+CMGS = 15
7. Update Relay driver: To ON or OFF the appliances the respective relay driver is set or cleared eg.
                                                  cbi PB1, PORTB ;off relay1
                                                  sbi PB1, PORTB ;on relay1
8. Update LCD: To write or update the LCD, the following step is taken,
                                                  1. Send LCD command
                                                  2. Send LCD data
9. Loop: The loop subroutine will loop through no 4 to 8
The flowchart that was adopted in the software development is shown below, for simplicity some processes
were ignored.
                                          START




                                    Set   Up Registers
                                    and   I/Os.




                                 Set up UART @ 9600
                                8bit data, 1 start
                               bit, 1 Stop bit
                              and no parity bit




                                     Read   SMS




                               NO           if           YES
                                          Read=1




                                                                     Decode   Command




                                                                NO         if
                                                                        Decode=1




                                                                     Update   Appliance
                                                                     Update   LCD

                                                                     Delete   SMS




                              Figure 6. Flowchart for SMS Remote Controller
3.2.2 ATmega16 Software Uploading
The SMS Remote Controller software was uploaded into the ATmega16 microcontroller code or program
memory using an EasyAVR6 programmer. The EasyAVR6 programmer is a full featured AVR
Development Board manufactured by Mikroelektronika. The programmer connects to the Personal
Computer (PC) via a Universal Serial Bus (USB) port.
4. Experimental Results and Discussions
In this section, we itemized the steps and stages of procedure taken to verify the mathematical calculated
results through the real time experimental results.


                                                          115
Computer Engineering and Intelligent Systems                                                     www.iiste.org
ISSN 2222-1719 (Paper) ISSN 2222-2863 (Online)
Vol 3, No.4, 2012

4.1 Power Supply Test
The power supply section was switched on; a multimeter was used to measure voltages at different
terminals in the power supply section. The result obtained was recorded and compared with their respective
theoretical values.
Table 3. Power Supply Test result
                                                  Theoretical Value    Experimental Value
                    AC Mains (Vac)                240.00               195.50
                    Transformer Output (Vac)      15.00                12.50
                    Rectifier Output (Vdc)        13.60                15.00
                    LM7812 Output (Vdc)           12.00                12.05
                    LM7805 Output (Vdc)           5.00                 5.05
                    LM317 Output (Vdc)            3-17                 4.20
From the power supply test results above, the experimental results were slightly different from the
theoretical values; these could be attributed to some of the following reasons:
     1.   Percentage error of the measuring instrument used
     2.   Low battery of the measuring instrument used
     3.   Human error which cannot be totally eliminated
4.2 Appliance Interface Test
The appliance interface section was tested manually. A bulb was connected to one of the relays, and the
power supply was switched on. A jumper was used to connect the base of the transistor (NPN) driving the
relay to VCC and also to GND. It was observed that when the transistor’s base is connected to VCC, the
relay will be energized and the bulb will be ON and when connected to GND, the relay will de-energized
and the bulb will be OFF. This test was repeated for the other appliance interface, and the observation was
the same. This observation conformed to the theory of switching ON and OFF of an NPN transistor.
4.3 GSM Modem Test
The GSM modem was test on a personal computer. The serial port of the modem was connected to the
COM1 port of the personal computer using an RS232 converter. The hyper terminal program on the PC was
started, and the baud rate was set to 11,000, 8 data bit, 1 start bit, 1 stop bit and no parity bit. When an “AT”
is typed and sent to the GSM Modem, it was observed that the modem responded with “OK”. According to
the AT command set for the modem, the modem should return an “OK” when an “AT” is sent to it. This
observation reveals the modem is working properly. Other command tested are shown in the table below
Table 4. AT command and the respective responds
 S/N      Command                            Meaning                                   Responds
 1        AT                                 Attention                                 OK
 2        AT+CPMS=”SM”,”SM”,”SM”             Select SIM memory                         +CPMS:       0,15,0,15,
                                                                                       0,15
 3        AT+CMGR=1                          Read message on SIM memory                +CMGR:             0,12
                                             location 15                               <PDU>
                                                                                       OK
 4        AT+CMGD=1                          Delete message on SIM memory              OK
                                             location 1


4.4 SMS Remote Controller Test

                                                         116
Computer Engineering and Intelligent Systems                                                www.iiste.org
ISSN 2222-1719 (Paper) ISSN 2222-2863 (Online)
Vol 3, No.4, 2012

A bulb was connected to the appliance interface connector of the SMS Remote controller, and the power
switch was switched on. A phone was used to send the SMS command needed to activate the bulb. The
time between the reception of the SMS command and the execution is about 1 to 4 seconds. The time
between sending and reception of the SMS command depends solely on the GSM network. For
documentation purpose, it took about 4-6 seconds when the network is good and about 20-45 minutes when
the network is bad. This is one of the limitations of the SMS Remote Controller.
Table 5. SMS Remote Controller Commands
                               S/N    SMS Command        Description
                               1      BB ON1             Switch ON bulb1
                               2      BB OF1             Switch OFF bulb1
                               3      BB ON2             Switch ON bulb2
                               4      BB OF2             Switch OFF bulb2
                               5      BB ON3             Switch ON bulb3
                               2      BB OF3             Switch OFF bulb3


5. Conclusion
This research was aimed at design and implementation of an SMS based remote control system. The results
obtained are presented and fully discussed. After carrying out the necessary test, it was observed that the
aim of the work was achieved. The SMS Remote Controller was discovered to be efficient in remote
controlling of home appliances. The system has many advantages such as remote controlling of home
appliances, availability and ease to users. The user can get alerts anywhere through the GSM technology
thus making the system location independent. The system contains low cost components easily available
which cuts down the overall system cost. Moreover, the system alerts user about breach via SMS providing
home security, and also allows secure access due to pre-configured number. The ease of deployment is due
to wireless mode of communication. GSM technology provides the benefit that the system is accessible in
remote areas as well. The system reliability increases due to the useful features such as battery level
checking, charging status and signal strength indicating the system about threats. in future, we intend to
look into some newly design computers that does not supports parallel or serial ports by improving our
design to support USB (Universal Serial Bus) port for diagnostic.

References
Andreas, F. and Molisch, (2005), “Wireless communications”, Wiley-IEEE Press, 145-146
ATmega16 data sheet, online at: www.atmel.com/datasheet/ATmega16.pdf
EasyAVR4 manual, (2008), Online available: www.microelektronika.com/download/manual/easyavr4.pdf
Krishna, B.V. and Kumar B.P. (2006), ”SMS Remote Controller”, Embedded Systems-Fall 2005, ECGR
5101 Final Project, 1-29. Available at: http://www.lamarca.org/flight/GSMproject.pdf
Lanconelli, C. (2007), “Tiny Planet SMS Controller”, Online, available at: www.lancos.com
Mavino, A.P. (1997), “Electronic Principle”, 6th edition, McGraw-Hill Book Co., New York, 106-109.
Parker, Sybol, P. (1982), “Concise Encyclopedia of Science & Technology”, 5th edition, McGraw-Hill Book
Co., New York, 15, 563-567.
Richard. H.Barnett, Sarah Cox, Larry o’ cull, Embedded C Programming and the Atmel AVR, 2nd Edition,
Cengage Learning, 50-51

                                                   117
Computer Engineering and Intelligent Systems                                                  www.iiste.org
ISSN 2222-1719 (Paper) ISSN 2222-2863 (Online)
Vol 3, No.4, 2012

Robert, L. Boylestad, and Nashelsky, L. (2002), “Electronic devices and circuit theory”, 8th edition,
Prentice Hall (Pearson Education Inc.), 16, 870-875
Siemens, (2011), “AT commands set”, online available at: www.sms666.net/Download/SIEMENS
Stallings, W. (2007), “Data and Computer Communications”, 7th Edition, Prentice-hall, Inc, 191-235,
available: http://mmlab.snu.ac.kr/courses/2008_introductionICT_fall/lecture/CircuitandPacketSwitch-2.pdf
Vasillis, S. (2007), “SMS Remote Controls”, Online, available at: www.serasidisvasillis.com
Warnes, L. (1994), “Electronic and Electrical Engineering, Principles and Practice”, Macmillan Press Ltd.
London, 145 – 220




                                                      118
International Journals Call for Paper
The IISTE, a U.S. publisher, is currently hosting the academic journals listed below. The peer review process of the following journals
usually takes LESS THAN 14 business days and IISTE usually publishes a qualified article within 30 days. Authors should
send their full paper to the following email address. More information can be found in the IISTE website : www.iiste.org

Business, Economics, Finance and Management               PAPER SUBMISSION EMAIL
European Journal of Business and Management               EJBM@iiste.org
Research Journal of Finance and Accounting                RJFA@iiste.org
Journal of Economics and Sustainable Development          JESD@iiste.org
Information and Knowledge Management                      IKM@iiste.org
Developing Country Studies                                DCS@iiste.org
Industrial Engineering Letters                            IEL@iiste.org


Physical Sciences, Mathematics and Chemistry              PAPER SUBMISSION EMAIL
Journal of Natural Sciences Research                      JNSR@iiste.org
Chemistry and Materials Research                          CMR@iiste.org
Mathematical Theory and Modeling                          MTM@iiste.org
Advances in Physics Theories and Applications             APTA@iiste.org
Chemical and Process Engineering Research                 CPER@iiste.org


Engineering, Technology and Systems                       PAPER SUBMISSION EMAIL
Computer Engineering and Intelligent Systems              CEIS@iiste.org
Innovative Systems Design and Engineering                 ISDE@iiste.org
Journal of Energy Technologies and Policy                 JETP@iiste.org
Information and Knowledge Management                      IKM@iiste.org
Control Theory and Informatics                            CTI@iiste.org
Journal of Information Engineering and Applications       JIEA@iiste.org
Industrial Engineering Letters                            IEL@iiste.org
Network and Complex Systems                               NCS@iiste.org


Environment, Civil, Materials Sciences                    PAPER SUBMISSION EMAIL
Journal of Environment and Earth Science                  JEES@iiste.org
Civil and Environmental Research                          CER@iiste.org
Journal of Natural Sciences Research                      JNSR@iiste.org
Civil and Environmental Research                          CER@iiste.org


Life Science, Food and Medical Sciences                   PAPER SUBMISSION EMAIL
Journal of Natural Sciences Research                      JNSR@iiste.org
Journal of Biology, Agriculture and Healthcare            JBAH@iiste.org
Food Science and Quality Management                       FSQM@iiste.org
Chemistry and Materials Research                          CMR@iiste.org


Education, and other Social Sciences                      PAPER SUBMISSION EMAIL
Journal of Education and Practice                         JEP@iiste.org
Journal of Law, Policy and Globalization                  JLPG@iiste.org                       Global knowledge sharing:
New Media and Mass Communication                          NMMC@iiste.org                       EBSCO, Index Copernicus, Ulrich's
Journal of Energy Technologies and Policy                 JETP@iiste.org                       Periodicals Directory, JournalTOCS, PKP
Historical Research Letter                                HRL@iiste.org                        Open Archives Harvester, Bielefeld
                                                                                               Academic Search Engine, Elektronische
Public Policy and Administration Research                 PPAR@iiste.org                       Zeitschriftenbibliothek EZB, Open J-Gate,
International Affairs and Global Strategy                 IAGS@iiste.org                       OCLC WorldCat, Universe Digtial Library ,
Research on Humanities and Social Sciences                RHSS@iiste.org                       NewJour, Google Scholar.

Developing Country Studies                                DCS@iiste.org                        IISTE is member of CrossRef. All journals
Arts and Design Studies                                   ADS@iiste.org                        have high IC Impact Factor Values (ICV).

Contenu connexe

Tendances

Home Appliances Controlling using Android Mobile via Bluetooth
Home Appliances Controlling using Android Mobile via BluetoothHome Appliances Controlling using Android Mobile via Bluetooth
Home Appliances Controlling using Android Mobile via BluetoothMOKTARI MOSTOFA
 
Electrical and electronics engineering projects list
Electrical and electronics engineering projects listElectrical and electronics engineering projects list
Electrical and electronics engineering projects listGaurav Mishra
 
Home appliance control system (2)
Home appliance control system (2)Home appliance control system (2)
Home appliance control system (2)Suraj Soni
 
HOME AUTOMATION USING ARDUINO
HOME AUTOMATION USING ARDUINOHOME AUTOMATION USING ARDUINO
HOME AUTOMATION USING ARDUINOEklavya Sharma
 
IRJET- Designing of Smart Switch for Home Automation
IRJET- Designing of Smart Switch for Home AutomationIRJET- Designing of Smart Switch for Home Automation
IRJET- Designing of Smart Switch for Home AutomationIRJET Journal
 
Home automation System
Home automation SystemHome automation System
Home automation SystemNaman Gautam
 
Touchscreenbasedhomeautomationsystem dca
Touchscreenbasedhomeautomationsystem dcaTouchscreenbasedhomeautomationsystem dca
Touchscreenbasedhomeautomationsystem dcavision2d16
 
Presentation on bluetooth controlled electronic home appliances
Presentation on bluetooth controlled electronic home appliancesPresentation on bluetooth controlled electronic home appliances
Presentation on bluetooth controlled electronic home appliancesmirzaahmadali
 
Mems based hand gesture controlled robot
Mems based hand gesture controlled robotMems based hand gesture controlled robot
Mems based hand gesture controlled robotSriteja Rst
 
GSM Based Device Controlling and Fault Detection
GSM Based Device Controlling and Fault DetectionGSM Based Device Controlling and Fault Detection
GSM Based Device Controlling and Fault DetectionIJCERT
 
HOME AUTOMATION USING ANDROID PHONE OVER BLUETOOTH
HOME AUTOMATION USING ANDROID PHONE OVER BLUETOOTHHOME AUTOMATION USING ANDROID PHONE OVER BLUETOOTH
HOME AUTOMATION USING ANDROID PHONE OVER BLUETOOTHSubhash Kumar Yadav
 
Implementation and Controlling of Electrical Appliances by using Bluetooth
Implementation and Controlling of Electrical Appliances by using BluetoothImplementation and Controlling of Electrical Appliances by using Bluetooth
Implementation and Controlling of Electrical Appliances by using BluetoothIRJET Journal
 
Password based door locking system
Password based door locking systemPassword based door locking system
Password based door locking systemArjun Singh
 
A minor project report HOME AUTOMATION USING MOBILE PHONES
A minor project report HOME AUTOMATION  USING  MOBILE PHONESA minor project report HOME AUTOMATION  USING  MOBILE PHONES
A minor project report HOME AUTOMATION USING MOBILE PHONESashokkok
 
Bluetooth based home automation system
Bluetooth based home automation systemBluetooth based home automation system
Bluetooth based home automation systemVeer Singh shakya
 
speed control of three phase induction motor using IOT
speed control of three phase induction motor using IOTspeed control of three phase induction motor using IOT
speed control of three phase induction motor using IOTswaroop009
 
Tv remote controlled pc and devices with password protection
Tv remote controlled pc and devices with password protectionTv remote controlled pc and devices with password protection
Tv remote controlled pc and devices with password protectionJagadeesh Yadav
 
Bluetooth Home Automation
Bluetooth Home AutomationBluetooth Home Automation
Bluetooth Home AutomationApoorv Gupta
 

Tendances (20)

Home Appliances Controlling using Android Mobile via Bluetooth
Home Appliances Controlling using Android Mobile via BluetoothHome Appliances Controlling using Android Mobile via Bluetooth
Home Appliances Controlling using Android Mobile via Bluetooth
 
Electrical and electronics engineering projects list
Electrical and electronics engineering projects listElectrical and electronics engineering projects list
Electrical and electronics engineering projects list
 
Home appliance control system (2)
Home appliance control system (2)Home appliance control system (2)
Home appliance control system (2)
 
HOME AUTOMATION USING ARDUINO
HOME AUTOMATION USING ARDUINOHOME AUTOMATION USING ARDUINO
HOME AUTOMATION USING ARDUINO
 
IRJET- Designing of Smart Switch for Home Automation
IRJET- Designing of Smart Switch for Home AutomationIRJET- Designing of Smart Switch for Home Automation
IRJET- Designing of Smart Switch for Home Automation
 
Home automation System
Home automation SystemHome automation System
Home automation System
 
Touchscreenbasedhomeautomationsystem dca
Touchscreenbasedhomeautomationsystem dcaTouchscreenbasedhomeautomationsystem dca
Touchscreenbasedhomeautomationsystem dca
 
Presentation on bluetooth controlled electronic home appliances
Presentation on bluetooth controlled electronic home appliancesPresentation on bluetooth controlled electronic home appliances
Presentation on bluetooth controlled electronic home appliances
 
Mems based hand gesture controlled robot
Mems based hand gesture controlled robotMems based hand gesture controlled robot
Mems based hand gesture controlled robot
 
GSM Based Device Controlling and Fault Detection
GSM Based Device Controlling and Fault DetectionGSM Based Device Controlling and Fault Detection
GSM Based Device Controlling and Fault Detection
 
HOME AUTOMATION USING ANDROID PHONE OVER BLUETOOTH
HOME AUTOMATION USING ANDROID PHONE OVER BLUETOOTHHOME AUTOMATION USING ANDROID PHONE OVER BLUETOOTH
HOME AUTOMATION USING ANDROID PHONE OVER BLUETOOTH
 
ZigBee Antenna in Urban Smart Lighting
ZigBee Antenna in Urban Smart LightingZigBee Antenna in Urban Smart Lighting
ZigBee Antenna in Urban Smart Lighting
 
Implementation and Controlling of Electrical Appliances by using Bluetooth
Implementation and Controlling of Electrical Appliances by using BluetoothImplementation and Controlling of Electrical Appliances by using Bluetooth
Implementation and Controlling of Electrical Appliances by using Bluetooth
 
Password based door locking system
Password based door locking systemPassword based door locking system
Password based door locking system
 
A minor project report HOME AUTOMATION USING MOBILE PHONES
A minor project report HOME AUTOMATION  USING  MOBILE PHONESA minor project report HOME AUTOMATION  USING  MOBILE PHONES
A minor project report HOME AUTOMATION USING MOBILE PHONES
 
Bluetooth based home automation system
Bluetooth based home automation systemBluetooth based home automation system
Bluetooth based home automation system
 
speed control of three phase induction motor using IOT
speed control of three phase induction motor using IOTspeed control of three phase induction motor using IOT
speed control of three phase induction motor using IOT
 
Password Based Circuit Breaker
Password Based Circuit BreakerPassword Based Circuit Breaker
Password Based Circuit Breaker
 
Tv remote controlled pc and devices with password protection
Tv remote controlled pc and devices with password protectionTv remote controlled pc and devices with password protection
Tv remote controlled pc and devices with password protection
 
Bluetooth Home Automation
Bluetooth Home AutomationBluetooth Home Automation
Bluetooth Home Automation
 

Similaire à 11.[106 118]design and implementation of a short message service based remote controller

Cell phone based automation systems
Cell phone based automation systemsCell phone based automation systems
Cell phone based automation systemsManpreet Chandhok
 
A Short Review on the Perspective of Home Automation Technology
A Short Review on the Perspective of Home Automation TechnologyA Short Review on the Perspective of Home Automation Technology
A Short Review on the Perspective of Home Automation TechnologyIRJET Journal
 
An electric circuits' remote switching system based on gsm radio network
An electric circuits' remote switching system based on gsm radio networkAn electric circuits' remote switching system based on gsm radio network
An electric circuits' remote switching system based on gsm radio networkeSAT Publishing House
 
An electric circuits' remote switching system based on gsm radio network
An electric circuits' remote switching system based on gsm radio networkAn electric circuits' remote switching system based on gsm radio network
An electric circuits' remote switching system based on gsm radio networkeSAT Journals
 
Ijmsr 2016-01
Ijmsr 2016-01Ijmsr 2016-01
Ijmsr 2016-01ijmsr
 
GSM Based Home Appliances Monitoring System for Handicapped People
GSM Based Home Appliances Monitoring System for Handicapped PeopleGSM Based Home Appliances Monitoring System for Handicapped People
GSM Based Home Appliances Monitoring System for Handicapped Peoplepaperpublications3
 
Sms based wireless appliances control
Sms based wireless appliances controlSms based wireless appliances control
Sms based wireless appliances controlSourabh Bhattacharya
 
Iisi tv6p887 894-khiyal592
Iisi tv6p887 894-khiyal592Iisi tv6p887 894-khiyal592
Iisi tv6p887 894-khiyal592amna alhabib
 
IRJET- Theft Control using IoT
IRJET-  	  Theft Control using IoTIRJET-  	  Theft Control using IoT
IRJET- Theft Control using IoTIRJET Journal
 
Development of wireless and intelligent home automation system
Development of wireless and intelligent home automation systemDevelopment of wireless and intelligent home automation system
Development of wireless and intelligent home automation systemTELKOMNIKA JOURNAL
 
Smart phone based robotic control for surveillance applications
Smart phone based robotic control for surveillance applicationsSmart phone based robotic control for surveillance applications
Smart phone based robotic control for surveillance applicationseSAT Journals
 
Smart phone based robotic control for surveillance applications
Smart phone based robotic control for surveillance applicationsSmart phone based robotic control for surveillance applications
Smart phone based robotic control for surveillance applicationseSAT Publishing House
 
Paper id 24201457
Paper id 24201457Paper id 24201457
Paper id 24201457IJRAT
 
IRJET - SMS based Data Retreival System
IRJET - SMS based Data Retreival SystemIRJET - SMS based Data Retreival System
IRJET - SMS based Data Retreival SystemIRJET Journal
 
A ZIGBEE AND EMBEDDED BASED SECURITY MONITORING AND CONTROL SYSTEM
A ZIGBEE AND EMBEDDED BASED SECURITY MONITORING AND CONTROL SYSTEMA ZIGBEE AND EMBEDDED BASED SECURITY MONITORING AND CONTROL SYSTEM
A ZIGBEE AND EMBEDDED BASED SECURITY MONITORING AND CONTROL SYSTEMijistjournal
 
A zigbee and embedded based security
A zigbee and embedded based securityA zigbee and embedded based security
A zigbee and embedded based securityijistjournal
 

Similaire à 11.[106 118]design and implementation of a short message service based remote controller (20)

Review
ReviewReview
Review
 
Cell phone based automation systems
Cell phone based automation systemsCell phone based automation systems
Cell phone based automation systems
 
A Short Review on the Perspective of Home Automation Technology
A Short Review on the Perspective of Home Automation TechnologyA Short Review on the Perspective of Home Automation Technology
A Short Review on the Perspective of Home Automation Technology
 
An electric circuits' remote switching system based on gsm radio network
An electric circuits' remote switching system based on gsm radio networkAn electric circuits' remote switching system based on gsm radio network
An electric circuits' remote switching system based on gsm radio network
 
An electric circuits' remote switching system based on gsm radio network
An electric circuits' remote switching system based on gsm radio networkAn electric circuits' remote switching system based on gsm radio network
An electric circuits' remote switching system based on gsm radio network
 
Ijmsr 2016-01
Ijmsr 2016-01Ijmsr 2016-01
Ijmsr 2016-01
 
GSM Based Home Appliances Monitoring System for Handicapped People
GSM Based Home Appliances Monitoring System for Handicapped PeopleGSM Based Home Appliances Monitoring System for Handicapped People
GSM Based Home Appliances Monitoring System for Handicapped People
 
Sms based wireless appliances control
Sms based wireless appliances controlSms based wireless appliances control
Sms based wireless appliances control
 
Iisi tv6p887 894-khiyal592
Iisi tv6p887 894-khiyal592Iisi tv6p887 894-khiyal592
Iisi tv6p887 894-khiyal592
 
IRJET- Theft Control using IoT
IRJET-  	  Theft Control using IoTIRJET-  	  Theft Control using IoT
IRJET- Theft Control using IoT
 
Development of wireless and intelligent home automation system
Development of wireless and intelligent home automation systemDevelopment of wireless and intelligent home automation system
Development of wireless and intelligent home automation system
 
Smart phone based robotic control for surveillance applications
Smart phone based robotic control for surveillance applicationsSmart phone based robotic control for surveillance applications
Smart phone based robotic control for surveillance applications
 
Smart phone based robotic control for surveillance applications
Smart phone based robotic control for surveillance applicationsSmart phone based robotic control for surveillance applications
Smart phone based robotic control for surveillance applications
 
68-71.pdf
68-71.pdf68-71.pdf
68-71.pdf
 
(23 26) siraj pa
(23 26) siraj pa(23 26) siraj pa
(23 26) siraj pa
 
MAJOR_PROJECT
MAJOR_PROJECTMAJOR_PROJECT
MAJOR_PROJECT
 
Paper id 24201457
Paper id 24201457Paper id 24201457
Paper id 24201457
 
IRJET - SMS based Data Retreival System
IRJET - SMS based Data Retreival SystemIRJET - SMS based Data Retreival System
IRJET - SMS based Data Retreival System
 
A ZIGBEE AND EMBEDDED BASED SECURITY MONITORING AND CONTROL SYSTEM
A ZIGBEE AND EMBEDDED BASED SECURITY MONITORING AND CONTROL SYSTEMA ZIGBEE AND EMBEDDED BASED SECURITY MONITORING AND CONTROL SYSTEM
A ZIGBEE AND EMBEDDED BASED SECURITY MONITORING AND CONTROL SYSTEM
 
A zigbee and embedded based security
A zigbee and embedded based securityA zigbee and embedded based security
A zigbee and embedded based security
 

Plus de Alexander Decker

Abnormalities of hormones and inflammatory cytokines in women affected with p...
Abnormalities of hormones and inflammatory cytokines in women affected with p...Abnormalities of hormones and inflammatory cytokines in women affected with p...
Abnormalities of hormones and inflammatory cytokines in women affected with p...Alexander Decker
 
A validation of the adverse childhood experiences scale in
A validation of the adverse childhood experiences scale inA validation of the adverse childhood experiences scale in
A validation of the adverse childhood experiences scale inAlexander Decker
 
A usability evaluation framework for b2 c e commerce websites
A usability evaluation framework for b2 c e commerce websitesA usability evaluation framework for b2 c e commerce websites
A usability evaluation framework for b2 c e commerce websitesAlexander Decker
 
A universal model for managing the marketing executives in nigerian banks
A universal model for managing the marketing executives in nigerian banksA universal model for managing the marketing executives in nigerian banks
A universal model for managing the marketing executives in nigerian banksAlexander Decker
 
A unique common fixed point theorems in generalized d
A unique common fixed point theorems in generalized dA unique common fixed point theorems in generalized d
A unique common fixed point theorems in generalized dAlexander Decker
 
A trends of salmonella and antibiotic resistance
A trends of salmonella and antibiotic resistanceA trends of salmonella and antibiotic resistance
A trends of salmonella and antibiotic resistanceAlexander Decker
 
A transformational generative approach towards understanding al-istifham
A transformational  generative approach towards understanding al-istifhamA transformational  generative approach towards understanding al-istifham
A transformational generative approach towards understanding al-istifhamAlexander Decker
 
A time series analysis of the determinants of savings in namibia
A time series analysis of the determinants of savings in namibiaA time series analysis of the determinants of savings in namibia
A time series analysis of the determinants of savings in namibiaAlexander Decker
 
A therapy for physical and mental fitness of school children
A therapy for physical and mental fitness of school childrenA therapy for physical and mental fitness of school children
A therapy for physical and mental fitness of school childrenAlexander Decker
 
A theory of efficiency for managing the marketing executives in nigerian banks
A theory of efficiency for managing the marketing executives in nigerian banksA theory of efficiency for managing the marketing executives in nigerian banks
A theory of efficiency for managing the marketing executives in nigerian banksAlexander Decker
 
A systematic evaluation of link budget for
A systematic evaluation of link budget forA systematic evaluation of link budget for
A systematic evaluation of link budget forAlexander Decker
 
A synthetic review of contraceptive supplies in punjab
A synthetic review of contraceptive supplies in punjabA synthetic review of contraceptive supplies in punjab
A synthetic review of contraceptive supplies in punjabAlexander Decker
 
A synthesis of taylor’s and fayol’s management approaches for managing market...
A synthesis of taylor’s and fayol’s management approaches for managing market...A synthesis of taylor’s and fayol’s management approaches for managing market...
A synthesis of taylor’s and fayol’s management approaches for managing market...Alexander Decker
 
A survey paper on sequence pattern mining with incremental
A survey paper on sequence pattern mining with incrementalA survey paper on sequence pattern mining with incremental
A survey paper on sequence pattern mining with incrementalAlexander Decker
 
A survey on live virtual machine migrations and its techniques
A survey on live virtual machine migrations and its techniquesA survey on live virtual machine migrations and its techniques
A survey on live virtual machine migrations and its techniquesAlexander Decker
 
A survey on data mining and analysis in hadoop and mongo db
A survey on data mining and analysis in hadoop and mongo dbA survey on data mining and analysis in hadoop and mongo db
A survey on data mining and analysis in hadoop and mongo dbAlexander Decker
 
A survey on challenges to the media cloud
A survey on challenges to the media cloudA survey on challenges to the media cloud
A survey on challenges to the media cloudAlexander Decker
 
A survey of provenance leveraged
A survey of provenance leveragedA survey of provenance leveraged
A survey of provenance leveragedAlexander Decker
 
A survey of private equity investments in kenya
A survey of private equity investments in kenyaA survey of private equity investments in kenya
A survey of private equity investments in kenyaAlexander Decker
 
A study to measures the financial health of
A study to measures the financial health ofA study to measures the financial health of
A study to measures the financial health ofAlexander Decker
 

Plus de Alexander Decker (20)

Abnormalities of hormones and inflammatory cytokines in women affected with p...
Abnormalities of hormones and inflammatory cytokines in women affected with p...Abnormalities of hormones and inflammatory cytokines in women affected with p...
Abnormalities of hormones and inflammatory cytokines in women affected with p...
 
A validation of the adverse childhood experiences scale in
A validation of the adverse childhood experiences scale inA validation of the adverse childhood experiences scale in
A validation of the adverse childhood experiences scale in
 
A usability evaluation framework for b2 c e commerce websites
A usability evaluation framework for b2 c e commerce websitesA usability evaluation framework for b2 c e commerce websites
A usability evaluation framework for b2 c e commerce websites
 
A universal model for managing the marketing executives in nigerian banks
A universal model for managing the marketing executives in nigerian banksA universal model for managing the marketing executives in nigerian banks
A universal model for managing the marketing executives in nigerian banks
 
A unique common fixed point theorems in generalized d
A unique common fixed point theorems in generalized dA unique common fixed point theorems in generalized d
A unique common fixed point theorems in generalized d
 
A trends of salmonella and antibiotic resistance
A trends of salmonella and antibiotic resistanceA trends of salmonella and antibiotic resistance
A trends of salmonella and antibiotic resistance
 
A transformational generative approach towards understanding al-istifham
A transformational  generative approach towards understanding al-istifhamA transformational  generative approach towards understanding al-istifham
A transformational generative approach towards understanding al-istifham
 
A time series analysis of the determinants of savings in namibia
A time series analysis of the determinants of savings in namibiaA time series analysis of the determinants of savings in namibia
A time series analysis of the determinants of savings in namibia
 
A therapy for physical and mental fitness of school children
A therapy for physical and mental fitness of school childrenA therapy for physical and mental fitness of school children
A therapy for physical and mental fitness of school children
 
A theory of efficiency for managing the marketing executives in nigerian banks
A theory of efficiency for managing the marketing executives in nigerian banksA theory of efficiency for managing the marketing executives in nigerian banks
A theory of efficiency for managing the marketing executives in nigerian banks
 
A systematic evaluation of link budget for
A systematic evaluation of link budget forA systematic evaluation of link budget for
A systematic evaluation of link budget for
 
A synthetic review of contraceptive supplies in punjab
A synthetic review of contraceptive supplies in punjabA synthetic review of contraceptive supplies in punjab
A synthetic review of contraceptive supplies in punjab
 
A synthesis of taylor’s and fayol’s management approaches for managing market...
A synthesis of taylor’s and fayol’s management approaches for managing market...A synthesis of taylor’s and fayol’s management approaches for managing market...
A synthesis of taylor’s and fayol’s management approaches for managing market...
 
A survey paper on sequence pattern mining with incremental
A survey paper on sequence pattern mining with incrementalA survey paper on sequence pattern mining with incremental
A survey paper on sequence pattern mining with incremental
 
A survey on live virtual machine migrations and its techniques
A survey on live virtual machine migrations and its techniquesA survey on live virtual machine migrations and its techniques
A survey on live virtual machine migrations and its techniques
 
A survey on data mining and analysis in hadoop and mongo db
A survey on data mining and analysis in hadoop and mongo dbA survey on data mining and analysis in hadoop and mongo db
A survey on data mining and analysis in hadoop and mongo db
 
A survey on challenges to the media cloud
A survey on challenges to the media cloudA survey on challenges to the media cloud
A survey on challenges to the media cloud
 
A survey of provenance leveraged
A survey of provenance leveragedA survey of provenance leveraged
A survey of provenance leveraged
 
A survey of private equity investments in kenya
A survey of private equity investments in kenyaA survey of private equity investments in kenya
A survey of private equity investments in kenya
 
A study to measures the financial health of
A study to measures the financial health ofA study to measures the financial health of
A study to measures the financial health of
 

Dernier

Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
Scale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL RouterScale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL RouterMydbops
 
Visualising and forecasting stocks using Dash
Visualising and forecasting stocks using DashVisualising and forecasting stocks using Dash
Visualising and forecasting stocks using Dashnarutouzumaki53779
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
Ryan Mahoney - Will Artificial Intelligence Replace Real Estate Agents
Ryan Mahoney - Will Artificial Intelligence Replace Real Estate AgentsRyan Mahoney - Will Artificial Intelligence Replace Real Estate Agents
Ryan Mahoney - Will Artificial Intelligence Replace Real Estate AgentsRyan Mahoney
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningLars Bell
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxLoriGlavin3
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity PlanDatabarracks
 
Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...Rick Flair
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024Lonnie McRorey
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
What is Artificial Intelligence?????????
What is Artificial Intelligence?????????What is Artificial Intelligence?????????
What is Artificial Intelligence?????????blackmambaettijean
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxLoriGlavin3
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
Sample pptx for embedding into website for demo
Sample pptx for embedding into website for demoSample pptx for embedding into website for demo
Sample pptx for embedding into website for demoHarshalMandlekar2
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 

Dernier (20)

Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
Scale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL RouterScale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL Router
 
Visualising and forecasting stocks using Dash
Visualising and forecasting stocks using DashVisualising and forecasting stocks using Dash
Visualising and forecasting stocks using Dash
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
Ryan Mahoney - Will Artificial Intelligence Replace Real Estate Agents
Ryan Mahoney - Will Artificial Intelligence Replace Real Estate AgentsRyan Mahoney - Will Artificial Intelligence Replace Real Estate Agents
Ryan Mahoney - Will Artificial Intelligence Replace Real Estate Agents
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine Tuning
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity Plan
 
Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
What is Artificial Intelligence?????????
What is Artificial Intelligence?????????What is Artificial Intelligence?????????
What is Artificial Intelligence?????????
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
Sample pptx for embedding into website for demo
Sample pptx for embedding into website for demoSample pptx for embedding into website for demo
Sample pptx for embedding into website for demo
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 

11.[106 118]design and implementation of a short message service based remote controller

  • 1. Computer Engineering and Intelligent Systems www.iiste.org ISSN 2222-1719 (Paper) ISSN 2222-2863 (Online) Vol 3, No.4, 2012 Design and Implementation of a Short Message Service Based Remote Controller Adamu Murtala Zungeru 1*, Ufaruna Victoria Edu 2, Ambafi James Garba 2 1. School of Electrical and Electronics Engineering, University of Nottingham, Jalan Broga, 43500 Semenyih, Selangor Darul Ehsan, Malaysia. 2. Department of Electrical and Computer Engineering, Federal University of Technology, Minna, Nigeria * E-mail of the corresponding author: adamuzungeru@ieee.org Abstract Safeguarding our home appliances has become an issue when dealing with an advancement and growth of an economy. This research focuses on the controlling of home appliances remotely when the user is away from the house. The system is Short Message Service (SMS) based and uses wireless technology to revolutionize the standards of living. It provides ideal solution to certain problems faced by home owners in daily life. Due to its wireless nature, it is more adaptable and cost-effective. The research is divided into two sections; the hardware and the software sections. The hardware section consists of the Global System for Mobile Communications (GSM) modem module, The Control module, the Appliance module, the Liquid Crystal Display (LCD) module and the power supply module. The GSM modem receives the message sent by the person who wishes to operate any of the connected appliances, it then forwards it to the microcontroller, and the microcontroller decodes the message, switches on or switches off the appropriate appliance, updates the LCD and sends a feedback to the mobile phone via the GSM modem. Overall, the work employs The ATmega16 microcontroller, relays, a programmer to program the microcontroller, a mobile phones and a GSM modem. The AT commands is used to handle communication between the modem and the ATmega16 microcontroller. Flow code is used for the programming of the microcontroller. The overall work was implemented with a constructed work, tested working and perfectly functional. Keywords: Short Message Service, Global System for Mobile Communications, Remote Control, Electronic Circuit Design 1. Introduction Safeguarding our home appliances has become an issue when dealing with an advancement and growth of an economy. Remote generally means far away in space or time, while control in simple definition way means to make something do what you want. A remote controller is a device used for controlling a piece of electrical or electronic equipment without having to touch it. SMS Remote Controller is an electronic device that enables the user to control appliances remotely from a mobile phone from any part of the world. The microcontroller pulls the SMS received by phone, decodes it, recognizes the Mobile number, and then switches on the relays attached to its port to control the appliances. After successful operation, controller sends back the acknowledgement to the user’s mobile through SMS. The SMS Remote Controller has a wide range of applications. It can be used to make an extended range control, operate able from any part of the world. In industry, it can be used to monitor a running machine, or if some threshold is surpassed. It can also be used to demobilize stolen cars. The first remote control called lazy bones was developed in 1950 by Zenith Electronic Corporations (known as zenith radio corporations) (Parker and Sybol, 1982). Lazy bones were a cable ran from the device to a TV set, then to the viewer. A motor operates the turner through the remote control. By push buttons on the remote control the user can rotate the turner clockwise or anti-clockwise, depending on whether he wanted to change the channel to a higher or lower number. The remote control also included buttons to turn the TV ON or OFF. 106
  • 2. Computer Engineering and Intelligent Systems www.iiste.org ISSN 2222-1719 (Paper) ISSN 2222-2863 (Online) Vol 3, No.4, 2012 Zenith engineer Eugene Polley invented the “Flashmatic” which represented the country’s first wireless TV remote. Introduced in 1955, the flashmatic operated by means of four photocells, one in each corner of the TV screen. The viewer used a highly directional flashlight to activate the four controls which turned the picture and sound ON and OFF, and changed channels. By 1990, the industry moved to infrared remote control technology (IR). The IR remote works by using a low frequency light beam, so low that the human eye cannot see it, but which can be detected by the receiver on the TV set. Modern electronics is about embedded electronics (Mavino, 1997). This is the use of electronics for the purpose of controlling some devices. Its applications are numerous and more discoveries, innovations and inventions are expected in this new world of electronics and software engineering. The strong desire for research, innovations and inventions lead man to discover another means for wireless remote control using Short Message Service (SMS) (Lanconelli, 2007; Krishna, 2006) other than the IR technology. The first SMS remote control was designed by Sera Sedis in 2001. In 2007, a Nigerian named Yakubu Mohammed redesigned the SMS remote control by Sera Sidis and he renamed the device as Mobile Phone / Personal Computer Remote Controlling (MPRC) Device. There are times when a person would want to operate certain appliances when he/she is not at the location of that appliance, a means to control those appliances would be required in such situation hence the need for a remote controller. The home appliances control system with an affordable cost was thought to be built that should be mobile providing remote access to the appliances and allowing home security by extension. To this end, we design and implement a simple, cost effective and reliable SMS based remote controller to enable the control of appliances remotely, switching them on or off as desired by sending an SMS to the device using a GSM mobile phone. For clarity and neatness of presentation, the article is outline in to five (5) sections. The First Section gives a general introduction of SMS based remote control. Work related to the topic of the research is presented in Section Two. In Section Three, we outline the design and implementation procedures. Section Four presents the experimental results and discussion of the results. In Section Five, we conclude the work with some recommendations. Finally, the references are presented at the end of the paper. 2. Related Work The idea of using the short message service to establish routes in communication networks between receivers and transmitters for the purpose of safety and guaranty of service is not new, but the application, cost, design method and reliability of the system varies. In (Conte and Scaradozzi, 2003), home automation systems as multiple agent Systems (MAS) were considered. in their work, home automation system was proposed that includes home appliances and devices that are controlled and maintained for home management. Their major contribution to knowledge was to improve home automation, but not minding the cost of the entire system. In a related work, Alkar and Buhur (2005) in their paper also proposed an Internet Based Wireless Home Automation System for Multifunctional Devices. They proposed a low cost and flexible web-based solution but this system has some limitations such as the range and power failure. In (Delgado et al., 2006) problems with the implementation of home automation systems were considered. Furthermore the possible solutions were devised through various network technologies. Several issues affecting home automation systems such as lack of robustness, compatibility issue and acceptability among the old and disabled people were also discussed. In (Ciubotaru-Petrescu et al., 2006), a design and implementation of SMS based control for monitoring systems was presented. The paper has three modules involving sensing unit for monitoring the complex applications, a processing unit that is the microcontroller and a communication module that uses General Packet Radio Service (GPRS) modem or cell phone via serial port RS-232. The SMS is used for status reporting such as power failure. Murthy (2008) explores primary health-care management for the rural population. A solution proposes the use of the mobile web-technologies providing the Primary Health Care (PHC) services to the rural 107
  • 3. Computer Engineering and Intelligent Systems www.iiste.org ISSN 2222-1719 (Paper) ISSN 2222-2863 (Online) Vol 3, No.4, 2012 population. The system involves the use of SMS and cell phone technology for information management, transactional exchange and personal communication. In a related work, Jawarkar et al. (2008) proposed remote monitoring through mobile phone involving the use of spoken commands. The spoken commands are generated and sent in the form of text SMS to the control system and then the microcontroller on the basis of SMS takes a decision of a particular task. But the drawback of all the related work is the cost of the design, the reliability, and the use of foreign materials. In this research, we utilize locally available materials for our design purpose, making it more reliable and portable with less cost. We employ microcontroller, relays, and a programmer for the microcontroller, a mobile phones and a GSM modem. 3. Design and Implementation This section will discuss the design procedure of the SMS based Remote Controller and how it was implemented. The section is divided into two basic sections; the hardware section and the software section. These are further divided into sub-sections. 3.1Hardware Section This section deals with the physical component that was used in SMS Remote Controller. This section is divided into five sub-sections; the GSM modem module, the LCD module, the appliance module, the control module and the power supply module. 3.1.1 GSM Modem Module The Sim340Z GSM modem manufactured by Siemens is used as a modem. TheSim340Z has a communication port (inbuilt GSM modem) that can be programmed using AT Command Set. The signal names for the GSM modem communication port include the following; audio input and output pins (for connecting external hands free audio devices), mute control pin, flash programming signal pins, external power pins, and receiver and transmitter pins. The SMS Remote Controller will only emphasize on the receiver (RX) and transmitter (TX) pins otherwise called the serial port. The serial port is TTL (Transistor-Transistor Logic) compactable, and is directly interfaced to the ATmega8515 microcontroller without a driver. The serial port of the modem operates at 115200 baud rate, 8bit data, 1start bit, 1stop bit and no parity bit. 3.1.2 LCD Module This module is use to display the status of the appliances, it consist of a 16 X 2 character LCD, a 10K ohms, and a 100 Ohm resistors. 108
  • 4. Computer Engineering and Intelligent Systems www.iiste.org ISSN 2222-1719 (Paper) ISSN 2222-2863 (Online) Vol 3, No.4, 2012 VCC 16 X 2 Character LCD 4 Bit Mode 5V R1 1 16 Key =10kohms A R2 100 Ohm_1% RS RW D4 D5 D6 D7 Figure 1. LCD configuration in 4 Bit mode From the figure above, the variable resistor (10k ohms ), is used to change the brightness of the LCD, while the 100 ohms resistor is use as a current limiter for the back light of the LCD. 3.1.3 Appliances Module Home appliances cannot be directly interfaced to microcontrollers; this is because they are AC operated devices while microcontrollers are low voltage DC operated devices. Therefore to control AC operated devices from DC voltage, a relay or a traic is used. When using a relay to control AC operated devices, a relay driver is required; this is because the voltage ratings for most relays are between 6V to 24V dc, which is higher than the output voltage from most microcontrollers. The circuit diagram of a simple relay driver is shown below. VCC 12V 240V AC BULB 12V RELAY N D1 L 240V AC MAINS 1N4148 FROM MICROCONTROLLER Q1 R1 1.0k Ohm_5% 2N2222A Figure 2. Appliance interface circuitry From the circuitry above, the diode is connected across the relay (DC terminals), to prevent the switching transistor from the charge reversal of the relay inductance. Mathematically the values for R1 and Q1 are justified as soon below. 109
  • 5. Computer Engineering and Intelligent Systems www.iiste.org ISSN 2222-1719 (Paper) ISSN 2222-2863 (Online) Vol 3, No.4, 2012 1. Transistor maximum collector current must be greater than the load current Ic Recall that, V=IR (1) V Therefore, I= R (2) ୱ୳୮୮୪୷ ୴୭୪୲ୟ୥ୣ Hence, load current ൌ ୪୭ୟୢ ୰ୣୱ୧ୱ୲ୟ୬ୡୣ (3) Where Load current=? Supply voltage = Relay voltage rating = 12V Load resistance = Relay resistance = 400 ohms, therefore From Equation (2), 12 Load current = = 0.03 A 400 2. The transistor minimum current gain hfe must be greater than five times the load current divided by maximum output current from the drive voltage. ହ௫௟௢௔ௗ ௖௨௥௥௘௡௧ ݄݂݁ ൐ ௗ௥௜௩௘ ௖௨௥௥௘௡௧ (4) Where load current = 0.03 A Drive current = output current of ATmega16 = 40 mA, therefore From equation (4), ହൈ଴.଴ଷ ݄݂݁ ൌ = 3.75 ସ଴௠஺ From the calculations above, a transistor whose maximum collector current Ic is greater than 0.03A and the minimum current gain hfe is greater than 3.75 can be used for switching a 12V, 400 Ohms relay. One of the NPN transistors that satisfied these conditions is 2N2222. The 2N2222 transistor has a maximum collector current Ic = 0.8A, and the hfe = 300. 3. From equation (5), the base resistor should be equal to the drive voltage multiplied by hfe, divided by five times the maximum collector current of the switching transistor. drive voltage X current gain Base resistor = 5 X maximum collector current 110
  • 6. Computer Engineering and Intelligent Systems www.iiste.org ISSN 2222-1719 (Paper) ISSN 2222-2863 (Online) Vol 3, No.4, 2012 (5) Where drive voltage = ATmega16 output voltage = 5V Maximum collector current = maximum collector current for 2N2222 = 0.8A Current gain = current gain for 2N2222= 300, therefore ହൈଷ଴଴ ‫ ݎ݋ݐݏ݅ݏ݁ݎ ݁ݏܽܤ‬ൌ = 375 ohms ହൈ଴.଼ From the calculation above, a resistor whose resistance is greater than 375 Ohm can be used as the base resistor. 3.1.4 Control Module This module is the brain of the SMS Remote Controller. Its main component is the ATmega16 microcontroller, There are different microcontrollers available in the market from different manufactures. In order to choose an appropriate microcontroller, several microcontrollers were considered using their architecture. The architecture considered are the 8051, AVR and PIC, and the comparison was based on the cost availability speed built-in peripherals and tools and resources. Having compared the different microcontroller architectures, the ATmega16 from AVR architecture was chosen. The ATmega16 microcontroller from Atmel corporations has a Reduced Instruction Set Computer (RISC) core running single cycle instructions and a well defined Input/output structure that limits the need for external components. Some of the features found on the ATmega16 are; Internal oscillators, Universal Synchronous Asynchronous Receiver Transmitter (USART) , Serial Peripheral Interface (SPI), Pulse Width Modulation (PWM) ,Watch-dog Timers etc. The circuit below shows how an AVR microcontroller is hardware configured. 1 40 RESET CIRCUITRY R1 8.2kOhm_5% 9 C1 RESET ATmega8515 Key = R 10uF-POL CLOCK SOURCE CIRCUITRY C2 18 22pF C3 19 22pF 20 21 Figure 3. ATmega16 configuration circuitry The clock source generates the appropriate clock signal for the microcontroller to execute its instruction set. The condition for selecting C1 and C2 are ‫ 1ܥ‬ൌ ‫ 2ܥ‬ൌ ሺ30 േ 10ሻ݅݊ ‫݂݌‬ ܺ1 ൑ ‫ݖ݄ ݊݅ 61 ܽ݃݁݉ݐܽ ݂݋ ݀݁݁݌ݏ‬ Note: With a crystal value of 8MHz, the microcontroller will be able to execute 8 million instructions per 111
  • 7. Computer Engineering and Intelligent Systems www.iiste.org ISSN 2222-1719 (Paper) ISSN 2222-2863 (Online) Vol 3, No.4, 2012 second. The reset circuitry is used to manually reset the microcontroller. The microcontroller cannot function without a firmware loaded into its code or program memory (FLASH EEPROM). The design of the firmware will be discussed in the software design section. The ATmega16 can be used without being hardware configured; this is because it has a calibrated internal RC oscillator that can be enabled when programming the chip. The selectable frequencies, when enabling the calibrated internal RC oscillator are, 4MHz and 8MHz. The SMS Remote Controller will be using the 8MHz calibrated internal oscillator. 3.1.5 Power Supply Module This power supply module is necessary for the provision of regulated (step-down rectified) DC power supply from AC mains to circuit components (ICs, relays, microcontroller etc.) The maximum and minimum voltage ratings of the circuit component were taken into consideration while designing the power supply unit; ATmega16 microcontroller: The voltage rating for the ATmega8515 is between 1.8V to 5.5V dc. GSM modem: The voltage rating for the Simcom304 GSM modem is around 3.4V to 4.5V dc. Relay: Different relays have different voltage ratings around 4V to 1000V dc. This work will be using a 12V relay; this is due to its availability. Other Circuit Component: Other circuit components like the 2N2222 transistor can withstand 12Vdc without drawing two much current. From the above consideration, it was concluded that a power supply of three different voltage levels was needed. The ATmega16 can be operated with a 5Vdc supply, the GSM modem can be operated with a 4.2V supply, and the 12V relays and other circuit components can be operated with a 12V supply. U1 LM117HVH LINE VREG VOLTAGE COMMON200? 1% 4.2 Vdc R1 C2 C4 10mF 10mF 10k? 50% R2 Key=A U3 12 Vdc U2 LM7805CT LM7812CT LINE VREG VOLTAGE LINE VREG VOLTAGE 5 Vdc D2 D3 COMMON COMMON 1N4001GP 1N4001GP C3 T1 470uF 220 Vac NLT_PQ_4_10 C1 Mains 4.7mF D1 D4 1N4001GP 1N4001GP Figure 4. Power Supply circuitry From the circuit above, the AC mains will be step-down using a 240V/15V transformer; the output of the transformer will then feed to a bridge rectifier and a 12V voltage regulator will be connected to the output of the rectifier. The Output of the 12V voltage regulator will then be feed to a 5V voltage regulator. The capacitors are necessary for removing the pulsating dc. The complete circuit diagram for the SMS remote 112
  • 8. Computer Engineering and Intelligent Systems www.iiste.org ISSN 2222-1719 (Paper) ISSN 2222-2863 (Online) Vol 3, No.4, 2012 controller is shown below 4.2 Vda 5 Vda 12 Vdc Reset 220 Vac R R7 12V Relay Bulb Key = Space 100k 4.7k 1% C4 D1 SIMCom 304 GSM MODEM 1N4148 10u ATmega16 Vc 1 40 PWRKEY 2 R3 TX 39 Q1 C3 3 38 4.7k 2N2222 RX 4 3 5% GND 5 Vda 470u 220 Vac 5 36 6 35 12V Relay Bul 16 X 2 LCD R2 7 34 1 10k? 50% 8 3 D2 Key=A 1N4148 2 9 32 3 1 3 4 11 30 5 1 29 R Q2 6 13 28 4.7k 2N2222A 7 14 27 5% 8 R1 100? 15 2 220 Vac 9 1% 16 25 12V Relay Bul 1 17 2 D 11 18 23 1N4148 12 1 22 13 20 21 14 15 R5 Q3 11.0952 MHz 2N2222 1 4.7k 5% L N C1 220V AC Mains C 22pF 22p Figure 5. Circuit diagram for the SMS remote controller 3.2 Software Section This section describes the software development for the SMS Remote Controller. It is divided into two sub- sections; these are the software development and uploading. 3.2.1 ATmega16 Software Development The SMS Remote Controller software was developed in AVR Studio4 Integrated Development Environment (IDE) using assembly language. The table below shows the pin assignment for the ATmega16 I/Os as used in the SMS Remote Controller. 113
  • 9. Computer Engineering and Intelligent Systems www.iiste.org ISSN 2222-1719 (Paper) ISSN 2222-2863 (Online) Vol 3, No.4, 2012 Table 1. ATmega16 I/O pin assignment ATmega16 I/O pin Device Connected to Description of the ATmega16I/O Pin21 (PB7) LCD pin14 (D7) use for sending data to the LCD (4 bit mode) Pin20 (PB6) LCD pin13 (D6) use for sending data to the LCD (4 bit mode) Pin19 (PB5) LCD pin12 (D5) use for sending data to the LCD (4 bit mode) Pin18 (PB4) LCD pin11 (D4) use for sending data to the LCD (4 bit mode) Pin17 (PB3) LCD pin (RS) use for selecting LCD register Pin16 (PB2) LCD pin (EN) use to enable the LCD Pin35 (PB1) Relay Driver1 use to switch ON and OFF of appliance1 Pin34(PB0) Relay Driver2 use to switch ON and OFF of appliance 2 Pin33(PD7) Relay Driver3 use to switch ON and OFF of appliance 3 Pin14 (PD0) GSM Modem (TX) use to receive data from Gsm modem Pin15 (PD1) GSM Modem (RX) use to transmit data to Gsm modem The following sub-routine was adopted in the design of the SMS Remote controller 1. Initializing Registers and I/Os: This sub-routine was used to initialize all the SRAM and I/Os to the initial expected state. For example when the device is first powered, it is expected that the entire appliance should be OFF. This can be done as shown below cbi PB1, PORTB ;off relay1 2. Setting UART baud rate: The default baud rate for the GSM modem is 115200, therefore for the ATmega16 microcontrollers baud rate has to be set to 115200 to be able to communicate with the modem. To achieve this, the following USART registers has to be initialized as shown below. Table 2. Serial port initialization data Register Name Register Data (hex) Description UBRH 0x00 Set baud rate to 115,200 UBRL 0x38 Set baud rate to 115,200 UCSRA 0x06 Set serial port @8bit data, 1 start and stop bit, no parity bit UCSRB 0x18 Set serial port @8bit data, 1 start and stop bit, no parity bit UCSRC 0x00 Enables ATmega16 serial port as Asynchronous mode 3. Setting Preferred message storage: To set the preferred message storage in the GSM modem, the following is sent to the modem. AT+CPMS =”ME”,”ME”,”ME” The above code will enable the use of GSM modem memory for reading, sending and deleting SMS. 4. Read SMS: To read a message from the 15th memory in the preferred message storage, the following code is sent to the GSM modem. AT+CMGR = 15 114
  • 10. Computer Engineering and Intelligent Systems www.iiste.org ISSN 2222-1719 (Paper) ISSN 2222-2863 (Online) Vol 3, No.4, 2012 5. Delete SMS: To delete a message from the 15th memory in the preferred message storage, the following code is sent to the GSM modem. AT+CMGD = 15 6. Send SMS: To send a message from the 15th memory in the preferred message storage, the following code is sent to the GSM modem. AT+CMGS = 15 7. Update Relay driver: To ON or OFF the appliances the respective relay driver is set or cleared eg. cbi PB1, PORTB ;off relay1 sbi PB1, PORTB ;on relay1 8. Update LCD: To write or update the LCD, the following step is taken, 1. Send LCD command 2. Send LCD data 9. Loop: The loop subroutine will loop through no 4 to 8 The flowchart that was adopted in the software development is shown below, for simplicity some processes were ignored. START Set Up Registers and I/Os. Set up UART @ 9600 8bit data, 1 start bit, 1 Stop bit and no parity bit Read SMS NO if YES Read=1 Decode Command NO if Decode=1 Update Appliance Update LCD Delete SMS Figure 6. Flowchart for SMS Remote Controller 3.2.2 ATmega16 Software Uploading The SMS Remote Controller software was uploaded into the ATmega16 microcontroller code or program memory using an EasyAVR6 programmer. The EasyAVR6 programmer is a full featured AVR Development Board manufactured by Mikroelektronika. The programmer connects to the Personal Computer (PC) via a Universal Serial Bus (USB) port. 4. Experimental Results and Discussions In this section, we itemized the steps and stages of procedure taken to verify the mathematical calculated results through the real time experimental results. 115
  • 11. Computer Engineering and Intelligent Systems www.iiste.org ISSN 2222-1719 (Paper) ISSN 2222-2863 (Online) Vol 3, No.4, 2012 4.1 Power Supply Test The power supply section was switched on; a multimeter was used to measure voltages at different terminals in the power supply section. The result obtained was recorded and compared with their respective theoretical values. Table 3. Power Supply Test result Theoretical Value Experimental Value AC Mains (Vac) 240.00 195.50 Transformer Output (Vac) 15.00 12.50 Rectifier Output (Vdc) 13.60 15.00 LM7812 Output (Vdc) 12.00 12.05 LM7805 Output (Vdc) 5.00 5.05 LM317 Output (Vdc) 3-17 4.20 From the power supply test results above, the experimental results were slightly different from the theoretical values; these could be attributed to some of the following reasons: 1. Percentage error of the measuring instrument used 2. Low battery of the measuring instrument used 3. Human error which cannot be totally eliminated 4.2 Appliance Interface Test The appliance interface section was tested manually. A bulb was connected to one of the relays, and the power supply was switched on. A jumper was used to connect the base of the transistor (NPN) driving the relay to VCC and also to GND. It was observed that when the transistor’s base is connected to VCC, the relay will be energized and the bulb will be ON and when connected to GND, the relay will de-energized and the bulb will be OFF. This test was repeated for the other appliance interface, and the observation was the same. This observation conformed to the theory of switching ON and OFF of an NPN transistor. 4.3 GSM Modem Test The GSM modem was test on a personal computer. The serial port of the modem was connected to the COM1 port of the personal computer using an RS232 converter. The hyper terminal program on the PC was started, and the baud rate was set to 11,000, 8 data bit, 1 start bit, 1 stop bit and no parity bit. When an “AT” is typed and sent to the GSM Modem, it was observed that the modem responded with “OK”. According to the AT command set for the modem, the modem should return an “OK” when an “AT” is sent to it. This observation reveals the modem is working properly. Other command tested are shown in the table below Table 4. AT command and the respective responds S/N Command Meaning Responds 1 AT Attention OK 2 AT+CPMS=”SM”,”SM”,”SM” Select SIM memory +CPMS: 0,15,0,15, 0,15 3 AT+CMGR=1 Read message on SIM memory +CMGR: 0,12 location 15 <PDU> OK 4 AT+CMGD=1 Delete message on SIM memory OK location 1 4.4 SMS Remote Controller Test 116
  • 12. Computer Engineering and Intelligent Systems www.iiste.org ISSN 2222-1719 (Paper) ISSN 2222-2863 (Online) Vol 3, No.4, 2012 A bulb was connected to the appliance interface connector of the SMS Remote controller, and the power switch was switched on. A phone was used to send the SMS command needed to activate the bulb. The time between the reception of the SMS command and the execution is about 1 to 4 seconds. The time between sending and reception of the SMS command depends solely on the GSM network. For documentation purpose, it took about 4-6 seconds when the network is good and about 20-45 minutes when the network is bad. This is one of the limitations of the SMS Remote Controller. Table 5. SMS Remote Controller Commands S/N SMS Command Description 1 BB ON1 Switch ON bulb1 2 BB OF1 Switch OFF bulb1 3 BB ON2 Switch ON bulb2 4 BB OF2 Switch OFF bulb2 5 BB ON3 Switch ON bulb3 2 BB OF3 Switch OFF bulb3 5. Conclusion This research was aimed at design and implementation of an SMS based remote control system. The results obtained are presented and fully discussed. After carrying out the necessary test, it was observed that the aim of the work was achieved. The SMS Remote Controller was discovered to be efficient in remote controlling of home appliances. The system has many advantages such as remote controlling of home appliances, availability and ease to users. The user can get alerts anywhere through the GSM technology thus making the system location independent. The system contains low cost components easily available which cuts down the overall system cost. Moreover, the system alerts user about breach via SMS providing home security, and also allows secure access due to pre-configured number. The ease of deployment is due to wireless mode of communication. GSM technology provides the benefit that the system is accessible in remote areas as well. The system reliability increases due to the useful features such as battery level checking, charging status and signal strength indicating the system about threats. in future, we intend to look into some newly design computers that does not supports parallel or serial ports by improving our design to support USB (Universal Serial Bus) port for diagnostic. References Andreas, F. and Molisch, (2005), “Wireless communications”, Wiley-IEEE Press, 145-146 ATmega16 data sheet, online at: www.atmel.com/datasheet/ATmega16.pdf EasyAVR4 manual, (2008), Online available: www.microelektronika.com/download/manual/easyavr4.pdf Krishna, B.V. and Kumar B.P. (2006), ”SMS Remote Controller”, Embedded Systems-Fall 2005, ECGR 5101 Final Project, 1-29. Available at: http://www.lamarca.org/flight/GSMproject.pdf Lanconelli, C. (2007), “Tiny Planet SMS Controller”, Online, available at: www.lancos.com Mavino, A.P. (1997), “Electronic Principle”, 6th edition, McGraw-Hill Book Co., New York, 106-109. Parker, Sybol, P. (1982), “Concise Encyclopedia of Science & Technology”, 5th edition, McGraw-Hill Book Co., New York, 15, 563-567. Richard. H.Barnett, Sarah Cox, Larry o’ cull, Embedded C Programming and the Atmel AVR, 2nd Edition, Cengage Learning, 50-51 117
  • 13. Computer Engineering and Intelligent Systems www.iiste.org ISSN 2222-1719 (Paper) ISSN 2222-2863 (Online) Vol 3, No.4, 2012 Robert, L. Boylestad, and Nashelsky, L. (2002), “Electronic devices and circuit theory”, 8th edition, Prentice Hall (Pearson Education Inc.), 16, 870-875 Siemens, (2011), “AT commands set”, online available at: www.sms666.net/Download/SIEMENS Stallings, W. (2007), “Data and Computer Communications”, 7th Edition, Prentice-hall, Inc, 191-235, available: http://mmlab.snu.ac.kr/courses/2008_introductionICT_fall/lecture/CircuitandPacketSwitch-2.pdf Vasillis, S. (2007), “SMS Remote Controls”, Online, available at: www.serasidisvasillis.com Warnes, L. (1994), “Electronic and Electrical Engineering, Principles and Practice”, Macmillan Press Ltd. London, 145 – 220 118
  • 14. International Journals Call for Paper The IISTE, a U.S. publisher, is currently hosting the academic journals listed below. The peer review process of the following journals usually takes LESS THAN 14 business days and IISTE usually publishes a qualified article within 30 days. Authors should send their full paper to the following email address. More information can be found in the IISTE website : www.iiste.org Business, Economics, Finance and Management PAPER SUBMISSION EMAIL European Journal of Business and Management EJBM@iiste.org Research Journal of Finance and Accounting RJFA@iiste.org Journal of Economics and Sustainable Development JESD@iiste.org Information and Knowledge Management IKM@iiste.org Developing Country Studies DCS@iiste.org Industrial Engineering Letters IEL@iiste.org Physical Sciences, Mathematics and Chemistry PAPER SUBMISSION EMAIL Journal of Natural Sciences Research JNSR@iiste.org Chemistry and Materials Research CMR@iiste.org Mathematical Theory and Modeling MTM@iiste.org Advances in Physics Theories and Applications APTA@iiste.org Chemical and Process Engineering Research CPER@iiste.org Engineering, Technology and Systems PAPER SUBMISSION EMAIL Computer Engineering and Intelligent Systems CEIS@iiste.org Innovative Systems Design and Engineering ISDE@iiste.org Journal of Energy Technologies and Policy JETP@iiste.org Information and Knowledge Management IKM@iiste.org Control Theory and Informatics CTI@iiste.org Journal of Information Engineering and Applications JIEA@iiste.org Industrial Engineering Letters IEL@iiste.org Network and Complex Systems NCS@iiste.org Environment, Civil, Materials Sciences PAPER SUBMISSION EMAIL Journal of Environment and Earth Science JEES@iiste.org Civil and Environmental Research CER@iiste.org Journal of Natural Sciences Research JNSR@iiste.org Civil and Environmental Research CER@iiste.org Life Science, Food and Medical Sciences PAPER SUBMISSION EMAIL Journal of Natural Sciences Research JNSR@iiste.org Journal of Biology, Agriculture and Healthcare JBAH@iiste.org Food Science and Quality Management FSQM@iiste.org Chemistry and Materials Research CMR@iiste.org Education, and other Social Sciences PAPER SUBMISSION EMAIL Journal of Education and Practice JEP@iiste.org Journal of Law, Policy and Globalization JLPG@iiste.org Global knowledge sharing: New Media and Mass Communication NMMC@iiste.org EBSCO, Index Copernicus, Ulrich's Journal of Energy Technologies and Policy JETP@iiste.org Periodicals Directory, JournalTOCS, PKP Historical Research Letter HRL@iiste.org Open Archives Harvester, Bielefeld Academic Search Engine, Elektronische Public Policy and Administration Research PPAR@iiste.org Zeitschriftenbibliothek EZB, Open J-Gate, International Affairs and Global Strategy IAGS@iiste.org OCLC WorldCat, Universe Digtial Library , Research on Humanities and Social Sciences RHSS@iiste.org NewJour, Google Scholar. Developing Country Studies DCS@iiste.org IISTE is member of CrossRef. All journals Arts and Design Studies ADS@iiste.org have high IC Impact Factor Values (ICV).